Skip to content

Install Rector and apply ClassPropertyAssignToConstructorPromotionRector #224

Install Rector and apply ClassPropertyAssignToConstructorPromotionRector

Install Rector and apply ClassPropertyAssignToConstructorPromotionRector #224

Workflow file for this run

name: Coding Style
on:
push:
pull_request:
jobs:
easy-coding-standard:
name: Easy Coding Standard
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: "8.1"
- name: Install composer dependencies
uses: ramsey/composer-install@v2
with:
working-directory: "tools/ecs"
- name: Run ECS
run: tools/ecs/vendor/bin/ecs check --config tools/ecs/ecs.php