Unverified Commit 567eff6f authored by Alex Pott's avatar Alex Pott
Browse files

task: #3485233 Add phpstan-baseline Composer script to root composer.json

By: nicxvan
By: berdir
By: mstrelan
By: longwave
By: mondrake
By: andypost
By: dcam
By: benjifisher
(cherry picked from commit fd70826e)
parent e37c2375
Loading
Loading
Loading
Loading
Loading
+3 −1
Changes for composer.json: 3 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -136,7 +136,9 @@
            "Drupal\\Composer\\Composer::generateComponentPackages"
        ],
        "phpcs": "phpcs --standard=core/phpcs.xml.dist --parallel=\"$( (nproc || sysctl -n hw.logicalcpu || echo 4) 2>/dev/null)\" --",
        "phpcbf": "phpcbf --standard=core/phpcs.xml.dist --parallel=\"$( (nproc || sysctl -n hw.logicalcpu || echo 4) 2>/dev/null)\" --"
        "phpcbf": "phpcbf --standard=core/phpcs.xml.dist --parallel=\"$( (nproc || sysctl -n hw.logicalcpu || echo 4) 2>/dev/null)\" --",
        "phpstan": "phpstan analyze --memory-limit=-1 --configuration=core/phpstan.neon.dist --",
        "phpstan-baseline": "phpstan analyze --memory-limit=-1 --configuration=core/phpstan.neon.dist --generate-baseline=core/.phpstan-baseline.php"
    },
    "repositories": [
        {