* replace $firstKeyFromTableFilterByTrue()
with match(true)
expr …
#121
Annotations
42 errors and 17 warnings
runs-on (ubuntu-latest) / phpunit-infection
Process completed with exit code 1.
|
runs-on (ubuntu-latest) / psalm
Process completed with exit code 2.
|
runs-on (ubuntu-latest) / phpmd:
tests/Feature/App/Http/PostsQuery/BaseQueryTest.php#L52
BaseQueryTest.php: The method reOrderNestedPosts uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. (ElseExpression, Clean Code Rules)
|
runs-on (ubuntu-latest) / phpmd
Process completed with exit code 2.
|
runs-on (ubuntu-latest) / phpstan:
app/Console/Commands/BatchTableSQLGenerator.php#L37
BatchTableSQLGenerator.php: property.notFound: Access to an undefined property App\Eloquent\Model\Forum::$fid.
|
runs-on (ubuntu-latest) / phpstan:
app/Console/Commands/BatchTableSQLGenerator.php#L38
BatchTableSQLGenerator.php: argument.type: Parameter #3 $subject of function str_replace expects array|string, mixed given.
|
runs-on (ubuntu-latest) / phpstan:
app/Console/Commands/BatchTableSQLGenerator.php#L45
BatchTableSQLGenerator.php: staticMethod.dynamicCall: Dynamic call to static method Illuminate\Database\Connection::statement().
|
runs-on (ubuntu-latest) / phpstan:
app/Console/Commands/BatchTableSQLGenerator.php#L46
BatchTableSQLGenerator.php: nullCoalesce.expr: Expression on left side of ?? is not nullable.
|
runs-on (ubuntu-latest) / phpstan:
app/Console/Commands/GenerateBilibiliVote.php#L26
GenerateBilibiliVote.php: staticMethod.dynamicCall: Dynamic call to static method Illuminate\Database\Eloquent\Builder<App\Eloquent\Model\Post\Reply>::whereBetween().
|
runs-on (ubuntu-latest) / phpstan:
app/Console/Commands/GenerateBilibiliVote.php#L32
GenerateBilibiliVote.php: staticMethod.dynamicCall: Dynamic call to static method Illuminate\Database\Eloquent\Builder<App\Eloquent\Model\BilibiliVote>::groupBy().
|
runs-on (ubuntu-latest) / phpstan:
app/Console/Commands/GenerateBilibiliVote.php#L32
GenerateBilibiliVote.php: staticMethod.dynamicCall: Dynamic call to static method Illuminate\Database\Eloquent\Builder<App\Eloquent\Model\BilibiliVote>::selectRaw().
|
runs-on (ubuntu-latest) / phpstan:
app/Console/Commands/GenerateBilibiliVote.php#L32
GenerateBilibiliVote.php: staticMethod.dynamicCall: Dynamic call to static method Illuminate\Database\Eloquent\Builder<App\Eloquent\Model\BilibiliVote>::whereIn().
|
runs-on (ubuntu-latest) / phpstan:
app/Console/Commands/GenerateBilibiliVote.php#L43
GenerateBilibiliVote.php: nullCoalesce.expr: Expression on left side of ?? is not nullable.
|
runs-on (ubuntu-latest) / phpstan:
app/Console/Commands/GenerateBilibiliVote.php#L43
GenerateBilibiliVote.php: argument.type: Parameter #1 $value of static method App\Helper::jsonEncode() expects string, mixed given.
|
runs-on (windows-latest) / phpmd:
be/tests/Feature/App/Http/PostsQuery/BaseQueryTest.php#L52
BaseQueryTest.php: The method reOrderNestedPosts uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. (ElseExpression, Clean Code Rules)
|
runs-on (windows-latest) / phpmd
Process completed with exit code 2.
|
runs-on (windows-latest) / psalm
Process completed with exit code 127.
|
runs-on (windows-latest) / phpunit-infection
Process completed with exit code 1.
|
runs-on (windows-latest) / phpstan:
app/Console/Commands/BatchTableSQLGenerator.php#L37
BatchTableSQLGenerator.php: property.notFound: Access to an undefined property App\Eloquent\Model\Forum::$fid.
|
runs-on (windows-latest) / phpstan:
app/Console/Commands/BatchTableSQLGenerator.php#L38
BatchTableSQLGenerator.php: argument.type: Parameter #3 $subject of function str_replace expects array|string, mixed given.
|
runs-on (windows-latest) / phpstan:
app/Console/Commands/BatchTableSQLGenerator.php#L45
BatchTableSQLGenerator.php: staticMethod.dynamicCall: Dynamic call to static method Illuminate\Database\Connection::statement().
|
runs-on (windows-latest) / phpstan:
app/Console/Commands/BatchTableSQLGenerator.php#L46
BatchTableSQLGenerator.php: nullCoalesce.expr: Expression on left side of ?? is not nullable.
|
runs-on (windows-latest) / phpstan:
app/Console/Commands/GenerateBilibiliVote.php#L26
GenerateBilibiliVote.php: staticMethod.dynamicCall: Dynamic call to static method Illuminate\Database\Eloquent\Builder<App\Eloquent\Model\Post\Reply>::whereBetween().
|
runs-on (windows-latest) / phpstan:
app/Console/Commands/GenerateBilibiliVote.php#L32
GenerateBilibiliVote.php: staticMethod.dynamicCall: Dynamic call to static method Illuminate\Database\Eloquent\Builder<App\Eloquent\Model\BilibiliVote>::groupBy().
|
runs-on (windows-latest) / phpstan:
app/Console/Commands/GenerateBilibiliVote.php#L32
GenerateBilibiliVote.php: staticMethod.dynamicCall: Dynamic call to static method Illuminate\Database\Eloquent\Builder<App\Eloquent\Model\BilibiliVote>::selectRaw().
|
runs-on (windows-latest) / phpstan:
app/Console/Commands/GenerateBilibiliVote.php#L32
GenerateBilibiliVote.php: staticMethod.dynamicCall: Dynamic call to static method Illuminate\Database\Eloquent\Builder<App\Eloquent\Model\BilibiliVote>::whereIn().
|
runs-on (windows-latest) / phpstan:
app/Console/Commands/GenerateBilibiliVote.php#L43
GenerateBilibiliVote.php: nullCoalesce.expr: Expression on left side of ?? is not nullable.
|
runs-on (windows-latest) / phpstan:
app/Console/Commands/GenerateBilibiliVote.php#L43
GenerateBilibiliVote.php: argument.type: Parameter #1 $value of static method App\Helper::jsonEncode() expects string, mixed given.
|
runs-on (macos-latest) / phpstan:
app/Console/Commands/BatchTableSQLGenerator.php#L37
BatchTableSQLGenerator.php: property.notFound: Access to an undefined property App\Eloquent\Model\Forum::$fid.
|
runs-on (macos-latest) / phpstan:
app/Console/Commands/BatchTableSQLGenerator.php#L38
BatchTableSQLGenerator.php: argument.type: Parameter #3 $subject of function str_replace expects array|string, mixed given.
|
runs-on (macos-latest) / phpstan:
app/Console/Commands/BatchTableSQLGenerator.php#L45
BatchTableSQLGenerator.php: staticMethod.dynamicCall: Dynamic call to static method Illuminate\Database\Connection::statement().
|
runs-on (macos-latest) / phpstan:
app/Console/Commands/BatchTableSQLGenerator.php#L46
BatchTableSQLGenerator.php: nullCoalesce.expr: Expression on left side of ?? is not nullable.
|
runs-on (macos-latest) / phpstan:
app/Console/Commands/GenerateBilibiliVote.php#L26
GenerateBilibiliVote.php: staticMethod.dynamicCall: Dynamic call to static method Illuminate\Database\Eloquent\Builder<App\Eloquent\Model\Post\Reply>::whereBetween().
|
runs-on (macos-latest) / phpstan:
app/Console/Commands/GenerateBilibiliVote.php#L32
GenerateBilibiliVote.php: staticMethod.dynamicCall: Dynamic call to static method Illuminate\Database\Eloquent\Builder<App\Eloquent\Model\BilibiliVote>::groupBy().
|
runs-on (macos-latest) / phpstan:
app/Console/Commands/GenerateBilibiliVote.php#L32
GenerateBilibiliVote.php: staticMethod.dynamicCall: Dynamic call to static method Illuminate\Database\Eloquent\Builder<App\Eloquent\Model\BilibiliVote>::selectRaw().
|
runs-on (macos-latest) / phpstan:
app/Console/Commands/GenerateBilibiliVote.php#L32
GenerateBilibiliVote.php: staticMethod.dynamicCall: Dynamic call to static method Illuminate\Database\Eloquent\Builder<App\Eloquent\Model\BilibiliVote>::whereIn().
|
runs-on (macos-latest) / phpstan:
app/Console/Commands/GenerateBilibiliVote.php#L43
GenerateBilibiliVote.php: nullCoalesce.expr: Expression on left side of ?? is not nullable.
|
runs-on (macos-latest) / phpstan:
app/Console/Commands/GenerateBilibiliVote.php#L43
GenerateBilibiliVote.php: argument.type: Parameter #1 $value of static method App\Helper::jsonEncode() expects string, mixed given.
|
runs-on (macos-latest) / phpmd:
tests/Feature/App/Http/PostsQuery/BaseQueryTest.php#L52
BaseQueryTest.php: The method reOrderNestedPosts uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. (ElseExpression, Clean Code Rules)
|
runs-on (macos-latest) / phpmd
Process completed with exit code 2.
|
runs-on (macos-latest) / phpunit-infection
Process completed with exit code 1.
|
runs-on (macos-latest) / psalm
Process completed with exit code 2.
|
runs-on (ubuntu-latest) / phpmd:
app/Http/PostsQuery/BaseQuery.php#L19
BaseQuery.php: The class BaseQuery has a coupling between objects value of 15. Consider to reduce the number of dependencies under 13. (CouplingBetweenObjects, Design Rules)
|
runs-on (ubuntu-latest) / phpmd:
app/Http/PostsQuery/IndexQuery.php#L17
IndexQuery.php: The method query() has a Cyclomatic Complexity of 13. The configured cyclomatic complexity threshold is 10. (CyclomaticComplexity, Code Size Rules)
|
runs-on (ubuntu-latest) / phpmd:
app/Http/PostsQuery/IndexQuery.php#L17
IndexQuery.php: The method query() has an NPath complexity of 400. The configured NPath complexity threshold is 200. (NPathComplexity, Code Size Rules)
|
runs-on (ubuntu-latest) / phpmd:
app/Http/PostsQuery/SearchQuery.php#L53
SearchQuery.php: The method applyQueryParamsOnQuery() has a Cyclomatic Complexity of 12. The configured cyclomatic complexity threshold is 10. (CyclomaticComplexity, Code Size Rules)
|
runs-on (ubuntu-latest) / phpmd:
tests/Feature/App/Http/PostsQuery/BaseQueryTest.php#L57
BaseQueryTest.php: The method reOrderNestedPostsDataProvider() has 168 lines of code. Current threshold is set to 100. Avoid really long methods. (ExcessiveMethodLength, Code Size Rules)
|
runs-on (windows-latest) / phpmd:
be/app/Http/PostsQuery/BaseQuery.php#L19
BaseQuery.php: The class BaseQuery has a coupling between objects value of 15. Consider to reduce the number of dependencies under 13. (CouplingBetweenObjects, Design Rules)
|
runs-on (windows-latest) / phpmd:
be/app/Http/PostsQuery/IndexQuery.php#L17
IndexQuery.php: The method query() has a Cyclomatic Complexity of 13. The configured cyclomatic complexity threshold is 10. (CyclomaticComplexity, Code Size Rules)
|
runs-on (windows-latest) / phpmd:
be/app/Http/PostsQuery/IndexQuery.php#L17
IndexQuery.php: The method query() has an NPath complexity of 400. The configured NPath complexity threshold is 200. (NPathComplexity, Code Size Rules)
|
runs-on (windows-latest) / phpmd:
be/app/Http/PostsQuery/SearchQuery.php#L53
SearchQuery.php: The method applyQueryParamsOnQuery() has a Cyclomatic Complexity of 12. The configured cyclomatic complexity threshold is 10. (CyclomaticComplexity, Code Size Rules)
|
runs-on (windows-latest) / phpmd:
be/tests/Feature/App/Http/PostsQuery/BaseQueryTest.php#L57
BaseQueryTest.php: The method reOrderNestedPostsDataProvider() has 168 lines of code. Current threshold is set to 100. Avoid really long methods. (ExcessiveMethodLength, Code Size Rules)
|
runs-on (windows-latest) / phpunit-infection
JIT is incompatible with third party extensions that override zend_execute_ex(). JIT disabled.
|
runs-on (windows-latest) / phpunit-infection
JIT is incompatible with third party extensions that override zend_execute_ex(). JIT disabled.
|
runs-on (macos-latest) / phpmd:
app/Http/PostsQuery/BaseQuery.php#L19
BaseQuery.php: The class BaseQuery has a coupling between objects value of 15. Consider to reduce the number of dependencies under 13. (CouplingBetweenObjects, Design Rules)
|
runs-on (macos-latest) / phpmd:
app/Http/PostsQuery/IndexQuery.php#L17
IndexQuery.php: The method query() has a Cyclomatic Complexity of 13. The configured cyclomatic complexity threshold is 10. (CyclomaticComplexity, Code Size Rules)
|
runs-on (macos-latest) / phpmd:
app/Http/PostsQuery/IndexQuery.php#L17
IndexQuery.php: The method query() has an NPath complexity of 400. The configured NPath complexity threshold is 200. (NPathComplexity, Code Size Rules)
|
runs-on (macos-latest) / phpmd:
app/Http/PostsQuery/SearchQuery.php#L53
SearchQuery.php: The method applyQueryParamsOnQuery() has a Cyclomatic Complexity of 12. The configured cyclomatic complexity threshold is 10. (CyclomaticComplexity, Code Size Rules)
|
runs-on (macos-latest) / phpmd:
tests/Feature/App/Http/PostsQuery/BaseQueryTest.php#L57
BaseQueryTest.php: The method reOrderNestedPostsDataProvider() has 168 lines of code. Current threshold is set to 100. Avoid really long methods. (ExcessiveMethodLength, Code Size Rules)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
coverage-macos-latest
|
5.2 KB |
|
coverage-ubuntu-latest
|
5.2 KB |
|
coverage-windows-latest
|
5.12 KB |
|