Skip to content

Commit

Permalink
feat: update codely coding standard
Browse files Browse the repository at this point in the history
  • Loading branch information
rgomezcasas committed Oct 23, 2023
1 parent b34318b commit 5f4fc51
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 11 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"phpstan/phpstan": "^1.10",
"phpat/phpat": "^0.10.10",
"phpmd/phpmd": "^2.14",
"codelytv/coding-style": "^1.0"
"codelytv/coding-style": "^1.1"
},
"autoload": {
"psr-4": {
Expand Down
22 changes: 14 additions & 8 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions ecs.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

use CodelyTv\CodingStyle\CodelyRules;
use CodelyTv\CodingStyle;
use PhpCsFixer\Fixer\ClassNotation\FinalClassFixer;
use Symplify\EasyCodingStandard\Config\ECSConfig;

Expand All @@ -13,7 +13,7 @@
__DIR__ . '/tests',
]);

$ecsConfig->sets([CodelyRules::CODING_STYLE]);
$ecsConfig->sets([CodingStyle::DEFAULT]);

$ecsConfig->skip([
FinalClassFixer::class => [
Expand Down

0 comments on commit 5f4fc51

Please sign in to comment.