File tree Expand file tree Collapse file tree 4 files changed +230
-366
lines changed Expand file tree Collapse file tree 4 files changed +230
-366
lines changed Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ $ mainFinder = PhpCsFixer \Finder::create ()
4
+ ->in (
5
+ [
6
+ __DIR__ . '/bin ' ,
7
+ __DIR__ . '/src ' ,
8
+ __DIR__ . '/www ' ,
9
+ ]
10
+ );
11
+
12
+ $ config = new PhpCsFixer \Config ();
13
+ return $ config ->setRules (
14
+ [
15
+ '@PSR12 ' => true ,
16
+ 'array_syntax ' => ['syntax ' => 'short ' ],
17
+ ]
18
+ )
19
+ ->setRiskyAllowed (true )
20
+ ->setFinder ($ mainFinder );
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 4
4
"homepage" : " http://github.com/joomla/framework.joomla.org" ,
5
5
"license" : " GPL-2.0-or-later" ,
6
6
"require" : {
7
- "php" : " ^7.2 " ,
7
+ "php" : " ^7.4 " ,
8
8
"ext-json" : " *" ,
9
9
"ext-pdo" : " *" ,
10
10
"fig/link-util" : " ^1.1" ,
41
41
"twig/twig" : " ^3.0"
42
42
},
43
43
"require-dev" : {
44
- "friendsofphp/php-cs-fixer" : " ^2.16.4 " ,
44
+ "friendsofphp/php-cs-fixer" : " ^3.13.2 " ,
45
45
"squizlabs/php_codesniffer" : " ~3.0" ,
46
46
"maximebf/debugbar" : " ^1.16.3"
47
47
},
57
57
},
58
58
"config" : {
59
59
"platform" : {
60
- "php" : " 7.2.21 "
60
+ "php" : " 7.4.0 "
61
61
}
62
62
}
63
63
}
You can’t perform that action at this time.
0 commit comments