Skip to content

IBX-12046: Removed Symfony 8 deprecated code usage - #54

Open
ViniTou wants to merge 1 commit into
6.0from
ibx-12046-symfony-deprecations
Open

IBX-12046: Removed Symfony 8 deprecated code usage#54
ViniTou wants to merge 1 commit into
6.0from
ibx-12046-symfony-deprecations

Conversation

@ViniTou

@ViniTou ViniTou commented Sep 9, 2026

Copy link
Copy Markdown
Contributor
🎫 Issue IBX-12046

Related PRs:

Description:

Adds explicit ? nullable markers to parameters typed Type $param = null without it, which PHP 8.4 deprecates (implicit nullable types) and PHP 9 will remove. Scope for this package is narrow: the static scan only found this pattern inside ChangeArgumentTypeRector's test fixtures (tests/lib/Rule/ChangeArgumentTypeRector/Fixture/*.php.inc), on the array $targets = null parameter that is untouched context in those before/after fixtures (not the parameter the rule rewrites). No src/ occurrences exist. No Rector rules/sets were added or changed, rector/rector and other composer constraints were left untouched.

For QA:

  • composer test-unit (87 tests, 99 assertions) — green.
  • composer phpstan — no errors.
  • composer check-cs — no files need fixing.

Documentation:

N/A — test-fixture-only change, no public API impact.

Adds explicit nullable (?) type-hints to implicit nullable parameters
(Type $param = null) in ChangeArgumentTypeRector test fixtures, which
is deprecated as of PHP 8.4 and removed in PHP 9.0.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant