@@ -763,9 +763,9 @@ public function testDiscussion7124(): void
763
763
764
764
$ errors = $ this ->runAnalyse (__DIR__ . '/data/discussion-7124.php ' );
765
765
$ this ->assertCount (4 , $ errors );
766
- $ this ->assertSame ('Parameter #2 $callback of function Discussion7124\filter expects callable(bool, int= ): bool, Closure(int, bool): bool given. ' , $ errors [0 ]->getMessage ());
766
+ $ this ->assertSame ('Parameter #2 $callback of function Discussion7124\filter expects callable(bool, int): bool, Closure(int, bool): bool given. ' , $ errors [0 ]->getMessage ());
767
767
$ this ->assertSame (38 , $ errors [0 ]->getLine ());
768
- $ this ->assertSame ('Parameter #2 $callback of function Discussion7124\filter expects callable(bool, int= ): bool, Closure(int): bool given. ' , $ errors [1 ]->getMessage ());
768
+ $ this ->assertSame ('Parameter #2 $callback of function Discussion7124\filter expects callable(bool, int): bool, Closure(int): bool given. ' , $ errors [1 ]->getMessage ());
769
769
$ this ->assertSame (45 , $ errors [1 ]->getLine ());
770
770
$ this ->assertSame ('Parameter #2 $callback of function Discussion7124\filter expects callable(int): bool, Closure(bool): bool given. ' , $ errors [2 ]->getMessage ());
771
771
$ this ->assertSame (52 , $ errors [2 ]->getLine ());
@@ -841,14 +841,6 @@ public function testBug7351(): void
841
841
$ this ->assertNoErrors ($ errors );
842
842
}
843
843
844
- public function testBug7320 (): void
845
- {
846
- $ errors = $ this ->runAnalyse (__DIR__ . '/data/bug-7320.php ' );
847
- $ this ->assertCount (1 , $ errors );
848
- $ this ->assertSame ('Parameter #1 $c of function Bug7320\foo expects callable(int=): void, Closure(int): void given. ' , $ errors [0 ]->getMessage ());
849
- $ this ->assertSame (13 , $ errors [0 ]->getLine ());
850
- }
851
-
852
844
/**
853
845
* @param string[]|null $allAnalysedFiles
854
846
* @return Error[]
0 commit comments