chore(deps): update dependency slevomat/coding-standard to v8.16.0 #157
+1
−1
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:
8.15
->8.16.0
Release Notes
slevomat/coding-standard (slevomat/coding-standard)
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
insteadConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.