Update szepeviktor/phpstan-wordpress requirement from ^1.1 to ^2.0 #657
Annotations
10 errors and 1 warning
Run phpstan:
src/assets.php#L121
Function Alley\WP\WP_Page_Cache_Control\get_entry_asset_map() should return array{dependencies?: array<string>, version?: string} but returns mixed.
|
Run phpstan:
src/assets.php#L136
Function Alley\WP\WP_Page_Cache_Control\get_asset_dependency_array() should return array<int, string> but returns array<string>.
|
Run phpstan:
src/class-header.php#L184
Parameter #2 $value of static method Alley\WP\WP_Page_Cache_Control\Header::send() expects string, mixed given.
|
Run phpstan:
src/concerns/trait-tests-headers.php#L18
Trait Alley\WP\WP_Page_Cache_Control\Concerns\Tests_Headers is used zero times and is not analysed.
|
Run phpstan:
src/providers/class-pantheon-provider.php#L254
Method Alley\WP\WP_Page_Cache_Control\Providers\Pantheon_Provider::purge() should return bool|WP_Error but returns mixed.
|
Run phpstan:
src/providers/class-pantheon-provider.php#L304
Cannot access property $name on mixed.
|
Run phpstan:
src/providers/class-pantheon-provider.php#L304
Parameter #2 $taxonomy of function get_the_terms expects string, mixed given.
|
Run phpstan:
src/providers/class-pantheon-provider.php#L321
@param array $keys does not accept actual type of parameter: mixed.
|
Run phpstan:
src/providers/class-pantheon-provider.php#L358
@param array $keys does not accept actual type of parameter: mixed.
|
Run phpstan:
src/providers/class-pantheon-provider.php#L402
Property Alley\WP\WP_Page_Cache_Control\Providers\Pantheon_Provider::$groups (array<string, string>) does not accept array<string, mixed>.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading