You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem is that those constants were integers and the replacement is an enum (object) with a corresponding integer value. This however breaks most, if not all code.
Minimal PHP Code Causing Issue
This rule migrates the following constants to enums:
TYPO3\CMS\Core\Resource\File::FILETYPE_*
Example:
The problem is that those constants were integers and the replacement is an enum (object) with a corresponding integer value. This however breaks most, if not all code.
Applied rules
\Ssch\TYPO3Rector\General\Renaming\ConstantsToBackedEnumValueRector
Expected Behaviour
Expected behaviour would be to replace int constant usages with int enum values:
Package Version
2.0.7
PHP Version
8.2.0
TYPO3 Version
13.4.0
Notes
No response
The text was updated successfully, but these errors were encountered: