Skip to content

Commit

Permalink
Fixed CI (2.x)
Browse files Browse the repository at this point in the history
  • Loading branch information
DamienHarper committed Dec 19, 2023
1 parent 7d127eb commit a604788
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci-2.x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ jobs:
- name: Run PHP-CS-Fixer
run: |
sed -i "s/'phpdoc_to_return_type' => true/'phpdoc_to_return_type' => false/g" .php-cs-fixer.php
sed -i "s/'phpdoc_to_param_type' => true/'phpdoc_to_param_type' => false/g" .php-cs-fixer.php
sed -i "s/'phpdoc_to_property_type' => true/'phpdoc_to_property_type' => false/g" .php-cs-fixer.php
composer cs-check
- name: Validate composer
Expand Down
6 changes: 3 additions & 3 deletions .php-cs-fixer.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@
'php_unit_size_class' => true,
'php_unit_test_class_requires_covers' => false,
'phpdoc_types' => true,
'phpdoc_to_param_type' => true,
'phpdoc_to_property_type' => true,
'phpdoc_to_return_type' => true,
'phpdoc_to_param_type' => false,
'phpdoc_to_property_type' => false,
'phpdoc_to_return_type' => false,
'regular_callable_call' => true,
'self_static_accessor' => true,
'simplified_if_return' => true,
Expand Down

0 comments on commit a604788

Please sign in to comment.