We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b18cee6 commit fb76ebaCopy full SHA for fb76eba
4 files changed
.gitignore
@@ -9,6 +9,7 @@ test_services.json
9
.idea
10
.php_cs.cache
11
.phpunit.result.cache
12
+.php-cs-fixer.cache
13
atlassian-ide-plugin.xml
14
aws-sdk-php.iml
15
.DS_Store
.php-cs-fixer.dist.php
@@ -0,0 +1,24 @@
1
+<?php
2
+
3
+$finder = PhpCsFixer\Finder::create()
4
+ ->in([
5
+ __DIR__ . '/src',
6
+ __DIR__ . '/tests',
7
+ ])
8
+ ->exclude([
+ 'data'
+;
+return (new PhpCsFixer\Config())
+ ->setRules([
+ '@PSR12' => true,
16
+ 'visibility_required' => [
17
+ 'elements' => [
18
+ 'property',
19
+ 'method',
20
+ ],
21
+ ]
22
23
+ ->setFinder($finder)
24
tools/php-cs-fixer/.gitignore
@@ -0,0 +1 @@
tools/php-cs-fixer/composer.json
@@ -0,0 +1,5 @@
+{
+ "require": {
+ "friendsofphp/php-cs-fixer": "^3.8.0"
+ }
+}
0 commit comments