Minor development config fixes (#5379)

* Add compatibility with MacOS for `paste` command
* Addition to .editorconfig
This commit is contained in:
Alexandre Alapetite 2023-05-09 13:08:57 +02:00 committed by GitHub
parent afacebc3e2
commit 26bc0e0ee9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

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

View File

@ -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": [