Skip to content

Commit e1b18b2

Browse files
authored
Merge pull request #113 from worksome/feature/coding-style-4
chore(deps-dev): Update to Coding Style 4.x
2 parents 96ec849 + 694f380 commit e1b18b2

2 files changed

Lines changed: 5 additions & 9 deletions

File tree

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@
2020
"larastan/larastan": "^3.9",
2121
"nunomaduro/collision": "^7.10 || ^8.1.1",
2222
"orchestra/testbench": "^10.8 || ^11.0",
23-
"pestphp/pest": "^4.4",
23+
"pestphp/pest": "^4.7",
2424
"pestphp/pest-plugin-laravel": "^4.1",
25-
"worksome/coding-style": "^3.4"
25+
"worksome/coding-style": "^4.0"
2626
},
2727
"autoload": {
2828
"psr-4": {

ecs.php

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,11 @@
22

33
declare(strict_types=1);
44

5-
use Symplify\EasyCodingStandard\Config\ECSConfig;
65
use Worksome\CodingStyle\WorksomeEcsConfig;
76

8-
9-
return static function (ECSConfig $ecsConfig): void {
10-
$ecsConfig->paths([
7+
return WorksomeEcsConfig::configure()
8+
->withPaths([
9+
__DIR__ . '/ecs.php',
1110
__DIR__ . '/src',
1211
__DIR__ . '/tests',
1312
]);
14-
15-
WorksomeEcsConfig::setup($ecsConfig);
16-
};

0 commit comments

Comments
 (0)