-
Notifications
You must be signed in to change notification settings - Fork 0
Update root-composer #4
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
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:
1.0.0
->1.1.0
8.13.2
->8.19.1
3.7.2
->3.13.2
Release Notes
PHPCSStandards/composer-installer (dealerdirect/phpcodesniffer-composer-installer)
v1.1.0
Compare Source
Changed
Removed
New Contributors
Full Changelog: PHPCSStandards/composer-installer@v1.0.0...v1.1.0
slevomat/coding-standard (slevomat/coding-standard)
v8.19.1
Compare Source
🐛 Fixes
v8.19.0
Compare Source
🔧 Improvements
final
/abstract
properties supported🐛 Fixes
SlevomatCodingStandard.Arrays.DisallowPartiallyKeyed
: Fixed false positiveSlevomatCodingStandard.Classes.ClassMemberSpacing
: Prevent deleting unexpected code/comments (thanks to @maryo)SlevomatCodingStandard.Complexity.Cognitive
:do...while
loop should only increment once (not for both theT_DO
andT_WHILE
) (thanks to @bkdotcom)SlevomatCodingStandard.TypeHints.ClassConstantTypeHint
: New optionfixableNativeTypeHint
- it's possible to fix only private constants (thanks to @maryo)SlevomatCodingStandard.Classes.RequireConstructorPropertyPromotion
: Properly autofixing when argument name has an attribute (thanks to @maryo)v8.18.1
Compare Source
🐛 Fixes
SlevomatCodingStandard.Commenting.InlineDocCommentDeclaration
: Fix error when no code is found after@var
(thanks to @AegirLeet)SlevomatCodingStandard.PHP.UselessParentheses
: Fixed false positive for bitwise not operatorv8.18.0
Compare Source
🔧 Improvements
SlevomatCodingStandard.Classes.ClassStructure
: Support for custom method groups based on method name prefix (thanks to @maryo)🐛 Fixes
SlevomatCodingStandard.Functions.RequireMultiLineCall
: Fix reporting multiline call which exactly fits into line length limit (thanks to @maryo)v8.17.1
Compare Source
🐛 Fixes
SlevomatCodingStandard.TypeHints.PropertyTypeHint
: Fixv8.17.0
Compare Source
🔧 Improvements
SlevomatCodingStandard.ControlStructures.RequireNullCoalesceEqualOperator
: New optioncheckIfConditions
🐛 Fixes
SlevomatCodingStandard.Classes.MethodSpacing
: Fixed check for methods with more attributesv8.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.13.2
Compare Source
Changed
Fixed
SpacingAfterSetVis\[i\]bility
.v3.13.1
Compare Source
Added
set_scope
array index in the return value. #1116set_visibility
andset_visibility_token
array indexes in the return value. #1116Changed
AvizKeywordOrder
error code.SpacingAfterSetVisibility
error code.AsymReadMissing
. #1122Other
Older XSD files can be referenced via permalinks based on their minor:
https://schema.phpcodesniffer.com/#.#/phpcs.xsd
.D91D869
.v3.13.0
Compare Source
Added
final
properties to the following sniffs:Changed
goto
language construct keyword. #917final
modifier keyword is placed before a visibility keyword. #950FinalAfterVisibility
error code.--reports
CLI flag. #1078Deprecated
PHP_CodeSniffer\Sniffs\Sniff
interface. #891-q
(=quiet) CLI flag.Fixed
Other
Calling all testers!
The first beta release for PHP_CodeSniffer 4.0 has been tagged. Please help by testing the beta release and reporting any issues you run into.
Upgrade guides for both ruleset maintainers/end-users, as well as for sniff developers and integrators, have been published to the Wiki to help smooth the transition.
v3.12.2
Compare Source
Added
final
properties to the following sniffs:Changed
short_open_tag
setting.Fixed
@param
tags.final
classes.Diff
+ theCode
reports are requested and caching is on.v3.12.1
Compare Source
Added
Changed
Deprecated
Generic.Functions.CallTimePassByReference
sniff. See #921.Fixed
InvalidArgumentException
s when displaying verbose information.?
in nullable types for readonly properties.goto
was not recognized as a terminating statement for a case/default in a switch control structure.Other
Read the open invitation (#924) for all the details.
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. [#737]Fixed
define()
.DEFINE
is encountered.define
.Configuration
📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, only on Monday ( * 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.