Skip to content

Commit

Permalink
Move phpcs to lint command in composer.json
Browse files Browse the repository at this point in the history
  • Loading branch information
swalkinshaw committed May 28, 2021
1 parent a8e13f3 commit e862022
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ jobs:
- name: Install Composer dependencies
uses: php-actions/composer@v5

- name: Run tests
- name: Run lint
uses: php-actions/composer@v5
with:
command: test
command: lint
php_version: ${{ matrix.php_version }}
version: 2
4 changes: 1 addition & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,6 @@
"post-root-package-install": [
"php -r \"copy('.env.example', '.env');\""
],
"test": [
"phpcs"
]
"lint": "phpcs"
}
}

0 comments on commit e862022

Please sign in to comment.