Skip to content

Commit 85548d6

Browse files
author
rotimi
committed
PHP 8.1 minimum version readiness
1 parent bc8d33f commit 85548d6

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

phpunit.xml.dist

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="./tests/bootstrap.php" colors="true" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="./tests/bootstrap.php" colors="true" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.3/phpunit.xsd">
33
<coverage>
4-
<include>
5-
<directory suffix=".php">./src</directory>
6-
</include>
7-
<exclude/>
84
<report>
95
<clover outputFile="build/logs/clover.xml"/>
106
<html outputDirectory="build/coverage" lowUpperBound="35" highLowerBound="70"/>
@@ -18,4 +14,10 @@
1814
<logging>
1915
<junit outputFile="build/logs/junit.xml"/>
2016
</logging>
17+
<source>
18+
<include>
19+
<directory suffix=".php">./src</directory>
20+
</include>
21+
<exclude/>
22+
</source>
2123
</phpunit>

rector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
$rectorConfigurator->import(SetList::PHP_80);
2121
$rectorConfigurator->import(SetList::PHP_81);
2222
$rectorConfigurator->import(SetList::DEAD_CODE);
23-
$rectorConfigurator->import(SetList::PSR_4);
23+
//$rectorConfigurator->import(SetList::PSR_4);
2424
$rectorConfigurator->import(SetList::TYPE_DECLARATION);
2525

2626
$rectorConfigurator->skip([

0 commit comments

Comments
 (0)