Skip to content

Implements array notation #74

Implements array notation

Implements array notation #74

Workflow file for this run

name: CS - File lint and file validation
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
lint:
name: ✔️ CS check al files
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '--skip ci') && !github.event.pull_request.draft"
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup PHP with PECL extension
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
- name: Validate composer.json and composer.lock
run: composer validate --strict
- name: Validate php files
run: find ./src/ ./tests/ -type f -name '*.php' -print0 | xargs -0 -L 1 -P 4 -- php -l
- uses: ramsey/composer-install@v3
- name: Coding standard
run: composer run cs