chore(deps): ⬆️ bump squizlabs/php_codesniffer to v3.8.1 #703
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.7.2
->3.8.1
Release Notes
PHPCSStandards/PHP_CodeSniffer (squizlabs/php_codesniffer)
v3.8.1
Compare Source
Added
Changed
Fixed
-s
is used-s
is used and messages wrapstrue
/false
/null
type declarationsparent
,self
or a namespace relative class name type declarationv3.8.0
Compare Source
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.
Configuration
📅 Schedule: Branch creation - "before 4am on Monday" in timezone America/Chicago, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.