Skip to content

IBX-9727: Added missing type hints#24

Merged
adamwojs merged 3 commits intomainfrom
ibx_9727
Mar 30, 2025
Merged

IBX-9727: Added missing type hints#24
adamwojs merged 3 commits intomainfrom
ibx_9727

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.

For QA:

Regression tests.

Applied Rectors:
  * Rector\TypeDeclaration\Rector\ClassMethod\ReturnTypeFromMockObjectRector
  * Rector\TypeDeclaration\Rector\ClassMethod\StrictArrayParamDimFetchRector
  * Rector\TypeDeclaration\Rector\Class_\TypedPropertyFromCreateMockAssignRector
  * Rector\TypeDeclaration\Rector\Closure\AddClosureVoidReturnTypeWhereNoReturnRector
  * Rector\TypeDeclaration\Rector\Closure\ClosureReturnTypeRector
  * Rector\TypeDeclaration\Rector\Property\TypedPropertyFromStrictConstructorRector
@sonarqubecloud
Copy link

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

4 participants