Skip to content

Commit

Permalink
Update composer.json
Browse files Browse the repository at this point in the history
  • Loading branch information
JUVOJustin authored Dec 20, 2024
1 parent e616a2e commit 2d44bd1
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,16 @@
"post-create-project-cmd": [
"composer exec -- wp setup"
],
"strauss": [
"test -f ./bin/strauss.phar || curl -o bin/strauss.phar -L -C - https://github.com/BrianHenryIE/strauss/releases/latest/download/strauss.phar",
"@php bin/strauss.phar"
"prefix-namespaces": [
"sh -c 'test -f ./bin/strauss.phar || curl -o bin/strauss.phar -L -C - https://github.com/BrianHenryIE/strauss/releases/latest/download/strauss.phar'",
"@php bin/strauss.phar",
"@php composer dump-autoload"
],
"post-install-cmd": [
"@strauss"
"@prefix-namespaces"
],
"post-update-cmd": [
"@strauss"
"@prefix-namespaces"
],
"phpstan": "@php ./vendor/bin/phpstan analyse",
"phpstan:ci": "@php ./vendor/bin/phpstan analyse --error-format=checkstyle | cs2pr",
Expand Down

0 comments on commit 2d44bd1

Please sign in to comment.