I have a project like this:
...
test:
php_parallel_lint:
php_unit:
config:
- "test/phpunit.xml"
When I run the build it fails with messages like this:
RUNNING PLUGIN: PHP Parallel Lint (Stage: Test)
Exception: Catchable Fatal Error: Argument 3 passed to PHPCensor\Plugin\PhpParallelLint::__construct() must be of the type array, null given in /var/www/php-censor/src/PHPCensor/Plugin/PhpParallelLint.php line 46
PLUGIN: FAILED
This happens for all plugins I ran without params. That is not the desired behaviour because all params for these plugins are optional.
The same time in PHPCI this configurations works.
If I add params than it works like a charm in php-censor.
Looks like the reason is the difference between php-censor and PHPCI here:
I have a project like this:
When I run the build it fails with messages like this:
This happens for all plugins I ran without params. That is not the desired behaviour because all params for these plugins are optional.
The same time in PHPCI this configurations works.
If I add params than it works like a charm in php-censor.
Looks like the reason is the difference between php-censor and PHPCI here:
I see difference in the constructor and in the buildPlugin method in it's foreach cycle.