diff --git a/src/ResourceGenerator.php b/src/ResourceGenerator.php
index <HASH>..<HASH> 100644
--- a/src/ResourceGenerator.php
+++ b/src/ResourceGenerator.php
@@ -194,7 +194,7 @@ class ResourceGenerator
             '.php_cs ' .
             ' --allow-risky=yes -q -v --stop-on-violation --using-cache=no';
 
-        system($command, $null);
+        exec($command);
     }
 
     private function out(string $message)
Use exec instead of system, don't want any output shown