phpstan / phpstan-webmozart-assert

PHPStan extension for webmozart/assert
MIT License
165 stars 28 forks source link

Update dependency slevomat/coding-standard to v8 - autoclosed #141

Closed renovate[bot] closed 2 years ago

renovate[bot] commented 2 years ago

Mend Renovate

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`](https://togithub.com/slevomat/coding-standard/releases/tag/8.5.1) [Compare Source](https://togithub.com/slevomat/coding-standard/compare/8.5.0...8.5.1) ## 🐛 Fixes - `SlevomatCodingStandard.PHP.RequireExplicitAssertion`: Fixed broken fixer when `enableAdvancedStringTypes` is enabled ### [`v8.5.0`](https://togithub.com/slevomat/coding-standard/releases/tag/8.5.0) [Compare Source](https://togithub.com/slevomat/coding-standard/compare/8.4.0...8.5.0) ## 🔧 Improvements - PHP 8.2: Support for standalone `null`, `true` and `false` type hints - `SlevomatCodingStandard.PHP.RequireExplicitAssertion`: Improved support for native simple types - `SlevomatCodingStandard.PHP.RequireExplicitAssertion`: New option `enableIntegerRanges` - `SlevomatCodingStandard.PHP.RequireExplicitAssertion`: New option `enableAdvancedStringTypes` - Support of `phpstan/phpdoc-parser` 1.8.0 ## 🐛 Fixes - `SlevomatCodingStandard.Classes.PropertyDeclaration`: Fixed false positive - `SlevomatCodingStandard.PHP.RequireExplicitAssertion`: Fixed false positive - `SlevomatCodingStandard.ControlStructures.DisallowYodaComparison/RequireYodaComparison`: Fixed support for condition in arrow function - `SlevomatCodingStandard.Classes.DisallowMultiPropertyDefinition`: Fixed false positives for old array definition style - `SlevomatCodingStandard.Variables.UselessVariable`: Fixed false positives ### [`v8.4.0`](https://togithub.com/slevomat/coding-standard/releases/tag/8.4.0) [Compare Source](https://togithub.com/slevomat/coding-standard/compare/8.3.0...8.4.0) ## 🔧 Improvements - Support of `phpstan/phpdoc-parser` 1.7.0 ## 🐛 Fixes - Fixed detection of some PHP 8.1 types - `SlevomatCodingStandard.PHP.RequireNowdoc`: Accepts escaped sequences (thanks to [@​dg](https://togithub.com/dg)) - `SlevomatCodingStandard.Functions.RequireSingleLineCall`: Skip calls with multi-line double-quoted string (thanks to [@​schlndh](https://togithub.com/schlndh)) - `SlevomatCodingStandard.PHP.UselessParentheses`: Fixed false positive with `xor` - `SlevomatCodingStandard.Operators.RequireCombinedAssignmentOperator`: Try to ignore string offsets ### [`v8.3.0`](https://togithub.com/slevomat/coding-standard/releases/tag/8.3.0) [Compare Source](https://togithub.com/slevomat/coding-standard/compare/8.2.0...8.3.0) ## 🆕 New sniffs - Added `SlevomatCodingStandard.Complexity.Cognitive` (thanks to [@​bkdotcom](https://togithub.com/bkdotcom)) - Added `SlevomatCodingStandard.Files.FileLength` (thanks to [@​bkdotcom](https://togithub.com/bkdotcom)) - Added `SlevomatCodingStandard.Classes.ClassLength` (thanks to [@​bkdotcom](https://togithub.com/bkdotcom)) ## 🐛 Fixes - `SlevomatCodingStandard.PHP.RequireExplicitAssertion`: Do not throw away `static` type (thanks to [@​simPod](https://togithub.com/simPod)) ### [`v8.2.0`](https://togithub.com/slevomat/coding-standard/releases/tag/8.2.0) [Compare Source](https://togithub.com/slevomat/coding-standard/compare/8.1.0...8.2.0) ## 🆕 New sniffs - Added `SlevomatCodingStandard.Classes.BackedEnumTypeSpacing` ## 🔧 Improvements - `SlevomatCodingStandard.TypeHints.ParameterTypeHint`: `MissingTraversableTypeHintSpecification` is not reported when promoted property has `@var` annotation ### [`v8.1.0`](https://togithub.com/slevomat/coding-standard/releases/tag/8.1.0) [Compare Source](https://togithub.com/slevomat/coding-standard/compare/8.0.1...8.1.0) ## 🔧 Improvements - `SlevomatCodingStandard.Classes.PropertyDeclaration`: New option `checkPromoted` to enable check of promoted properties - `SlevomatCodingStandard.Classes.PropertyDeclaration`: New option `enableMultipleSpacesBetweenModifiersCheck` to enable check of spaces between property modifiers - `SlevomatCodingStandard.Classes.PropertyDeclaration`: Improved error messages - `SlevomatCodingStandard.Classes.ForbiddenPublicProperty`: New option `checkPromoted` to enable check of promoted properties ## 🐛 Fixes - `SlevomatCodingStandard.TypeHints.PropertyTypeHint`: Fix inconsistent `enableIntersectionTypeHint` (thanks to [@​schlndh](https://togithub.com/schlndh)) ### [`v8.0.1`](https://togithub.com/slevomat/coding-standard/releases/tag/8.0.1) [Compare Source](https://togithub.com/slevomat/coding-standard/compare/8.0.0...8.0.1) ## 🐛 Fixes - Group `use` statements are ignored - we don't support them - `SlevomatCodingStandard.PHP.UselessParentheses`: Fixed false positive - `SlevomatCodingStandard.TypeHints.ParameterTypeHint`: Fixed internal error (thanks to [@​schlndh](https://togithub.com/schlndh)) ### [`v8.0.0`](https://togithub.com/slevomat/coding-standard/releases/tag/8.0.0) [Compare Source](https://togithub.com/slevomat/coding-standard/compare/7.2.1...8.0.0) ## 🔧 Improvements - Support for intersection types - Support for readonly properties - Support for enums - Support for `never` type hint - Support for more unofficial type hints - `SlevomatCodingStandard.Classes.PropertyDeclaration`: Checks also order of modifiers - `SlevomatCodingStandard.Classes.ClassStructure`: Support for enum cases and readonly properties ## 🐛 Fixes - `SlevomatCodingStandard.Classes.PropertyDeclaration`: Fixed missing support for only static property - `SlevomatCodingStandard.TypeHints.PropertyTypeHint`: Fixed missing support for only static property - `SlevomatCodingStandard.Commenting.EmptyComment`: Fixed internal error - `SlevomatCodingStandard.Classes.ForbiddenPublicProperty`: Fixed internal error - `SlevomatCodingStandard.Namespaces.FullyQualifiedClassNameInAnnotation`: Fixed false positives for `@psalm-import-type` in `@psalm-var` - `SlevomatCodingStandard.PHP.RequireExplicitAssertion`: Ignore unsupported unofficial type hints ## ⚠️BC breaks - `SlevomatCodingStandard.TypeHints.PropertyTypeHintSpacing` renamed to `SlevomatCodingStandard.Classes.PropertyDeclaration` - `SlevomatCodingStandard.Classes.ClassStructure`: Removed option `enableFinalMethods` - 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.



This PR has been generated by Mend Renovate. View repository job log here.

renovate[bot] commented 2 years ago

⚠ 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:

The artifact failure details are included below:

File name: build-cs/composer.lock
Command failed: docker run --rm --name=renovate_php --label=renovate_child -v "/mnt/renovate/gh/phpstan/phpstan-webmozart-assert":"/mnt/renovate/gh/phpstan/phpstan-webmozart-assert" -v "/tmp/renovate-cache":"/tmp/renovate-cache" -e COMPOSER_CACHE_DIR -e COMPOSER_AUTH -w "/mnt/renovate/gh/phpstan/phpstan-webmozart-assert/build-cs" docker.io/renovate/php bash -l -c "install-tool composer 2.3.7 && composer update 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
Dependency dealerdirect/phpcodesniffer-composer-installer is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.
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] 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.