Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
Also replaced Docksal in favor of Docker-compose
  • Loading branch information
unreal4u committed May 6, 2020
1 parent ecba9e7 commit e3a9f0c
Show file tree
Hide file tree
Showing 15 changed files with 344 additions and 214 deletions.
3 changes: 0 additions & 3 deletions .docksal/commands/composer-update

This file was deleted.

4 changes: 0 additions & 4 deletions .docksal/commands/run-tests

This file was deleted.

3 changes: 0 additions & 3 deletions .docksal/docksal.env

This file was deleted.

1 change: 0 additions & 1 deletion .docksal/docksal.yml

This file was deleted.

8 changes: 0 additions & 8 deletions .docksal/services/cli/Dockerfile

This file was deleted.

15 changes: 15 additions & 0 deletions bin/composer.sh
@@ -0,0 +1,15 @@
#!/usr/bin/env bash

if [[ "$1" == "" ]]
then
echo "Missing argument, must be one of 70, 71, 72, 73, 74 or latest (defaults to 74). Assuming 74"
PHP_VERSION="74"
elif [[ "$1" == "latest" ]]
then
PHP_VERSION="74"
else
PHP_VERSION="$1"
fi

rm -rf tests/report/
docker-compose run "php${PHP_VERSION}" composer "$2"
15 changes: 15 additions & 0 deletions bin/run-tests.sh
@@ -0,0 +1,15 @@
#!/usr/bin/env bash

if [[ "$1" == "" ]]
then
echo "Missing argument, must be one of 70, 71, 72, 73, 74 or latest (defaults to 74). Assuming 74"
PHP_VERSION="74"
elif [[ "$1" == "latest" ]]
then
PHP_VERSION="74"
else
PHP_VERSION="$1"
fi

rm -rf tests/report/
docker-compose run "php${PHP_VERSION}" phpdbg -qrr vendor/bin/phpunit
6 changes: 3 additions & 3 deletions composer.json
Expand Up @@ -18,15 +18,15 @@
"ext-json": "*",
"unreal4u/dummy-logger": "^1.0",
"react/http-client": "^0.5",
"react/promise": "^2.5",
"clue/block-react": "^1.1",
"react/promise": "^2.7",
"clue/block-react": "^1.3",
"yoshi2889/multipart-builder": "^0.1.1",
"amphp/artax": "^3",
"paragonie/random_compat": "1.2.2"
},
"require-dev": {
"monolog/monolog": "^1.17",
"squizlabs/php_codesniffer": "^3.0",
"squizlabs/php_codesniffer": "^3.5",
"phpunit/phpunit": "^6.2",
"phpunit/php-code-coverage": "^5.2"
},
Expand Down

0 comments on commit e3a9f0c

Please sign in to comment.