https://github.com/umutphp/php-var-dump-check-action
PHP VarDump Check Action
https://github.com/umutphp/php-var-dump-check-action
Last synced: 12 months ago
JSON representation
PHP VarDump Check Action
- Host: GitHub
- URL: https://github.com/umutphp/php-var-dump-check-action
- Owner: umutphp
- License: mit
- Created: 2020-03-12T08:10:16.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2021-11-23T13:26:29.000Z (over 4 years ago)
- Last Synced: 2025-04-22T02:14:42.054Z (12 months ago)
- Language: Shell
- Size: 12.7 KB
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PHP VarDump Check Action
GitHub action for PHP applications to find forgotten variable dumps.
## Inputs
### `checktype`
**Not Required** The type of the VarDump. Valid values: none, ladybug, tracy, zend, doctrine, symfony, laravel. Default `"none"`.
### `exclude`
**Not Required** The folders to be excluded in check.
### `extensions`
**Not Required** The file extensions to be checked. Default `"php,phpt,php7"`.
## Example usage 1
```yaml
on: [push]
jobs:
hello_world_job:
runs-on: ubuntu-latest
name: Test Itself
steps:
- name: Check 1
id: check1
uses: umutphp/php-var-dump-check-action@v1
with:
checktype: 'laravel'
exclude: 'vendor,test'
extensions: 'php'
```
## Example usage 2
```yaml
on: [push]
jobs:
hello_world_job:
runs-on: ubuntu-latest
name: Test Itself
steps:
- name: Check 1
id: check1
uses: umutphp/php-var-dump-check-action@v1
```
## Example usage 3
```yaml
on: [push]
jobs:
hello_world_job:
runs-on: ubuntu-latest
name: Test Itself
steps:
- name: Check 1
id: check1
uses: umutphp/php-var-dump-check-action@v1
with:
checktype: 'none'
exclude: 'vendor,test'
extensions: 'php'
- name: Check 2
id: check2
uses: umutphp/php-var-dump-check-action@v1
with:
checktype: 'laravel'
exclude: 'vendor,test'
extensions: 'php'
```