|
@@ -16,8 +16,13 @@ PR8 to PR9
|
|
|
|
|
|
* The HTTP exceptions classes signatures have changed:
|
|
* The HTTP exceptions classes signatures have changed:
|
|
|
|
|
|
- Before: throw new NotFoundHttpException('Not Found', $message, 0, $e);
|
|
|
|
- After: throw new NotFoundHttpException($message, $e);
|
|
|
|
|
|
+ Before:
|
|
|
|
+
|
|
|
|
+ throw new NotFoundHttpException('Not Found', $message, 0, $e);
|
|
|
|
+
|
|
|
|
+ After:
|
|
|
|
+
|
|
|
|
+ throw new NotFoundHttpException($message, $e);
|
|
|
|
|
|
* The RequestMatcher class does not add `^` and `$` anymore to regexp.
|
|
* The RequestMatcher class does not add `^` and `$` anymore to regexp.
|
|
|
|
|
|
@@ -37,17 +42,24 @@ PR8 to PR9
|
|
work anyway):
|
|
work anyway):
|
|
|
|
|
|
Before:
|
|
Before:
|
|
|
|
+
|
|
app/views/base.html.twig
|
|
app/views/base.html.twig
|
|
app/views/AcmeDemoBundle/base.html.twig
|
|
app/views/AcmeDemoBundle/base.html.twig
|
|
|
|
|
|
After:
|
|
After:
|
|
|
|
+
|
|
app/Resources/views/base.html.twig
|
|
app/Resources/views/base.html.twig
|
|
app/Resources/AcmeDemo/views/base.html.twig
|
|
app/Resources/AcmeDemo/views/base.html.twig
|
|
|
|
|
|
* Namespace for validators has changed from `validation` to `assert`:
|
|
* Namespace for validators has changed from `validation` to `assert`:
|
|
|
|
|
|
- Before: @validation:NotNull
|
|
|
|
- After: @assert:NotNull
|
|
|
|
|
|
+ Before:
|
|
|
|
+
|
|
|
|
+ @validation:NotNull
|
|
|
|
+
|
|
|
|
+ After:
|
|
|
|
+
|
|
|
|
+ @assert:NotNull
|
|
|
|
|
|
Moreover, the `Assert` prefix used for some constraints has been removed
|
|
Moreover, the `Assert` prefix used for some constraints has been removed
|
|
(`AssertTrue` to `True`).
|
|
(`AssertTrue` to `True`).
|