phpstan-wordpress
phpstan-wordpress copied to clipboard
Switch to stubFiles
This doesn't work, but I don't know why.
Ref: https://phpstan.org/user-guide/stub-files
I don't know why
Good for you! This is a very dirty subject. Source of bad feelings.
You are better off closing this PR.
Actually my brain's self-defense kicked in and I forgot the technical details.
Good for me too! :) I do not want to participate in a Mission Impossible.
Maybe something similar as https://github.com/szepeviktor/phpstan-wordpress/issues/99#issuecomment-1112832557
Not sure if it explains the errors here though. Also: looks like you referenced mission impossible there too haha
Or could it be the discovering symbols related part from what John linked? Feels related to what Viktor mentioned with autoloading too.
Using a debugger or messing around with phpstan-src should tell what errors are actually behind the error type.