feat: add proof-of-concept implementation for strict fully validating using draft-06 schema #509
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "PHP Lint" | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
lint: | |
name: "Lint" | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
php-version: | |
- "7.2" | |
- "latest" | |
steps: | |
- name: "Checkout" | |
uses: "actions/checkout@v4" | |
- name: "Install PHP" | |
uses: "shivammathur/setup-php@v2" | |
with: | |
php-version: "${{ matrix.php-version }}" | |
extensions: "intl" | |
ini-values: "memory_limit=-1, error_reporting=E_ALL, display_errors=On" | |
coverage: "none" | |
tools: parallel-lint, cs2pr | |
- name: "Lint PHP files" | |
run: | | |
parallel-lint . --checkstyle --exclude vendor --show-deprecated | cs2pr |