New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ParallelAnalyser: Some jobs remaining #3910
Comments
This usually means some errors occurred. If you run with |
Yeah, there’s gonna be some error. I’ll make sure the actual error is captured and printed. It’s possible it might show up with —debug, but that disables parallelism so if the problem is related to parallelism, the build might pass. |
just run the script locally (instead of within a Github action) and phpstan reports the following error now:
I am wondering that phpstan is not able to find the class, since its stored within one of the a does phpstan expect the classes to have a certain naming convention? clearing the result cache did not fix the problem |
Just made that with the "some jobs remaining" situation you also get the real error mesage causing the situation as well: phpstan/phpstan-src@6c61e49 About Application_Trait_ShopTrait - you need to autoload that. Put it to |
shouln't it automatically be aware of classes withihn the it also doesn't find the class when I add it via |
The problem is that you're using the trait in a class which you autoload, probably through If the root class wasn't autoloaded but it was discovered through analysed paths/scanFiles/scanDirectories then it wouldn't crash like that and you'd be correct. |
Ahh that makes sense. Wdyt about making this more obvious in the exception message? |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
we updated to the 0.12.48 and since then get in some projects a error:
I guess its related to the latest version. but it does not occur on all of our projects, just a single one.
The text was updated successfully, but these errors were encountered: