Skip to content

Commit

Permalink
change default value of input extensions to 'php'
Browse files Browse the repository at this point in the history
  • Loading branch information
permafrost06 authored and pwtyler committed Dec 13, 2024
1 parent bf5671f commit aabe6b7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ uses: pantheon-systems/phpcompatibility-action@v1
with:
test-versions: 7.4-
paths: ${{ github.workspace }}/src
extensions: php
extensions: 'php,inc'
```

## Development
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ inputs:
extensions:
descriptions: 'Files only with this extension(s) will be tested'
required: false,
default: ''
default: 'php'
runs:
using: 'composite'
steps:
Expand Down
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ composer install

export PATH=$PATH:$GITHUB_ACTION_PATH/vendor/bin

./vendor/bin/phpcs ${EXTENSIONS:+"--extensions=$EXTENSIONS"} $PATHS --standard=PHPCompatibility --runtime-set testVersion $TEST_VERSIONS
./vendor/bin/phpcs --extensions=$EXTENSIONS $PATHS --standard=PHPCompatibility --runtime-set testVersion $TEST_VERSIONS

0 comments on commit aabe6b7

Please sign in to comment.