[ci] remove old merageable file (#4497)

* [ci] remove old merageable file

* updat ecs
This commit is contained in:
Tomas Votruba 2020-10-29 00:26:17 +01:00 committed by GitHub
parent 9314c4b173
commit 2116630748
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 24 deletions

View File

@ -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.

View File

@ -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");

View File

@ -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'],
],
]),
]);
}