Skip to content

$ yarn upgrade-interactive @ fe #17

$ yarn upgrade-interactive @ fe

$ yarn upgrade-interactive @ fe #17

Triggered via push April 27, 2024 13:50
Status Failure
Total duration 3m 16s
Artifacts

be.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

27 errors and 45 warnings
php-cs-fixer
Process completed with exit code 1.
pint
Process completed with exit code 1.
pint
Process completed with exit code 1.
phpmd
Process completed with exit code 2.
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: 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
phpcs: routes/console.php#L19
Closing parenthesis of a multi-line function call must be on a line by itself
phpcs: routes/api.php#L2
Missing file doc comment
phpcs: routes/api.php#L21
Opening parenthesis of a multi-line function call must be the last content on the line
phpcs: routes/api.php#L24
Closing parenthesis of a multi-line function call must be on a line by itself
phpcs: routes/web.php#L2
You must use "/**" style comments for a file comment
phpcs: routes/channels.php#L2
Missing file doc comment
phpcs: routes/channels.php#L16
Opening parenthesis of a multi-line function call must be the last content on the line
phpcs: routes/channels.php#L18
Closing parenthesis of a multi-line function call must be on a line by itself
php-cs-fixer
Cache save failed.
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
Cache save failed.
pint: routes/api.php#L1
Found violation(s) of type: function_declaration
pint: database/factories/UserFactory.php#L1
Found violation(s) of type: function_declaration
pint: app/Helper.php#L1
Found violation(s) of type: trailing_comma_in_multiline
pint: app/Http/Controllers/PostsQuery.php#L1
Found violation(s) of type: function_declaration
pint: app/Http/Controllers/PostsQuery.php#L1
Found violation(s) of type: trailing_comma_in_multiline
pint: app/Http/Controllers/Topic/BilibiliVote.php#L1
Found violation(s) of type: function_declaration
pint: app/Http/Controllers/Topic/BilibiliVote.php#L1
Found violation(s) of type: trailing_comma_in_multiline
pint: app/Http/Controllers/Topic/BilibiliVote.php#L1
Found violation(s) of type: cast_spaces
pint: app/Http/Controllers/UsersQuery.php#L1
Found violation(s) of type: trailing_comma_in_multiline
pint: app/Http/Kernel.php#L1
Found violation(s) of type: concat_space
phpmd
Cache save failed.
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'.
psalm
Cache save failed.
phpcs
Cache save failed.
phpcs: database/factories/UserFactory.php#L24
Line exceeds 85 characters; contains 101 characters
phpcs: app/Providers/RouteServiceProvider.php#L23
Line exceeds 85 characters; contains 88 characters
phpcs: app/Helper.php#L65
Line exceeds 85 characters; contains 90 characters
phpcs: app/Helper.php#L107
Line exceeds 85 characters; contains 89 characters
phpcs: app/Helper.php#L117
Line exceeds 85 characters; contains 112 characters
phpcs: app/Http/Middleware/PreventRequestsDuringMaintenance.php#L5
Line exceeds 85 characters; contains 89 characters
phpcs: app/Http/Middleware/RedirectIfAuthenticated.php#L18
Line exceeds 85 characters; contains 88 characters
phpcs: app/Http/Middleware/ReCAPTCHACheck.php#L19
Line exceeds 85 characters; contains 86 characters
phpcs: app/Http/Controllers/PostsQuery.php#L21
Line exceeds 85 characters; contains 114 characters
phpcs: app/Http/Controllers/PostsQuery.php#L22
Line exceeds 85 characters; contains 122 characters