Skip to content

Commit

Permalink
fix(test): exit code of lime test
Browse files Browse the repository at this point in the history
  • Loading branch information
alquerci committed Mar 31, 2024
1 parent 0c9ba11 commit 6be4c18
Show file tree
Hide file tree
Showing 17 changed files with 1,409 additions and 892 deletions.
1 change: 1 addition & 0 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
->in(__DIR__.'/lib')
->in(__DIR__.'/data/bin')
->in(__DIR__.'/test')
->in(__DIR__.'/lib/vendor/lime/src')
->append([__FILE__])
// Exclude PHP classes templates/generators, which are not valid PHP files
->exclude('task/generator/skeleton/')
Expand Down
5 changes: 4 additions & 1 deletion lib/plugins/sfDoctrinePlugin/test/bin/coverage.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,7 @@

$finder = sfFinder::type('file')->name('*.php')->prune('vendor')->prune('test')->prune('data');
$c->register($finder->in($c->base_dir));
$c->run();

$allTestsSucceed = $c->run();

exit($allTestsSucceed ? 0 : 1);
Loading

0 comments on commit 6be4c18

Please sign in to comment.