Skip to content

Create README.md

Create README.md #8

Workflow file for this run

name: PHP
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
cs-fixer:
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
- name: Composer install
run: composer install
- name: PHP CS Fixer
run: vendor/bin/php-cs-fixer fix --dry-run --diff
phpstan:
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
- name: Composer install
run: composer install
- name: PHPStan
run: vendor/bin/phpstan analyse
phpunit:
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
- name: Composer install
run: composer install
- name: PHPUnit
run: vendor/bin/phpunit