Skip to content
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

Add qodana CI checks #538

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Add github workflow file

e6d8ad5
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Open

Add qodana CI checks #538

Add github workflow file
e6d8ad5
Select commit
Loading
Failed to load commit list.
GitHub Actions / Qodana for PHP completed Nov 5, 2024 in 0s

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]

Details

This result was published with Qodana GitHub Action

Annotations

Check notice on line 39 in src/eCloud/IpAddressesClient.php

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

Duplicated code fragment

Duplicated code

Check notice on line 47 in src/ThreatMonitoring/AgentClient.php

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

Duplicated code fragment

Duplicated code

Check notice on line 110 in src/Billing/CloudCostClient.php

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

Deprecated

Method 'getConfig' is deprecated

Check notice on line 94 in src/SafeDNS/NoteClient.php

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

Deprecated

Constant 'DATE_ISO8601' is deprecated

Check notice on line 210 in src/Loadbalancers/ListenerClient.php

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

Missing @throws tag(s)

PHPDoc comment doesn't contain all the necessary @throws tags