Skip to content

+ workflows/be.yml

+ workflows/be.yml #3

Triggered via push February 12, 2024 18:38
Status Failure
Total duration 2m 59s
Artifacts

be.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

27 errors and 30 warnings
phpstan: app/Console/Commands/BatchTableSQLGenerator.php#L36
Access to an undefined property App\Eloquent\Model\Forum::$fid.
phpstan: app/Console/Commands/BatchTableSQLGenerator.php#L37
Parameter #3 $subject of function str_replace expects array|string, mixed given.
phpstan: app/Console/Commands/BatchTableSQLGenerator.php#L45
Expression on left side of ?? is not nullable.
phpstan: app/Console/Commands/GenerateBilibiliVote.php#L26
Dynamic call to static method Illuminate\Database\Eloquent\Builder<App\Eloquent\Model\Post\Reply>::whereBetween().
phpstan: app/Console/Commands/GenerateBilibiliVote.php#L32
Dynamic call to static method Illuminate\Database\Eloquent\Builder<App\Eloquent\Model\BilibiliVote>::groupBy().
phpstan: app/Console/Commands/GenerateBilibiliVote.php#L32
Dynamic call to static method Illuminate\Database\Eloquent\Builder<App\Eloquent\Model\BilibiliVote>::selectRaw().
phpstan: app/Console/Commands/GenerateBilibiliVote.php#L32
Dynamic call to static method Illuminate\Database\Eloquent\Builder<App\Eloquent\Model\BilibiliVote>::whereIn().
phpstan: app/Console/Commands/GenerateBilibiliVote.php#L43
Expression on left side of ?? is not nullable.
phpstan: app/Console/Commands/GenerateBilibiliVote.php#L64
Call to an undefined method App\Eloquent\Model\BilibiliVote::chunkInsertOnDuplicate().
phpstan: app/Eloquent/Model/Forum.php#L12
Class App\Eloquent\Model\Forum uses generic trait App\Eloquent\ModelHasPublicField but does not specify its types: TModel
pint
Process completed with exit code 1.
pint
Process completed with exit code 1.
php-cs-fixer
Process completed with exit code 1.
psalm: be/app/Http/Controllers/Topic/BilibiliVote.php#L19
Cannot declare class App\Http\Controllers\Topic\BilibiliVote because the name is already in use
psalm
Process completed with exit code 255.
phpmd
Process completed with exit code 1.
phpcs
Process completed with exit code 2.
phpcs: server.php#L6
Tag value for @Package tag indented incorrectly; expected 1 spaces but found 2
phpcs: server.php#L7
Tag value for @author tag indented incorrectly; expected 2 spaces but found 3
phpcs: server.php#L8
Missing @category tag in file comment
phpcs: server.php#L8
Missing @license tag in file comment
phpcs: server.php#L8
Missing @link tag in file comment
phpcs: public/index.php#L2
Missing file doc comment
phpcs: public/index.php#L20
File is being conditionally included; use "include" instead
phpcs: public/index.php#L47
File is being conditionally included; use "include_once" instead
phpcs: routes/console.php#L2
Missing file doc comment
phpcs: routes/console.php#L17
Opening parenthesis of a multi-line function call must be the last content on the line
pint: server.php#L1
Found violation(s) of type: concat_space
pint: public/index.php#L1
Found violation(s) of type: concat_space
pint: routes/api.php#L1
Found violation(s) of type: function_declaration
pint: tests/CreatesApplication.php#L1
Found violation(s) of type: concat_space
pint: config/database.php#L1
Found violation(s) of type: concat_space
pint: config/filesystems.php#L1
Found violation(s) of type: concat_space
pint: config/session.php#L1
Found violation(s) of type: concat_space
pint: config/logging.php#L1
Found violation(s) of type: concat_space
pint: config/cache.php#L1
Found violation(s) of type: concat_space
pint: config/broadcasting.php#L1
Found violation(s) of type: concat_space
php-cs-fixer: app/Http/PostsQuery/SearchQuery.php#L1
Found violation(s) of type: statement_indentation
php-cs-fixer: bootstrap/cache/services.php#L1
Found violation(s) of type: no_spaces_after_function_name
php-cs-fixer: bootstrap/cache/services.php#L1
Found violation(s) of type: blank_line_after_opening_tag
php-cs-fixer: bootstrap/cache/services.php#L1
Found violation(s) of type: no_trailing_whitespace
php-cs-fixer: bootstrap/cache/services.php#L1
Found violation(s) of type: single_blank_line_at_eof
php-cs-fixer: bootstrap/cache/packages.php#L1
Found violation(s) of type: no_spaces_after_function_name
php-cs-fixer: bootstrap/cache/packages.php#L1
Found violation(s) of type: blank_line_after_opening_tag
php-cs-fixer: bootstrap/cache/packages.php#L1
Found violation(s) of type: no_trailing_whitespace
php-cs-fixer: bootstrap/cache/packages.php#L1
Found violation(s) of type: single_blank_line_at_eof
php-cs-fixer: resources/views/renderPostContent.blade.php#L1
Found violation(s) of type: method_argument_space
phpcs: server.php#L8
PHP version not specified
phpcs: routes/api.php#L38
Line exceeds 85 characters; contains 103 characters
phpcs: routes/api.php#L64
Line exceeds 85 characters; contains 97 characters
phpcs: routes/api.php#L73
Line exceeds 85 characters; contains 103 characters
phpcs: routes/api.php#L79
Line exceeds 85 characters; contains 104 characters
phpcs: routes/api.php#L84
Line exceeds 85 characters; contains 164 characters
phpcs: routes/api.php#L89
Line exceeds 85 characters; contains 90 characters
phpcs: config/database.php#L93
Line exceeds 85 characters; contains 89 characters
phpcs: config/database.php#L128
Line exceeds 85 characters; contains 101 characters
phpcs: config/logging.php#L98
Line exceeds 85 characters; contains 96 characters