Skip to content

Add native return types #197

Add native return types

Add native return types #197

name: Code style and composer validate
on:
pull_request:
push:
branches: [ master, 2.x, 3.x ]
jobs:
composer-validate:
name: Validate composer.json
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Validate
run: composer validate --no-check-lock --strict
php-cs-fixer:
name: PHP-CS-Fixer
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
- name: Install dependencies
run: composer install
- name: Run script
run: vendor/bin/php-cs-fixer fix --verbose --diff --dry-run