SignpostMarv
SignpostMarv
> Could be a plugin of its own. ah, I get what you mean now- it's more than just phpunit generates coverage files :P
I'm insufficiently familiar with how code coverage works to create such a plugin from scratch :s
@weirdan smallest testcase: https://github.com/SignpostMarv/psalm-phpunit-psalm-plugin fails with > ERROR: PossiblyUnusedMethod - Tests\FooTest.php:11:5 - Cannot find public calls to method FooTest::testThing > public function testThing() : void
@weirdan the fork takes care of the [simple test case](https://github.com/SignpostMarv/psalm-phpunit-psalm-plugin/commit/94734d67aec3528ad846d592adc4fc1737f20b81)- i'm just working over the daft-object fork & master branch to identify how many of these errors are resolved but...
~@weirdan ran into an issue that doesn't occur with master branch code: https://github.com/SignpostMarv/daft-object/commit/3732d8ed12d1202ca6d259c4b1e5d49ec67eaf21~ @weirdan fixed it
practical example of code that could use coverage support regarding "unused methods": https://github.com/SignpostMarv/Daft-Schema.org The manually created test cases were getting cumbersome to write, so I had a generator generate test...
> I think it might disappear. it didn't :(
where would I poke around to have that kick in ?
incidentally, this looks like it closes #32
~@weirdan found a public project that generates the issue during rebasing, will see if it sticks around after I'm done.~ nope, it went away; while rebasing, came across a commit...