Skip to content

Commit

Permalink
[task] fix return statement missing stan errors
Browse files Browse the repository at this point in the history
  • Loading branch information
connorhu committed Mar 21, 2024
1 parent ddc1528 commit 26f07af
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions lib/task/test/sfTestFunctionalTask.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,5 +108,7 @@ protected function execute($arguments = [], $options = [])

return $ret;
}

return 0;
}
}
2 changes: 1 addition & 1 deletion lib/task/test/sfTestPluginTask.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,6 @@ protected function execute($arguments = [], $options = [])
$finder = sfFinder::type('file')->follow_link()->name('*Test.php');
$h->register($finder->in($h->base_dir));

return $h->run();
return $h->run() ? 0 : 1;
}
}
2 changes: 2 additions & 0 deletions lib/task/test/sfTestUnitTask.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,5 +102,7 @@ protected function execute($arguments = [], $options = [])

return $ret;
}

return 0;
}
}

0 comments on commit 26f07af

Please sign in to comment.