3.8.0 - 2023-12-08 #138
Closed
jrfnl
announced in
Announcements
Replies: 1 comment
-
Thank you so much for your work on this! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Squizlabs/PHP_CodeSniffer is dead. Long live PHPCSStandards/PHP_CodeSniffer!
Breaking Changes
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 the announcement.squizlabs/php_codesniffer
package now points to the new repository and everything will continue to work as before.https://squizlabs.github.io/PHP_CodeSniffer/phars/
tohttps://phars.phpcodesniffer.com/phars/
.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
.git@github.com:squizlabs/PHP_CodeSniffer.git
togit@github.com:PHPCSStandards/PHP_CodeSniffer.git
.squizlabs/PHP_CodeSniffer
repository are invited to resubmit these to thePHPCSStandards/PHP_CodeSniffer
repository.Added
true
as a stand-alone type declarationFile::getMethodProperties()
,File::getMethodParameters()
andFile::getMemberProperties()
methods now all support thetrue
typetrue
as a stand-alone type to a number of sniffsGeneric.PHP.RequireStrictTypes.Disabled
error codeParamNameUnexpectedAmpersandPrefix
error for parameters annotated as passed by reference while the parameter is not passed by referencesetUp()
/tearDown()
methods or overload thesetUp()
in theAbstractSniffUnitTest
test case, they will need to be adjusted. See the PR details for further informationChanged
Internal.PropertyDoesNotExist
errror on line 1 of the scanned file, but will not halt the execution of PHPCSauto
report width (the default) a value of 80 columns will be used if the width cannot be determinedRemoved
Fixed
InvalidNoReturn
when type is nevermatch
inside of it--basepath
and running from project subdirectoryuse
keyworduse
keyword for multi-line trait use statements$unknown
propertyThanks go to Dan Wallis (@fredden) and Danny van der Sluijs (@DannyvdSluijs) for reviewing quite a few of the PRs for this release.
Additionally, thanks to Alexander Turek (@derrabus) for consulting on the repo change over.
This discussion was created from the release 3.8.0 - 2023-12-08.
Beta Was this translation helpful? Give feedback.
All reactions