Releases: unleashedtech/php-coding-standard
Releases · unleashedtech/php-coding-standard
Migrating to https://github.com/jonnyeom/php-coding-standard
! IMPORTANT !
We are moving this repository to jonnyeom/php-coding-standard for it is no longer maintained by Unleashed.
It will maintain the original name and will be accessible through composer with, unleashed/php-coding-standard
The transition is expected to be finished and live by August 25, 2025. Thank You!
v3.1.1
v3.1.0
Added
- Added new
Unleashed.Commenting.InheritDocFormatsniff 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.ForbiddenClassessniff - Forbid the use of
\DateTime
v2.6.1
- Add support for PHP 8
v2.6.0
- Formatting of
fnarrow 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
@deprecatedannotations now require a description - Bumped dependencies to latest versions