Просмотр исходного кода

Minor development config fixes (#5379)

* Add compatibility with MacOS for `paste` command
* Addition to .editorconfig
Alexandre Alapetite 2 лет назад
Родитель
Сommit
26bc0e0ee9
2 измененных файлов с 4 добавлено и 1 удалено
  1. 3 0
      .editorconfig
  2. 1 1
      composer.json

+ 3 - 0
.editorconfig

@@ -19,6 +19,9 @@ indent_style = tab
 indent_size = 4
 indent_style = tab
 
+[*.sh]
+indent_style = tab
+
 [*.svg]
 indent_style = tab
 

+ 1 - 1
composer.json

@@ -60,7 +60,7 @@
         "phpcs": "phpcs . -s",
         "phpcbf": "phpcbf . -p -s",
         "phpstan": "phpstan analyse --memory-limit 512M .",
-        "phpstan-next": "phpstan analyse --level 7 --memory-limit 512M $(find . -type d -name 'vendor' -prune -o -name '*.php' -o -name '*.phtml' | grep -Fxvf ./tests/phpstan-next.txt | sort | paste -s)",
+        "phpstan-next": "phpstan analyse --level 7 --memory-limit 512M $(find . -type d -name 'vendor' -prune -o -name '*.php' -o -name '*.phtml' | grep -Fxvf ./tests/phpstan-next.txt | sort | paste -s -)",
         "phpunit": "phpunit --bootstrap ./tests/bootstrap.php --verbose ./tests",
         "translations": "cli/manipulate.translation.php -a format",
         "test": [