mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-08 09:25:35 +08:00
Fix composer phpunit version problem
This commit is contained in:
@@ -166,7 +166,9 @@ class BuilderTest extends TestCase
|
||||
];
|
||||
}
|
||||
|
||||
#[DataProvider('providerGetBuildTypeName')]
|
||||
/**
|
||||
* @dataProvider providerGetBuildTypeName
|
||||
*/
|
||||
public function testGetBuildTypeName(int $target, string $name): void
|
||||
{
|
||||
$this->assertEquals($name, $this->builder->getBuildTypeName($target));
|
||||
@@ -228,7 +230,9 @@ class BuilderTest extends TestCase
|
||||
];
|
||||
}
|
||||
|
||||
#[DataProvider('providerEmitPatchPoint')]
|
||||
/**
|
||||
* @dataProvider providerEmitPatchPoint
|
||||
*/
|
||||
public function testEmitPatchPoint(string $point)
|
||||
{
|
||||
$code = '<?php if (patch_point() === "' . $point . '") echo "GOOD:' . $point . '";';
|
||||
|
||||
Reference in New Issue
Block a user