Skip to content

Commit 18c6524

Browse files
committedJun 18, 2024··
fix: allows to use @return tags in configs
1 parent cf87f83 commit 18c6524

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed
 

Diff for: ‎.github/workflows/refactoring.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
key: php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-${{ hashFiles('composer.lock') }}
5757
restore-keys: php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-
5858

59-
- name: 📥 Install "${{ matrix.dependencies }}" dependencies
59+
- name: 📥 Install "${{ matrix.dependencies }}" dependencies with composer
6060
uses: wayofdev/gh-actions/actions/composer/install@v3.1.1
6161
with:
6262
dependencies: ${{ matrix.dependencies }}

Diff for: ‎src/RuleSets/DefaultSet.php

+3
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,9 @@ public function rules(): array
6565
'phpdoc_align' => [
6666
'align' => 'left',
6767
],
68+
'phpdoc_to_comment' => [
69+
'allow_before_return_statement' => true,
70+
],
6871

6972
'ordered_class_elements' => [
7073
'sort_algorithm' => 'none',

0 commit comments

Comments
 (0)
Please sign in to comment.