Skip to content

Commit

Permalink
PHP version and composer requirements updated (according to Travis CI…
Browse files Browse the repository at this point in the history
… results).
  • Loading branch information
SpiGAndromeda committed Sep 25, 2021
1 parent 65c53cb commit cefd151
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
14 changes: 7 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,19 @@
}
],
"require": {
"php": ">=7.2",
"api-platform/core": "^2.6",
"php": ">=7.4",
"api-platform/core": "^2.5",
"it-bens/object-transformer-bundle": "^0.1.0",
"symfony/config": "^4.4|^5.0",
"symfony/dependency-injection": "^4.4|^5.0",
"symfony/http-kernel": "^4.4|^5.0"
"symfony/config": "^4.4|^5.3",
"symfony/dependency-injection": "^4.4|^5.3",
"symfony/http-kernel": "^4.4|^5.3"
},
"require-dev": {
"captainhook/plugin-composer": "^5.3",
"it-bens/object-transformer-test-utilities": "*@dev",
"phpunit/phpunit": "^7.5",
"phpunit/phpunit": "^7.5|^8.5",
"roave/security-advisories": "dev-latest",
"symfony/yaml": "^4.4|^5.0"
"symfony/yaml": "^4.4|^5.3"
},
"config": {
"optimize-autoloader": true,
Expand Down
2 changes: 1 addition & 1 deletion development.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ case ${COMMAND} in
docker-compose run --rm -T composer composer install
;;
"composer-update")
docker-compose run --rm -T composer composer update"${@:2}"
docker-compose run --rm -T composer composer update "${@:2}"
;;
"composer-clean")
rm -Rf ./vendor ./composer.lock
Expand Down
2 changes: 1 addition & 1 deletion docker/development/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM php:7.2-cli-alpine
FROM php:7.4-cli-alpine

# install dependencies
RUN set -ex; \
Expand Down
2 changes: 1 addition & 1 deletion docker/test/phpunit/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## build context is at docker/
FROM php:7.2-cli-alpine
FROM php:7.4-cli-alpine

# install dependencies
RUN set -ex; \
Expand Down

0 comments on commit cefd151

Please sign in to comment.