Skip to content

Commit c0e39a1

Browse files
committed
Avoid installing apigen on PHP 5.3
It is not supported there Signed-off-by: Michal Čihař <[email protected]>
1 parent 82da4e9 commit c0e39a1

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ matrix:
2828
sudo: false
2929

3030
install:
31+
- if [ "$TRAVIS_PHP_VERSION" = "5.3" ] ; then sed -i '/apigen/D' composer.json ; fi
3132
- if [ -n "$REQUIRE" ] ; then composer require "$REQUIRE" ; fi
3233
- composer install
3334

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@
2020
"symfony/polyfill-mbstring": "^1.3"
2121
},
2222
"require-dev": {
23+
"apigen/apigen": "^4.1",
2324
"phpunit/php-code-coverage": "*",
24-
"phpunit/phpunit": "~4.8 || ~5.7 || ~6.5",
25-
"apigen/apigen": "^4.1"
25+
"phpunit/phpunit": "~4.8 || ~5.7 || ~6.5"
2626
},
2727
"conflict": {
2828
"phpmyadmin/motranslator": "<3.0"

0 commit comments

Comments
 (0)