File tree Expand file tree Collapse file tree 3 files changed +0
-4
lines changed
Doctrine/Orm/Tests/Extension Expand file tree Collapse file tree 3 files changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -387,7 +387,6 @@ public function testGetResultWithFetchJoinCollection(bool $paginationFetchJoinCo
387387 $ this ->assertInstanceOf (PaginatorInterface::class, $ result );
388388
389389 $ doctrinePaginatorReflectionProperty = new \ReflectionProperty (AbstractPaginator::class, 'paginator ' );
390- $ doctrinePaginatorReflectionProperty ->setAccessible (true );
391390
392391 $ doctrinePaginator = $ doctrinePaginatorReflectionProperty ->getValue ($ result );
393392 $ this ->assertSame ($ expected , $ doctrinePaginator ->getFetchJoinCollection ());
@@ -435,7 +434,6 @@ public function testGetResultWithUseOutputWalkers(bool $paginationUseOutputWalke
435434 $ this ->assertInstanceOf (PaginatorInterface::class, $ result );
436435
437436 $ doctrinePaginatorReflectionProperty = new \ReflectionProperty (AbstractPaginator::class, 'paginator ' );
438- $ doctrinePaginatorReflectionProperty ->setAccessible (true );
439437
440438 $ doctrinePaginator = $ doctrinePaginatorReflectionProperty ->getValue ($ result );
441439 $ this ->assertSame ($ expected , $ doctrinePaginator ->getUseOutputWalkers ());
Original file line number Diff line number Diff line change @@ -295,7 +295,6 @@ public function testMaxDepth(): void
295295 {
296296 $ setId = function (MaxDepthDummy $ dummy , int $ id ): void {
297297 $ prop = new \ReflectionProperty ($ dummy , 'id ' );
298- $ prop ->setAccessible (true );
299298 $ prop ->setValue ($ dummy , $ id );
300299 };
301300
Original file line number Diff line number Diff line change @@ -38,7 +38,6 @@ protected function extractPath(string $path): void
3838 $ resourceReflection = new \ReflectionClass ($ resource );
3939
4040 foreach ($ resourceReflection ->getProperties () as $ property ) {
41- $ property ->setAccessible (true );
4241 $ resolvedValue = $ this ->resolve ($ property ->getValue ($ resource ));
4342 $ property ->setValue ($ resource , $ resolvedValue );
4443 }
You can’t perform that action at this time.
0 commit comments