Alley Coding Standards 2.0 #602
coding-standards.yml
on: pull_request
coding-standards
/
phpcs 8.2
25s
phpstan
/
phpstan PHP 8.2
26s
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
|