mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-19 14:27:14 +01:00
fix set error report
This commit is contained in:
parent
1372df4cf2
commit
b5b2358849
@ -27,10 +27,10 @@ foreach ($setProvider->provide() as $setName) {
|
||||
|
||||
|
||||
$process = new Process($command, __DIR__ . '/..');
|
||||
echo sprintf('Set "%s" is OK' . PHP_EOL, $setName);
|
||||
|
||||
try {
|
||||
$process->mustRun();
|
||||
echo sprintf('Set "%s" is OK' . PHP_EOL, $setName);
|
||||
} catch (ProcessFailedException $processFailedException) {
|
||||
if (! Strings::match($processFailedException->getMessage(), '#(Fatal error)|(\[ERROR\])#')) {
|
||||
continue;
|
||||
|
Loading…
x
Reference in New Issue
Block a user