From b49461d745558e5bb0097e6b2c26609f273c74db Mon Sep 17 00:00:00 2001 From: Anthony Tenneriello Date: Wed, 21 Aug 2024 16:07:36 +0200 Subject: [PATCH] fix: remove trailing_comma_in_multiline because it's not work with PHP 7.4 (#28) * fix: remove trailing_comma_in_multiline because it's not work with PHP 7.4 * execute CI on PR --- .github/workflows/ci.yml | 2 +- src/BedrockStreaming.php | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 11290b0..2a104d0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,5 +1,5 @@ name: Continuous Integration -on: [push] +on: [push, pull_request] jobs: linter: diff --git a/src/BedrockStreaming.php b/src/BedrockStreaming.php index abd64a2..6bac667 100644 --- a/src/BedrockStreaming.php +++ b/src/BedrockStreaming.php @@ -42,7 +42,6 @@ public function getRules(): array 'phpdoc_summary' => false, 'single_line_throw' => false, 'yoda_style' => false, - 'trailing_comma_in_multiline' => ['elements' => ['arguments', 'arrays', 'match', 'parameters']], ]; return $rules;