-
-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changes to meta files and support for PHPUnit 9 (#161)
* Only support PHPUnit 8.5 and 9.4 * Updated meta files * Make sure we support PHP 7.1 * MIgrate config * Cleanup .travis.yml and cure my OCD =)
- Loading branch information
Showing
5 changed files
with
48 additions
and
58 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 |
---|---|---|
@@ -1,10 +1,11 @@ | ||
.github/ export-ignore | ||
tests/ export-ignore | ||
.editorconfig export-ignore | ||
.gitattributes export-ignore | ||
.gitignore export-ignore | ||
.php_cs export-ignore | ||
.scrutinizer.yml export-ignore | ||
.travis.yml export-ignore | ||
phpstan.neon.dist export-ignore | ||
phpunit.xml.dist export-ignore | ||
.github/ export-ignore | ||
tests/ export-ignore | ||
.editorconfig export-ignore | ||
.gitattributes export-ignore | ||
.gitignore export-ignore | ||
.php_cs export-ignore | ||
.scrutinizer.yml export-ignore | ||
.travis.yml export-ignore | ||
phpstan.neon.dist export-ignore | ||
phpstan.baseline.dist export-ignore | ||
phpunit.xml.dist export-ignore |
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,4 +1,6 @@ | ||
/composer.lock | ||
/phpstan.neon | ||
/phpunit.xml | ||
/vendor/ | ||
composer.lock | ||
phpstan.neon | ||
phpunit.xml | ||
vendor | ||
.php_cs.cache | ||
.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
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 |
---|---|---|
@@ -1,27 +1,24 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<phpunit colors="true" bootstrap="vendor/autoload.php"> | ||
<testsuites> | ||
<testsuite name="Unit tests"> | ||
<directory>tests/</directory> | ||
</testsuite> | ||
|
||
<testsuite name="Integration tests"> | ||
<directory>./vendor/http-interop/http-factory-tests/test</directory> | ||
</testsuite> | ||
</testsuites> | ||
|
||
<filter> | ||
<whitelist> | ||
<directory suffix=".php">src/</directory> | ||
</whitelist> | ||
</filter> | ||
|
||
<php> | ||
<const name="REQUEST_FACTORY" value="Nyholm\Psr7\Factory\Psr17Factory"/> | ||
<const name="RESPONSE_FACTORY" value="Nyholm\Psr7\Factory\Psr17Factory"/> | ||
<const name="SERVER_REQUEST_FACTORY" value="Nyholm\Psr7\Factory\Psr17Factory"/> | ||
<const name="UPLOADED_FILE_FACTORY" value="Nyholm\Psr7\Factory\Psr17Factory"/> | ||
<const name="URI_FACTORY" value="Nyholm\Psr7\Factory\Psr17Factory"/> | ||
<const name="STREAM_FACTORY" value="Nyholm\Psr7\Factory\Psr17Factory"/> | ||
</php> | ||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" colors="true" bootstrap="vendor/autoload.php" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"> | ||
<coverage> | ||
<include> | ||
<directory suffix=".php">src/</directory> | ||
</include> | ||
</coverage> | ||
<testsuites> | ||
<testsuite name="Unit tests"> | ||
<directory>tests/</directory> | ||
</testsuite> | ||
<testsuite name="Integration tests"> | ||
<directory>./vendor/http-interop/http-factory-tests/test</directory> | ||
</testsuite> | ||
</testsuites> | ||
<php> | ||
<const name="REQUEST_FACTORY" value="Nyholm\Psr7\Factory\Psr17Factory"/> | ||
<const name="RESPONSE_FACTORY" value="Nyholm\Psr7\Factory\Psr17Factory"/> | ||
<const name="SERVER_REQUEST_FACTORY" value="Nyholm\Psr7\Factory\Psr17Factory"/> | ||
<const name="UPLOADED_FILE_FACTORY" value="Nyholm\Psr7\Factory\Psr17Factory"/> | ||
<const name="URI_FACTORY" value="Nyholm\Psr7\Factory\Psr17Factory"/> | ||
<const name="STREAM_FACTORY" value="Nyholm\Psr7\Factory\Psr17Factory"/> | ||
</php> | ||
</phpunit> |