updated CHANGELOG for 2.1
This commit is contained in:
parent
67bb80f526
commit
04a1deace0
@ -49,6 +49,10 @@ To get the diff between two versions, go to https://github.com/symfony/symfony/c
|
|||||||
* added a timeline panel
|
* added a timeline panel
|
||||||
* The toolbar position can now be configured via the `position` option (can be `top` or `bottom`)
|
* The toolbar position can now be configured via the `position` option (can be `top` or `bottom`)
|
||||||
|
|
||||||
|
### Config
|
||||||
|
|
||||||
|
* implemented `Serializable` on resources
|
||||||
|
|
||||||
### Console
|
### Console
|
||||||
|
|
||||||
* made the defaults (helper set, commands, input definition) in Application more easily customizable
|
* made the defaults (helper set, commands, input definition) in Application more easily customizable
|
||||||
@ -109,6 +113,7 @@ To get the diff between two versions, go to https://github.com/symfony/symfony/c
|
|||||||
|
|
||||||
### Validator
|
### Validator
|
||||||
|
|
||||||
|
* added support for `ctype_*` assertions in `TypeValidator`
|
||||||
* added a Size validator
|
* added a Size validator
|
||||||
* added a SizeLength validator
|
* added a SizeLength validator
|
||||||
* improved the ImageValidator with min width, max width, min height, and max height constraints
|
* improved the ImageValidator with min width, max width, min height, and max height constraints
|
||||||
|
@ -42,9 +42,9 @@ class TypeValidator extends ConstraintValidator
|
|||||||
|
|
||||||
if (function_exists($isFunction) && call_user_func($isFunction, $value)) {
|
if (function_exists($isFunction) && call_user_func($isFunction, $value)) {
|
||||||
return true;
|
return true;
|
||||||
} else if (function_exists($ctypeFunction) && call_user_func($ctypeFunction, $value)) {
|
} elseif (function_exists($ctypeFunction) && call_user_func($ctypeFunction, $value)) {
|
||||||
return true;
|
return true;
|
||||||
} else if ($value instanceof $constraint->type) {
|
} elseif ($value instanceof $constraint->type) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user