- Issue created by @jonathan1055
- 🇬🇧United Kingdom jonathan1055
Simple fix. The names are fine, it just needs the
()
removed from the funtion docblock tag, as in:- * @dataProvider dataFormAlter() + * @dataProvider dataFormAlter
-
jonathan1055 →
committed 72606b4f on 3.0.x
Issue #3501929: Fix @dataProvider related method not found
-
jonathan1055 →
committed 72606b4f on 3.0.x
- 🇬🇧United Kingdom jonathan1055
Merged and fixed for 3.0.x
The same fix will be needed in 2.0.x but that PHPStan job fails without running properly, so will need more investigation.
- 🇬🇧United Kingdom jonathan1055
The existing 2.x phpstan job fails with
Using configuration file /builds/project/scheduler_content_moderation_integration/web/modules/custom/scheduler_content_moderation_integration/phpstan.neon. File '/builds/project/scheduler_content_moderation_integration/web/modules/custom/scheduler_content_moderation_integration/./vendor/mglaman/phpstan-drupal/extension.neon' is missing or is not readable.
But this addition is not in the 3.x branch, so let's see if it is still needed in 2.x - via MR76
-
jonathan1055 →
committed 5edfec4f on 2.x
Issue #3501929 by jonathan1055: Fix @dataProvider related method not...
-
jonathan1055 →
committed 5edfec4f on 2.x
- 🇬🇧United Kingdom jonathan1055
Merged MR76
PHPStan and PHPCS are now clean and green on 2.x Automatically closed - issue fixed for 2 weeks with no activity.