-
Notifications
You must be signed in to change notification settings - Fork 11
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 #25 from lukasoppermann/fix-phpunit
Upgrade to phpunit 9 & drop support for < php 7.3
- Loading branch information
Showing
8 changed files
with
78 additions
and
43 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 +1 @@ | ||
{"php":"7.3.11","version":"2.16.4:v2.16.4#1023c3458137ab052f6ff1e09621a721bfdeca13","indent":" ","lineEnding":"\n","rules":{"blank_line_after_namespace":true,"braces":true,"class_definition":true,"constant_case":true,"elseif":true,"function_declaration":true,"indentation_type":true,"line_ending":true,"lowercase_keywords":true,"method_argument_space":{"on_multiline":"ensure_fully_multiline"},"no_break_comment":true,"no_closing_tag":true,"no_spaces_after_function_name":true,"no_spaces_inside_parenthesis":true,"no_trailing_whitespace":true,"no_trailing_whitespace_in_comment":true,"single_blank_line_at_eof":true,"single_class_element_per_statement":{"elements":["property"]},"single_import_per_statement":true,"single_line_after_imports":true,"switch_case_semicolon_to_colon":true,"switch_case_space":true,"visibility_required":true,"encoding":true,"full_opening_tag":true,"array_syntax":{"syntax":"short"},"concat_space":{"spacing":"none"}},"hashes":{"src\/Httpstatus.php":2174810979,"src\/Httpstatuscodes.php":2078825867,"tests\/HttpstatuscodesTest.php":4152359845,"tests\/HttpstatusTest.php":3909827068}} | ||
{"php":"7.3.11","version":"2.16.7:v2.16.7#4e35806a6d7d8510d6842ae932e8832363d22c87","indent":" ","lineEnding":"\n","rules":{"blank_line_after_namespace":true,"braces":true,"class_definition":true,"constant_case":true,"elseif":true,"function_declaration":true,"indentation_type":true,"line_ending":true,"lowercase_keywords":true,"method_argument_space":{"on_multiline":"ensure_fully_multiline"},"no_break_comment":true,"no_closing_tag":true,"no_spaces_after_function_name":true,"no_spaces_inside_parenthesis":true,"no_trailing_whitespace":true,"no_trailing_whitespace_in_comment":true,"single_blank_line_at_eof":true,"single_class_element_per_statement":{"elements":["property"]},"single_import_per_statement":true,"single_line_after_imports":true,"switch_case_semicolon_to_colon":true,"switch_case_space":true,"visibility_required":true,"encoding":true,"full_opening_tag":true,"array_syntax":{"syntax":"short"},"concat_space":{"spacing":"none"}},"hashes":{"src\/Httpstatus.php":2174810979,"src\/Httpstatuscodes.php":2078825867,"tests\/HttpstatuscodesTest.php":2890212170}} |
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 @@ | ||
C:37:"PHPUnit\Runner\DefaultTestResultCache":6609:{a:2:{s:7:"defects";a:25:{s:87:"Lukasoppermann\Httpstatus\tests\HttpstatusTest::testInvalidCustomTexts with data set #0";i:4;s:87:"Lukasoppermann\Httpstatus\tests\HttpstatusTest::testInvalidCustomTexts with data set #1";i:4;s:87:"Lukasoppermann\Httpstatus\tests\HttpstatusTest::testInvalidCustomTexts with data set #2";i:4;s:87:"Lukasoppermann\Httpstatus\tests\HttpstatusTest::testInvalidCustomTexts with data set #3";i:4;s:87:"Lukasoppermann\Httpstatus\tests\HttpstatusTest::testInvalidCustomTexts with data set #4";i:4;s:98:"Lukasoppermann\Httpstatus\tests\HttpstatusTest::testInvalidReasonPhraseWithCarriageReturnCharacter";i:4;s:72:"Lukasoppermann\Httpstatus\tests\HttpstatusTest::testNonExistentIndexCode";i:4;s:68:"Lukasoppermann\Httpstatus\tests\HttpstatusTest::testInvalidIndexCode";i:4;s:90:"Lukasoppermann\Httpstatus\tests\HttpstatusTest::testInvalidTypeCode with data set "string"";i:4;s:89:"Lukasoppermann\Httpstatus\tests\HttpstatusTest::testInvalidTypeCode with data set "array"";i:4;s:88:"Lukasoppermann\Httpstatus\tests\HttpstatusTest::testInvalidTypeCode with data set "bool"";i:4;s:93:"Lukasoppermann\Httpstatus\tests\HttpstatusTest::testInvalidTypeCode with data set "min range"";i:4;s:93:"Lukasoppermann\Httpstatus\tests\HttpstatusTest::testInvalidTypeCode with data set "max range"";i:4;s:99:"Lukasoppermann\Httpstatus\tests\HttpstatusTest::testInvalidTypeCode with data set "standard Object"";i:4;s:68:"Lukasoppermann\Httpstatus\tests\HttpstatusTest::testInvalidIndexText";i:4;s:83:"Lukasoppermann\Httpstatus\tests\HttpstatusTest::testInvalidText with data set "int"";i:4;s:85:"Lukasoppermann\Httpstatus\tests\HttpstatusTest::testInvalidText with data set "array"";i:4;s:84:"Lukasoppermann\Httpstatus\tests\HttpstatusTest::testInvalidText with data set "bool"";i:4;s:95:"Lukasoppermann\Httpstatus\tests\HttpstatusTest::testInvalidText with data set "standard Object"";i:4;s:80:"Lukasoppermann\Httpstatus\tests\HttpstatusTest::testInvalidConstructorCollection";i:4;s:7:"Warning";i:6;s:100:"Lukasoppermann\Httpstatus\tests\HttpstatusTest::testGetResponseClassForInvalidCodes with data set #0";i:4;s:100:"Lukasoppermann\Httpstatus\tests\HttpstatusTest::testGetResponseClassForInvalidCodes with data set #1";i:4;s:100:"Lukasoppermann\Httpstatus\tests\HttpstatusTest::testGetResponseClassForInvalidCodes with data set #2";i:4;s:100:"Lukasoppermann\Httpstatus\tests\HttpstatusTest::testGetResponseClassForInvalidCodes with data set #3";i:4;}s:5:"times";a:44:{s:87:"Lukasoppermann\Httpstatus\tests\HttpstatusTest::testInvalidCustomTexts with data set #0";d:0.003;s:87:"Lukasoppermann\Httpstatus\tests\HttpstatusTest::testInvalidCustomTexts with data set #1";d:0;s:87:"Lukasoppermann\Httpstatus\tests\HttpstatusTest::testInvalidCustomTexts with data set #2";d:0;s:87:"Lukasoppermann\Httpstatus\tests\HttpstatusTest::testInvalidCustomTexts with data set #3";d:0;s:87:"Lukasoppermann\Httpstatus\tests\HttpstatusTest::testInvalidCustomTexts with data set #4";d:0;s:61:"Lukasoppermann\Httpstatus\tests\HttpstatusTest::testCountable";d:0;s:69:"Lukasoppermann\Httpstatus\tests\HttpstatusTest::testIteratorAggregate";d:0;s:65:"Lukasoppermann\Httpstatus\tests\HttpstatusTest::testGetStatusText";d:0;s:65:"Lukasoppermann\Httpstatus\tests\HttpstatusTest::testGetStatusCode";d:0.001;s:80:"Lukasoppermann\Httpstatus\tests\HttpstatusTest::testGetStatusCodeCaseInsensitive";d:0.001;s:71:"Lukasoppermann\Httpstatus\tests\HttpstatusTest::testGetStatusTextCustom";d:0;s:98:"Lukasoppermann\Httpstatus\tests\HttpstatusTest::testInvalidReasonPhraseWithCarriageReturnCharacter";d:0;s:72:"Lukasoppermann\Httpstatus\tests\HttpstatusTest::testNonExistentIndexCode";d:0;s:68:"Lukasoppermann\Httpstatus\tests\HttpstatusTest::testInvalidIndexCode";d:0;s:90:"Lukasoppermann\Httpstatus\tests\HttpstatusTest::testInvalidTypeCode with data set "string"";d:0;s:89:"Lukasoppermann\Httpstatus\tests\HttpstatusTest::testInvalidTypeCode with data set "array"";d:0;s:88:"Lukasoppermann\Httpstatus\tests\HttpstatusTest::testInvalidTypeCode with data set "bool"";d:0;s:93:"Lukasoppermann\Httpstatus\tests\HttpstatusTest::testInvalidTypeCode with data set "min range"";d:0;s:93:"Lukasoppermann\Httpstatus\tests\HttpstatusTest::testInvalidTypeCode with data set "max range"";d:0;s:99:"Lukasoppermann\Httpstatus\tests\HttpstatusTest::testInvalidTypeCode with data set "standard Object"";d:0;s:68:"Lukasoppermann\Httpstatus\tests\HttpstatusTest::testInvalidIndexText";d:0;s:83:"Lukasoppermann\Httpstatus\tests\HttpstatusTest::testInvalidText with data set "int"";d:0;s:85:"Lukasoppermann\Httpstatus\tests\HttpstatusTest::testInvalidText with data set "array"";d:0;s:84:"Lukasoppermann\Httpstatus\tests\HttpstatusTest::testInvalidText with data set "bool"";d:0;s:95:"Lukasoppermann\Httpstatus\tests\HttpstatusTest::testInvalidText with data set "standard Object"";d:0;s:80:"Lukasoppermann\Httpstatus\tests\HttpstatusTest::testInvalidConstructorCollection";d:0;s:65:"Lukasoppermann\Httpstatus\tests\HttpstatusTest::testHasStatusCode";d:0;s:67:"Lukasoppermann\Httpstatus\tests\HttpstatusTest::testHasReasonPhrase";d:0.001;s:7:"Warning";d:0;s:100:"Lukasoppermann\Httpstatus\tests\HttpstatusTest::testGetResponseClassForInvalidCodes with data set #0";d:0;s:100:"Lukasoppermann\Httpstatus\tests\HttpstatusTest::testGetResponseClassForInvalidCodes with data set #1";d:0;s:100:"Lukasoppermann\Httpstatus\tests\HttpstatusTest::testGetResponseClassForInvalidCodes with data set #2";d:0;s:100:"Lukasoppermann\Httpstatus\tests\HttpstatusTest::testGetResponseClassForInvalidCodes with data set #3";d:0;s:66:"Lukasoppermann\Httpstatus\tests\HttpstatuscodesTest::testConstants";d:0;s:85:"Lukasoppermann\Httpstatus\tests\HttpstatusTest::testGetResponseClass with data set #0";d:0;s:85:"Lukasoppermann\Httpstatus\tests\HttpstatusTest::testGetResponseClass with data set #1";d:0;s:85:"Lukasoppermann\Httpstatus\tests\HttpstatusTest::testGetResponseClass with data set #2";d:0;s:85:"Lukasoppermann\Httpstatus\tests\HttpstatusTest::testGetResponseClass with data set #3";d:0;s:85:"Lukasoppermann\Httpstatus\tests\HttpstatusTest::testGetResponseClass with data set #4";d:0;s:85:"Lukasoppermann\Httpstatus\tests\HttpstatusTest::testGetResponseClass with data set #5";d:0;s:85:"Lukasoppermann\Httpstatus\tests\HttpstatusTest::testGetResponseClass with data set #6";d:0;s:85:"Lukasoppermann\Httpstatus\tests\HttpstatusTest::testGetResponseClass with data set #7";d:0;s:85:"Lukasoppermann\Httpstatus\tests\HttpstatusTest::testGetResponseClass with data set #8";d:0;s:85:"Lukasoppermann\Httpstatus\tests\HttpstatusTest::testGetResponseClass with data set #9";d:0;}}} |
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,31 +1,23 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<phpunit bootstrap="vendor/autoload.php" | ||
backupGlobals="false" | ||
backupStaticAttributes="false" | ||
colors="true" | ||
verbose="true" | ||
convertErrorsToExceptions="true" | ||
convertNoticesToExceptions="true" | ||
convertWarningsToExceptions="true" | ||
processIsolation="false" | ||
stopOnFailure="false"> | ||
<testsuites> | ||
<testsuite name="Httpstatus-php Test Suite"> | ||
<directory>tests</directory> | ||
</testsuite> | ||
</testsuites> | ||
<filter> | ||
<whitelist> | ||
<directory suffix=".php">src/</directory> | ||
</whitelist> | ||
</filter> | ||
<logging> | ||
<log type="tap" target="build/report.tap"/> | ||
<log type="junit" target="build/report.junit.xml"/> | ||
<log type="coverage-text" target="build/coverage.txt"/> | ||
<log type="coverage-clover" target="build/logs/clover.xml"/> | ||
</logging> | ||
<php> | ||
<env name="SYMFONY_DEPRECATIONS_HELPER" value="disabled" /> | ||
</php> | ||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="vendor/autoload.php" backupGlobals="false" backupStaticAttributes="false" colors="true" verbose="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" processIsolation="false" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"> | ||
<coverage> | ||
<include> | ||
<directory suffix=".php">src/</directory> | ||
</include> | ||
<report> | ||
<clover outputFile="build/logs/clover.xml"/> | ||
<text outputFile="build/coverage.txt"/> | ||
</report> | ||
</coverage> | ||
<testsuites> | ||
<testsuite name="Httpstatus-php Test Suite"> | ||
<directory>tests</directory> | ||
</testsuite> | ||
</testsuites> | ||
<logging> | ||
<junit outputFile="build/report.junit.xml"/> | ||
</logging> | ||
<php> | ||
<env name="SYMFONY_DEPRECATIONS_HELPER" value="disabled"/> | ||
</php> | ||
</phpunit> |
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,31 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<phpunit bootstrap="vendor/autoload.php" | ||
backupGlobals="false" | ||
backupStaticAttributes="false" | ||
colors="true" | ||
verbose="true" | ||
convertErrorsToExceptions="true" | ||
convertNoticesToExceptions="true" | ||
convertWarningsToExceptions="true" | ||
processIsolation="false" | ||
stopOnFailure="false"> | ||
<testsuites> | ||
<testsuite name="Httpstatus-php Test Suite"> | ||
<directory>tests</directory> | ||
</testsuite> | ||
</testsuites> | ||
<filter> | ||
<whitelist> | ||
<directory suffix=".php">src/</directory> | ||
</whitelist> | ||
</filter> | ||
<logging> | ||
<log type="tap" target="build/report.tap"/> | ||
<log type="junit" target="build/report.junit.xml"/> | ||
<log type="coverage-text" target="build/coverage.txt"/> | ||
<log type="coverage-clover" target="build/logs/clover.xml"/> | ||
</logging> | ||
<php> | ||
<env name="SYMFONY_DEPRECATIONS_HELPER" value="disabled" /> | ||
</php> | ||
</phpunit> |
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