Skip to content

build(deps-dev): bump slevomat/coding-standard from 8.15.0 to 8.16.2 #192

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 28, 2025

Bumps slevomat/coding-standard from 8.15.0 to 8.16.2.

Release notes

Sourced from slevomat/coding-standard's releases.

8.16.2

🐛 Fixes

  • SlevomatCodingStandard.TypeHints.ReturnTypeHint: Fixed false positive
  • SlevomatCodingStandard.Variables.UnusedVariable: Fixed false positive
  • SlevomatCodingStandard.TypeHints.DisallowMixedTypeHint: Fix logic error (thanks to @​jrfnl)

8.16.1

🐛 Fixes

  • Fixed BC break

8.16.0

⚠️

  • Drop PHP 7.2 and 7.3 support
  • Tested on PHP 8.4 but no support for PHP 8.4 features
  • Update to 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 for invoke method group
  • SlevomatCodingStandard.Classes.ClassStructure: Support for definition of custom groups (thanks to @​maryo)
  • SlevomatCodingStandard.Namespaces.ReferenceUsedNamesOnly: New option allowWhenNoNamespace
  • SlevomatCodingStandard.Classes.ForbiddenPublicProperty: New option allowReadonly - 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());
  • Remove use of deprecated T_ARRAY_HINT (thanks to @​jrfnl)

🐛 Fixes

  • SlevomatCodingStandard.Namespaces.ReferenceUsedNamesOnly: Some references were not detected
  • SlevomatCodingStandard.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 attributes
  • SlevomatCodingStandard.Classes.PropertyDeclaration: Fixed false positives where there's function with static return type hint before property
  • SlevomatCodingStandard.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 type
  • SlevomatCodingStandard.ControlStructures.NewWithParentheses: Fixed false positive for readonly anonymous class
  • SlevomatCodingStandard.ControlStructures.DisallowYodaComparison: Fixed fixer
  • SlevomatCodingStandard.PHPUselessParentheses: Fixed false positive
  • SlevomatCodingStandard.PHP.OptimizedFunctionsWithoutUnpacking: sprintf() is optimized too
  • Documentation fixes (thanks to @​edpittol and @​tfrommen)

🗑️ Deprecated

... (truncated)

Commits
  • 8bf0408 Slevomat.Classes.ClassMemberSpacing: More tests
  • 080bc06 TypeHints/DisallowMixedTypeHint: fix logic error
  • 1136fb9 SlevomatCodingStandard.Variables.UnusedVariable: Fixed false positive
  • 1071c98 SlevomatCodingStandard.TypeHints.ReturnTypeHint: Fixed false positive
  • 266a906 Updated dependencies
  • 490023f Revert "Enable PHP 7.4+ sniffs always"
  • b58063e Fixed build status badge
  • 0118b67 Fix reference to SlevomatCodingStandard.Arrays.ArrayAccess in README
  • b7e363a Readme: add ClassConstantTypeHint sniff
  • 7748a42 Added test
  • Additional commits viewable in compare view

Dependabot compatibility score

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Bumps [slevomat/coding-standard](https://github.com/slevomat/coding-standard) from 8.15.0 to 8.16.2.
- [Release notes](https://github.com/slevomat/coding-standard/releases)
- [Commits](slevomat/coding-standard@8.15.0...8.16.2)

---
updated-dependencies:
- dependency-name: slevomat/coding-standard
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file php Pull requests that update php code labels Mar 28, 2025
@dependabot dependabot bot requested a review from a team as a code owner March 28, 2025 03:36
Copy link

codecov bot commented Mar 28, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.92%. Comparing base (f233402) to head (174dccc).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             develop     #192   +/-   ##
==========================================
  Coverage      78.92%   78.92%           
  Complexity      1377     1377           
==========================================
  Files            215      215           
  Lines           5428     5428           
==========================================
  Hits            4284     4284           
  Misses          1144     1144           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Contributor Author

dependabot bot commented on behalf of github Apr 11, 2025

Superseded by #193.

@dependabot dependabot bot closed this Apr 11, 2025
@dependabot dependabot bot deleted the dependabot/composer/develop/slevomat/coding-standard-8.16.2 branch April 11, 2025 04:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file php Pull requests that update php code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants