Merge pull request #15314 from jitendrapurohit/dev-1255
[civicrm-core.git] / tools / scripts / check-angular.php
index b0d44d3003a9def28aeea923471e8219a3fd2b50..79a97aa097c641f3b7902b82f00f37c1fba404b3 100755 (executable)
@@ -5,7 +5,7 @@ eval(`cv php:boot`);
 global $civicrm_root;
 $realArgs = $argv;
 $diffCmd = FALSE;
-$files = array();
+$files = [];
 
 array_shift($realArgs);
 foreach ($realArgs as $arg) {
@@ -52,7 +52,7 @@ function compareFile($file, $diffCmd) {
     echo "File \"$file\" appears to have consistency issues. Created $newFile.\n";
     file_put_contents($newFile, $newMarkup);
     if ($diffCmd) {
-      passthru($diffCmd . ' '  . escapeshellarg($file) . ' ' . escapeshellarg($newFile));
+      passthru($diffCmd . ' ' . escapeshellarg($file) . ' ' . escapeshellarg($newFile));
     }
   }
-}
\ No newline at end of file
+}