From b90b557b1f6e1d96adb043f35a7761179da3f80c Mon Sep 17 00:00:00 2001 From: Matthieu Napoli Date: Sat, 29 Apr 2017 00:34:20 +0200 Subject: [PATCH] Reuse the exit code of php-cs-fixer --- sniff | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sniff b/sniff index 2484e48..43afdc9 100755 --- a/sniff +++ b/sniff @@ -67,4 +67,6 @@ passthru(sprintf( $paths, $options, escapeshellarg(json_encode($config['rules'])) -)); +), $returnStatus); + +exit($returnStatus);