aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/tests.yml
diff options
context:
space:
mode:
authorBruce Wells <brucekwells@gmail.com>2022-03-21 19:52:25 +0300
committerGitHub <noreply@github.com>2022-03-21 19:52:25 +0300
commita0ff7a79af8c3bc5e9c5decee24cbefb5d80e93b (patch)
tree9432edb4d427293952ed99f48968b8ad32f6633a /.github/workflows/tests.yml
parent6ebe4849ff7448d5903914d2f8980af5c9fd8d34 (diff)
Adding varExists method and support for undefined var handler in getVar (#96)V2.1.112.0.4
* Added varExists method * getVar now respects VarNotFoundHandler setting * Use local version of PHP-CS-Fixer Instead of hard coded version from github actions * Fixing actions * Fixing actions * Dropping testing for 7.3, as it is no longer supported
Diffstat (limited to '.github/workflows/tests.yml')
-rw-r--r--.github/workflows/tests.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 24e9a38..748991b 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -8,7 +8,7 @@ jobs:
strategy:
fail-fast: false
matrix:
- php: [8.1, 8.0, 7.4, 7.3]
+ php: [8.1, 8.0, 7.4]
dependency-version: [prefer-lowest, prefer-stable]
os: [ubuntu-latest, windows-latest]
@@ -34,7 +34,7 @@ jobs:
run: vendor/bin/phpunit
- name: PHP CS Fixer
- uses: StephaneBour/actions-php-cs-fixer@1.0
if: matrix.os != 'windows-latest'
- with:
- dir: './src' \ No newline at end of file
+ run: |
+ vendor/bin/php-cs-fixer fix --dry-run -v ./src
+ vendor/bin/php-cs-fixer fix --dry-run -v ./tests