Skip to content

Commit 0b6fbd5

Browse files
committed
Roll back PHPUnit
1 parent 4b45be6 commit 0b6fbd5

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
},
2626
"require-dev": {
2727
"orchestra/testbench": "^4.10 || ^5.9 || ^6.4",
28-
"phpunit/phpunit": "^8.5 || ^9.3",
28+
"phpunit/phpunit": "^8.5",
2929
"php-coveralls/php-coveralls": "^2.4",
3030
"spatie/phpunit-snapshot-assertions": "^2.2 || ^4.2"
3131
},

phpunit.xml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phpunit
3-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4-
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
53
backupGlobals="false"
64
backupStaticAttributes="false"
75
beStrictAboutChangesToGlobalState="true"
@@ -15,7 +13,8 @@
1513
convertWarningsToExceptions="true"
1614
processIsolation="false"
1715
stopOnFailure="false"
18-
verbose="true">
16+
verbose="true"
17+
>
1918

2019
<!-- List of files with tests inside -->
2120
<testsuites>
@@ -25,10 +24,10 @@
2524
</testsuites>
2625

2726
<!-- List of source files for code coverage checker -->
28-
<coverage processUncoveredFiles="true">
29-
<include>
27+
<filter>
28+
<whitelist processUncoveredFilesFromWhitelist="true">
3029
<directory suffix=".php">src/</directory>
31-
</include>
32-
</coverage>
30+
</whitelist>
31+
</filter>
3332

3433
</phpunit>

tests/FacadePhpDocTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public function testFullyQualifiedClassNames($class, $line)
4343
{
4444
// IDE Helper (v2.4.3) doesn't rewrite class names to FQCNs, so make sure only
4545
// fully qualified class names and built-in types are used in the Manager class
46-
$this->assertMatchesRegularExpression(
46+
$this->assertRegExp(
4747
'/^(\\\\.*|array|bool|callable|int|mixed|null|string|void)$/',
4848
$class,
4949
"Must use fully qualified class names in BreadcrumbsManger PhpDoc: $line"

0 commit comments

Comments
 (0)