mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
chore: bumps dependencies
This commit is contained in:
@ -18,7 +18,7 @@
|
|||||||
],
|
],
|
||||||
"require": {
|
"require": {
|
||||||
"php": "^8.2.0",
|
"php": "^8.2.0",
|
||||||
"brianium/paratest": "^7.8.3",
|
"brianium/paratest": "^7.8.4",
|
||||||
"nunomaduro/collision": "^8.8.2",
|
"nunomaduro/collision": "^8.8.2",
|
||||||
"nunomaduro/termwind": "^2.3.1",
|
"nunomaduro/termwind": "^2.3.1",
|
||||||
"pestphp/pest-plugin": "^3.0.0",
|
"pestphp/pest-plugin": "^3.0.0",
|
||||||
|
|||||||
@ -232,7 +232,6 @@ final class TeamCityLogger
|
|||||||
$reflector = new ReflectionClass($telemetry);
|
$reflector = new ReflectionClass($telemetry);
|
||||||
|
|
||||||
$property = $reflector->getProperty('current');
|
$property = $reflector->getProperty('current');
|
||||||
$property->setAccessible(true);
|
|
||||||
$snapshot = $property->getValue($telemetry);
|
$snapshot = $property->getValue($telemetry);
|
||||||
assert($snapshot instanceof Snapshot);
|
assert($snapshot instanceof Snapshot);
|
||||||
|
|
||||||
|
|||||||
@ -23,14 +23,12 @@ final class EnsureIgnorableTestCasesAreIgnored implements StartedSubscriber
|
|||||||
{
|
{
|
||||||
$reflection = new ReflectionClass(Facade::class);
|
$reflection = new ReflectionClass(Facade::class);
|
||||||
$property = $reflection->getProperty('collector');
|
$property = $reflection->getProperty('collector');
|
||||||
$property->setAccessible(true);
|
|
||||||
$collector = $property->getValue();
|
$collector = $property->getValue();
|
||||||
|
|
||||||
assert($collector instanceof Collector);
|
assert($collector instanceof Collector);
|
||||||
|
|
||||||
$reflection = new ReflectionClass($collector);
|
$reflection = new ReflectionClass($collector);
|
||||||
$property = $reflection->getProperty('testRunnerTriggeredWarningEvents');
|
$property = $reflection->getProperty('testRunnerTriggeredWarningEvents');
|
||||||
$property->setAccessible(true);
|
|
||||||
|
|
||||||
/** @var array<int, WarningTriggered> $testRunnerTriggeredWarningEvents */
|
/** @var array<int, WarningTriggered> $testRunnerTriggeredWarningEvents */
|
||||||
$testRunnerTriggeredWarningEvents = $property->getValue($collector);
|
$testRunnerTriggeredWarningEvents = $property->getValue($collector);
|
||||||
|
|||||||
@ -34,8 +34,6 @@ final class Reflection
|
|||||||
try {
|
try {
|
||||||
$reflectionMethod = $reflectionClass->getMethod($method);
|
$reflectionMethod = $reflectionClass->getMethod($method);
|
||||||
|
|
||||||
$reflectionMethod->setAccessible(true);
|
|
||||||
|
|
||||||
return $reflectionMethod->invoke($object, ...$args);
|
return $reflectionMethod->invoke($object, ...$args);
|
||||||
} catch (ReflectionException $exception) {
|
} catch (ReflectionException $exception) {
|
||||||
if (method_exists($object, '__call')) {
|
if (method_exists($object, '__call')) {
|
||||||
@ -113,8 +111,6 @@ final class Reflection
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$reflectionProperty->setAccessible(true);
|
|
||||||
|
|
||||||
return $reflectionProperty->getValue($object);
|
return $reflectionProperty->getValue($object);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -144,8 +140,6 @@ final class Reflection
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$reflectionProperty->setAccessible(true);
|
|
||||||
$reflectionProperty->setValue($object, $value);
|
$reflectionProperty->setValue($object, $value);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user