-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Drop hhvm from build matrix * Bump minimal PHP version to 7.1 * Remove PHP 7.3 from allowed failures * Add PHP 7.4 to build matrix * Check platform requirements * Replace `\PHPUnit_Framework_TestCase` with `\PHPUnit\Framework\TestCase` * Bump PHPUnit to version 7.5 * Bump `webonyx/graphql-php` to version 0.13 * Prefer package sources on `composer update` `tests/StarWarsData.php` is no longer part of `webonyx/graphql-php` package * Fix deprecation for `GraphQL\Schema` * Suppress deprecation errors in tests * Bump `webonyx/graphql-php` to version 14 * Bump PHPUnit to version 8.5 * Allow PHPUnit 7 for compatibility with PHP 7.1 * Allow PHP 8 * Use current version of `php-cs-fixer` * Switch Travis CI from `trusty` to `bionic` * Add PHP 8.0 to the build matrix * Don't run `php-cs-fixer` for PHP 8.0 Resolves #40. Minimal PHP version increased to 7.1. (So that supported versions are same as in webonyx/graphql-php. Going up to 7.2 would make things easier regarding PHPUnit.) Installation on PHP 8 allowed. composer check-platform-reqs added to build steps PHPUnit bumped to ^7.5|^8.5 to support PHP 7.1-8.0 webonyx/graphql-php updated to the current version 14 --prefer-source used for composer update as tests/StarWarsData.php is no longer part of webonyx/graphql-php package. Alternative options would be to create a local copy of the file in this repository or download it from webonyx/graphql-php repo with wget in before_install. The current version of php-cs-fixer (2.16) used, however, it doesn't allow installation on PHP 8 yet (see PHP-CS-Fixer/PHP-CS-Fixer#4702). PHPUnit option convertDeprecationsToExceptions disabled to deal with deprecated GraphQL::execute() (related to #39).
- Loading branch information
Showing
7 changed files
with
18 additions
and
22 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
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
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