Releases: unleashedtech/php-coding-standard
Releases · unleashedtech/php-coding-standard
v3.1.1
v3.1.0
Added
- Added new
Unleashed.Commenting.InheritDocFormat
sniff to ensure{@inheritDoc}
comments are styled consistently
v3.0.0
Added
Added several new sniffs for PHP 8 code:
- RequireNullSafeObjectOperator
- RequireNonCapturingCatch
- RequireTrailingCommaInDeclaration
- UnionTypeHintFormat
Changed
- Upgraded base code standard (slevomat/coding-standard) to ^7.0.1
Removed
- Removed deprecated UnusedPrivateElements sniff
v2.7.0
- Add new
Unleashed.PHP.ForbiddenClasses
sniff - Forbid the use of
\DateTime
v2.6.1
- Add support for PHP 8
v2.6.0
- Formatting of
fn
arrow functions is now checked user_error()
function alias is now prohibited
v2.5.0
- Cleaned up the order of Psalm and PHPStan docblock comments
v2.4.0
- New sniff and settings to forbid Doctrine Migrations with reminder comments and empty descriptions
v2.3.0
- All
@deprecated
annotations now require a description - Bumped dependencies to latest versions
v2.2.1
- Fix support for Composer 2