You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
currently there is an issue between drupal-check and phpstan, which is preventing the deprecation scans from functioning.
To Reproduce
enable deprecation scans and run blt validate
Expected behavior
the code runs w/o error
Detailed error output
PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function PHPStan\Command\AnalyseApplication::analyse(), 6 passed in /vendor/mglaman/drupal-check/src/Command/CheckCommand.php on line 175 and exactly 7 expected in /vendor/phpstan/phpstan/src/Command/AnalyseApplication.php:51
Stack trace:
#0 /vendor/mglaman/drupal-check/src/Command/CheckCommand.php(175): PHPStan\Command\AnalyseApplication->analyse(Array, false, Object(PHPStan\Command\ErrorsConsoleStyle), Object(PHPStan\Command\ErrorFormatter\TableErrorFormatter), false, false)
#1 /vendor/symfony/console/Command/Command.php(255): DrupalCheck\Command\CheckCommand->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#2 /vendor/symfony/console/Application.php(969): Symfony\Component\Console\Command\Command->run(Object(Symfony\Comp in /vendor/phpstan/phpstan/src/Command/AnalyseApplication.php on line 51
Fatal error: Uncaught ArgumentCountError: Too few arguments to function PHPStan\Command\AnalyseApplication::analyse(), 6 passed in /vendor/mglaman/drupal-check/src/Command/CheckCommand.php on line 175 and exactly 7 expected in /vendor/phpstan/phpstan/src/Command/AnalyseApplication.php:51
Stack trace:
#0 /vendor/mglaman/drupal-check/src/Command/CheckCommand.php(175): PHPStan\Command\AnalyseApplication->analyse(Array, false, Object(PHPStan\Command\ErrorsConsoleStyle), Object(PHPStan\Command\ErrorFormatter\TableErrorFormatter), false, false)
#1 /vendor/symfony/console/Command/Command.php(255): DrupalCheck\Command\CheckCommand->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#2 /vendor/symfony/console/Application.php(969): Symfony\Component\Console\Command\Command->run(Object(Symfony\Comp in /vendor/phpstan/phpstan/src/Command/AnalyseApplication.php on line 51
System information
BLT version: 10.2.0
Additional context
Only occurs if set in blt.yml:
validate:
deprecation:
modules: true
themes: true
The text was updated successfully, but these errors were encountered:
This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.
Describe the bug
see mglaman/drupal-check#95
currently there is an issue between drupal-check and phpstan, which is preventing the deprecation scans from functioning.
To Reproduce
enable deprecation scans and run blt validate
Expected behavior
the code runs w/o error
Detailed error output
System information
Additional context
Only occurs if set in blt.yml:
The text was updated successfully, but these errors were encountered: