-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update root-composer #4
base: 2.x
Are you sure you want to change the base?
Conversation
04246f3
to
f728c1b
Compare
f728c1b
to
da1ca06
Compare
da1ca06
to
4e5eea3
Compare
4e5eea3
to
f4bb863
Compare
⚠ Artifact update problemRenovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is. ♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below: File name: composer.lock
|
|
This PR contains the following updates:
8.13.2
->8.15.0
3.7.2
->3.10.3
Release Notes
slevomat/coding-standard (slevomat/coding-standard)
v8.15.0
Compare Source
🔧 Improvements
use
FunctionLength
sniff inFiles
namespace🐛 Fixes
SlevomatCodingStandard.Classes.ClassConstantVisibility
: Fixed error message for typed constantsSlevomatCodingStandard.Namespaces.UnusedUses
: Fixed false positive thanks to PHPCS upgradeSlevomatCodingStandard.Namespaces.UnusedUses
: Fix class detection in double-quoted strings and heredoc (thanks to @c01l)SlevomatCodingStandard.Exceptions.RequireNonCapturingCatch
: Fixed false positivesSlevomatCodingStandard.Functions.RequireTrailingCommaInCall
: Fixed missing report for missing trailing comma after arrow functionSlevomatCodingStandard.Commenting.UselessFunctionDocComment
: It should report simplearray
as uselessCommentHelper
v8.14.1
Compare Source
🐛 Fixes
v8.14.0
Compare Source
🆕 New sniffs
SlevomatCodingStandard.Functions.NamedArgumentSpacing
: Checks spacing in named argument (thanks to @mzk)🔧 Improvements
SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses
: If the file contains a group use then ignore the file completely (thanks to @jonathan1055)SlevomatCodingStandard.Namespaces.FullyQualifiedClassNameInAnnotation
: New optionignoredAnnotationNames
(thanks to @gemal)🐛 Fixes
SlevomatCodingStandard.ControlStructures.AssignmentInCondition
: Prevent error during live coding (thanks to @jrfnl)SlevomatCodingStandard.ControlStructures.RequireSingleLineCondition
: Prevent error during live coding (thanks to @jrfnl)SlevomatCodingStandard.PHP.UselessParentheses
: Prevent error during live coding (thanks to @jrfnl)SlevomatCodingStandard.Arrays.DisallowImplicitArrayCreation
: Recognize global statements (thanks to @jrfnl)SlevomatCodingStandard.Namespaces.FullyQualifiedGlobalConstants
: Don't treat a group use as a constant (thanks to @asispts)SlevomatCodingStandard.Namespaces.ReferenceUsedNamesOnly
: Fixed false positivesSlevomatCodingStandard.Classes.ConstantSpacing
: Fixed internal errorSlevomatCodingStandard.Commenting.InlineDocCommentDeclaration
: Fixed false positive for final constantSlevomatCodingStandard.Namespaces.UnusedUses
: Ignores uses in annotations with multi lines string arguments (thanks to @mathroc)NamespaceHelper::getAllNamespacesPointers()
: Allow for namespace tokens used as operator (thanks to @jrfnl)v8.13.4
Compare Source
🐛 Fixes
{@​inheritdoc}
v8.13.3
Compare Source
🐛 Fixes
SlevomatCodingStandard.Commenting.DocCommentSpacing
: Fixed internal error for invalid doccommentPHPCSStandards/PHP_CodeSniffer (squizlabs/php_codesniffer)
v3.10.3
Compare Source
Changed
Fixed
Other
gh attestation verify [phpcs|phpcbf].phar -o PHPCSStandards
. #574v3.10.2
Compare Source
Changed
Reports::generateFileReport()
method is now documented in the Reports interface. #523Fixed
TabsUsedHeredocCloser
- to allow for selectively excluding the indentation check for heredoc/nowdoc closers.SpacesUsedHeredocCloser
.v3.10.1
Compare Source
Added
Changed
Fixed
File::findStartOfStatement()
: the start of statement/expression determination for tokens in parentheses/short array brackets/others scopes, nested within match expressions, was incorrect in most cases.The trickle down effect of the bug fixes made to the
File::findStartOfStatement()
method, is that the Generic.WhiteSpace.ScopeIndent and the PEAR.WhiteSpace.ScopeIndent sniffs should now be able to correctly determine and fix the indent for match expressions containing nested expressions.These fixes also fix an issue with the
Squiz.Arrays.ArrayDeclaration
sniff and possibly other, unreported bugs.v3.10.0
Compare Source
Added
T_TYPE_OPEN_PARENTHESIS
andT_TYPE_CLOSE_PARENTHESIS
tokens to represent the parentheses in DNF types.parenthesis_opener
andparenthesis_closer
token array indexes set and the tokens between them will have thenested_parenthesis
index.File::getMethodProperties()
,File::getMethodParameters()
andFile::getMemberProperties()
methods now all support DNF types. #471, #472, #473Changed
Fixed
else
andif
correctly.v3.9.2
Compare Source
Changed
Fixed
true
orfalse
; or containedtrue
orfalse
as part of a union type.Other
The (deprecated)
Generic.Debug.ESLint
sniff only supports the "old" configuration file formats and when using the sniff to run ESLint, theESLINT_USE_FLAT_CONFIG=false
environment variable will need to be set when using ESLint >= 9.0.For more information, see #436.
v3.9.1
Compare Source
Added
Changed
Fixed
v3.9.0
Compare Source
Added
PHP_CodeSniffer\Sniffs\DeprecatedSniff
interface to allow for marking a sniff as deprecated. #281When running in
-q
(quiet) mode, the deprecation notices will be hidden.-e
) an asterix*
will show next to deprecated sniffs.Generic.CodeAnalysis.RequireExplicitBooleanOperatorPrecedence
sniff. #197ShortOpenEchoNoSemicolon
errorcode to allow for selectively ignoring missing semicolons in single line embedded PHP snippets within short open echo tags.Changed
phpcbf
run. #308AbstractSniffUnitTest
class will now show a (non-build-breaking) warning when test case files contain fixable errors/warnings, but there is no corresponding.fixed
file available in the test suite to verify the fixes against. #336Deprecated
PHP_CodeSniffer\Filters\ExactMatch::getBlacklist()
andPHP_CodeSniffer\Filters\ExactMatch::getWhitelist()
methods are deprecated and will be removed in the 4.0 release. See #198.ExactMatch::getDisallowedFiles()
andExactMatch::getAllowedFiles()
methodsExactMatch
cross-version compatible with both PHP_CodeSniffer 3.9.0+ as well as 4.0+, implement the newgetDisallowedFiles()
andgetAllowedFiles()
methods.getDisallowedFiles()
andgetAllowedFiles()
methods as well as thegetBlacklist()
andgetWhitelist()
are available, the new methods will take precedence over the old methods.Zend.Debug.CodeAnalyzer
sniff. See #277.Fixed
MissingParamType
error code will now be used instead ofMissingParamName
when a parameter name is provided, but not its type. Additionally, invalid type hint suggestions will no longer be provided in these cases.switch
case
.class
keyword was not checked when the space included a new line or comment.Other
The list is located in the
.github
folder.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
.[email protected]:squizlabs/PHP_CodeSniffer.git
to[email protected]: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 PHPCS#[\AllowDynamicProperties]
attribute will have no effect for properties which are being set in rulesetsauto
report width (the default) a value of 80 columns will be used if the width cannot be determinedConfiguration
📅 Schedule: Branch creation - "before 4am on Monday" (UTC), 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.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.