Closed GrahamCampbell closed 4 years ago
It looks like that dead was code intentionally in there, even though it was not needed...
Removed unreachable plugin client code
are we missing some tests with that code?
are we missing some tests with that code?
No, there are tests, and that's what made me put the code back.
Maybe unreachable was the wrong word. It's more that the code was duplicated, however that seems to have been intentional.
PHPStan has detected 3 more bugs for us, ~and some unreachable code in the plugin client~.