Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
@ -49,8 +49,8 @@ pipeline:
image: nextcloudci/php7.1:php7.1-15
commands:
- composer install
- composer require --dev "etsy/phan:dev-master"
- ./lib/composer/etsy/phan/phan -k build/.phan/config.php
- composer require --dev "phan/phan:dev-master"
- ./lib/composer/phan/phan/phan -k build/.phan/config.php
- php ./build/.phan/plugin-checker.php
when:
matrix:
@ -34,7 +34,7 @@ build/.phan/tests/SqlInjectionCheckerTest.php:70 SqlInjectionChecker Potential S
EOT;
$result = shell_exec('php '. __DIR__ . '/../../lib/composer/etsy/phan/phan -k build/.phan/config.php --include-analysis-file-list build/.phan/tests/* --directory build/.phan/tests/');
$result = shell_exec('php '. __DIR__ . '/../../lib/composer/phan/phan/phan -k build/.phan/config.php --include-analysis-file-list build/.phan/tests/* --directory build/.phan/tests/');
if($result !== $expected) {
echo("Output of phan doesn't match expectation\n");