Replies: 1 comment
-
|
I actually use the Baseline feature to avoid such annoying issue ! So my variant = "loose"
[[issues]]
file = "src/DependencyManagerType.php"
code = "semantics"
message = "Enums are only available in PHP 8.1 and above."
count = 1 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In past (with v1.7.0) I've opened a bug report #1044 (comment) related to source code analysis that contains vendor dependencies elements : A User Symfony Command
Today, I've analysed a recent project with Mago 1.14.0 (on PHP 8.1.34) that used a PHP Enum (feature available since PHP 8.1), and I got again an "unresolved" semantic error
BTW, the full source code is not displayed here. It contents other vendor dependency element (that are loadable by my local Composer
vendor/autoload.phpautoloader)Full Enum source code
My question is simple : How to solve such contextual error(s), main base code that depends of Vendor(s) elements ?
Beta Was this translation helpful? Give feedback.
All reactions