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
Open

Conversation

qodana-cloud[bot]
Copy link

@qodana-cloud qodana-cloud bot commented Nov 5, 2024

Adds qodana.yaml and GitHub workflow file that runs Qodana static analysis on each pull request.

Copy link

github-actions bot commented Nov 5, 2024

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]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant