Skip to content

Commit 2d44103

Browse files
connorhuthePanz
authored andcommitted
[task] fix return statement missing stan errors
1 parent d86803d commit 2d44103

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

Diff for: lib/task/test/sfTestFunctionalTask.class.php

+2
Original file line numberDiff line numberDiff line change
@@ -108,5 +108,7 @@ protected function execute($arguments = [], $options = [])
108108

109109
return $ret;
110110
}
111+
112+
return 0;
111113
}
112114
}

Diff for: lib/task/test/sfTestPluginTask.class.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,6 @@ protected function execute($arguments = [], $options = [])
6767
$finder = sfFinder::type('file')->follow_link()->name('*Test.php');
6868
$h->register($finder->in($h->base_dir));
6969

70-
return $h->run();
70+
return $h->run() ? 0 : 1;
7171
}
7272
}

Diff for: lib/task/test/sfTestUnitTask.class.php

+2
Original file line numberDiff line numberDiff line change
@@ -102,5 +102,7 @@ protected function execute($arguments = [], $options = [])
102102

103103
return $ret;
104104
}
105+
106+
return 0;
105107
}
106108
}

0 commit comments

Comments
 (0)