Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/updater.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2022-07-25 13:07:14 +0300
committerCôme Chilliet <come.chilliet@nextcloud.com>2022-07-25 13:07:14 +0300
commitdf280387ef3a1c4e91e2efebd70d2c555808edb9 (patch)
treeb307c1f5d8c8cbde19ee87c6a83e4b39a9bf23cb /vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHPUnit60MigrationRiskySet.php
parentbd6a4114864faec390044e8bb4f4505db73bfbce (diff)
Add workflows and scripts, bump symfony/console, require nextcloud/coding-standard
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHPUnit60MigrationRiskySet.php')
-rw-r--r--vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHPUnit60MigrationRiskySet.php34
1 files changed, 34 insertions, 0 deletions
diff --git a/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHPUnit60MigrationRiskySet.php b/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHPUnit60MigrationRiskySet.php
new file mode 100644
index 0000000..6bc7f71
--- /dev/null
+++ b/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHPUnit60MigrationRiskySet.php
@@ -0,0 +1,34 @@
+<?php
+
+declare(strict_types=1);
+
+/*
+ * This file is part of PHP CS Fixer.
+ *
+ * (c) Fabien Potencier <fabien@symfony.com>
+ * Dariusz Rumiński <dariusz.ruminski@gmail.com>
+ *
+ * This source file is subject to the MIT license that is bundled
+ * with this source code in the file LICENSE.
+ */
+
+namespace PhpCsFixer\RuleSet\Sets;
+
+use PhpCsFixer\Fixer\PhpUnit\PhpUnitTargetVersion;
+use PhpCsFixer\RuleSet\AbstractMigrationSetDescription;
+
+/**
+ * @internal
+ */
+final class PHPUnit60MigrationRiskySet extends AbstractMigrationSetDescription
+{
+ public function getRules(): array
+ {
+ return [
+ '@PHPUnit57Migration:risky' => true,
+ 'php_unit_namespaced' => [
+ 'target' => PhpUnitTargetVersion::VERSION_6_0,
+ ],
+ ];
+ }
+}