Skip to content

Add sniff for arrow functions. #183

Add sniff for arrow functions.

Add sniff for arrow functions. #183

Workflow file for this run

name: CI
on:
push:
branches:
- master
- '5.x'
pull_request:
branches:
- '*'
jobs:
testsuite:
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
php-version: ['8.1', '8.2', '8.3']
dependencies: ['highest']
include:
- php-version: '8.1'
dependencies: 'lowest'
steps:
- uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
coverage: none
- name: Composer install
uses: ramsey/composer-install@v3
with:
dependency-versions: ${{ matrix.dependencies }}
composer-options: --ignore-platform-reqs
- name: Run PHPUnit
run: composer phpunit
cs-stan:
name: Coding Standard & Static Analysis
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
tools: cs2pr
coverage: none
- name: Composer install
uses: ramsey/composer-install@v3
with:
composer-options: --ignore-platform-reqs
- name: Run PHP CodeSniffer
run: vendor/bin/phpcs --report=checkstyle | cs2pr