phpstan-strict-rules
phpstan-strict-rules copied to clipboard
chore(deps): update dependency slevomat/coding-standard to v8
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| slevomat/coding-standard | require-dev | major | ^7.0 -> ^8.0 |
Release Notes
slevomat/coding-standard
v8.5.1
🐛 Fixes
SlevomatCodingStandard.PHP.RequireExplicitAssertion: Fixed broken fixer whenenableAdvancedStringTypesis enabled
v8.5.0
🔧 Improvements
- PHP 8.2: Support for standalone
null,trueandfalsetype hints SlevomatCodingStandard.PHP.RequireExplicitAssertion: Improved support for native simple typesSlevomatCodingStandard.PHP.RequireExplicitAssertion: New optionenableIntegerRangesSlevomatCodingStandard.PHP.RequireExplicitAssertion: New optionenableAdvancedStringTypes- Support of
phpstan/phpdoc-parser1.8.0
🐛 Fixes
SlevomatCodingStandard.Classes.PropertyDeclaration: Fixed false positiveSlevomatCodingStandard.PHP.RequireExplicitAssertion: Fixed false positiveSlevomatCodingStandard.ControlStructures.DisallowYodaComparison/RequireYodaComparison: Fixed support for condition in arrow functionSlevomatCodingStandard.Classes.DisallowMultiPropertyDefinition: Fixed false positives for old array definition styleSlevomatCodingStandard.Variables.UselessVariable: Fixed false positives
v8.4.0
🔧 Improvements
- Support of
phpstan/phpdoc-parser1.7.0
🐛 Fixes
- Fixed detection of some PHP 8.1 types
SlevomatCodingStandard.PHP.RequireNowdoc: Accepts escaped sequences (thanks to @dg)SlevomatCodingStandard.Functions.RequireSingleLineCall: Skip calls with multi-line double-quoted string (thanks to @schlndh)SlevomatCodingStandard.PHP.UselessParentheses: Fixed false positive withxorSlevomatCodingStandard.Operators.RequireCombinedAssignmentOperator: Try to ignore string offsets
v8.3.0
🆕 New sniffs
- Added
SlevomatCodingStandard.Complexity.Cognitive(thanks to @bkdotcom) - Added
SlevomatCodingStandard.Files.FileLength(thanks to @bkdotcom) - Added
SlevomatCodingStandard.Classes.ClassLength(thanks to @bkdotcom)
🐛 Fixes
SlevomatCodingStandard.PHP.RequireExplicitAssertion: Do not throw awaystatictype (thanks to @simPod)
v8.2.0
🆕 New sniffs
- Added
SlevomatCodingStandard.Classes.BackedEnumTypeSpacing
🔧 Improvements
SlevomatCodingStandard.TypeHints.ParameterTypeHint:MissingTraversableTypeHintSpecificationis not reported when promoted property has@varannotation
v8.1.0
🔧 Improvements
SlevomatCodingStandard.Classes.PropertyDeclaration: New optioncheckPromotedto enable check of promoted propertiesSlevomatCodingStandard.Classes.PropertyDeclaration: New optionenableMultipleSpacesBetweenModifiersCheckto enable check of spaces between property modifiersSlevomatCodingStandard.Classes.PropertyDeclaration: Improved error messagesSlevomatCodingStandard.Classes.ForbiddenPublicProperty: New optioncheckPromotedto enable check of promoted properties
🐛 Fixes
SlevomatCodingStandard.TypeHints.PropertyTypeHint: Fix inconsistentenableIntersectionTypeHint(thanks to @schlndh)
v8.0.1
🐛 Fixes
- Group
usestatements are ignored - we don't support them SlevomatCodingStandard.PHP.UselessParentheses: Fixed false positiveSlevomatCodingStandard.TypeHints.ParameterTypeHint: Fixed internal error (thanks to @schlndh)
v8.0.0
🔧 Improvements
- Support for intersection types
- Support for readonly properties
- Support for enums
- Support for
nevertype hint - Support for more unofficial type hints
SlevomatCodingStandard.Classes.PropertyDeclaration: Checks also order of modifiersSlevomatCodingStandard.Classes.ClassStructure: Support for enum cases and readonly properties
🐛 Fixes
SlevomatCodingStandard.Classes.PropertyDeclaration: Fixed missing support for only static propertySlevomatCodingStandard.TypeHints.PropertyTypeHint: Fixed missing support for only static propertySlevomatCodingStandard.Commenting.EmptyComment: Fixed internal errorSlevomatCodingStandard.Classes.ForbiddenPublicProperty: Fixed internal errorSlevomatCodingStandard.Namespaces.FullyQualifiedClassNameInAnnotation: Fixed false positives for@psalm-import-typein@psalm-varSlevomatCodingStandard.PHP.RequireExplicitAssertion: Ignore unsupported unofficial type hints
⚠️BC breaks
SlevomatCodingStandard.TypeHints.PropertyTypeHintSpacingrenamed toSlevomatCodingStandard.Classes.PropertyDeclarationSlevomatCodingStandard.Classes.ClassStructure: Removed optionenableFinalMethods- Removed error
SlevomatCodingStandard.Namespaces.UnusedUses.MismatchingCaseSensitivity
Configuration
📅 Schedule: Branch creation - "before 3am 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.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, click this checkbox.
This PR has been generated by Mend Renovate. View repository job log here.
⚠ Artifact update problem
Renovate 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:
- any of the package files in this branch needs updating, or
- the branch becomes conflicted, or
- you click the rebase/retry checkbox if found above, or
- you rename this PR's title to start with "rebase!" to trigger it manually
The artifact failure details are included below:
File name: build-cs/composer.lock
Command failed: docker run --rm --name=RENOVATE_A_sidecar --label=RENOVATE_A_child -v "/tmp/worker/a927bd/cdbdc0/repos/github/phpstan/phpstan-strict-rules":"/tmp/worker/a927bd/cdbdc0/repos/github/phpstan/phpstan-strict-rules" -v "/tmp/worker/a927bd/cdbdc0/cache":"/tmp/worker/a927bd/cdbdc0/cache" -e COMPOSER_CACHE_DIR -e COMPOSER_AUTH -e BUILDPACK_CACHE_DIR -e CONTAINERBASE_CACHE_DIR -w "/tmp/worker/a927bd/cdbdc0/repos/github/phpstan/phpstan-strict-rules/build-cs" docker.io/containerbase/sidecar bash -l -c "install-tool php 8.2.3 && install-tool composer 2.5.4 && composer update dealerdirect/phpcodesniffer-composer-installer slevomat/coding-standard --with-dependencies --ignore-platform-req='ext-*' --ignore-platform-req='lib-*' --no-ansi --no-interaction --no-scripts --no-autoloader --no-plugins"
Loading composer repositories with package information
Info from https://repo.packagist.org: #StandWithUkraine
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires slevomat/coding-standard ^8.0, found slevomat/coding-standard[8.0.0, ..., 8.8.0] but these were not loaded, likely because it conflicts with another require.
Problem 2
- consistence-community/coding-standard is locked to version 3.11.1 and an update of this package was not requested.
- consistence-community/coding-standard 3.11.1 requires slevomat/coding-standard ~7.0 -> found slevomat/coding-standard[7.0.0, ..., 7.2.1] but it conflicts with your root composer.json require (^8.0).
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
Edited/Blocked Notification
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
⚠ Warning: custom changes will be lost.