Skip to content

Commit

Permalink
Drop noop setAccessible() calls
Browse files Browse the repository at this point in the history
Signed-off-by: Aleksei Khudiakov <[email protected]>
  • Loading branch information
Xerkus committed Nov 21, 2023
1 parent e2e1430 commit 71c1c06
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions test/ComponentInstallerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -1366,7 +1366,6 @@ public function testGetModuleDependenciesFromModuleClass(string $file, array $re
{
$r = new ReflectionObject($this->installer);
$rm = $r->getMethod('getModuleDependencies');
$rm->setAccessible(true);

/** @psalm-suppress MixedAssignment We do want to assert the value and thus we do not care about mixed here. */
$dependencies = $rm->invoke($this->installer, $file);
Expand Down Expand Up @@ -1412,7 +1411,6 @@ public function testGetModuleClassesDependenciesHandlesAutoloadersWithMultiplePa

$r = new ReflectionObject($this->installer);
$rm = $r->getMethod('loadModuleClassesDependencies');
$rm->setAccessible(true);

/** @psalm-suppress MixedAssignment We do want to assert the value and thus we do not care about mixed here. */
$dependencies = $rm->invoke($this->installer, $package);
Expand Down

0 comments on commit 71c1c06

Please sign in to comment.