Skip to content

Commit b7a9e82

Browse files
Merge pull request #154 from akeneo/upgrade-to-php-7.2
Upgrade required PHP version to 7.2
2 parents 5937331 + 1f65919 commit b7a9e82

File tree

4 files changed

+6
-22
lines changed

4 files changed

+6
-22
lines changed

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
language: php
22

33
php:
4-
- 7.1
54
- 7.2
65

76
sudo: false

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ For example, if your PIM is currently a v2.3, you can still use a 1.0 version of
1616

1717
## Requirements
1818

19-
* PHP >= 7.1
19+
* PHP >= 7.2
2020
* Composer
2121

2222
## Installation
@@ -148,10 +148,10 @@ These dependencies are different in function of the PHP version running `compose
148148
```
149149
cp docker-compose.yml.dist docker-compose.yml
150150
rm -rf composer.lock vendor/
151-
docker-compose run client_71 composer install
152-
docker-compose run client_71 bin/phpunit -c phpunit.xml.dist
153-
docker-compose run client_71 bin/phpspec run
154-
docker-compose run client_71 bin/php-cs-fixer fix --diff --dry-run --config=.php_cs.php -vvv
151+
docker-compose run client_72 composer install
152+
docker-compose run client_72 bin/phpunit -c phpunit.xml.dist
153+
docker-compose run client_72 bin/phpspec run
154+
docker-compose run client_72 bin/php-cs-fixer fix --diff --dry-run --config=.php_cs.php -vvv
155155
```
156156

157157
## Support

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
}
2121
},
2222
"require": {
23-
"php": ">=7.1",
23+
"php": ">=7.2",
2424
"psr/http-message": "^1.0",
2525
"php-http/httplug": "^2.0",
2626
"php-http/message": "^1.7",

docker-compose.yml.dist

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,6 @@
11
version: '2'
22

33
services:
4-
client_71:
5-
image: akeneo/php:7.1
6-
environment:
7-
COMPOSER_HOME: /home/docker/.composer
8-
PHP_IDE_CONFIG: 'serverName=akeneo-client'
9-
PHP_XDEBUG_ENABLED: 0
10-
PHP_XDEBUG_IDE_KEY: XDEBUG_IDE_KEY
11-
PHP_XDEBUG_REMOTE_HOST: xxx.xxx.xxx.xxx
12-
XDEBUG_CONFIG: 'remote_host=xxx.xxx.xxx.xxx'
13-
user: docker
14-
volumes:
15-
- ./:/home/docker/client
16-
- ~/.composer:/home/docker/.composer
17-
working_dir: /home/docker/client
18-
194
client_72:
205
image: akeneo/php:7.2
216
environment:

0 commit comments

Comments
 (0)