aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/App/DependencyAnalyzerTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/App/DependencyAnalyzerTest.php')
-rw-r--r--tests/lib/App/DependencyAnalyzerTest.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/lib/App/DependencyAnalyzerTest.php b/tests/lib/App/DependencyAnalyzerTest.php
index a304b0935b7..db53d678881 100644
--- a/tests/lib/App/DependencyAnalyzerTest.php
+++ b/tests/lib/App/DependencyAnalyzerTest.php
@@ -68,13 +68,13 @@ class DependencyAnalyzerTest extends TestCase {
}
/**
- * @dataProvider providesPhpVersion
*
* @param string $expectedMissing
* @param string $minVersion
* @param string $maxVersion
* @param string $intSize
*/
+ #[\PHPUnit\Framework\Attributes\DataProvider('providesPhpVersion')]
public function testPhpVersion($expectedMissing, $minVersion, $maxVersion, $intSize): void {
$app = [
'dependencies' => [
@@ -97,10 +97,10 @@ class DependencyAnalyzerTest extends TestCase {
}
/**
- * @dataProvider providesDatabases
* @param $expectedMissing
* @param $databases
*/
+ #[\PHPUnit\Framework\Attributes\DataProvider('providesDatabases')]
public function testDatabases($expectedMissing, $databases): void {
$app = [
'dependencies' => [
@@ -116,11 +116,11 @@ class DependencyAnalyzerTest extends TestCase {
}
/**
- * @dataProvider providesCommands
*
* @param string $expectedMissing
* @param string|null $commands
*/
+ #[\PHPUnit\Framework\Attributes\DataProvider('providesCommands')]
public function testCommand($expectedMissing, $commands): void {
$app = [
'dependencies' => [
@@ -136,10 +136,10 @@ class DependencyAnalyzerTest extends TestCase {
}
/**
- * @dataProvider providesLibs
* @param $expectedMissing
* @param $libs
*/
+ #[\PHPUnit\Framework\Attributes\DataProvider('providesLibs')]
public function testLibs($expectedMissing, $libs): void {
$app = [
'dependencies' => [
@@ -156,10 +156,10 @@ class DependencyAnalyzerTest extends TestCase {
}
/**
- * @dataProvider providesOS
* @param $expectedMissing
* @param $oss
*/
+ #[\PHPUnit\Framework\Attributes\DataProvider('providesOS')]
public function testOS($expectedMissing, $oss): void {
$app = [
'dependencies' => []
@@ -175,10 +175,10 @@ class DependencyAnalyzerTest extends TestCase {
}
/**
- * @dataProvider providesOC
* @param $expectedMissing
* @param $oc
*/
+ #[\PHPUnit\Framework\Attributes\DataProvider('providesOC')]
public function testOC($expectedMissing, $oc): void {
$app = [
'dependencies' => []