Added support to create variants on object creation #1287
27 new problems found by Qodana for PHP
Qodana for PHP
7 new problems were found
Inspection name | Severity | Problems |
---|---|---|
Class constant referenced via child class |
◽️ Notice | 3 |
Unhandled exception |
◽️ Notice | 2 |
Non-optimal if conditions |
◽️ Notice | 1 |
Redundant @var tag |
◽️ Notice | 1 |
💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report
Contact Qodana team
Contact us at [email protected]
- Or via our issue tracker: https://jb.gg/qodana-issue
- Or share your feedback: https://jb.gg/qodana-discussions
Details
This result was published with Qodana GitHub Action
Annotations
Check notice on line 149 in src/Resolver/Location/FindParentStrategy.php
github-actions / Qodana for PHP
Non-optimal if conditions
\[EA\] This condition execution costs less than the previous one.
Check notice on line 158 in src/Resolver/Resolver.php
github-actions / Qodana for PHP
Class constant referenced via child class
Constant from base class '\\Pimcore\\Model\\DataObject\\AbstractObject' referenced via child class
Check notice on line 137 in src/Resolver/Location/FindParentStrategy.php
github-actions / Qodana for PHP
Class constant referenced via child class
Constant from base class '\\Pimcore\\Model\\DataObject\\AbstractObject' referenced via child class
Check notice on line 152 in src/Resolver/Location/FindParentStrategy.php
github-actions / Qodana for PHP
Class constant referenced via child class
Constant from base class '\\Pimcore\\Model\\DataObject\\AbstractObject' referenced via child class
Check notice on line 151 in src/Resolver/Location/FindParentStrategy.php
github-actions / Qodana for PHP
Redundant @var tag
@var tag specifies the type already inferred from source code
Check notice on line 148 in src/Resolver/Location/FindParentStrategy.php
github-actions / Qodana for PHP
Unhandled exception
Unhandled exceptions
Check notice on line 159 in src/Resolver/Resolver.php
github-actions / Qodana for PHP
Unhandled exception
Unhandled exceptions