be.yml
on: push
phpstan
23s
psalm
27s
phpcs
3m 29s
pint
24s
php-cs-fixer
16s
phpmd
17s
Annotations
27 errors and 40 warnings
php-cs-fixer
Process completed with exit code 1.
|
phpmd
Process completed with exit code 2.
|
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:
vendor/vlucas/phpdotenv/src/Exception/ValidationException.php#L2
Missing file doc comment
|
phpcs:
vendor/vlucas/phpdotenv/src/Exception/ValidationException.php#L9
Missing doc comment for class ValidationException
|
phpcs:
vendor/vlucas/phpdotenv/src/Exception/InvalidFileException.php#L2
Missing file doc comment
|
phpcs:
vendor/vlucas/phpdotenv/src/Exception/InvalidFileException.php#L9
Missing doc comment for class InvalidFileException
|
phpcs:
vendor/vlucas/phpdotenv/src/Exception/InvalidPathException.php#L2
Missing file doc comment
|
phpcs:
vendor/vlucas/phpdotenv/src/Exception/InvalidPathException.php#L9
Missing doc comment for class InvalidPathException
|
phpcs:
vendor/vlucas/phpdotenv/src/Exception/InvalidEncodingException.php#L2
Missing file doc comment
|
phpcs:
vendor/vlucas/phpdotenv/src/Exception/InvalidEncodingException.php#L9
Missing doc comment for class InvalidEncodingException
|
phpcs:
vendor/vlucas/phpdotenv/src/Exception/ExceptionInterface.php#L2
Missing file doc comment
|
phpcs:
vendor/vlucas/phpdotenv/src/Exception/ExceptionInterface.php#L9
Missing doc comment for interface ExceptionInterface
|
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
|
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'.
|
pint:
server.php#L1
Found violation(s) of type: concat_space
|
pint:
app/Console/Commands/GenerateBilibiliVote.php#L1
Found violation(s) of type: cast_spaces
|
pint:
app/Console/Kernel.php#L1
Found violation(s) of type: concat_space
|
pint:
app/Eloquent/NullableNumericAttributeCast.php#L1
Found violation(s) of type: cast_spaces
|
pint:
app/Eloquent/NullableBooleanAttributeCast.php#L1
Found violation(s) of type: cast_spaces
|
pint:
app/Eloquent/Model/Post/Content/PostContent.php#L1
Found violation(s) of type: function_declaration
|
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: cast_spaces
|
pint:
app/Http/Controllers/PostsQuery.php#L1
Found violation(s) of type: function_declaration
|
pint:
app/Http/PostsQuery/Param.php#L1
Found violation(s) of type: cast_spaces
|
phpcs:
vendor/vlucas/phpdotenv/src/Exception/ValidationException.php#L9
Line exceeds 85 characters; contains 86 characters
|
phpcs:
vendor/vlucas/phpdotenv/src/Exception/InvalidFileException.php#L9
Line exceeds 85 characters; contains 95 characters
|
phpcs:
vendor/vlucas/phpdotenv/src/Exception/InvalidPathException.php#L9
Line exceeds 85 characters; contains 95 characters
|
phpcs:
vendor/vlucas/phpdotenv/src/Exception/InvalidEncodingException.php#L9
Line exceeds 85 characters; contains 99 characters
|
phpcs:
vendor/vlucas/phpdotenv/src/Loader/Resolver.php#L40
Line exceeds 85 characters; contains 103 characters
|
phpcs:
vendor/vlucas/phpdotenv/src/Loader/Resolver.php#L41
Line exceeds 85 characters; contains 98 characters
|
phpcs:
vendor/vlucas/phpdotenv/src/Loader/Resolver.php#L53
Line exceeds 85 characters; contains 89 characters
|
phpcs:
vendor/vlucas/phpdotenv/src/Loader/Loader.php#L26
Line exceeds 85 characters; contains 102 characters
|
phpcs:
vendor/vlucas/phpdotenv/src/Loader/Loader.php#L29
Line exceeds 85 characters; contains 95 characters
|
phpcs:
vendor/vlucas/phpdotenv/src/Store/File/Paths.php#L38
Line exceeds 85 characters; contains 90 characters
|