mikebronner / laravel-model-caching

Eloquent model-caching made easy.
MIT License
2.23k stars 212 forks source link

Update slevomat/coding-standard requirement from ^6.4 to ^7.0 #397

Closed dependabot-preview[bot] closed 1 year ago

dependabot-preview[bot] commented 3 years ago

Updates the requirements on slevomat/coding-standard to permit the latest version.

Release notes

Sourced from slevomat/coding-standard's releases.

7.0.0

🆕 New sniffs

  • RequireNonCapturingCatchSniff: Requires non-capturing catch when the variable with exception is not used
  • RequireNullSafeObjectOperatorSniff: Requires using ?-> operator
  • DisallowNullSafeObjectOperatorSniff: Disallows using ?-> operator
  • RequireTrailingCommaInDeclarationSniff: Enforces trailing commas in multi-line declarations
  • DisallowTrailingCommaInDeclarationSniff: Disallows trailing commas in multi-line declarations
  • RequireConstructorPropertyPromotionSniff: Requires use of constructor property promotion
  • DisallowConstructorPropertyPromotionSniff: Disallows usage of constructor property promotion
  • UnionTypeHintFormatSniff: Checks format of union type hints
  • DisallowNamedArgumentsSniff: Disallows usage of named arguments
  • DisallowTrailingCommaInCallSniff: Disallows trailing commas in multi-line calls
  • ForbiddenPublicPropertySniff: Disallows using public properties (thanks to @50bhan)
  • FunctionLengthSniff: Disallows long function (thanks to @50bhan)

🔧 Improvements

  • Support for union type hints
  • Support for mixed and static type hint
  • Support for @phpstan-type, @psalm-type, @phpstan-import-type and @psalm-import-type annotations
  • ReturnTypeHintSniff: New option enableUnionTypeHint to enable support for union type hints
  • PropertyTypeHintSniff: New option enableUnionTypeHint to enable support for union type hints
  • ParameterTypeHintSniff: New option enableUnionTypeHint to enable support for union type hints
  • ReturnTypeHintSniff: New option enableMixedTypeHint to enable support for mixed type hint
  • PropertyTypeHintSniff: New option enableMixedTypeHint to enable support for mixed type hint
  • ParameterTypeHintSniff: New option enableMixedTypeHint to enable support for mixed type hint
  • ReturnTypeHintSniff: New option enableStaticTypeHint to enable support for static type hint
  • ReturnTypeHintSniff: Reports useless @phpcsSuppress
  • ParameterTypeHintSniff: Reports useless @phpcsSuppress
  • PropertyTypeHintSniff: Reports useless @phpcsSuppress
  • UnusedParameterSniff: Reports useless @phpcsSuppress
  • ModernClassNameReferenceSniff: New option enableOnObjects to enable ::class on all objects
  • NullableTypeForNullDefaultValueSniff: Support for mixed and union type hints
  • ReferenceUsedNamesOnlySniff: Improved fixer
  • BlockControlStructureSpacingSniff: Ignore if with alternative syntax
  • RequireTernaryOperatorSniff: Improved fixer
  • RequireMultiLineTernaryOperatorSniff: Support for more ternary operators
  • RequireMultiLineTernaryOperatorSniff: New option expressionsMinLength
  • BlockControlStructureSpacingSniff: Improved behaviour for case and default control structures
  • JumpStatementsSpacingSniff:: No errors for throw expressions

🐛 Fixes

  • NegationOperatorSpacingSniff: Fixed false positive
  • BlockControlStructureSpacingSniff: Fixed false positive
  • UselessParenthesesSniff: Fixed false positives
  • JumpStatementsSpacingSniff: Fixed false positive
  • RequireCombinedAssignmentOperatorSniff: Possible string offset should only report error - fixer is disabled to prevent fatal errors

... (truncated)

Commits
  • b4922c5 Updated dependencies
  • 784bb29 RequireConstructorPropertyPromotionSniff: Fixed false positive
  • 8e049b5 ClassStructureSniff: Fixed internal error
  • 3ee2333 Updated dependencies
  • a278c68 RequireMultiLineCallSniff: Speedup
  • 47466c7 RequireNowdocSniff: Speedup
  • b7d7e21 Cleanup
  • b0cd159 EarlyExitSniff: Speedup
  • 472dbd7 Cleanup
  • 09249ea RequireSingleLineCallSniff: Speedup
  • Additional commits viewable in compare view


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)