Skip to content

Alley Coding Standards 2.0 #602

Alley Coding Standards 2.0

Alley Coding Standards 2.0 #602

Triggered via pull request November 16, 2023 21:29
Status Failure
Total duration 36s
Artifacts

coding-standards.yml

on: pull_request
coding-standards  /  phpcs 8.2
25s
coding-standards / phpcs 8.2
phpstan  /  phpstan PHP 8.2
26s
phpstan / phpstan PHP 8.2
Fit to window
Zoom out
Zoom in

Annotations

10 errors
phpstan / phpstan PHP 8.2: database/factory/class-category-factory.php#L20
Generic type Mantle\Database\Factory\Term_Factory<App\Models\Category> in PHPDoc tag @extends does not specify all template types of class Mantle\Database\Factory\Term_Factory: TModel, TObject, TReturnValue
phpstan / phpstan PHP 8.2: database/factory/class-category-factory.php#L26
PHPDoc type class-string<Mantle\Database\Model\Model> of property App\Database\Factory\Category_Factory::$model is not covariant with PHPDoc type class-string<App\Models\Category> of overridden property Mantle\Database\Factory\Term_Factory<App\Models\Category,WP_Term,mixed>::$model.
phpstan / phpstan PHP 8.2: database/factory/class-category-factory.php#L26
Property App\Database\Factory\Category_Factory::$model with generic class Mantle\Database\Model\Model does not specify its types: TModelObject
phpstan / phpstan PHP 8.2: database/factory/class-post-factory.php#L20
Generic type Mantle\Database\Factory\Post_Factory<App\Models\Post> in PHPDoc tag @extends does not specify all template types of class Mantle\Database\Factory\Post_Factory: TModel, TObject, TReturnValue
phpstan / phpstan PHP 8.2: database/factory/class-post-factory.php#L26
PHPDoc type class-string<Mantle\Database\Model\Model> of property App\Database\Factory\Post_Factory::$model is not covariant with PHPDoc type class-string<App\Models\Post> of overridden property Mantle\Database\Factory\Post_Factory<App\Models\Post,mixed,mixed>::$model.
phpstan / phpstan PHP 8.2: database/factory/class-post-factory.php#L26
Property App\Database\Factory\Post_Factory::$model with generic class Mantle\Database\Model\Model does not specify its types: TModelObject
phpstan / phpstan PHP 8.2: database/factory/class-post-factory.php#L36
Call to an undefined method Faker\Generator::paragraph_blocks().
phpstan / phpstan PHP 8.2: database/factory/class-tag-factory.php#L20
Generic type Mantle\Database\Factory\Term_Factory<App\Models\Tag> in PHPDoc tag @extends does not specify all template types of class Mantle\Database\Factory\Term_Factory: TModel, TObject, TReturnValue
phpstan / phpstan PHP 8.2: database/factory/class-tag-factory.php#L26
PHPDoc type class-string<Mantle\Database\Model\Model> of property App\Database\Factory\Tag_Factory::$model is not covariant with PHPDoc type class-string<App\Models\Tag> of overridden property Mantle\Database\Factory\Term_Factory<App\Models\Tag,WP_Term,mixed>::$model.
phpstan / phpstan PHP 8.2: database/factory/class-tag-factory.php#L26
Property App\Database\Factory\Tag_Factory::$model with generic class Mantle\Database\Model\Model does not specify its types: TModelObject