From 9ce549d313b98c6b7477776e2f036999388ea463 Mon Sep 17 00:00:00 2001 From: hidenorigoto Date: Tue, 29 Mar 2011 16:28:20 +0900 Subject: [PATCH] fixed markup --- UPDATE.md | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/UPDATE.md b/UPDATE.md index 56a31cb7be..49f98953eb 100644 --- a/UPDATE.md +++ b/UPDATE.md @@ -16,8 +16,13 @@ PR8 to PR9 * 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. @@ -37,17 +42,24 @@ PR8 to PR9 work anyway): Before: + app/views/base.html.twig app/views/AcmeDemoBundle/base.html.twig After: + app/Resources/views/base.html.twig app/Resources/AcmeDemo/views/base.html.twig * 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 (`AssertTrue` to `True`).