PHPSTAN next minor warnings

Created on 12 February 2025, about 2 months ago

Problem/Motivation

https://git.drupalcode.org/project/ui_suite_uswds/-/jobs/4334672

Running phpstan (next minor) on ui_suite_uswds I get

Note: Using configuration file /builds/project/ui_suite_uswds/web/modules/custom/ui_suite_uswds/phpstan.neon.
PHP Fatal error: Declaration of Drupal\ui_patterns\ComponentPluginManager::processDefinitionCategory(array &$definition): void must be compatible with Drupal\Core\Theme\ComponentPluginManager::processDefinitionCategory(&$definition): void in /builds/project/ui_suite_uswds/web/modules/contrib/ui_patterns/src/ComponentPluginManager.php on line 144
Fatal error: Declaration of Drupal\ui_patterns\ComponentPluginManager::processDefinitionCategory(array &$definition): void must be compatible with Drupal\Core\Theme\ComponentPluginManager::processDefinitionCategory(&$definition): void in /builds/project/ui_suite_uswds/web/modules/contrib/ui_patterns/src/ComponentPluginManager.php on line 144

Steps to reproduce

Proposed resolution

TBD

Remaining tasks

Determine if an issue in ui_patterns

User interface changes

NA

API changes

NA

Data model changes

NA

πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States smustgrave

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024