File tree Expand file tree Collapse file tree 1 file changed +14
-12
lines changed Expand file tree Collapse file tree 1 file changed +14
-12
lines changed Original file line number Diff line number Diff line change @@ -11,14 +11,15 @@ Matrix compatibility:
1111| v2.3 | v3.0 | [ ![ Build Status] ( https://travis-ci.org/akeneo/api-php-client.svg?branch=3.0 )] ( https://travis-ci.org/akeneo/api-php-client ) |
1212| v3.0 - v4.0 | v4.0 - v5.0 | [ ![ Build Status] ( https://travis-ci.org/akeneo/api-php-client.svg?branch=4.0 )] ( https://travis-ci.org/akeneo/api-php-client ) |
1313| v5.0 | v6.0 | - |
14+ | v6.0 | v7.0 | - |
1415| - | master | [ ![ CircleCI] ( https://circleci.com/gh/akeneo/api-php-client/tree/master.svg?style=svg )] ( https://circleci.com/gh/akeneo/api-php-client/tree/master ) |
1516
1617Note that our PHP client is backward compatible.
1718For example, if your PIM is currently a v2.3, you can still use a 1.0 version of the PHP client. The new endpoints available in v2.3 will not be available in the v1.0 of the PHP client.
1819
1920## Requirements
2021
21- * PHP >= 7.1
22+ * PHP >= 7.4
2223* Composer
2324
2425## Installation
@@ -147,19 +148,20 @@ $client->getProductApi()->upsertList([
147148Do note that you have to delete the ` composer.lock ` because Doctrine dependencies are loaded.
148149These dependencies are different in function of the PHP version running ` composer install ` .
149150
150- ```
151- cp docker-compose.yml.dist docker-compose.yml
152- rm -rf composer.lock vendor/
153- docker-compose run client_72 composer install
154- docker-compose run client_72 bin/phpunit -c phpunit.xml.dist
155- docker-compose run client_72 bin/phpspec run
156- docker-compose run client_72 bin/php-cs-fixer fix --diff --dry-run --config=.php_cs.php -vvv
157- ```
151+ ``` bash
152+ # Build the project
153+ make dependencies
158154
159- Or use ` make ` :
155+ # Run PHPUnit tests
156+ make unit
160157
161- ```
162- make dependencies
158+ # Run PHPSpec tests
159+ make spec
160+
161+ # Run code style check
162+ make cs
163+
164+ # ... or directly run all tests
163165make tests
164166```
165167
You can’t perform that action at this time.
0 commit comments