Add qodana CI checks #538
Add qodana CI checks #538
913 new problems found by Qodana for PHP
Qodana for PHP
913 new problems were found
Inspection name | Severity | Problems |
---|---|---|
Undefined variable |
🔴 Failure | 2 |
Undefined class |
🔶 Warning | 11 |
Incompatible return type |
🔶 Warning | 10 |
Parameter type |
🔶 Warning | 6 |
Class path doesn't match project structure |
🔶 Warning | 1 |
Missing parent call for constructor |
🔶 Warning | 1 |
Undefined property |
🔶 Warning | 1 |
Undefined namespace |
🔶 Warning | 1 |
Fully qualified name usage |
◽️ Notice | 274 |
Missing @throws tag(s) |
◽️ Notice | 268 |
Unhandled exception |
◽️ Notice | 163 |
Return type in PHPDoc comment does not match the actual return type |
◽️ Notice | 50 |
Unnecessary fully qualified name |
◽️ Notice | 40 |
Unused import |
◽️ Notice | 18 |
PHPDoc comment signature is not complete |
◽️ Notice | 10 |
Unnecessary curly braces syntax for variable |
◽️ Notice | 7 |
PHPDoc comment matches function/method signature |
◽️ Notice | 5 |
Idempotent operation in binary expression |
◽️ Notice | 5 |
Possible polymorphic call |
◽️ Notice | 5 |
Undefined property |
◽️ Notice | 5 |
Unnecessary local variable |
◽️ Notice | 5 |
Pointless boolean expression inside 'if' condition |
◽️ Notice | 4 |
Array access can be replaced with 'foreach' value |
◽️ Notice | 3 |
Unused local variable |
◽️ Notice | 3 |
Unused parameter |
◽️ Notice | 3 |
Type tag without variable name |
◽️ Notice | 3 |
Duplicated code fragment |
◽️ Notice | 2 |
Deprecated |
◽️ Notice | 2 |
Redundant @throws tag(s) |
◽️ Notice | 1 |
Dynamic property declaration |
◽️ Notice | 1 |
Expression is always 'null' |
◽️ Notice | 1 |
Parameter's value is always the same |
◽️ Notice | 1 |
Unnecessary semicolon |
◽️ Notice | 1 |
☁️ View the detailed Qodana report
Detected 8 dependencies
Third-party software list
This page lists the third-party software dependencies used in project
Dependency | Version | Licenses |
---|---|---|
guzzlehttp/guzzle | 7.9.2 | MIT |
guzzlehttp/promises | 2.0.4 | MIT |
guzzlehttp/psr7 | 2.7.0 | MIT |
psr/http-client | 1.0.3 | MIT |
psr/http-factory | 1.1.0 | MIT |
psr/http-message | 2.0 | MIT |
ralouphie/getallheaders | 3.0.3 | MIT |
symfony/deprecation-contracts | v3.5.0 | MIT |
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 39 in src/eCloud/IpAddressesClient.php
github-actions / Qodana for PHP
Duplicated code fragment
Duplicated code
Check notice on line 47 in src/ThreatMonitoring/AgentClient.php
github-actions / Qodana for PHP
Duplicated code fragment
Duplicated code
Check notice on line 110 in src/Billing/CloudCostClient.php
github-actions / Qodana for PHP
Array access can be replaced with 'foreach' value
Can be replaced with '$item'
Check notice on line 192 in src/Entity.php
github-actions / Qodana for PHP
Array access can be replaced with 'foreach' value
Can be replaced with '$value'
Check notice on line 114 in src/Billing/CloudCostClient.php
github-actions / Qodana for PHP
Array access can be replaced with 'foreach' value
Can be replaced with '$item'
Check notice on line 76 in src/Client.php
github-actions / Qodana for PHP
Deprecated
Method 'getConfig' is deprecated
Check notice on line 94 in src/SafeDNS/NoteClient.php
github-actions / Qodana for PHP
Deprecated
Constant 'DATE_ISO8601' is deprecated
Check notice on line 210 in src/Loadbalancers/ListenerClient.php
github-actions / Qodana for PHP
Missing @throws tag(s)
PHPDoc comment doesn't contain all the necessary @throws tags
Check notice on line 113 in src/PSS/ReplyClient.php
github-actions / Qodana for PHP
Missing @throws tag(s)
PHPDoc comment doesn't contain all the necessary @throws tags
Check notice on line 47 in src/ThreatMonitoring/AlertClient.php
github-actions / Qodana for PHP
Missing @throws tag(s)
PHPDoc comment doesn't contain all the necessary @throws tags
Check notice on line 31 in src/ThreatMonitoring/Reporting/LoginHistoryClient.php
github-actions / Qodana for PHP
Missing @throws tag(s)
PHPDoc comment doesn't contain all the necessary @throws tags
Check notice on line 20 in src/ThreatMonitoring/Reporting/EventsClient.php
github-actions / Qodana for PHP
Missing @throws tag(s)
PHPDoc comment doesn't contain all the necessary @throws tags
Check notice on line 37 in src/DDoSX/WafLogClient.php
github-actions / Qodana for PHP
Missing @throws tag(s)
PHPDoc comment doesn't contain all the necessary @throws tags
Check notice on line 28 in src/SSL/ValidationClient.php
github-actions / Qodana for PHP
Missing @throws tag(s)
PHPDoc comment doesn't contain all the necessary @throws tags
Check notice on line 68 in src/Loadbalancers/AccessIpClient.php
github-actions / Qodana for PHP
Missing @throws tag(s)
PHPDoc comment doesn't contain all the necessary @throws tags
Check notice on line 37 in src/ThreatMonitoring/Reporting/LoginHistoryClient.php
github-actions / Qodana for PHP
Missing @throws tag(s)
PHPDoc comment doesn't contain all the necessary @throws tags
Check notice on line 12 in src/eCloud/IopsClient.php
github-actions / Qodana for PHP
Missing @throws tag(s)
PHPDoc comment doesn't contain all the necessary @throws tags
Check notice on line 35 in src/ThreatMonitoring/AlertClient.php
github-actions / Qodana for PHP
Missing @throws tag(s)
PHPDoc comment doesn't contain all the necessary @throws tags
Check notice on line 29 in src/DDoSX/WafLogMatchClient.php
github-actions / Qodana for PHP
Missing @throws tag(s)
PHPDoc comment doesn't contain all the necessary @throws tags
Check notice on line 99 in src/Loadbalancers/ListenerClient.php
github-actions / Qodana for PHP
Missing @throws tag(s)
PHPDoc comment doesn't contain all the necessary @throws tags
Check notice on line 9 in src/PSS/AttachmentSelfResponse.php
github-actions / Qodana for PHP
Missing @throws tag(s)
PHPDoc comment doesn't contain all the necessary @throws tags
Check notice on line 109 in src/DRaaS/SolutionClient.php
github-actions / Qodana for PHP
Missing @throws tag(s)
PHPDoc comment doesn't contain all the necessary @throws tags
Check notice on line 41 in src/DRaaS/TelemetryClient.php
github-actions / Qodana for PHP
Missing @throws tag(s)
PHPDoc comment doesn't contain all the necessary @throws tags
Check notice on line 23 in src/DRaaS/PodClient.php
github-actions / Qodana for PHP
Missing @throws tag(s)
PHPDoc comment doesn't contain all the necessary @throws tags
Check notice on line 52 in src/DRaaS/HardwarePlanClient.php
github-actions / Qodana for PHP
Missing @throws tag(s)
PHPDoc comment doesn't contain all the necessary @throws tags