Skip to content

Add qodana CI checks #55

Add qodana CI checks

Add qodana CI checks #55

GitHub Actions / Qodana for PHP completed Nov 6, 2024 in 0s

30 new problems found by Qodana for PHP

Qodana for PHP

30 new problems were found

Inspection name Severity Problems
Undefined method 🔶 Warning 1
Missing return type declaration ◽️ Notice 8
PHP Mess Detector validation ◽️ Notice 5
Missing parameter's type declaration ◽️ Notice 5
Unnecessary fully qualified name ◽️ Notice 4
Missing property's type declaration ◽️ Notice 2
Unused import ◽️ Notice 2
Duplicated code fragment ◽️ Notice 1
Unhandled exception ◽️ Notice 1
Type tag without variable name ◽️ Notice 1

☁️ View the detailed Qodana report

Contact Qodana team

Contact us at [email protected]

Details

This result was published with Qodana GitHub Action

Annotations

Check notice on line 12 in src/Filters/NumericFilter.php

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

Duplicated code fragment

Duplicated code

Check notice on line 16 in src/Filters/BooleanFilter.php

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

PHP Mess Detector validation

phpmd: Avoid variables with short names like $op. Configured minimum length is 3.

Check notice on line 76 in src/Sieve.php

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

PHP Mess Detector validation

phpmd: The method applyRequestSorts() has an NPath complexity of 289. The configured NPath complexity threshold is 200.

Check notice on line 14 in src/Filters/DateFilter.php

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

PHP Mess Detector validation

phpmd: The method modifyQuery uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.

Check notice on line 21 in src/Filters/DateFilter.php

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

PHP Mess Detector validation

phpmd: The method modifyQuery uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.

Check notice on line 76 in src/Sieve.php

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

PHP Mess Detector validation

phpmd: The method applyRequestSorts() has a Cyclomatic Complexity of 11. The configured cyclomatic complexity threshold is 10.

Check notice on line 11 in src/Sieve.php

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

Missing property's type declaration

Missing property's type declaration

Check notice on line 9 in src/Sieve.php

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

Missing property's type declaration

Missing property's type declaration

Check notice on line 13 in src/SearchTerm.php

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

Missing parameter's type declaration

Missing parameter's type declaration

Check notice on line 17 in src/ModifiesQueries.php

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

Missing parameter's type declaration

Missing parameter's type declaration

Check notice on line 13 in src/SearchTerm.php

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

Missing parameter's type declaration

Missing parameter's type declaration

Check notice on line 13 in src/SearchTerm.php

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

Missing parameter's type declaration

Missing parameter's type declaration

Check notice on line 13 in src/SearchTerm.php

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

Missing parameter's type declaration

Missing parameter's type declaration

Check notice on line 28 in src/SearchTerm.php

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

Missing return type declaration

Missing function's return type declaration

Check notice on line 17 in src/ModifiesQueries.php

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

Missing return type declaration

Missing function's return type declaration

Check notice on line 23 in src/ModifiesQueries.php

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

Missing return type declaration

Missing function's return type declaration

Check notice on line 57 in src/MapFilter.php

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

Missing return type declaration

Missing function's return type declaration

Check notice on line 44 in src/SearchTerm.php

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

Missing return type declaration

Missing function's return type declaration

Check notice on line 20 in src/SearchTerm.php

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

Missing return type declaration

Missing function's return type declaration

Check notice on line 36 in src/SearchTerm.php

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

Missing return type declaration

Missing function's return type declaration

Check notice on line 13 in src/Searchable.php

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

Missing return type declaration

Missing function's return type declaration

Check warning on line 15 in src/SieveServiceProvider.php

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

Undefined method

Method 'getModel' is undefined

Check notice on line 16 in rector.php

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

Unhandled exception

Unhandled exceptions

Check notice on line 62 in src/MapFilter.php

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

Unnecessary fully qualified name

Qualifier is unnecessary and can be removed

Check notice on line 54 in src/FilterBuilder.php

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

Unnecessary fully qualified name

Qualifier is unnecessary and can be removed