Skip to content

Commit

Permalink
Ensure all the files lint on supported versions of PHP
Browse files Browse the repository at this point in the history
  • Loading branch information
duncan3dc committed Oct 30, 2024
1 parent 6044c4b commit e15574e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/buildcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ jobs:
- name: Coding Standards
run: docker exec ci vendor/bin/phpcs

- name: Static Analysis
run: docker exec ci vendor/bin/phplint src tests

- name: Composer Validate
run: docker exec ci composer validate --strict

Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/.phplint-cache
/composer.lock
/phpunit.xml
/vendor
2 changes: 2 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"require-dev": {
"mockery/mockery": "^1.6.12",
"mikey179/vfsstream": "^1.6.12",
"overtrue/phplint": "^1.0",
"squizlabs/php_codesniffer": "^3.10",
"phpunit/phpunit": "^9.5.10"
},
Expand All @@ -44,6 +45,7 @@
"test": [
"vendor/bin/phpunit",
"vendor/bin/phpcs",
"vendor/bin/phplint src tests",
"@composer validate --strict"
]
}
Expand Down

0 comments on commit e15574e

Please sign in to comment.