This even passes "Test Laravel from other working directories"!
@mad-briller How about finding ClassLoader by filtering
ClassLoader::getRegisteredLoaders() throwing away
Could you please help me and dump this array
PHPStans work the very same way https://github.com/phpstan/phpstan-src/blob/71c7bf889fbf0ef3b6ef28841eb97c43ed3b30b0/src/Testing/TestCaseSourceLocatorFactory.php#L40
Composer\Autoload\ClassLoader exist under your vendor/composer directory?
Oh noooooooooooooooooooooooooooooooooooooooooo! PHPStan really contains that class.
@mad-briller Could you vardump this line? https://github.com/nunomaduro/larastan/blob/dd1087d0cc0b7fcd5fd652737b5ec4c0d1e00272/src/ApplicationResolver.php#L63
Just an idea, I added a ComposerHelper class to PHPStan
$root come from?
All those helpers need that.
Could it be that PHPStan PHAR file includes this class?? 🤯
PY3 has to be removed.
On Debian stable
$ /usr/bin/env python /usr/bin/env: ‘python’: No such file or directory
Python 2 was EOL-ed almost 3 years ago https://www.python.org/doc/sunset-python-2/
What do you think?
Hi there. I noticed that the stub for the function,
genesis_do_post_title, is missing but I am not sure why or how to remedy the situation. In my project, I created a stub file and included it in the phpstan.neon. That works fine but I would like to contribute back to this repo if possible. Searching the Genesis codebase reveals that this function has been present since version 1.1.0 so I think it should be included. If you can point me in the right direction, I can make a PR to re-build the stubs files with this function present.
Just lay back Clayton.
When this number end
genesis_do_post_title will be included.
Nowadays my default CI looks like this.
Now CI says
Attempt to read property "post_type" on null
Generate stubs for WordPress 5.0.17
Generate stubs for WordPress 5.1.14
Generate stubs for WordPress 5.2.16
Generate stubs for WordPress 5.3.13
Generate stubs for WordPress 5.4.11
Generate stubs for WordPress 5.5.10
Generate stubs for WordPress 5.6.9
Generate stubs for WordPress 5.7.7
Generate stubs for WordPress 5.8.5
Generate stubs for WordPress 5.9.4
Generate stubs for WordPress 6.0.2