Skip to content

Support for PHP Enums #23

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

Closed
Ayesh opened this issue Feb 8, 2021 · 1 comment
Closed

Support for PHP Enums #23

Ayesh opened this issue Feb 8, 2021 · 1 comment

Comments

@Ayesh
Copy link

Ayesh commented Feb 8, 2021

PHP Enum RFC is currently being voted, and it's highly likely that it will pass.

Enums support autoloading, and it introduces a new T_ENUM token. I would like to suggest that we introduce support to autoload Enums from robot-loader.

Improve robot-loader to look for T_ENUM token if the PHP version is >= 80100, and include it in the autoload list.

@dg dg closed this as completed in baa8e7a Feb 8, 2021
@f3l1x
Copy link
Member

f3l1x commented Feb 12, 2021

👍

dg added a commit that referenced this issue Mar 1, 2021
dg added a commit that referenced this issue Mar 1, 2021
dg added a commit that referenced this issue Mar 1, 2021
dg added a commit that referenced this issue Mar 1, 2021
dg added a commit that referenced this issue Mar 1, 2021
dg added a commit that referenced this issue Mar 1, 2021
dg added a commit that referenced this issue Mar 2, 2021
dg added a commit that referenced this issue Mar 2, 2021
dg added a commit that referenced this issue Mar 6, 2021
dg added a commit that referenced this issue Mar 6, 2021
dg added a commit that referenced this issue Mar 7, 2021
dg added a commit that referenced this issue Mar 7, 2021
dg added a commit that referenced this issue Mar 7, 2021
dg added a commit that referenced this issue Aug 24, 2021
dg added a commit that referenced this issue Aug 25, 2021
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

2 participants