Skip to content

Commit 19b93d0

Browse files
authored
Merge pull request #939 from cakephp/4.next-update
Update dependencies.
2 parents 77f3971 + 6f8c438 commit 19b93d0

2 files changed

Lines changed: 7 additions & 6 deletions

File tree

composer.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@
66
"license": "MIT",
77
"require": {
88
"php": ">=7.4",
9-
"cakephp/cakephp": "4.4.*",
10-
"cakephp/migrations": "^3.2",
9+
"cakephp/cakephp": "dev-4.next as 4.5.0",
10+
"cakephp/migrations": "^3.7",
1111
"cakephp/plugin-installer": "^1.3",
1212
"mobiledetect/mobiledetectlib": "^3.74"
1313
},
1414
"require-dev": {
15-
"cakephp/bake": "^2.6",
15+
"cakephp/bake": "^2.8",
1616
"cakephp/cakephp-codesniffer": "^4.5",
17-
"cakephp/debug_kit": "^4.5",
17+
"cakephp/debug_kit": "^4.9",
1818
"josegonzalez/dotenv": "^3.2",
19-
"phpunit/phpunit": "~8.5.0 || ^9.3"
19+
"phpunit/phpunit": "^9.6"
2020
},
2121
"suggest": {
2222
"markstory/asset_compress": "An asset compression plugin which provides file concatenation and a flexible filter system for preprocessing and minification.",
@@ -47,6 +47,7 @@
4747
"stan": "phpstan analyse",
4848
"test": "phpunit --colors=always"
4949
},
50+
"minimum-stability": "dev",
5051
"prefer-stable": true,
5152
"config": {
5253
"sort-packages": true,

src/Application.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public function middleware(MiddlewareQueue $middlewareQueue): MiddlewareQueue
7777
$middlewareQueue
7878
// Catch any exceptions in the lower layers,
7979
// and make an error page/response
80-
->add(new ErrorHandlerMiddleware(Configure::read('Error')))
80+
->add(new ErrorHandlerMiddleware(Configure::read('Error'), $this))
8181

8282
// Handle plugin/theme assets like CakePHP normally does.
8383
->add(new AssetMiddleware([

0 commit comments

Comments
 (0)