Skip to content

Commit

Permalink
update testings and added rule static_lambda in php-cs-fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
rosven9856 committed Sep 25, 2024
1 parent 78a1f98 commit e8e53bd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ jobs:
with:
composer-options: --optimize-autoloader
- run: composer unused
coding-standards:
linter:
runs-on: ubuntu-latest
strategy:
matrix:
Expand Down
3 changes: 3 additions & 0 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@

$config = (new Config())
->setFinder($finder)
->setRules([
'static_lambda' => true,
])
->setCacheFile(__DIR__ . '/var/.php-cs-fixer.cache');

(new PhpCsFixerCodingStandard())->applyTo($config);
Expand Down

0 comments on commit e8e53bd

Please sign in to comment.