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

apply phpcs to tests #9

Open
kawanamiyuu opened this issue Dec 21, 2020 · 0 comments
Open

apply phpcs to tests #9

kawanamiyuu opened this issue Dec 21, 2020 · 0 comments

Comments

@kawanamiyuu
Copy link
Owner

kawanamiyuu commented Dec 21, 2020

    "scripts": {
        "check":["@lint", "@test"],
        "test": "phpdbg -qrr ./vendor/bin/phpunit --coverage-text",
        "lint": [
-           "phpcs --standard=PSR12 src",
+           "phpcs --standard=PSR12 src tests",
            "phpmd src text cleancode,codesize,controversial,design,naming,unusedcode",
            "phpstan analyze --no-progress --level=max src"
        ],
-       "fmt": "phpcbf --standard=PSR12 src"
+       "fmt": "phpcbf --standard=PSR12 src tests"
    },
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

1 participant