Skip to content

Commit fa2fba0

Browse files
committed
Merge branch '2.1'
2 parents e0dfbcd + 3d4fea5 commit fa2fba0

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

composer.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@
3232
"behat/mink-extension": "^2.2",
3333
"behat/symfony2-extension": "^2.1.1",
3434
"behatch/contexts": "dev-master",
35+
"doctrine/annotations": "^1.2",
3536
"doctrine/doctrine-bundle": "^1.6.3",
3637
"doctrine/orm": "^2.5.2",
37-
"doctrine/annotations": "^1.2",
3838
"friendsofsymfony/user-bundle": "^2.0",
3939
"guzzlehttp/guzzle": "^6.0",
4040
"justinrainbow/json-schema": "^5.0",
@@ -75,8 +75,8 @@
7575
"phpdocumentor/reflection-docblock": "To support extracting metadata from PHPDoc.",
7676
"psr/cache-implementation": "To use metadata caching.",
7777
"symfony/cache": "To have metadata caching when using Symfony integration.",
78-
"symfony/expression-language": "To use authorization features.",
7978
"symfony/config": "To load XML configuration files.",
79+
"symfony/expression-language": "To use authorization features.",
8080
"symfony/security": "To use authorization features.",
8181
"symfony/twig-bundle": "To use the Swagger UI integration.",
8282
"webonyx/graphql-php": "To support GraphQL."
@@ -91,5 +91,8 @@
9191
"branch-alias": {
9292
"dev-master": "2.2.x-dev"
9393
}
94+
},
95+
"config": {
96+
"sort-packages": true
9497
}
9598
}

src/EventListener/EventPriorities.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,17 @@
2020
*/
2121
final class EventPriorities
2222
{
23+
// kernel.request
2324
const PRE_READ = 5;
2425
const POST_READ = 3;
2526
const PRE_DESERIALIZE = 3;
2627
const POST_DESERIALIZE = 1;
28+
// kernel.view
2729
const PRE_VALIDATE = 65;
2830
const POST_VALIDATE = 63;
2931
const PRE_WRITE = 33;
3032
const POST_WRITE = 31;
3133
const PRE_RESPOND = 9;
34+
// kernel.response
3235
const POST_RESPOND = 0;
3336
}

0 commit comments

Comments
 (0)