John Blackbourn
John Blackbourn
I'm going to close this off as this is nightmarish road that I don't want to go down.
Closing as per #474
Can you provide some information about why this change is needed?
This was only partially completed, I'll open a follow-up issue with the details.
@menno-ll Are you using version 1.1.5? Issues with `mixed` should have been fixed in that version. If so, can you open a new issue please? Regarding returning a value from...
Yes the idea is that any parameter passed to `assertNotWPError()` cannot be a `WP_Error` in subsequent lines. https://phpstan.org/writing-php-code/narrowing-types I tried phpstan-phpunit but it had no effect, but I didn't play...
I'm stuck on `isCallable()->yes()` not returning the expected value in some cases. Opened https://github.com/phpstan/phpstan/discussions/7715 to ask for help.
We're all green ✅ but I want to add some more tests in.
@szepeviktor @herndlm Would be great to get this in
Yeah might be related to #118 or #119 :(