Implement network-specific metadata handling in commands #864
code-quality.yml
on: pull_request
code-quality
/
Lint GitHub Actions workflows
10s
code-quality
/
Lint PHP files
21s
code-quality
/
Lint Gherkin Feature files
14s
code-quality
/
Spell check
4s
code-quality
/
PHPCS
21s
code-quality
/
PHPStan
30s
Annotations
3 errors
|
code-quality / PHPStan
Process completed with exit code 1.
|
|
code-quality / PHPStan:
src/Network_Meta_Command.php#L69
Return type (mixed) of method Network_Meta_Command::get_metadata() should be covariant with return type (($single is true ? string : ($meta_key is '' ? array<array<string>> : array<string>))) of method WP_CLI\CommandWithMeta::get_metadata()
|
|
code-quality / PHPStan:
src/Network_Meta_Command.php#L35
Method Network_Meta_Command::add_metadata() should return int|false but returns bool.
|