File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed
Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 3333 "require-dev" : {
3434 "phpunit/phpunit" : " ^8" ,
3535 "mockery/mockery" : " ^1" ,
36- "phpstan/phpstan" : " ^0 " ,
37- "phpstan/phpstan-phpunit" : " ^0 " ,
38- "phpstan/phpstan-deprecation-rules" : " ^0 " ,
39- "phpstan/phpstan-strict-rules" : " ^0 "
36+ "phpstan/phpstan" : " ^1 " ,
37+ "phpstan/phpstan-phpunit" : " ^1 " ,
38+ "phpstan/phpstan-deprecation-rules" : " ^1 " ,
39+ "phpstan/phpstan-strict-rules" : " ^1 "
4040 },
4141 "scripts" : {
4242 "test" : [
Original file line number Diff line number Diff line change @@ -342,8 +342,12 @@ public function start(): ?string
342342 'csrfVerifier ' => $ this ->csrfVerifier ,
343343 ]);
344344
345- /* Verify csrf token for request */
346- $ this ->csrfVerifier ->handle ($ this ->request );
345+ try {
346+ /* Verify csrf token for request */
347+ $ this ->csrfVerifier ->handle ($ this ->request );
348+ } catch (\Exception $ e ) {
349+ $ this ->handleException ($ e );
350+ }
347351 }
348352
349353 $ output = $ this ->routeRequest ();
You can’t perform that action at this time.
0 commit comments