Skip to content

* merge trait ModelHasProtoBufAttribute & `ModelHasResourceAttribut… #22

* merge trait ModelHasProtoBufAttribute & `ModelHasResourceAttribut…

* merge trait ModelHasProtoBufAttribute & `ModelHasResourceAttribut… #22

Triggered via push June 4, 2024 04:10
Status Failure
Total duration 2m 28s
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.
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.
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
phpcs
Process completed with exit code 2.
phpcs: public/index.php#L2
Missing file doc comment
phpcs: public/index.php#L9
File is being conditionally included; use "include" instead
phpcs: routes/api.php#L2
Missing file doc comment
phpcs: routes/api.php#L10
Opening parenthesis of a multi-line function call must be the last content on the line
phpcs: routes/api.php#L13
Closing parenthesis of a multi-line function call must be on a line by itself
phpcs: config/services.php#L2
Missing file doc comment
phpcs: config/session.php#L2
Missing file doc comment
phpcs: config/app.php#L2
Missing file doc comment
phpcs: config/auth.php#L2
Missing file doc comment
phpcs: config/database.php#L2
Missing file doc comment
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/Content/PostContent.php#L16
Avoid using static access to class '\App\Eloquent\ModelAttributeMaker' in method 'protoBufBytes'.
phpmd: be/app/Eloquent/Model/Post/Post.php#L71
Missing class import via use statement (line '71', column '19').
phpmd: be/app/Eloquent/Model/Post/Reply.php#L45
Avoid using static access to class '\App\Eloquent\ModelAttributeMaker' in method 'geolocation'.
php-cs-fixer: resources/views/renderPostContent.blade.php#L1
Found violation(s) of type: method_argument_space
php-cs-fixer: resources/views/renderPostContent.blade.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
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: config/session.php#L1
Found violation(s) of type: concat_space
pint: config/session.php#L1
Found violation(s) of type: trailing_comma_in_multiline
pint: config/app.php#L1
Found violation(s) of type: trailing_comma_in_multiline
pint: config/database.php#L1
Found violation(s) of type: concat_space
pint: config/logging.php#L1
Found violation(s) of type: concat_space
pint: config/filesystems.php#L1
Found violation(s) of type: concat_space
pint: config/cache.php#L1
Found violation(s) of type: concat_space
pint: bootstrap/app.php#L1
Found violation(s) of type: concat_space
phpcs: config/auth.php#L96
Line exceeds 85 characters; contains 87 characters
phpcs: config/database.php#L109
Line exceeds 85 characters; contains 89 characters
phpcs: config/database.php#L147
Line exceeds 85 characters; contains 101 characters
phpcs: config/mail.php#L49
Line exceeds 85 characters; contains 115 characters
phpcs: config/logging.php#L92
Line exceeds 85 characters; contains 96 characters
phpcs: config/queue.php#L59
Line exceeds 85 characters; contains 97 characters
phpcs: config/cache.php#L105
Line exceeds 85 characters; contains 90 characters
phpcs: resources/views/renderPostContent.blade.php#L4
Line exceeds 85 characters; contains 88 characters
phpcs: resources/views/renderPostContent.blade.php#L5
Line exceeds 85 characters; contains 95 characters
phpcs: resources/views/renderPostContent.blade.php#L14
Line exceeds 85 characters; contains 90 characters