Skip to content

Conversation

@alongosz
Copy link
Member

Caution

These changes are volatile and - in some repositories - extensive, so they need to be carefully reviewed before merging.

🎫 Issue IBX-9727

Description:

Added missing strict type hints using \Rector\Set\ValueObject\SetList::TYPE_DECLARATION set.
Additionally FQCNs have been imported for every affected file using PHP CS Fixer, in some cases they might override unrelated lines.

PHPStan bump is required due to requirements of Ibexa Rector and Rector itself.

For QA:

Regression tests.

Applied Rectors:
  * Rector\TypeDeclaration\Rector\Closure\AddClosureVoidReturnTypeWhereNoReturnRector
  * Rector\TypeDeclaration\Rector\Closure\ClosureReturnTypeRector
  * Rector\TypeDeclaration\Rector\Property\TypedPropertyFromStrictConstructorRector
@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
7.1% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

@adamwojs adamwojs marked this pull request as ready for review March 30, 2025 12:08
@adamwojs adamwojs merged commit 38603ca into main Mar 30, 2025
13 of 14 checks passed
@adamwojs adamwojs deleted the ibx_9727 branch March 30, 2025 12:08
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.

3 participants