Skip to content

refactor: catch Throwable instead of Exception (#25) #29

refactor: catch Throwable instead of Exception (#25)

refactor: catch Throwable instead of Exception (#25) #29

name: PHP Syntax Check
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
syntax:
name: Check PHP Syntax
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
coverage: none
- name: Check PHP syntax
run: |
find src bin -name "*.php" -exec php -l {} \;