File tree 6 files changed +64
-118
lines changed
6 files changed +64
-118
lines changed Original file line number Diff line number Diff line change 1
- root = false
1
+ # EditorConfig is awesome: http://EditorConfig.org
2
2
3
- [{* .rst,* .rst.txt} ]
4
- charset = utf-8
5
- end_of_line = lf
6
- insert_final_newline = true
7
- trim_trailing_whitespace = true
8
- indent_style = space
9
- indent_size = 3
3
+ # top-most EditorConfig file
4
+ root = true
10
5
11
- # MD-Files
12
- [* .md ]
6
+ # Unix-style newlines with a newline ending every file
7
+ [* ]
13
8
charset = utf-8
14
9
end_of_line = lf
10
+ indent_style = space
11
+ indent_size = 4
15
12
insert_final_newline = true
16
13
trim_trailing_whitespace = true
17
- indent_style = space
14
+
15
+ # TS/JS-Files
16
+ [* .{ts,js} ]
17
+ indent_size = 2
18
+
19
+ # JSON-Files
20
+ [* .json ]
21
+ indent_style = tab
22
+
23
+ # ReST-Files
24
+ [* .{rst,rst.txt} ]
18
25
indent_size = 4
26
+ max_line_length = 80
27
+
28
+ # Markdown-Files
29
+ [* .md ]
30
+ max_line_length = 80
31
+
32
+ # YAML-Files
33
+ [* .{yaml,yml} ]
34
+ indent_size = 2
35
+
36
+ # NEON-Files
37
+ [* .neon ]
38
+ indent_size = 2
39
+ indent_style = tab
40
+
41
+ # package.json
42
+ [package.json ]
43
+ indent_size = 2
44
+
45
+ # TypoScript
46
+ [* .{typoscript,tsconfig} ]
47
+ indent_size = 2
48
+
49
+ # XLF-Files
50
+ [* .xlf ]
51
+ indent_style = tab
52
+
53
+ # SQL-Files
54
+ [* .sql ]
55
+ indent_style = tab
56
+ indent_size = 2
57
+
58
+ # .htaccess
59
+ [{_.htaccess,.htaccess} ]
60
+ indent_style = tab
Original file line number Diff line number Diff line change @@ -20,4 +20,4 @@ nbproject
20
20
/.test
21
21
/composer.lock
22
22
/var
23
- /.php_cs .cache
23
+ /.php-cs-fixer .cache
Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ $ config = \TYPO3 \CodingStandards \CsFixerConfig::create ();
4
+ $ config ->getFinder ()->in (__DIR__ );
5
+ return $ config ;
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 32
32
"doctrine/annotations" : " ^1.0"
33
33
},
34
34
"require-dev" : {
35
- "friendsofphp/php-cs-fixer" : " ^2.0" ,
36
- "nimut/testing-framework" : " ^1.0 || ^2.0 || ^3.0 || ^4.0 || ^5.0"
35
+ "friendsofphp/php-cs-fixer" : " ^3.0" ,
36
+ "nimut/testing-framework" : " ^1.0 || ^2.0 || ^3.0 || ^4.0 || ^5.0" ,
37
+ "typo3/coding-standards" : " ^0.5.2"
37
38
},
38
39
"autoload" : {
39
40
"psr-4" : {
67
68
" composer run test-unit-v11" ,
68
69
" composer run test-functional-v11"
69
70
],
70
- "cs" : " ./.Build/bin/php-cs-fixer fix --dry-run --diff --config=./.php_cs - vvv" ,
71
- "csfix" : " ./.Build/bin/php-cs-fixer fix --config=./.php_cs - vvv" ,
71
+ "cs" : " ./.Build/bin/php-cs-fixer fix --dry-run --diff -vvv" ,
72
+ "csfix" : " ./.Build/bin/php-cs-fixer fix -vvv" ,
72
73
"t3doc" : " rm -rf ./Documentation-GENERATED-temp && docker-compose run --rm t3docmake && open \" Documentation-GENERATED-temp/Result/project/0.0.0/Index.html\" " ,
73
74
"next-patch" : " ./Resources/Private/Php/nextVersion.php" ,
74
75
"next-minor" : " ./Resources/Private/Php/nextVersion.php --version-type=minor" ,
You can’t perform that action at this time.
0 commit comments