Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 5, 2025

Bumps phpcompatibility/php-compatibility from 10.0.0-alpha1 to 10.0.0-alpha2.

Release notes

Sourced from phpcompatibility/php-compatibility's releases.

10.0.0-alpha2 - 2025-11-28

IMPORTANT: This release contains breaking changes. Please read and follow the Upgrade guide in the wiki carefully before upgrading!

This release includes all improvements and bugfixes from PHPCompatibility 10.0.0-alpha1.

See all related issues and PRs in the 10.0.0-alpha2 milestone.

Added

  • PHP cross-version:
    • 🌟 New PHPCompatibility.Keywords.ForbiddenClassAlias sniff. #1952
    • 🌟 New PHPCompatibility.LanguageConstructs.RemovedLanguageConstructs sniff. #1948 This sniff in its initial version will detect the PHP 8.5 deprecation of the backtick operator.
  • PHP 8.3:
    • 🌟 New PHPCompatibility.ParameterValues.NewClassAliasInternalClass sniff. #1951
    • 🌟 New PHPCompatibility.Syntax.NewDynamicClassConstantFetch sniff. #1974
  • PHP 8.5:
    • 🌟 New PHPCompatibility.Classes.NewStaticAvizProperties sniff. #1950
  • PHPCompatibility.Classes.NewClasses sniff: recognize the new DateTime and SQLite extension related error and exception classes as introduced in PHP 8.3. #1936, #1937
  • PHPCompatibility.Constants.NewConstants sniff: recognize various constants from the Mhash extension. #1938
  • PHPCompatibility.ParameterValues.ChangedIntToBoolParamType sniff: detect the Zlib $use_include_path parameter type change as per PHP 8.5. #1949
  • ⭐ The "list based" sniffs, like NewFunctions, RemovedIniDirectives, ForbiddenNames etc, have received updates to account for new/deprecated/removed PHP classes, constants, functions, function parameters, ini directives, reserved namespaces and type casts as per PHP 8.5.
  • 📚 Documentation for the following sniffs:
    • PHPCompatibility.Syntax.NewShortArray #1997

Changed

  • 🔀 PHPCompatibility.TypeCasts.RemovedTypeCasts has new error codes. #1941
    • The t_unset_castDeprecatedRemoved has been changed to unsetDeprecatedRemoved.
    • The t_double_castDeprecatedRemoved has been changed to realDeprecatedRemoved.
  • 📌 PHPCompatibility.Keywords.ForbiddenNames will now also detect incompatible use of the "other" reserved keywords parent and self. #1940
  • 🔧 ☔ Various housekeeping, including general maintenance, improvements to speed up the sniffs, improvements to CI, the tests and documentation.

Credits

Thanks go out to @​afilina and @​okkun-sh for their contributions to this version. 👏

Changelog

Sourced from phpcompatibility/php-compatibility's changelog.

[10.0.0-alpha2] - 2025-11-28

IMPORTANT: This release contains breaking changes. Please read and follow the [Upgrade guide in the wiki][wiki-upgrade-to-10.0] carefully before upgrading!

This release includes all improvements and bugfixes from PHPCompatibility [10.0.0-alpha1].

See all related issues and PRs in the [10.0.0-alpha2 milestone].

Added

  • PHP cross-version:

    • 🌟 New PHPCompatibility.Keywords.ForbiddenClassAlias sniff. #1952
    • 🌟 New PHPCompatibility.LanguageConstructs.RemovedLanguageConstructs sniff. #1948 This sniff in its initial version will detect the PHP 8.5 deprecation of the backtick operator.
  • PHP 8.3:

    • 🌟 New PHPCompatibility.ParameterValues.NewClassAliasInternalClass sniff. #1951
    • 🌟 New PHPCompatibility.Syntax.NewDynamicClassConstantFetch sniff. #1974
  • PHP 8.5:

    • 🌟 New PHPCompatibility.Classes.NewStaticAvizProperties sniff. #1950
  • PHPCompatibility.Classes.NewClasses sniff: recognize the new DateTime and SQLite extension related error and exception classes as introduced in PHP 8.3. #1936, #1937

  • PHPCompatibility.Constants.NewConstants sniff: recognize various constants from the Mhash extension. #1938

  • PHPCompatibility.ParameterValues.ChangedIntToBoolParamType sniff: detect the Zlib $use_include_path parameter type change as per PHP 8.5. #1949

  • ⭐ The "list based" sniffs, like NewFunctions, RemovedIniDirectives, ForbiddenNames etc, have received updates to account for new/deprecated/removed PHP classes, constants, functions, function parameters, ini directives, reserved namespaces and type casts as per PHP 8.5.

    #1941, #1942, #1943, #1944, #1945, #1946, #1947, #1953, #1954, #1955, #1956, #1957, #1958, #1959, #1960, #1961, #1962, #1963, #1965, #1966, #1967, #1968, #1969, #1970, #1971

... (truncated)

Commits
  • e0f0e5a CHANGELOG: add release date for 10.0.0-alpha2
  • cc985eb Merge pull request #2000 from PHPCompatibility/feature/changelog-10.0.0-alpha2
  • 86e34fc CHANGELOG for the 10.0.0-alpha2 release
  • 9d8a55f Merge pull request #1993 from PHPCompatibility/feature/composer-remove-roave-...
  • 1b0bd51 Merge pull request #1984 from PHPCompatibility/feature/update-manage-labels
  • 4adfa58 Merge pull request #1976 from PHPCompatibility/feature/add-pull-request-template
  • 16b3310 Merge pull request #1999 from PHPCompatibility/dependabot/github_actions/acti...
  • 0158f1e GH Actions: Bump actions/checkout from 5.0.0 to 6.0.0
  • 23bd186 PHP 8.3 | ✨ New sniff to detect dynamic class constant fetch (#1974)
  • 0de9a34 Merge pull request #1998 from PHPCompatibility/dependabot/github_actions/acti...
  • 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 [phpcompatibility/php-compatibility](https://github.com/PHPCompatibility/PHPCompatibility) from 10.0.0-alpha1 to 10.0.0-alpha2.
- [Release notes](https://github.com/PHPCompatibility/PHPCompatibility/releases)
- [Changelog](https://github.com/PHPCompatibility/PHPCompatibility/blob/develop/CHANGELOG.md)
- [Commits](PHPCompatibility/PHPCompatibility@10.0.0-alpha1...10.0.0-alpha2)

---
updated-dependencies:
- dependency-name: phpcompatibility/php-compatibility
  dependency-version: 10.0.0-alpha2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file php Pull requests that update Php code labels Dec 5, 2025
@coveralls
Copy link

Coverage Status

coverage: 93.181%. remained the same
when pulling ca53c80 on dependabot/composer/dev-tools/phpcompatibility/php-compatibility-10.0.0-alpha2
into 7470386 on master.

@keradus keradus enabled auto-merge (squash) December 5, 2025 19:19
@keradus keradus disabled auto-merge December 5, 2025 19:28
@keradus keradus merged commit 762a263 into master Dec 5, 2025
32 checks passed
@keradus keradus deleted the dependabot/composer/dev-tools/phpcompatibility/php-compatibility-10.0.0-alpha2 branch December 5, 2025 19:28
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 status/self-approved

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants