Skip to content

Commit 3d4fea5

Browse files
committed
Merge branch '2.0' into 2.1
2 parents 0218f78 + 8c24b71 commit 3d4fea5

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
"nelmio/api-doc-bundle": "^2.13.3",
@@ -73,8 +73,8 @@
7373
"phpdocumentor/reflection-docblock": "To support extracting metadata from PHPDoc.",
7474
"psr/cache-implementation": "To use metadata caching.",
7575
"symfony/cache": "To have metadata caching when using Symfony integration.",
76-
"symfony/expression-language": "To use authorization features.",
7776
"symfony/config": "To load XML configuration files.",
77+
"symfony/expression-language": "To use authorization features.",
7878
"symfony/security": "To use authorization features.",
7979
"symfony/twig-bundle": "To use the Swagger UI integration."
8080
},
@@ -88,5 +88,8 @@
8888
"branch-alias": {
8989
"dev-master": "2.1.x-dev"
9090
}
91+
},
92+
"config": {
93+
"sort-packages": true
9194
}
9295
}

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)