-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug #5720 NoUnusedImportsFixer - Fix undetected unused imports when t…
…ype mismatch (julienfalque, SpacePossum) This PR was squashed before being merged into the 3.0 branch. Discussion ---------- NoUnusedImportsFixer - Fix undetected unused imports when type mismatch Fixes #3020. Commits ------- 1fc2bda NoUnusedImportsFixer - Fix undetected unused imports when type mismatch
- Loading branch information
Showing
7 changed files
with
270 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,8 +12,6 @@ PHP 7.2 test. | |
|
||
namespace Foo; | ||
|
||
use Bar\A; | ||
|
||
class C | ||
{ | ||
public function A($a, object $b): object | ||
|
Oops, something went wrong.