-
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.16.2
3.7.2
->3.12.0
Release Notes
slevomat/coding-standard (slevomat/coding-standard)
v8.16.2
Compare Source
🐛 Fixes
SlevomatCodingStandard.TypeHints.ReturnTypeHint
: Fixed false positiveSlevomatCodingStandard.Variables.UnusedVariable
: Fixed false positiveSlevomatCodingStandard.TypeHints.DisallowMixedTypeHint
: Fix logic error (thanks to @jrfnl)v8.16.1
Compare Source
🐛 Fixes
v8.16.0
Compare Source
phpstan/phpdoc-parser
2.0 (thanks to @ondrejmirtes)🆕 New sniffs
SlevomatCodingStandard.TypeHints.ClassConstantTypeHint
: Checks type hint of class constants (thanks to @DaDeather)SlevomatCodingStandard.TypeHints.DNFTypeHintFormat
: Checks format of DNF type hints🔧 Improvements
SlevomatCodingStandard.Classes.ClassStructure
: Support forinvoke method
groupSlevomatCodingStandard.Classes.ClassStructure
: Support for definition of custom groups (thanks to @maryo)SlevomatCodingStandard.Namespaces.ReferenceUsedNamesOnly
: New optionallowWhenNoNamespace
SlevomatCodingStandard.Classes.ForbiddenPublicProperty
: New optionallowReadonly
- Add support for allowing public readonly properties (thanks to @tfrommen)SlevomatCodingStandard.TypeHints.DisallowMixedTypeHint
: Does not report error when attribute#[Override]
is presented (thanks to @kamil-zacek)SlevomatCodingStandard.PHP.UselessParentheses
: Checks useless parentheses in(new Foo());
T_ARRAY_HINT
(thanks to @jrfnl)🐛 Fixes
SlevomatCodingStandard.Namespaces.ReferenceUsedNamesOnly
: Some references were not detectedSlevomatCodingStandard.TypeHints.DeclareStrictTypes
: Fixing number of empty lines when previous effective token before declare is line comment (thanks to @maryo)SlevomatCodingStandard.Classes.MethodSpacing
: Fix check for method with attributesSlevomatCodingStandard.Classes.PropertyDeclaration
: Fixed false positives where there's function withstatic
return type hint before propertySlevomatCodingStandard.ClassesEnumCaseSpacing
: Fixed internal error (thanks to @v.fateev)SlevomatCodingStandard.ClassesConstantSpacing
: Fixed internal error (thanks to @v.fateev)SlevomatCodingStandard.TypeHints.PropertyTypeHint
: Fixed false positive for object shape as item in travesable typeSlevomatCodingStandard.ControlStructures.NewWithParentheses
: Fixed false positive for readonly anonymous classSlevomatCodingStandard.ControlStructures.DisallowYodaComparison
: Fixed fixerSlevomatCodingStandard.PHPUselessParentheses
: Fixed false positiveSlevomatCodingStandard.PHP.OptimizedFunctionsWithoutUnpacking
:sprintf()
is optimized too🗑️ Deprecated
SlevomatCodingStandard.TypeHints.UnionTypeHintFormat
: UseSlevomatCodingStandard.TypeHints.DNFTypeHintFormat
insteadv8.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.12.0
Compare Source
Added
final
properties to File::getMemberProperties() through a newis_final
array index in the return value. #834Changed
-h
(Help) option now contains a more extensive list of "config" options which can be set. #809--sniffs
or--exclude
command line arguments. #344--generator
command line argument. #709, #771title
attribute is missing, the documentation generation will now fall back to the sniff name as the title. #820SpacingBeforePropertyModifier
orNoSpaceBeforePropertyModifier
error codes. #792SpacingBeforeHint
orNoSpaceBeforeHint
error code, which was misleading.final
andabstract
modifier keywords. #604Internal.PropertyDoesNotExist
error code.Deprecated
All deprecation are slated for removal in PHP_CodeSniffer 4.0.
Sniff
interface. See #694.PHP_CodeSniffer\Generators\Text::printTitle()
in favour ofPHP_CodeSniffer\Generators\Text::getFormattedTitle()
PHP_CodeSniffer\Generators\Text::printTextBlock()
in favour ofPHP_CodeSniffer\Generators\Text::getFormattedTextBlock()
PHP_CodeSniffer\Generators\Text::printCodeComparisonBlock()
in favour ofPHP_CodeSniffer\Generators\Text::getFormattedCodeComparisonBlock()
PHP_CodeSniffer\Generators\Markdown::printHeader()
in favour ofPHP_CodeSniffer\Generators\Markdown::getFormattedHeader()
PHP_CodeSniffer\Generators\Markdown::printFooter()
in favour ofPHP_CodeSniffer\Generators\Markdown::getFormattedFooter()
PHP_CodeSniffer\Generators\Markdown::printTextBlock()
in favour ofPHP_CodeSniffer\Generators\Markdown::getFormattedTextBlock()
PHP_CodeSniffer\Generators\Markdown::printCodeComparisonBlock()
in favour ofPHP_CodeSniffer\Generators\Markdown::getFormattedCodeComparisonBlock()
PHP_CodeSniffer\Generators\HTML::printHeader()
in favour ofPHP_CodeSniffer\Generators\HTML::getFormattedHeader()
PHP_CodeSniffer\Generators\HTML::printToc()
in favour ofPHP_CodeSniffer\Generators\HTML::getFormattedToc()
PHP_CodeSniffer\Generators\HTML::printFooter()
in favour ofPHP_CodeSniffer\Generators\HTML::getFormattedFooter()
PHP_CodeSniffer\Generators\HTML::printTextBlock()
in favour ofPHP_CodeSniffer\Generators\HTML::getFormattedTextBlock()
PHP_CodeSniffer\Generators\HTML::printCodeComparisonBlock()
in favour ofPHP_CodeSniffer\Generators\HTML::getFormattedCodeComparisonBlock()
Fixed
readonly
properties.[0 => '']
.Other
v3.11.3
Compare Source
Changed
SpaceBeforeComma
error. #783Fixed
equalsSpacing
was set to0
.equalsSpacing
was set to1
.v3.11.2
Compare Source
Changed
<standard>
blocks. #723<standard>
blocks. #737Fixed
define()
.DEFINE
is encountered.define
.define
.v3.11.1
Compare Source
Changed
--generator=...
feature will respect the OS-expected EOL char in more places. #671Fixed
v3.11.0
Compare Source
Added
Generic.WhiteSpace.HereNowdocIdentifierSpacing
sniff. #586, #637<<<
and the identifier string in heredoc/nowdoc start tokens.Generic.Strings.UnnecessaryHeredoc
sniff. #633Changed
$sniffClass
is passed. #524, #625--generator=...
feature will now always be presented in natural order based on the sniff name(s). #668AnnotationFound
. #560, #627SpacingAfterOpen
error code has been replaced by theSpaceAfterOpen
error code. The latter is a pre-existing code. The former appears to have been a typo. #582Fixed
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
](https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/blob/HConfiguration
📅 Schedule: Branch creation - "* 0-3 * * 1" (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.