diff --git a/.github/workflows/phpcs.yml b/.github/workflows/phpcs.yml index 3259b5a409..539db64956 100644 --- a/.github/workflows/phpcs.yml +++ b/.github/workflows/phpcs.yml @@ -13,6 +13,6 @@ jobs: uses: actions/checkout@v2 - name: Check for code style violation with PHP-CS-Fixer - uses: OskarStark/php-cs-fixer-ga@3.0.0 + uses: OskarStark/php-cs-fixer-ga@3.2.1 with: args: --diff --dry-run diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php index 392d35e01d..21e6429e34 100644 --- a/.php-cs-fixer.dist.php +++ b/.php-cs-fixer.dist.php @@ -22,6 +22,7 @@ 'blank_line_after_namespace' => true, 'blank_line_before_statement' => true, 'cast_spaces' => true, + 'class_definition' => false, 'concat_space' => [ 'spacing' => 'none', ],