-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Bump PHP to 8.1 * Bump to phpunit v10.5 * Enable `modernize_strpos` * Remove restriction on cs-config * Enable `ordered_attributes` * Enable `nullable_type_declaration` * Enable `php_unit_attributes` * Enable `ordered_types` * Require PHP 8.1 in ruleset
- Loading branch information
1 parent
8b2c0de
commit 1df8599
Showing
7 changed files
with
45 additions
and
49 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 |
---|---|---|
|
@@ -27,8 +27,6 @@ jobs: | |
fail-fast: false | ||
matrix: | ||
php-version: | ||
- '7.4' | ||
- '8.0' | ||
- '8.1' | ||
- '8.2' | ||
- '8.3' | ||
|
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 |
---|---|---|
|
@@ -27,8 +27,6 @@ jobs: | |
fail-fast: false | ||
matrix: | ||
php-version: | ||
- '7.4' | ||
- '8.0' | ||
- '8.1' | ||
- '8.2' | ||
- '8.3' | ||
|
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 |
---|---|---|
|
@@ -27,8 +27,6 @@ jobs: | |
fail-fast: false | ||
matrix: | ||
php-version: | ||
- '7.4' | ||
- '8.0' | ||
- '8.1' | ||
- '8.2' | ||
- '8.3' | ||
|
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,39 +1,36 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd" | ||
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd" | ||
bootstrap="vendor/autoload.php" | ||
cacheResultFile="build/phpunit/test-results" | ||
colors="true" | ||
columns="max" | ||
executionOrder="random" | ||
beStrictAboutOutputDuringTests="true" | ||
failOnRisky="true" | ||
failOnWarning="true" | ||
forceCoversAnnotation="true" | ||
beStrictAboutOutputDuringTests="true" | ||
beStrictAboutTodoAnnotatedTests="true" | ||
verbose="true" | ||
cacheDirectory="build/phpunit/cache" | ||
columns="max" | ||
requireCoverageMetadata="true" | ||
> | ||
<testsuites> | ||
<testsuite name="Coding Standards Test Suite"> | ||
<directory suffix="Test.php">tests/</directory> | ||
</testsuite> | ||
</testsuites> | ||
|
||
<testsuites> | ||
<testsuite name="Coding Standards Test Suite"> | ||
<directory suffix="Test.php">tests/</directory> | ||
</testsuite> | ||
</testsuites> | ||
|
||
<coverage cacheDirectory="build/phpunit/code-coverage" | ||
ignoreDeprecatedCodeUnits="true" | ||
processUncoveredFiles="true" | ||
> | ||
<include> | ||
<directory suffix=".php">src/</directory> | ||
</include> | ||
<source> | ||
<include> | ||
<directory suffix=".php">src/</directory> | ||
</include> | ||
</source> | ||
|
||
<report> | ||
<clover outputFile="build/phpunit/logs/clover.xml"/> | ||
<html outputDirectory="build/phpunit/logs/html"/> | ||
</report> | ||
</coverage> | ||
<coverage ignoreDeprecatedCodeUnits="true"> | ||
<report> | ||
<clover outputFile="build/phpunit/logs/clover.xml"/> | ||
<html outputDirectory="build/phpunit/logs/html"/> | ||
</report> | ||
</coverage> | ||
|
||
<extensions> | ||
<extension class="Nexus\PHPUnit\Extension\Tachycardia" /> | ||
</extensions> | ||
<extensions> | ||
<bootstrap class="Nexus\PHPUnit\Tachycardia\TachycardiaExtension" /> | ||
</extensions> | ||
</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