Skip to content

chore(deps): bump nette/php-generator from 4.1.8 to 4.2.0#41

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/composer/nette/php-generator-4.2.0
Closed

chore(deps): bump nette/php-generator from 4.1.8 to 4.2.0#41
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/composer/nette/php-generator-4.2.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 8, 2025

Bumps nette/php-generator from 4.1.8 to 4.2.0.

Release notes

Sourced from nette/php-generator's releases.

Released version 4.2.0

  • requires PHP 8.1
  • Visibility, PropertyHookType & PropertyAccessMode are enums (BC break)
  • removed deprecated stuff
  • addTrait() second argument is deprecated (BC break)

Released version 4.1.9

  • support for PHP 8.5
  • final promoted property in PHP 8.5
  • optimized global function calls
Commits
  • 4707546 Visibility, PropertyHookType & PropertyAccessMode are enums (BC break)
  • 2fc2add ClassLike::from() & fromCode() returns 'static'
  • 7232944 addTrait() second argument is deprecated (BC break)
  • 0698ed4 used attribute Deprecated
  • 342cd2a removed deprecated stuff
  • 323765c uses nette/utils 4
  • a4c5e6e requires nikic/php-parser 5.0 or newer
  • 407ea59 removed PHP 8.0 stuff
  • 2d80458 requires PHP 8.1
  • b347594 opened 4.2-dev
  • 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 [nette/php-generator](https://github.com/nette/php-generator) from 4.1.8 to 4.2.0.
- [Release notes](https://github.com/nette/php-generator/releases)
- [Commits](nette/php-generator@v4.1.8...v4.2.0)

---
updated-dependencies:
- dependency-name: nette/php-generator
  dependency-version: 4.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@brambaud
Copy link
Contributor

Since 4.2.0 it assumes nikic/php-parser:^5.0 which introduced PhpParser\Modifiers

But current version of roave/better-reflection is 6.25.0 which only accept nikic/php-parser:^4.18.0.
And upper versions of roave/better-reflection drop support of PHP 8.1.

So either we drop support of PHP 8.1 or we downgrade the code (see https://github.com/rectorphp/rector-downgrade-php) during the compilation so that we keep using up to date dependency and the support for PHP 8.1

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 13, 2026

Superseded by #53.

@dependabot dependabot bot closed this Feb 13, 2026
@dependabot dependabot bot deleted the dependabot/composer/nette/php-generator-4.2.0 branch February 13, 2026 22:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant