File tree Expand file tree Collapse file tree 2 files changed +19
-14
lines changed
Expand file tree Collapse file tree 2 files changed +19
-14
lines changed Original file line number Diff line number Diff line change 2929 "php" : " >=7.4.0"
3030 },
3131 "require-dev" : {
32- "mediawiki/mediawiki-codesniffer" : " 41 .0.0" ,
32+ "mediawiki/mediawiki-codesniffer" : " 43 .0.0" ,
3333 "mediawiki/mediawiki-phan-config" : " 0.14.0" ,
3434 "mediawiki/minus-x" : " 1.1.1" ,
3535 "ockcyp/covers-validator" : " 1.6.0" ,
5656 ],
5757 "phan" : " phan --allow-polyfill-parser --no-progress-bar" ,
5858 "phpcs" : " phpcs -sp"
59+ },
60+ "config" : {
61+ "allow-plugins" : {
62+ "dealerdirect/phpcodesniffer-composer-installer" : true
63+ }
5964 }
6065}
Original file line number Diff line number Diff line change @@ -58,19 +58,19 @@ public function __construct( $out, array $args ) {
5858 public function run () {
5959 try {
6060 switch ( $ this ->action ) {
61- case 'get ' :
62- $ this ->runGet ();
63- break ;
64- case 'list ' :
65- $ this ->runList ();
66- break ;
67- case 'match ' :
68- $ this ->runMatch ();
69- break ;
70- default :
71- $ this ->exitCode = 1 ;
72- $ this ->help ();
73- break ;
61+ case 'get ' :
62+ $ this ->runGet ();
63+ break ;
64+ case 'list ' :
65+ $ this ->runList ();
66+ break ;
67+ case 'match ' :
68+ $ this ->runMatch ();
69+ break ;
70+ default :
71+ $ this ->exitCode = 1 ;
72+ $ this ->help ();
73+ break ;
7474 }
7575 } catch ( Throwable $ e ) {
7676 $ this ->exitCode = 1 ;
You can’t perform that action at this time.
0 commit comments