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 44 "homepage" : " http://github.com/joomla/framework.joomla.org" ,
55 "license" : " GPL-2.0-or-later" ,
66 "require" : {
7- "php" : " ^7.2 " ,
7+ "php" : " ^7.4 " ,
88 "ext-json" : " *" ,
99 "ext-pdo" : " *" ,
1010 "fig/link-util" : " ^1.1" ,
4141 "twig/twig" : " ^3.0"
4242 },
4343 "require-dev" : {
44- "friendsofphp/php-cs-fixer" : " ^2.16.4 " ,
44+ "friendsofphp/php-cs-fixer" : " ^3.13.2 " ,
4545 "squizlabs/php_codesniffer" : " ~3.0" ,
4646 "maximebf/debugbar" : " ^1.16.3"
4747 },
5757 },
5858 "config" : {
5959 "platform" : {
60- "php" : " 7.2.21 "
60+ "php" : " 7.4.0 "
6161 }
6262 }
6363}
You can’t perform that action at this time.
0 commit comments