Browse Source

refactor: install PHPUnit globally for development instead of locally

rugk 5 months ago
parent
commit
93c6d72107
1 changed files with 2 additions and 1 deletions
  1. 2 1
      .devcontainer/postCreateCommand.sh

+ 2 - 1
.devcontainer/postCreateCommand.sh

@@ -12,7 +12,8 @@ ln -s ./conf.sample.php cfg/conf.php
 composer install --no-dev --optimize-autoloader
 
 # for PHP unit testing
-composer require --global google/cloud-storage
+composer global require phpunit/phpunit
+composer global require google/cloud-storage
 
 sudo chmod a+x "$(pwd)" && sudo rm -rf /var/www/html && sudo ln -s "$(pwd)" /var/www/html