Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP 8.1 Enums are not working #252

Open
andriusvo opened this issue May 12, 2022 · 0 comments
Open

PHP 8.1 Enums are not working #252

andriusvo opened this issue May 12, 2022 · 0 comments

Comments

@andriusvo
Copy link

andriusvo commented May 12, 2022

PHP 8.1 Enums are not working as grid arguments. F.e.:

repository:
    method: createFooBuilder
    arguments:
           - !php/const App\Enums\FooEnum::FOO

Warning is raised from PHP side that 'sylius.grids_extensions' key was not found in array

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

No branches or pull requests

1 participant