Skip to content

Conversation

@samsonasik
Copy link
Member

To avoid error:

PHP Fatal error:  Case REFACTORING of non-backed enum Rector\Core\Enum\ApplicationPhase must not have a value, try adding ": string" to the enum declaration in /home/runner/work/rector-src/rector-src/vendor/rector/rector-src/src/Enum/ApplicationPhase.php on line 12
Error: Process completed with exit code 255.

ref #1364 (comment)

@samsonasik
Copy link
Member Author

Fixed 🎉

@samsonasik samsonasik force-pushed the add-native-type-on-enum branch from 94ddd09 to 85f58dd Compare December 2, 2021 05:56
@samsonasik
Copy link
Member Author

All checks have passed 🎉 @TomasVotruba it is ready for review.

@samsonasik samsonasik changed the title [Php81] Add native type on Enum MyCLabsClassToEnumRector and SpatieEnumClassToEnumRector [Php81] Add scalar type on Enum MyCLabsClassToEnumRector and SpatieEnumClassToEnumRector Dec 2, 2021
@TomasVotruba
Copy link
Member

Thank you 👍

@TomasVotruba TomasVotruba merged commit 1cbf32d into main Dec 2, 2021
@TomasVotruba TomasVotruba deleted the add-native-type-on-enum branch December 2, 2021 07:18
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