fixed markup
This commit is contained in:
parent
52c3a1d53d
commit
9ce549d313
20
UPDATE.md
20
UPDATE.md
@ -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);
|
Before:
|
||||||
After: throw new NotFoundHttpException($message, $e);
|
|
||||||
|
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
|
Before:
|
||||||
After: @assert:NotNull
|
|
||||||
|
@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`).
|
||||||
|
Reference in New Issue
Block a user