-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #445 from stevegrunwell/fix/drop-older-php-versions
Update the documentation and testing matrix for current PHP releases
- Loading branch information
Showing
8 changed files
with
56 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,4 @@ composer.lock | |
vendor | ||
composer.phar | ||
.idea | ||
.phpunit.result.cache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,31 @@ | ||
language: php | ||
|
||
php: | ||
- 7.4 | ||
- 7.3 | ||
- 7.2 | ||
- 7.1 | ||
- 7.0 | ||
- 5.6 | ||
- hhvm-4.0.0 | ||
- hhvm-3.30 | ||
- hhvm-3.27 | ||
- hhvm-3.24 | ||
sudo: false | ||
dist: trusty | ||
install: | ||
- composer install --dev | ||
script: vendor/phpunit/phpunit/phpunit Tests | ||
- nightly | ||
|
||
matrix: | ||
fast_finish: true | ||
allow_failures: | ||
- php: hhvm-4.0.0 | ||
- php: hhvm-3.24 | ||
- php: 7.0 | ||
- php: 5.6 | ||
- php: 7.0 | ||
- php: 7.1 | ||
- php: nightly | ||
|
||
install: | ||
- composer install --no-interaction --prefer-dist | ||
|
||
before_script: | ||
# Remove XDebug for better performance. | ||
- | | ||
if [ -f ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini ]; then | ||
phpenv config-rm xdebug.ini | ||
fi | ||
script: | ||
- ./vendor/bin/phpunit Tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?php | ||
/** | ||
* Placeholders to aid with PHPUnit 6+ compatibility in the test suite. | ||
* | ||
* PHPUnit 6 introduced namespaces, moving the base test class from PHPUnit_Framework_TestCase to | ||
* PHPUnit\Framework\TestCase. | ||
* | ||
* @link https://phpunit.de/announcements/phpunit-6.html | ||
*/ | ||
|
||
namespace PHPUnit\Framework; | ||
|
||
use PHPUnit_Framework_TestCase; | ||
|
||
class TestCase extends PHPUnit_Framework_TestCase | ||
{ | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters