Skip to content

Conversation

@alongosz
Copy link
Member

🎫 Issue n/a

Description:

New day, new PHPStan release. Uncovered a potentially fatal error when strict types are enforced in Location redirect controller. Visible on 5.0.x-dev, but exists on 4.6. Seems for some reason on 5.0.x-dev the issue was not detected after refactoring controllers.

Fixed on 4.6 instead of re-adding to the baseline on main.

@alongosz alongosz changed the title fix-phpstan-2.1.27-0e122279 Added cast to int when trying to load a location in Location redirect controller Sep 17, 2025
@sonarqubecloud
Copy link

@alongosz alongosz changed the title Added cast to int when trying to load a location in Location redirect controller Added cast to int when trying to load a location in Location redirect controller Sep 17, 2025
@alongosz alongosz merged commit 859941a into 4.6 Sep 17, 2025
22 checks passed
@alongosz alongosz deleted the fix-phpstan-2.1.27-0e122279 branch September 17, 2025 14: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.

6 participants