|
@@ -9,7 +9,7 @@ discard block |
|
|
block discarded – undo |
|
9
|
9
|
* file that was distributed with this source code. |
|
10
|
10
|
*/ |
|
11
|
11
|
|
|
12
|
|
-declare(strict_types=1); |
|
|
12
|
+declare(strict_types = 1); |
|
13
|
13
|
|
|
14
|
14
|
namespace LIN3S\CS\Composer; |
|
15
|
15
|
|
|
@@ -59,9 +59,9 @@ discard block |
|
|
block discarded – undo |
|
59
|
59
|
$app = new Application(); |
|
60
|
60
|
$enabled = $app->parameters()['enabled'] ?? []; |
|
61
|
61
|
|
|
62
|
|
- !in_array('stylelint', $enabled, true) ?: Stylelint::file($app->parameters()); |
|
63
|
|
- !in_array('eslint', $enabled, true) ?: EsLint::file($app->parameters()); |
|
64
|
|
- !in_array('phpcsfixer', $enabled, true) ?: PhpCsFixer::file($app->parameters()); |
|
|
62
|
+ !in_array('stylelint', $enabled, true) ? : Stylelint::file($app->parameters()); |
|
|
63
|
+ !in_array('eslint', $enabled, true) ? : EsLint::file($app->parameters()); |
|
|
64
|
+ !in_array('phpcsfixer', $enabled, true) ? : PhpCsFixer::file($app->parameters()); |
|
65
|
65
|
|
|
66
|
66
|
$editorConfig = self::rootDir() . '/.editorconfig'; |
|
67
|
67
|
$fileSystem = new Filesystem(); |
Please login to merge, or discard this patch.