mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-17 20:34:51 +08:00
Fix composer phpunit version problem
This commit is contained in:
parent
54cf6fe692
commit
f067a510b7
@ -20,10 +20,10 @@
|
||||
"captainhook/captainhook-phar": "^5.23",
|
||||
"captainhook/hook-installer": "^1.0",
|
||||
"friendsofphp/php-cs-fixer": "^3.25",
|
||||
"humbug/box": "^4.5",
|
||||
"humbug/box": "^4.5.0 || ^4.6.0",
|
||||
"nunomaduro/collision": "^7.8",
|
||||
"phpstan/phpstan": "^1.10",
|
||||
"phpunit/phpunit": "^10.3"
|
||||
"phpunit/phpunit": "^10.3 || ^9.5"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
|
||||
2165
composer.lock
generated
2165
composer.lock
generated
File diff suppressed because it is too large
Load Diff
@ -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 . '";';
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user