apply changes from php-cs-fixer v2.18.0

This commit is contained in:
Phil Davis 2021-01-19 07:58:37 +05:45
parent 338ac81e05
commit 62ac94c058
No known key found for this signature in database
GPG key ID: 23F482AD80551904
4 changed files with 5 additions and 5 deletions

View file

@ -38,7 +38,7 @@ abstract class Controller extends \Flake\Core\FLObject {
return $this->aParams;
}
static function link(/*[$sParam, $sParam2, ...]*/) {
static function link(/*[$sParam, $sParam2, ...]*/ ) {
return static::buildRoute();
}

View file

@ -107,7 +107,7 @@ abstract class Router extends \Flake\Core\FLObject {
return $GLOBALS["ROUTER"]::buildRoute($sRouteForController, $aRewrittenParams);
}
static function buildCurrentRoute(/*[$sParam, $sParam2, ...]*/) {
static function buildCurrentRoute(/*[$sParam, $sParam2, ...]*/ ) {
$aParams = func_get_args();
$sCurrentRoute = $GLOBALS["ROUTER"]::getCurrentRoute();
@ -128,7 +128,7 @@ abstract class Router extends \Flake\Core\FLObject {
# this method is likely to change with every Router implementation
# should be abstract, but is not, because of PHP's strict standards
static function buildRoute($sRoute, $aParams/* [, $sParam, $sParam2, ...] */) {
static function buildRoute($sRoute, $aParams/* [, $sParam, $sParam2, ...] */ ) {
}
# should be abstract, but is not, because of PHP's strict standards

View file

@ -55,7 +55,7 @@ class QuestionMarkRewrite extends \Flake\Util\Router {
return array_shift($aBestMatches); // first route amongst best matches
}
static function buildRoute($sRoute, $aParams = []/* [, $sParam, $sParam2, ...] */) {
static function buildRoute($sRoute, $aParams = []/* [, $sParam, $sParam2, ...] */ ) {
# $aParams = func_get_args();
# array_shift($aParams); # Stripping $sRoute

View file

@ -19,7 +19,7 @@
"symfony/yaml" : "^3.4"
},
"require-dev" : {
"friendsofphp/php-cs-fixer": "^2.17"
"friendsofphp/php-cs-fixer": "^2.18"
},
"replace" : {
"jeromeschneider/baikal" : "self.version"