Updates the requirements onsquizlabs/php_codesniffer to permit the latest version.
Release notes
Sourced fromsquizlabs/php_codesniffer's releases.
3.8.0 - 2023-12-08
Squizlabs/PHP_CodeSniffer is dead. Long livePHPCSStandards/PHP_CodeSniffer!
Breaking Changes
- The
squizlabs/PHP_CodeSniffer repository has been abandoned. ThePHPCSStandards/PHP_CodeSniffer repository will serve as the continuation of the project. For more information about this change, please read theannouncement.- Installation of PHP_CodeSniffer via PEAR is no longer supported.
- Users will need to switch to another installation method.
- Note: this does not affect the PEAR sniffs.
- For Composer users, nothing changes.
- In contrast to earlier information, the
squizlabs/php_codesniffer package now points to the new repository and everything will continue to work as before.
- PHIVE users may need to clear the PHIVE URL cache.
- PHIVE users who don't use the package alias, but refer to the package URL, will need to update the URL from
https://squizlabs.github.io/PHP_CodeSniffer/phars/ tohttps://phars.phpcodesniffer.com/phars/.
- Users who download the PHAR files using curl or wget, will need to update the download URL from
https://squizlabs.github.io/PHP_CodeSniffer/[phpcs|phpcbf].phar orhttps://github.com/squizlabs/PHP_CodeSnifffer/releases/latest/download/[phpcs|phpcbf].phar tohttps://phars.phpcodesniffer.com/[phpcs|phpcbf].phar. - For users who install PHP_CodeSniffer via thesetup-php action runner for GitHub Actions, nothing changes.
- Users using a git clone will need to update the clone address from
git@github.com:squizlabs/PHP_CodeSniffer.git togit@github.com:PHPCSStandards/PHP_CodeSniffer.git.- Contributors will need to fork the new repo and add both the new fork as well as the new repo as remotes to their local git copy of PHP_CodeSniffer.
- Users who have (valid) open issues or pull requests in the
squizlabs/PHP_CodeSniffer repository are invited to resubmit these to thePHPCSStandards/PHP_CodeSniffer repository.
Added
- Runtime support for PHP 8.3. All known PHP 8.3 deprecation notices have been fixed
- Syntax support for new PHP 8.3 features will follow in a future release
- If you find any PHP 8.3 deprecation notices which were missed, please report them
- Thanks to Juliette Reinders Folmer (
@jrfnl) for the patches
- Added support for PHP 8.2 readonly classes to File::getClassProperties() through a new is_readonly array index in the return value
- Thanks to Juliette Reinders Folmer (
@jrfnl) for the patch
- Added support for PHP 8.2 readonly classes to a number of sniffs
- Generic.CodeAnalysis.UnnecessaryFinalModifier
- PEAR.Commenting.ClassComment
- PEAR.Commenting.FileComment
- PSR1.Files.SideEffects
- PSR2.Classes.ClassDeclaration
- PSR12.Files.FileHeader
- Squiz.Classes.ClassDeclaration
- Squiz.Classes.LowercaseClassKeywords
- Squiz.Commenting.ClassComment
- Squiz.Commenting.DocCommentAlignment
- Squiz.Commenting.FileComment
- Squiz.Commenting.InlineComment
- Thanks to Juliette Reinders Folmer (
@jrfnl) for the patch
- Added support for PHP 8.2
true as a stand-alone type declaration- The
File::getMethodProperties(),File::getMethodParameters() andFile::getMemberProperties() methods now all support thetrue type - Thanks to Juliette Reinders Folmer (
@jrfnl) for the patch
- Added support for PHP 8.2
true as a stand-alone type to a number of sniffs- Generic.PHP.LowerCaseType
- PSr12.Functions.NullableTypeDeclaration
- Thanks to Juliette Reinders Folmer (
@jrfnl) for the patch
- Added a Performance report to allow for finding "slow" sniffs
- To run this report, run PHPCS with --report=Performance.
- Thanks to Juliette Reinders Folmer (
@jrfnl) for the patch
- Generic.PHP.RequireStrictTypes : new warning for when there is a declare statement, but the strict_types directive is set to 0
... (truncated)
Changelog
Sourced fromsquizlabs/php_codesniffer's changelog.
[3.8.0] - 2023-12-08
Squizlabs/PHP_CodeSniffer is dead. Long livePHPCSStandards/PHP_CodeSniffer!
Breaking Changes
- The
squizlabs/PHP_CodeSniffer repository has been abandoned. ThePHPCSStandards/PHP_CodeSniffer repository will serve as the continuation of the project. For more information about this change, please read theannouncement.- Installation of PHP_CodeSniffer via PEAR is no longer supported.
- Users will need to switch to another installation method.
- Note: this does not affect the PEAR sniffs.
- For Composer users, nothing changes.
- In contrast to earlier information, the
squizlabs/php_codesniffer package now points to the new repository and everything will continue to work as before.
- PHIVE users may need to clear the PHIVE URL cache.
- PHIVE users who don't use the package alias, but refer to the package URL, will need to update the URL from
https://squizlabs.github.io/PHP_CodeSniffer/phars/ tohttps://phars.phpcodesniffer.com/phars/.
- Users who download the PHAR files using curl or wget, will need to update the download URL from
https://squizlabs.github.io/PHP_CodeSniffer/[phpcs|phpcbf].phar orhttps://github.com/squizlabs/PHP_CodeSnifffer/releases/latest/download/[phpcs|phpcbf].phar tohttps://phars.phpcodesniffer.com/[phpcs|phpcbf].phar. - For users who install PHP_CodeSniffer via thesetup-php action runner for GitHub Actions, nothing changes.
- Users using a git clone will need to update the clone address from
git@github.com:squizlabs/PHP_CodeSniffer.git togit@github.com:PHPCSStandards/PHP_CodeSniffer.git.- Contributors will need to fork the new repo and add both the new fork as well as the new repo as remotes to their local git copy of PHP_CodeSniffer.
- Users who have (valid) open issues or pull requests in the
squizlabs/PHP_CodeSniffer repository are invited to resubmit these to thePHPCSStandards/PHP_CodeSniffer repository.
Added
- Runtime support for PHP 8.3. All known PHP 8.3 deprecation notices have been fixed
- Syntax support for new PHP 8.3 features will follow in a future release
- If you find any PHP 8.3 deprecation notices which were missed, please report them
- Thanks to Juliette Reinders Folmer (
@jrfnl) for the patches
- Added support for PHP 8.2 readonly classes to File::getClassProperties() through a new is_readonly array index in the return value
- Thanks to Juliette Reinders Folmer (
@jrfnl) for the patch
- Added support for PHP 8.2 readonly classes to a number of sniffs
- Generic.CodeAnalysis.UnnecessaryFinalModifier
- PEAR.Commenting.ClassComment
- PEAR.Commenting.FileComment
- PSR1.Files.SideEffects
- PSR2.Classes.ClassDeclaration
- PSR12.Files.FileHeader
- Squiz.Classes.ClassDeclaration
- Squiz.Classes.LowercaseClassKeywords
- Squiz.Commenting.ClassComment
- Squiz.Commenting.DocCommentAlignment
- Squiz.Commenting.FileComment
- Squiz.Commenting.InlineComment
- Thanks to Juliette Reinders Folmer (
@jrfnl) for the patch
- Added support for PHP 8.2
true as a stand-alone type declaration- The
File::getMethodProperties(),File::getMethodParameters() andFile::getMemberProperties() methods now all support thetrue type - Thanks to Juliette Reinders Folmer (
@jrfnl) for the patch
- Added support for PHP 8.2
true as a stand-alone type to a number of sniffs- Generic.PHP.LowerCaseType
- PSr12.Functions.NullableTypeDeclaration
- Thanks to Juliette Reinders Folmer (
@jrfnl) for the patch
- Added a Performance report to allow for finding "slow" sniffs
- To run this report, run PHPCS with --report=Performance.
- Thanks to Juliette Reinders Folmer (
@jrfnl) for the patch
... (truncated)
Commits
5805f7a Changelog: touch up for 3.8.0 releasee021db5 Config: update version tag line9f36b17 Changelog: add diff links for the releases which have a git tagb623038 Changelog: remove link syntax for releases which don't have a git tag53c2838 Merge pull request#119 from PHPCSStandards/feature/generic-lowercaseconstant...aae1797 Generic/LowerCaseConstant: improve performancee5c3212 Generic/LowerCaseConstant: add tests with functions which don't create scopeec2709a Changelog for#3881 /#128ca9a3b7 Squiz/ControlSignature: fix up old-style property set annotations in tests72ea7b3 Merge pull request#128 from DannyvdSluijs/ImproveMessageReadabilityForMissin...- Additional commits viewable incompare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting@dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase will rebase this PR@dependabot recreate will recreate this PR, overwriting any edits that have been made to it@dependabot merge will merge this PR after your CI passes on it@dependabot squash and merge will squash and merge this PR after your CI passes on it@dependabot cancel merge will cancel a previously requested merge and block automerging@dependabot reopen will reopen this PR if it is closed@dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency@dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Uh oh!
There was an error while loading.Please reload this page.
Updates the requirements onsquizlabs/php_codesniffer to permit the latest version.
Release notes
Sourced fromsquizlabs/php_codesniffer's releases.
... (truncated)
Changelog
Sourced fromsquizlabs/php_codesniffer's changelog.
... (truncated)
Commits
5805f7aChangelog: touch up for 3.8.0 releasee021db5Config: update version tag line9f36b17Changelog: add diff links for the releases which have a git tagb623038Changelog: remove link syntax for releases which don't have a git tag53c2838Merge pull request#119 from PHPCSStandards/feature/generic-lowercaseconstant...aae1797Generic/LowerCaseConstant: improve performancee5c3212Generic/LowerCaseConstant: add tests with functions which don't create scopeec2709aChangelog for#3881 /#128ca9a3b7Squiz/ControlSignature: fix up old-style property set annotations in tests72ea7b3Merge pull request#128 from DannyvdSluijs/ImproveMessageReadabilityForMissin...Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)