Skip to content

Commit 9639ef9

Browse files
committed
bump to PHPUnit 10
1 parent 05f5df8 commit 9639ef9

File tree

4 files changed

+25
-3
lines changed

4 files changed

+25
-3
lines changed

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
"phpstan/phpstan-webmozart-assert": "^1.2",
2121
"symplify/vendor-patches": "^11.1",
2222
"rector/rector-debugging": "dev-main",
23-
"rector/rector-generator": "^0.6.13"
23+
"rector/rector-generator": "^0.6.13",
24+
"symplify/easy-ci": "11.2.0.72"
2425
},
2526
"autoload": {
2627
"psr-4": {

easy-ci.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
use Rector\Core\Contract\Rector\RectorInterface;
6+
use Symplify\EasyCI\Config\EasyCIConfig;
7+
8+
return static function (EasyCIConfig $easyCIConfig): void {
9+
$easyCIConfig->paths([__DIR__ . '/config', __DIR__ . '/src']);
10+
11+
$easyCIConfig->typesToSkip([RectorInterface::class, \Rector\Set\Contract\SetListInterface::class]);
12+
};

ecs.php

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,13 @@
88
return static function (ECSConfig $ecsConfig): void {
99
$ecsConfig->sets([SetList::PSR_12, SetList::SYMPLIFY, SetList::COMMON, SetList::CLEAN_CODE]);
1010

11-
$ecsConfig->paths([__DIR__ . '/src', __DIR__ . '/tests', __DIR__ . '/config', __DIR__ . '/ecs.php']);
11+
$ecsConfig->paths([
12+
__DIR__ . '/src',
13+
__DIR__ . '/tests',
14+
__DIR__ . '/config',
15+
__DIR__ . '/ecs.php',
16+
__DIR__ . '/easy-ci.php',
17+
]);
1218

1319
$ecsConfig->skip(['*/Source/*', '*/Fixture/*']);
1420

phpstan.neon

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,8 @@ parameters:
1414
- *Source/*
1515

1616
ignoreErrors:
17-
- '#Parameter (.*?) of method (.*?)\:\:refactor\(\) should be contravariant with parameter \$node \(PhpParser\\Node\) of method Rector\\Core\\Contract\\Rector\\PhpRectorInterface\:\:refactor\(\)#'
17+
- '#Parameter (.*?) of method (.*?)\:\:refactor\(\) should be contravariant with parameter \$node \(PhpParser\\Node\) of method Rector\\Core\\Contract\\Rector\\PhpRectorInterface\:\:refactor\(\)#'
1818

19+
-
20+
message: '#Attribute must have all names explicitly defined#'
21+
path: 'tests/*'

0 commit comments

Comments
 (0)