Skip to content

feat: add api hooks #49

feat: add api hooks

feat: add api hooks #49

Workflow file for this run

name: Backend Checks
on:
push:
branches:
- main
paths:
- "**.php"
pull_request:
paths:
- "**.php"
jobs:
phpcs:
name: Run Backend Checks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: 🐘 Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: "8.1"
- name: 📥 Install PHP dependencies
uses: ramsey/composer-install@v3
with:
composer-options: "--classmap-authoritative"
- name: ✨ PHPCS
run: composer analyse:phpcs
- name: 🧐 PHPStan
run: composer analyse:phpstan