Skip to content

Issue-293: Create Structure for Features #312

Issue-293: Create Structure for Features

Issue-293: Create Structure for Features #312

Triggered via pull request December 21, 2023 14:34
Status Failure
Total duration 40s
Artifacts

coding-quality.yml

on: pull_request
code-quality  /  phpstan PHP 8.2
28s
code-quality / phpstan PHP 8.2
Fit to window
Zoom out
Zoom in

Annotations

9 errors
code-quality / phpstan PHP 8.2: src/class-feature-manager.php#L32
Method Create_WordPress_Plugin\Feature_Manager::__construct() has parameter $features_to_create with no value type specified in iterable type array.
code-quality / phpstan PHP 8.2: src/class-feature-manager.php#L32
PHPDoc tag @param references unknown parameter: $features
code-quality / phpstan PHP 8.2: src/class-feature-manager.php#L36
Property Create_WordPress_Plugin\Feature_Manager::$features (array<Alley\WP\Types\Feature>) does not accept array<object>.
code-quality / phpstan PHP 8.2: src/class-feature-manager.php#L66
Method Create_WordPress_Plugin\Feature_Manager::add_feature() has parameter $args with no value type specified in iterable type array.
code-quality / phpstan PHP 8.2: src/class-feature-manager.php#L68
Property Create_WordPress_Plugin\Feature_Manager::$features (array<Alley\WP\Types\Feature>) does not accept array<object>.
code-quality / phpstan PHP 8.2: src/class-feature-manager.php#L70
Call to an undefined method object::boot().
code-quality / phpstan PHP 8.2: src/class-feature-manager.php#L72
Method Create_WordPress_Plugin\Feature_Manager::add_feature() should return Alley\WP\Types\Feature but returns object.
code-quality / phpstan PHP 8.2: src/class-feature-manager.php#L99
Argument of an invalid type array<int, string>|false supplied for foreach, only iterables are supported.
code-quality / phpstan PHP 8.2
Process completed with exit code 1.