File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 7777 "silverstripe/vendor-plugin" : true ,
7878 "phpstan/extension-installer" : true
7979 }
80+ },
81+ "scripts" : {
82+ "phpstan-analyse" : " ./vendor/bin/phpstan analyse --ansi --no-progress --no-interaction --configuration vendor/nswdpc/ci-files/phpstan/.phpstan.silverstripe.neon src/" ,
83+ "rector-dryrun" : " ./vendor/bin/rector process --dry-run --ansi --config vendor/nswdpc/ci-files/rector/.rector.silverstripe_53_83.php src/" ,
84+ "rector-process" : " ./vendor/bin/rector process --no-diffs --ansi --config vendor/nswdpc/ci-files/rector/.rector.silverstripe_53_83.php src/" ,
85+ "phpcsfixer-fix" : " ./vendor/bin/php-cs-fixer fix --ansi --no-interaction --config vendor/nswdpc/ci-files/php-cs-fixer/.php-cs-fixer.php src/"
8086 }
8187}
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ public function getSource()
3333 $ options = $ this ->getColourSelectionOptions ('section ' );
3434 $ source = [];
3535 foreach ($ options as $ k => $ v ) {
36- $ source [ $ k ] = _t ('nswds.BACKGROUND_ ' . strtoupper ($ k ), $ v );
36+ $ source [ $ k ] = _t ('nswds.BACKGROUND_ ' . strtoupper (( string ) $ k ), $ v );
3737 }
3838
3939 $ this ->source = $ source ;
You can’t perform that action at this time.
0 commit comments