mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-01 17:00:51 +00:00
[ci] remove old merageable file (#4497)
* [ci] remove old merageable file * updat ecs
This commit is contained in:
parent
9314c4b173
commit
2116630748
20
.github/mergeable.yaml
vendored
20
.github/mergeable.yaml
vendored
|
@ -1,20 +0,0 @@
|
|||
version: 2
|
||||
mergeable:
|
||||
- when: issues.opened
|
||||
validate:
|
||||
- do: description
|
||||
or:
|
||||
- and:
|
||||
- must_include:
|
||||
regex: '^# Bug Report'
|
||||
- must_include:
|
||||
regex: 'https:\/\/getrector\.org\/demo\/'
|
||||
- must_exclude:
|
||||
regex: '^# Bug Report'
|
||||
fail:
|
||||
- do: comment
|
||||
payload:
|
||||
body: >
|
||||
This bug report is missing a link to reproduction on [getrector.org/demo](https://getrector.org/demo).
|
||||
|
||||
It will most likely be closed after manual review.
|
6
ecs.php
6
ecs.php
|
@ -12,6 +12,7 @@ use PhpCsFixer\Fixer\PhpTag\BlankLineAfterOpeningTagFixer;
|
|||
use PhpCsFixer\Fixer\PhpUnit\PhpUnitStrictFixer;
|
||||
use PhpCsFixer\Fixer\ReturnNotation\ReturnAssignmentFixer;
|
||||
use PhpCsFixer\Fixer\Strict\StrictComparisonFixer;
|
||||
use PhpCsFixer\Fixer\Whitespace\ArrayIndentationFixer;
|
||||
use SlevomatCodingStandard\Sniffs\Variables\UnusedVariableSniff;
|
||||
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
|
||||
use Symplify\CodingStandard\Fixer\ArrayNotation\ArrayListItemNewlineFixer;
|
||||
|
@ -99,6 +100,11 @@ return static function (ContainerConfigurator $containerConfigurator): void {
|
|||
ArrayListItemNewlineFixer::class => null,
|
||||
BlankLineAfterOpeningTagFixer::class => null,
|
||||
StrictComparisonFixer::class => [__DIR__ . '/rules/polyfill/src/ConditionEvaluator.php'],
|
||||
|
||||
// bugged for some reason
|
||||
ArrayIndentationFixer::class => [
|
||||
__DIR__ . '/rules/order/src/Rector/Class_/OrderPublicInterfaceMethodRector.php',
|
||||
],
|
||||
]);
|
||||
|
||||
$parameters->set(Option::LINE_ENDING, "\n");
|
||||
|
|
|
@ -74,10 +74,10 @@ class SomeClass implements FoodRecipeInterface
|
|||
}
|
||||
CODE_SAMPLE
|
||||
, [
|
||||
self::METHOD_ORDER_BY_INTERFACES => [
|
||||
'FoodRecipeInterface' => ['getDescription', 'process'],
|
||||
],
|
||||
]),
|
||||
self::METHOD_ORDER_BY_INTERFACES => [
|
||||
'FoodRecipeInterface' => ['getDescription', 'process'],
|
||||
],
|
||||
]),
|
||||
]);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user