Skip to content

+ workflows/be.yml

+ workflows/be.yml #5

Triggered via push February 12, 2024 18:58
Status Failure
Total duration 3m 11s
Artifacts

be.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

27 errors and 40 warnings
phpmd
Process completed with exit code 2.
php-cs-fixer
Process completed with exit code 1.
pint
Process completed with exit code 1.
pint
Process completed with exit code 1.
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
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.
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
phpmd: be/app/Console/Commands/BatchTableSQLGenerator.php#L44
Avoid using static access to class '\DB' in method 'handle'.
phpmd: be/app/Console/Commands/GenerateBilibiliVote.php#L24
Avoid using static access to class '\App\Eloquent\Model\Post\PostFactory' in method 'handle'.
phpmd: be/app/Console/Commands/GenerateBilibiliVote.php#L41
Avoid using static access to class '\Spatie\Regex\Regex' in method 'handle'.
phpmd: be/app/Console/Commands/GenerateBilibiliVote.php#L43
Avoid using static access to class '\App\Helper' in method 'handle'.
phpmd: be/app/Console/Commands/GenerateBilibiliVote.php#L57
Avoid using static access to class '\App\Helper' in method 'handle'.
phpmd: be/app/Console/Commands/GenerateBilibiliVote.php#L58
Avoid using static access to class '\App\Helper' in method 'handle'.
phpmd: be/app/Console/Kernel.php#L13
Avoid unused parameters such as '$schedule'.
phpmd: be/app/Eloquent/Model/Post/Post.php#L73
Missing class import via use statement (line '73', column '19').
phpmd: be/app/Eloquent/Model/User.php#L56
Missing class import via use statement (line '56', column '19').
phpmd: be/app/Eloquent/ModelHasProtoBufAttribute.php#L33
Avoid using static access to class '\App\Helper' in method 'makeProtoBufAttribute'.
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
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
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