Closed nadar closed 1 year ago
Hey @nadar
phpstan is a great addition, I've added a note about the path.
Cheers, Peter
I've just noticed I can fix it too. Merged! Thank you @nadar!
:+1: if this is what you want, perfect. Do you relay on the unix path /tmp
? I would not do so and use project specific paths and ignore them, otherwise windows users will have a problem. anyhow, its your choice i'm fine or might misunderstood you.
Hey @nadar,
good point about the Windows Users. I haven't used Windows in 20+ years and tent to ignore it. I'll prepare a patch reverting to your approach of a local path.
Cheers, Peter
Me neither :-) but market share is still big i would say, also that Microsoft more and more points into the developer sector (acquiring github, vscode, WSL, etc.)
But anyhow, also for CI/CD usage, never design a "system" which requires a "global scope".
The avoiding of global scope/context is a good idea. I'll keep it in mind :) It's merged :)
i saw there is phpstan, but not configured for github actions. Maybe you like it otherwise close the PR.
If we increase to phpstan level 4 you'll get a https://phpstan.org/blog/bring-your-exceptions-under-control#dead-catch-reporting-in-bleeding-edge.
in order to test local use
composer phpstan