diff --git a/phpunit.xml.dist b/phpunit.xml.dist
index a4cbdb6a..6fb62349 100644
--- a/phpunit.xml.dist
+++ b/phpunit.xml.dist
@@ -5,10 +5,6 @@
bootstrap="./vendor/autoload.php"
cacheResultFile="build/.phpunit.result.cache"
colors="true"
- convertErrorsToExceptions="true"
- convertNoticesToExceptions="true"
- convertWarningsToExceptions="true"
- verbose="true"
stopOnFailure="false"
processIsolation="false"
backupGlobals="false"
@@ -16,9 +12,10 @@
./test/ComposerRequireCheckerTest
-
+
+
+
diff --git a/test/ComposerRequireCheckerTest/DefinedSymbolsLocator/LocateDefinedSymbolsFromComposerRuntimeApiTest.php b/test/ComposerRequireCheckerTest/DefinedSymbolsLocator/LocateDefinedSymbolsFromComposerRuntimeApiTest.php
index 310b22de..369fdfbe 100644
--- a/test/ComposerRequireCheckerTest/DefinedSymbolsLocator/LocateDefinedSymbolsFromComposerRuntimeApiTest.php
+++ b/test/ComposerRequireCheckerTest/DefinedSymbolsLocator/LocateDefinedSymbolsFromComposerRuntimeApiTest.php
@@ -37,7 +37,7 @@ public function testInstalledVersionsSymbol(string $composerJson): void
self::assertContains('Composer\InstalledVersions', $symbols);
}
- public function provideComposerJsonWithUnsuitableComposerRuntimeApi(): Generator
+ public static function provideComposerJsonWithUnsuitableComposerRuntimeApi(): Generator
{
yield ['{ "require": { "composer-runtime-api": "^1.0" } }'];
yield ['{ "require": { "composer-runtime-api": "^1" } }'];
@@ -45,7 +45,7 @@ public function provideComposerJsonWithUnsuitableComposerRuntimeApi(): Generator
yield ['{ "require": { "composer-runtime-api": "=1" } }'];
}
- public function provideComposerJsonWithSuitableComposerRuntimeApi(): Generator
+ public static function provideComposerJsonWithSuitableComposerRuntimeApi(): Generator
{
yield ['{ "require": { "composer-runtime-api": "^2.0" } }'];
yield ['{ "require": { "composer-runtime-api": "^2" } }'];
diff --git a/test/ComposerRequireCheckerTest/FileLocator/LocateAllFilesByExtensionTest.php b/test/ComposerRequireCheckerTest/FileLocator/LocateAllFilesByExtensionTest.php
index 3e392b49..f6c64f63 100644
--- a/test/ComposerRequireCheckerTest/FileLocator/LocateAllFilesByExtensionTest.php
+++ b/test/ComposerRequireCheckerTest/FileLocator/LocateAllFilesByExtensionTest.php
@@ -107,7 +107,7 @@ public function testLocateWithBlackList(array $blacklist, array $expectedFiles):
}
/** @return array>> */
- public function provideBlacklists(): array
+ public static function provideBlacklists(): array
{
return [
'No blacklist' => [
diff --git a/test/ComposerRequireCheckerTest/FileLocator/LocateComposerPackageSourceFilesTest.php b/test/ComposerRequireCheckerTest/FileLocator/LocateComposerPackageSourceFilesTest.php
index 3cef6918..e85867c0 100644
--- a/test/ComposerRequireCheckerTest/FileLocator/LocateComposerPackageSourceFilesTest.php
+++ b/test/ComposerRequireCheckerTest/FileLocator/LocateComposerPackageSourceFilesTest.php
@@ -183,7 +183,7 @@ public function testFromPsr4WithExcludeFromClassmap(array $excludedPattern, arra
}
/** @return array>> */
- public function provideExcludePattern(): array
+ public static function provideExcludePattern(): array
{
return [
'No exclude pattern' => [