File tree Expand file tree Collapse file tree 3 files changed +10
-16
lines changed Expand file tree Collapse file tree 3 files changed +10
-16
lines changed Original file line number Diff line number Diff line change @@ -32,10 +32,11 @@ public function testFindingOnSamplePhpdocLayout(): void
3232 include __DIR__ . '/../../examples/03-sample-phpdoc-layout.php ' ;
3333 $ basenameOf = static fn ($ value ) => pathinfo ($ value ['path ' ], PATHINFO_BASENAME );
3434
35+ sort ($ result );
3536 $ this ->assertCount (4 , $ result );
36- $ this ->assertSame ('Bootstrap.php ' , $ basenameOf ($ result [0 ]));
37- $ this ->assertSame ('Application.php ' , $ basenameOf ($ result [1 ]));
38- $ this ->assertSame ('JmsSerializerServiceProvider.php ' , $ basenameOf ($ result [2 ]));
39- $ this ->assertSame ('MonologServiceProvider.php ' , $ basenameOf ($ result [3 ]));
37+ $ this ->assertSame ('Bootstrap.php ' , $ basenameOf ($ result [3 ]));
38+ $ this ->assertSame ('Application.php ' , $ basenameOf ($ result [2 ]));
39+ $ this ->assertSame ('JmsSerializerServiceProvider.php ' , $ basenameOf ($ result [0 ]));
40+ $ this ->assertSame ('MonologServiceProvider.php ' , $ basenameOf ($ result [1 ]));
4041 }
4142}
Original file line number Diff line number Diff line change @@ -32,10 +32,11 @@ public function testFindingOnSamplePhpdocLayout(): void
3232 include __DIR__ . '/../../examples/04-sample-phpdoc-layout-using-glob.php ' ;
3333 $ basenameOf = static fn ($ value ) => pathinfo ($ value ['path ' ], PATHINFO_BASENAME );
3434
35+ sort ($ result );
3536 $ this ->assertCount (4 , $ result );
36- $ this ->assertSame ('Bootstrap.php ' , $ basenameOf ($ result [0 ]));
37- $ this ->assertSame ('Application.php ' , $ basenameOf ($ result [1 ]));
38- $ this ->assertSame ('JmsSerializerServiceProvider.php ' , $ basenameOf ($ result [2 ]));
39- $ this ->assertSame ('MonologServiceProvider.php ' , $ basenameOf ($ result [3 ]));
37+ $ this ->assertSame ('Bootstrap.php ' , $ basenameOf ($ result [3 ]));
38+ $ this ->assertSame ('Application.php ' , $ basenameOf ($ result [2 ]));
39+ $ this ->assertSame ('JmsSerializerServiceProvider.php ' , $ basenameOf ($ result [0 ]));
40+ $ this ->assertSame ('MonologServiceProvider.php ' , $ basenameOf ($ result [1 ]));
4041 }
4142}
Original file line number Diff line number Diff line change @@ -55,9 +55,6 @@ public function tearDown(): void
5555 m::close ();
5656 }
5757
58- /**
59- * @covers ::getMethod
60- */
6158 public function testIfNotHiddenLetsSubpathsThrough (): void
6259 {
6360 $ files = ['foo/bar/.hidden/baz/not-hidden.txt ' ];
@@ -162,11 +159,6 @@ public function testIfNegatedAndCullsExactMatches(): void
162159 );
163160 }
164161
165- /**
166- * @covers ::handle
167- * @covers ::setFilesystem
168- * @covers ::<private>
169- */
170162 public function testIfCorrectFilesAreBeingYielded (): void
171163 {
172164 $ isHidden = m::mock (IsHidden::class);
You can’t perform that action at this time.
0 commit comments