Closed Spomky closed 11 months ago
So in GitHub Actions the extension-installer works as expected but on your local environment it does not. Can you elaborate on that? What's different?
Can you elaborate on that? What's different?
The problem is that I don't see any difference between the local environment and that of Github Actions.
On my environment, the following command fails with multiple errors
git clone git@github.com:web-auth/webauthn-framework.git
cd webauthn-framework
make st
When adding - vendor/phpstan/phpstan-deprecation-rules/rules.neon
, the command make st
is a success.
My guess is that phpstan/phpstan-deprecation-rules/rules.neon
is not discovered by the extension installer. It seems to be correctly found on Github Actions, but I don't understand why.
OK I think I have it. There is a conflict between the installer that was installed globally (and I do not use anymore) and the project configuration. By removing the global dependencies, it works fine.
Please zip your broken project from your machine and upload it somewhere so I can take a look.
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.
Hi,
I installer
phpstan/extension-installer
and updated my configuration file that now looks like this:When running the analyse on Github, it works as before and now error is reported. But on my local env, it reports lots of defects that are all related to the use of deprecations. When adding back
phpstan/phpstan-deprecation-rules/rules.neon
, it works fine on local but fails on Github arguing the extension is already installed (see this).I removed and reinstalled all
var
,vendors
and*.lock
files, but leads to the same result.Is there anything I missed to run on my local env?