phpstan / phpstan-strict-rules

Extra strict and opinionated rules for PHPStan
MIT License
605 stars 48 forks source link

chore(deps): update dependency slevomat/coding-standard to v7.2.0 #175

Closed renovate[bot] closed 2 years ago

renovate[bot] commented 2 years ago

WhiteSource Renovate

This PR contains the following updates:

Package Type Update Change
slevomat/coding-standard require-dev minor 7.1 -> 7.2.0

Release Notes

slevomat/coding-standard ### [`v7.2.0`](https://togithub.com/slevomat/coding-standard/releases/7.2.0) [Compare Source](https://togithub.com/slevomat/coding-standard/compare/7.1.0...7.2.0) ## πŸ†• New sniffs - Added `SlevomatCodingStandard.Functions.DisallowTrailingCommaInClosureUse` - Added `SlevomatCodingStandard.Functions.RequireTrailingCommaInClosureUse` ## πŸ”§ Improvements - Support for offset access type syntax in annotations - Support for `@phpstan-assert`/`@psalm-assert` annotations - `SlevomatCodingStandard.Whitespaces.DuplicateSpacesSniff`: New option `ignoreSpacesInMatch` - `SlevomatCodingStandard.Functions.DisallowTrailingCommaInCall`: New option `onlySingleLine` - `SlevomatCodingStandard.Functions.DisallowTrailingCommaInDeclaration`: New option `onlySingleLine` ## πŸ› Fixes - `SlevomatCodingStandard.TypeHints.ReturnTypeHint`: Fixed internal error - `SlevomatCodingStandard.ControlStructures.UselessIfConditionWithReturn`: Fixed internal error - `SlevomatCodingStandard.Functions.RequireSingleLineCall`: Fixed false positive - `SlevomatCodingStandard.Variables.UnusedVariable`: Resolve false positives with increment/decrement operators (thanks to [@​aadmathijssen](https://togithub.com/aadmathijssen)) - `SlevomatCodingStandard.Variables.UnusedVariable`: allow increment/decrement operators after yield (thanks to [@​aadmathijssen](https://togithub.com/aadmathijssen))

Configuration

πŸ“… Schedule: "before 3am on Monday" (UTC).

🚦 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 WhiteSource Renovate. View repository job log here.