Skip to content
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

Upgrade PHPStan on the PHP harness #698

Open
dantleech opened this issue May 6, 2022 · 0 comments
Open

Upgrade PHPStan on the PHP harness #698

dantleech opened this issue May 6, 2022 · 0 comments
Assignees

Comments

@dantleech
Copy link
Contributor

dantleech commented May 6, 2022

Currently we are on 0.12 but PHPStan is now on 1.6.

Some upgrade notes:

In VP Sylius (i guess for Symfony haress) we have the following config:

        "phpstan/extension-installer": "^1.1",
        "phpstan/phpstan": "^1.0",
        "phpstan/phpstan-doctrine": "1.0",
        "phpstan/phpstan-phpunit": "^1.0",
        "phpstan/phpstan-symfony": "^1.0",
        "phpstan/phpstan-webmozart-assert": "^1.0",
    "config": {
        "allow-plugins": {
            //...
            "phpstan/extension-installer": true,

notes:

  • the phpstan-baseline.neon is included automatically now.
  • the "extension installer" is a composer plugin which automatically registers the phpstan extensions
@NoDiskInDriveA NoDiskInDriveA self-assigned this Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants