chore: bumps dependencies

This commit is contained in:
Nuno Maduro
2025-08-20 14:21:14 +01:00
parent 165c879fe6
commit 027f4e4832
4 changed files with 1 additions and 10 deletions

View File

@ -18,7 +18,7 @@
],
"require": {
"php": "^8.2.0",
"brianium/paratest": "^7.8.3",
"brianium/paratest": "^7.8.4",
"nunomaduro/collision": "^8.8.2",
"nunomaduro/termwind": "^2.3.1",
"pestphp/pest-plugin": "^3.0.0",

View File

@ -232,7 +232,6 @@ final class TeamCityLogger
$reflector = new ReflectionClass($telemetry);
$property = $reflector->getProperty('current');
$property->setAccessible(true);
$snapshot = $property->getValue($telemetry);
assert($snapshot instanceof Snapshot);

View File

@ -23,14 +23,12 @@ final class EnsureIgnorableTestCasesAreIgnored implements StartedSubscriber
{
$reflection = new ReflectionClass(Facade::class);
$property = $reflection->getProperty('collector');
$property->setAccessible(true);
$collector = $property->getValue();
assert($collector instanceof Collector);
$reflection = new ReflectionClass($collector);
$property = $reflection->getProperty('testRunnerTriggeredWarningEvents');
$property->setAccessible(true);
/** @var array<int, WarningTriggered> $testRunnerTriggeredWarningEvents */
$testRunnerTriggeredWarningEvents = $property->getValue($collector);

View File

@ -34,8 +34,6 @@ final class Reflection
try {
$reflectionMethod = $reflectionClass->getMethod($method);
$reflectionMethod->setAccessible(true);
return $reflectionMethod->invoke($object, ...$args);
} catch (ReflectionException $exception) {
if (method_exists($object, '__call')) {
@ -113,8 +111,6 @@ final class Reflection
}
}
$reflectionProperty->setAccessible(true);
return $reflectionProperty->getValue($object);
}
@ -144,8 +140,6 @@ final class Reflection
}
}
}
$reflectionProperty->setAccessible(true);
$reflectionProperty->setValue($object, $value);
}