Skip to content

Increase PHPStan level #247

Increase PHPStan level

Increase PHPStan level #247

Triggered via pull request January 20, 2025 15:07
Status Failure
Total duration 1m 1s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 1 warning
Validate: app/Drupal/external_content/src/Builder/RenderArrayBuilderManager.php#L55
Method Drupal\external_content\Builder\RenderArrayBuilderManager::list() should return array{service: string, id: string} but returns array.
Validate: app/Drupal/external_content/src/Bundler/BundlerManager.php#L60
Method Drupal\external_content\Bundler\BundlerManager::list() should return array{service: string, id: string} but returns array.
Validate: app/Drupal/external_content/src/Converter/ConverterManager.php#L58
Method Drupal\external_content\Converter\ConverterManager::list() should return array{service: string, id: string} but returns array.
Validate: app/Drupal/external_content/src/Environment/Environment.php#L175
Parameter #2 $listener of class Drupal\external_content\Data\EventListener constructor expects Closure, callable(): mixed given.
Validate: app/Drupal/external_content/src/Environment/EnvironmentManager.php#L40
Method Drupal\external_content\Environment\EnvironmentManager::list() should return array{service: string, label: string, id: string} but returns array.
Validate: app/Drupal/external_content/src/Extension/ExtensionManager.php#L40
Method Drupal\external_content\Extension\ExtensionManager::list() should return array{service: string, id: string} but returns array.
Validate: app/Drupal/external_content/src/Finder/FinderManager.php#L60
Method Drupal\external_content\Finder\FinderManager::list() should return array{service: string, id: string} but returns array.
Validate: app/Drupal/external_content/src/Identifier/IdentifierManager.php#L56
Method Drupal\external_content\Identifier\IdentifierManager::list() should return array{service: string, id: string} but returns array.
Validate: app/Drupal/external_content/src/Loader/LoaderManager.php#L60
Method Drupal\external_content\Loader\LoaderManager::list() should return array{service: string, id: string} but returns array.
Validate: app/Drupal/external_content/src/Parser/HtmlParserManager.php#L69
Method Drupal\external_content\Parser\HtmlParserManager::list() should return array{service: string, id: string} but returns array.
Validate
Process completed with exit code 201.
Validate
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636