Skip to content

Commit c738911

Browse files
committed
Bump minimum PHP version requirement to 5.3.10.
I can no longer provide adequate test coverage that anything works with PHP versions below 5.3.10, so even though phpBB 3.1 only requires 5.3.3, I'm still going to require 5.3.10 in the extension.
1 parent 9b7cb42 commit c738911

File tree

5 files changed

+217
-163
lines changed

5 files changed

+217
-163
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ sudo: required
33

44
matrix:
55
include:
6-
- php: 5.3.3
6+
- php: 5.3.10
77
env: DB=mysqli
88
- php: 5.3
99
env: DB=mysqli # MyISAM
@@ -49,7 +49,7 @@ script:
4949
- sh -c "if [ '$SNIFF' != '0' ]; then travis/ext-sniff.sh $DB $TRAVIS_PHP_VERSION $EXTNAME; fi"
5050
- sh -c "if [ '$IMAGE_ICC' != '0' ]; then travis/check-image-icc-profiles.sh $DB $TRAVIS_PHP_VERSION; fi"
5151
- sh -c "if [ '$TRAVIS_PHP_VERSION' = '5.4' ] && [ '$DB' = 'mysqli' ]; then phpBB/vendor/bin/phpunit --configuration phpBB/ext/$EXTNAME/phpunit.xml.dist && php phpBB/ext/$EXTNAME/travis/check-coverage.php; else phpBB/vendor/bin/phpunit --configuration phpBB/ext/$EXTNAME/travis/phpunit-$DB-travis.xml --bootstrap ./tests/bootstrap.php; fi"
52-
- sh -c "if [ '$EPV' != '0' ] && [ '$TRAVIS_PHP_VERSION' = '5.3.3' ] && [ '$DB' = 'mysqli' ]; then phpBB/ext/$EXTNAME/vendor/bin/EPV.php run --dir='phpBB/ext/$EXTNAME/'; fi"
52+
- sh -c "if [ '$EPV' != '0' ] && [ '$TRAVIS_PHP_VERSION' = '5.3.10' ] && [ '$DB' = 'mysqli' ]; then phpBB/ext/$EXTNAME/vendor/bin/EPV.php run --dir='phpBB/ext/$EXTNAME/'; fi"
5353

5454
after_script:
5555
- sh -c "if [ '$TRAVIS_PHP_VERSION' = '5.4' ] && [ '$DB' = 'mysqli' ] && [ '$TRAVIS_BRANCH' = 'master' ] && [ '$TRAVIS_PULL_REQUEST' = 'false' ]; then cd phpBB/ext/$EXTNAME && vendor/bin/test-reporter --coverage-report clover.xml; fi"

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@
1818
],
1919
"config": {
2020
"platform": {
21-
"php": "5.3.3"
21+
"php": "5.3.10"
2222
}
2323
},
2424
"require": {
25-
"php": ">=5.3.3",
25+
"php": ">=5.3.10",
2626
"composer/installers": "~1.0"
2727
},
2828
"require-dev": {

0 commit comments

Comments
 (0)