PHPStan failed error when using Upgrade status for scanning

Created on 14 November 2023, about 1 year ago

If the Responsive menu is also installed, the Upgrade status scan flags as an error the duplicate _create_node(). function.

PHP Fatal error: Cannot redeclare _create_node() (previously declared in /app/web/modules/contrib/menu_block_title/tests/modules/responsive_menu_test/menu_block_title_test.install:127) in /app/web/modules/contrib/responsive_menu/tests/modules/responsive_menu_test/responsive_menu_test.install on line 125

Possible solution

We can rename the _create_node callback function to something more specific.

🐛 Bug report
Status

Needs review

Version

1.4

Component

Code

Created by

🇬🇧United Kingdom jkdaza

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

Comments & Activities

Production build 0.71.5 2024