Skip to content

Conversation

@mficzel
Copy link
Member

@mficzel mficzel commented Oct 27, 2025

Raise PhpStan to level 8 for:

  • Neos.Flow/Classes/Reflection
  • Neos.Flow/Classes/ResourceManagement
  • Neos.Flow/Classes/Security
  • Neos.Flow/Classes/Session
  • Neos.Flow/Classes/SignalSlot
  • Neos.Flow/Classes/Utility
  • Neos.Flow/Validation

This is a follow up for: #3515

Upgrade instructions

Review instructions

Checklist

  • Code follows the PSR-2 coding style
  • Tests have been created, run and adjusted as needed
  • The PR is created against the lowest maintained branch
  • Reviewer - PR Title is brief but complete and starts with FEATURE|TASK|BUGFIX
  • Reviewer - The first section explains the change briefly for change-logs
  • Reviewer - Breaking Changes are marked with !!! and have upgrade-instructions

@github-actions github-actions bot added the 9.1 label Oct 27, 2025
@mficzel mficzel changed the base branch from 9.1 to phpstanLevel8-v3 October 27, 2025 16:05
@mficzel mficzel force-pushed the phpstanLevel8-v3-part2 branch 2 times, most recently from e4a16fd to d8b7541 Compare November 7, 2025 14:25
@mficzel mficzel changed the base branch from phpstanLevel8-v3 to 9.1 November 7, 2025 14:28
@mficzel mficzel closed this Nov 7, 2025
@mficzel mficzel reopened this Nov 7, 2025
@mficzel mficzel force-pushed the phpstanLevel8-v3-part2 branch 13 times, most recently from 569883c to f422f3c Compare November 7, 2025 18:25
@mficzel mficzel closed this Nov 7, 2025
@mficzel mficzel force-pushed the phpstanLevel8-v3-part2 branch from f422f3c to 587ecda Compare November 7, 2025 18:41
@mficzel mficzel reopened this Nov 7, 2025
@mficzel mficzel force-pushed the phpstanLevel8-v3-part2 branch 2 times, most recently from 886f119 to d9f48cc Compare November 30, 2025 11:52
@mficzel mficzel force-pushed the phpstanLevel8-v3-part2 branch 4 times, most recently from 1817430 to 58de00d Compare November 30, 2025 14:57
Bernhard Schmitt and others added 11 commits December 19, 2025 18:03
…ty context and remove breaking changes

Some return type Annotations in the ObjectManagerInterface are adjusted to match the reality already to prevent false errors beeing reported by PhpStan
…ceManagement context and remove breaking changes

The return type of UnicodeFunctions::pathinfo was amended to reflect the fact that the key extension will be missing when no extension is present
as is stated by the php reference here.

> https://www.php.net/manual/en/function.pathinfo.php
> Note: If the path does not have an extension, no extension element will be returned (see second example below).
@mficzel mficzel force-pushed the phpstanLevel8-v3-part2 branch from dbcb441 to 219c2fc Compare December 19, 2025 17:06
The key 'uri' may be missing on stream_get_metadata when streams are created for a socket connection.
This is no issue that is relevant for the flow resource management as far as i am aware.
@mficzel mficzel force-pushed the phpstanLevel8-v3-part2 branch from 086f2a5 to a353a69 Compare December 19, 2025 18:20
@mficzel mficzel force-pushed the phpstanLevel8-v3-part2 branch 3 times, most recently from 6bb0506 to 6e68c11 Compare December 28, 2025 13:25
@mficzel mficzel force-pushed the phpstanLevel8-v3-part2 branch from 6e68c11 to 31e5dca Compare December 28, 2025 14: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