-
Notifications
You must be signed in to change notification settings - Fork 360
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
Support enums rfc #4313
Labels
enhancement
This improves the quality of Phan's analysis of a codebase
php8.1
Tracks changes to prepare for analyzing php 8.1 code
Comments
TysonAndre
changed the title
Support enums rfc if it passes and is merged
Support enums rfc
Apr 14, 2021
TysonAndre
added a commit
to TysonAndre/phan
that referenced
this issue
May 14, 2021
TysonAndre
added a commit
to TysonAndre/phan
that referenced
this issue
May 14, 2021
TysonAndre
added a commit
to TysonAndre/phan
that referenced
this issue
May 14, 2021
TysonAndre
added a commit
to TysonAndre/phan
that referenced
this issue
May 16, 2021
Warn about enums with instance methods but no cases Warn about enums that contain instance/static methods. Add other checks For phan#4313
TysonAndre
added a commit
to TysonAndre/phan
that referenced
this issue
May 16, 2021
Warn about enums with instance methods but no cases Warn about enums that contain instance/static methods. Add other checks For phan#4313
TysonAndre
added a commit
to TysonAndre/phan
that referenced
this issue
May 16, 2021
Warn about enums with instance methods but no cases Warn about enums that contain instance/static methods. Add other checks For phan#4313
TysonAndre
added a commit
to TysonAndre/phan
that referenced
this issue
May 16, 2021
TysonAndre
added a commit
to TysonAndre/phan
that referenced
this issue
May 16, 2021
TysonAndre
added
enhancement
This improves the quality of Phan's analysis of a codebase
php8.1
Tracks changes to prepare for analyzing php 8.1 code
labels
May 18, 2021
TysonAndre
added a commit
to TysonAndre/phan
that referenced
this issue
Jul 24, 2021
TysonAndre
added a commit
to TysonAndre/phan
that referenced
this issue
Jul 24, 2021
TysonAndre
added a commit
to TysonAndre/phan
that referenced
this issue
Jul 24, 2021
TysonAndre
added a commit
to TysonAndre/phan
that referenced
this issue
Jul 24, 2021
TysonAndre
added a commit
to TysonAndre/phan
that referenced
this issue
Jul 24, 2021
TysonAndre
added a commit
to TysonAndre/phan
that referenced
this issue
Sep 7, 2021
TysonAndre
added a commit
to TysonAndre/phan
that referenced
this issue
Sep 26, 2021
Fix false positive warnings when analyzing enums, infer that automatically generated methods of enums exist. For phan#4313
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
enhancement
This improves the quality of Phan's analysis of a codebase
php8.1
Tracks changes to prepare for analyzing php 8.1 code
https://wiki.php.net/rfc/enumerations
enum X: int { case INVALID = 'not an int'; }
, etc (reading: int
requires bumping minimum AST version (from 80 to 85+) and php-ast versioncase
on non-enum__call
,__callStatic
, and__invoke
magic methods are permitted)clone
on enums...
unpacking (Traversable) on enums is forbidden in constant expressionsThe text was updated successfully, but these errors were encountered: