Hello,
trying to get PHPQA running in a CI job using GitHub actions. But I am not able to cope with an error message - maybe just an obvious beginner issue.
Here is what I did so far:
Installed version 1.23.2 using composer.
Added a .phpqa.yml file containing:
phpqa.analyzedDirs: ./src/
phpqa.ignoredDirs: vendor
phpqa.report: true
phpqa.output: cli
Running these commands:
php ./vendor/bin/phpqa-extensions.php --add phpa phpca phpmnd
./vendor/bin/phpqa
Which results in this error:
PHP Fatal error: Uncaught Error: Class 'RoboFile' not found in /home/runner/work/.../vendor/consolidation/robo/src/Runner.php:61
Stack trace:
#0 /home/runner/work/.../vendor/edgedesign/phpqa/phpqa(55): Robo\Runner->execute(Array)
#1 {main}
thrown in /home/runner/work/.../vendor/consolidation/robo/src/Runner.php on line 61
Originally I had no YAML file, but added the parameters as CLI arguments. Did not change anything, same error occured.
Any idea what I am missing here?
Hello,
trying to get PHPQA running in a CI job using GitHub actions. But I am not able to cope with an error message - maybe just an obvious beginner issue.
Here is what I did so far:
Installed version
1.23.2using composer.Added a
.phpqa.ymlfile containing:Running these commands:
Which results in this error:
Originally I had no YAML file, but added the parameters as CLI arguments. Did not change anything, same error occured.
Any idea what I am missing here?