We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc8dd65 commit 4c43f3aCopy full SHA for 4c43f3a
.gitignore
@@ -1,3 +1,3 @@
1
/composer.lock
2
/vendor
3
-
+/.php-cs-fixer.cache
.php-cs-fixer.dist.php
@@ -0,0 +1,24 @@
+<?php
+
+declare(strict_types=1);
4
5
6
+$finder = PhpCsFixer\Finder::create()
7
+ ->ignoreDotFiles(false)
8
+ ->ignoreVCSIgnored(true)
9
+ ->in(__DIR__)
10
+;
11
12
+$config = new PhpCsFixer\Config();
13
+$config
14
+ ->setRiskyAllowed(true)
15
+ ->setRules([
16
+ '@PSR12' => true,
17
+ 'array_syntax' => ['syntax' => 'short'],
18
+ 'declare_strict_types' => true,
19
+ ])
20
+ ->setLineEnding("\n")
21
+ ->setFinder($finder)
22
23
24
+return $config;
phpstan.neon
@@ -0,0 +1,7 @@
+parameters:
+ paths:
+ - src
+ # - tests
+ level: max
+ checkGenericClassInNonGenericObjectType: false
0 commit comments