Skip to content

Commit

Permalink
chore, formatting: bump dependency
Browse files Browse the repository at this point in the history
friendsofphp/php-cs-fixer from 3.23 to 3.27
  • Loading branch information
SonyPradana committed Sep 21, 2023
1 parent e27d7ab commit eb35f12
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"require-dev": {
"phpunit/phpunit": "^9.6",
"mockery/mockery": "^1.6",
"friendsofphp/php-cs-fixer": "^3.23",
"friendsofphp/php-cs-fixer": "^3.27",
"phpstan/phpstan": "^1.10",
"rector/rector": "^0.17"
},
Expand Down
2 changes: 1 addition & 1 deletion src/System/Router/RouteDispatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ private function dispatch($basepath = '', $case_matters = false, $trailing_slash
$route['expression'] = '^' . $route['expression'];

// Add 'find string end' automatically
$route['expression'] = $route['expression'] . '$';
$route['expression'] .= '$';

// Check path match
if (preg_match('#' . $route['expression'] . '#' . ($case_matters ? '' : 'i') . 'u', $path, $matches)) {
Expand Down

0 comments on commit eb35f12

Please sign in to comment.