@@ -49,7 +49,6 @@ public function testLoadMapFromApacheFile(): void
4949 'txt ' => ['t ' => ['text/plain ' ]],
5050 ],
5151 ];
52- // @phpstan-ignore method.impossibleType
5352 $ this ->assertSame ($ expected , $ this ->newMap ->getMapArray ());
5453 $ this ->assertSame (['image/jpeg ' , 'text/plain ' ], $ this ->newMap ->listTypes ());
5554 $ this ->assertSame (['jpe ' , 'jpeg ' , 'jpg ' , 'txt ' ], $ this ->newMap ->listExtensions ());
@@ -111,7 +110,6 @@ public function testLoadMapFromFreedesktopFile(): void
111110 'image/pdf ' => ['t ' => ['application/pdf ' ]],
112111 ],
113112 ];
114- // @phpstan-ignore method.impossibleType
115113 $ this ->assertSame ($ expected , $ this ->newMap ->getMapArray ());
116114 $ this ->assertSame (['application/pdf ' , 'application/x-atari-2600-rom ' , 'application/x-pdf ' , 'text/plain ' ], $ this ->newMap ->listTypes ());
117115 $ this ->assertSame (['a26 ' , 'asc ' , 'pdf ' , 'txt ' ], $ this ->newMap ->listExtensions ());
@@ -121,7 +119,6 @@ public function testLoadMapFromFreedesktopFile(): void
121119 public function testLoadMapFromFreedesktopFileZeroLines (): void
122120 {
123121 $ this ->updater ->loadMapFromFreedesktopFile (dirname (__FILE__ ) . '/../fixtures/zero.freedesktop.xml ' );
124- // @phpstan-ignore method.impossibleType
125122 $ this ->assertSame ([], $ this ->newMap ->getMapArray ());
126123 }
127124
@@ -149,7 +146,6 @@ public function testWriteMapToPhpClassFile(): void
149146 {
150147 $ this ->fileSystem ->copy (__DIR__ . '/../fixtures/MiniMap.php.test ' , __DIR__ . '/../fixtures/MiniMap.php ' );
151148 include_once (__DIR__ . '/../fixtures/MiniMap.php ' );
152- // @phpstan-ignore class.notFound, argument.type
153149 MapHandler::setDefaultMapClass (MiniMap::class);
154150 $ map_a = MapHandler::map ();
155151 $ this ->assertStringContainsString ('fixtures/MiniMap.php ' , $ map_a ->getFileName ());
@@ -171,7 +167,6 @@ public function testWriteMapToPhpClassFileFailure(): void
171167 {
172168 $ this ->fileSystem ->copy (__DIR__ . '/../fixtures/MiniMap.php.test ' , __DIR__ . '/../fixtures/MiniMap.php ' );
173169 include_once (__DIR__ . '/../fixtures/MiniMap.php ' );
174- // @phpstan-ignore class.notFound, argument.type
175170 MapHandler::setDefaultMapClass (MiniMap::class);
176171 $ map_a = MapHandler::map ();
177172 $ this ->assertStringContainsString ('fixtures/MiniMap.php ' , $ map_a ->getFileName ());
0 commit comments