Fixed my rubbish English
This commit is contained in:
parent
d11f8b5e9e
commit
b4ec7f54eb
|
@ -140,7 +140,7 @@ CHANGELOG
|
||||||
* deprecated `hasChildren` in Form and FormBuilder in favor of `count`
|
* deprecated `hasChildren` in Form and FormBuilder in favor of `count`
|
||||||
* FormBuilder now implements \IteratorAggregate
|
* FormBuilder now implements \IteratorAggregate
|
||||||
* [BC BREAK] compound forms now always need a data mapper
|
* [BC BREAK] compound forms now always need a data mapper
|
||||||
* FormBuilder now maintains the order when explicitely adding form builders as children
|
* FormBuilder now maintains the order when explicitly adding form builders as children
|
||||||
* ChoiceType now doesn't add the empty value anymore if the choices already contain an empty element
|
* ChoiceType now doesn't add the empty value anymore if the choices already contain an empty element
|
||||||
* DateType, TimeType and DateTimeType now show empty values again if not required
|
* DateType, TimeType and DateTimeType now show empty values again if not required
|
||||||
* [BC BREAK] fixed rendering of errors for DateType, BirthdayType and similar ones
|
* [BC BREAK] fixed rendering of errors for DateType, BirthdayType and similar ones
|
||||||
|
|
|
@ -246,7 +246,7 @@ class FormRenderer implements FormRendererInterface
|
||||||
// to implement a custom "choice_widget" block (no matter in which theme),
|
// to implement a custom "choice_widget" block (no matter in which theme),
|
||||||
// or to fallback to the block of the parent type, which would be
|
// or to fallback to the block of the parent type, which would be
|
||||||
// "form_widget" in this example (again, no matter in which theme).
|
// "form_widget" in this example (again, no matter in which theme).
|
||||||
// If the designer wants to explicitely fallback to "form_widget" in his
|
// If the designer wants to explicitly fallback to "form_widget" in his
|
||||||
// custom "choice_widget", for example because he only wants to wrap
|
// custom "choice_widget", for example because he only wants to wrap
|
||||||
// a <div> around the original implementation, he can simply call the
|
// a <div> around the original implementation, he can simply call the
|
||||||
// widget() function again to render the block for the parent type.
|
// widget() function again to render the block for the parent type.
|
||||||
|
@ -264,7 +264,7 @@ class FormRenderer implements FormRendererInterface
|
||||||
$hierarchyLevel = count($blockHierarchy) - 1;
|
$hierarchyLevel = count($blockHierarchy) - 1;
|
||||||
|
|
||||||
// The default variable scope contains all view variables, merged with
|
// The default variable scope contains all view variables, merged with
|
||||||
// the variables passed explicitely to the helper
|
// the variables passed explicitly to the helper
|
||||||
$scopeVariables = $view->getVars();
|
$scopeVariables = $view->getVars();
|
||||||
} else {
|
} else {
|
||||||
// RECURSIVE CALL
|
// RECURSIVE CALL
|
||||||
|
@ -273,7 +273,7 @@ class FormRenderer implements FormRendererInterface
|
||||||
$blockHierarchy = $this->blockHierarchyMap[$mapKey];
|
$blockHierarchy = $this->blockHierarchyMap[$mapKey];
|
||||||
$hierarchyLevel = $this->hierarchyLevelMap[$mapKey] - 1;
|
$hierarchyLevel = $this->hierarchyLevelMap[$mapKey] - 1;
|
||||||
|
|
||||||
// Reuse the current scope and merge it with the explicitely passed variables
|
// Reuse the current scope and merge it with the explicitly passed variables
|
||||||
$scopeVariables = $this->variableMap[$mapKey];
|
$scopeVariables = $this->variableMap[$mapKey];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -226,7 +226,7 @@ class DateTimeTypeTest extends LocalizedTestCase
|
||||||
// Bug fix
|
// Bug fix
|
||||||
public function testInitializeWithDateTime()
|
public function testInitializeWithDateTime()
|
||||||
{
|
{
|
||||||
// Throws an exception if "data_class" option is not explicitely set
|
// Throws an exception if "data_class" option is not explicitly set
|
||||||
// to null in the type
|
// to null in the type
|
||||||
$this->factory->create('datetime', new \DateTime());
|
$this->factory->create('datetime', new \DateTime());
|
||||||
}
|
}
|
||||||
|
|
|
@ -558,7 +558,7 @@ class DateTypeTest extends LocalizedTestCase
|
||||||
// Bug fix
|
// Bug fix
|
||||||
public function testInitializeWithDateTime()
|
public function testInitializeWithDateTime()
|
||||||
{
|
{
|
||||||
// Throws an exception if "data_class" option is not explicitely set
|
// Throws an exception if "data_class" option is not explicitly set
|
||||||
// to null in the type
|
// to null in the type
|
||||||
$this->factory->create('date', new \DateTime());
|
$this->factory->create('date', new \DateTime());
|
||||||
}
|
}
|
||||||
|
|
|
@ -403,7 +403,7 @@ class TimeTypeTest extends LocalizedTestCase
|
||||||
// Bug fix
|
// Bug fix
|
||||||
public function testInitializeWithDateTime()
|
public function testInitializeWithDateTime()
|
||||||
{
|
{
|
||||||
// Throws an exception if "data_class" option is not explicitely set
|
// Throws an exception if "data_class" option is not explicitly set
|
||||||
// to null in the type
|
// to null in the type
|
||||||
$this->factory->create('time', new \DateTime());
|
$this->factory->create('time', new \DateTime());
|
||||||
}
|
}
|
||||||
|
|
|
@ -364,7 +364,7 @@ class SimpleFormTest extends AbstractFormTest
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* NULL remains NULL in app and norm format to remove the need to treat
|
* NULL remains NULL in app and norm format to remove the need to treat
|
||||||
* empty values and NULL explicitely in the application
|
* empty values and NULL explicitly in the application
|
||||||
*/
|
*/
|
||||||
public function testSetDataConvertsNullToStringIfNoTransformer()
|
public function testSetDataConvertsNullToStringIfNoTransformer()
|
||||||
{
|
{
|
||||||
|
|
|
@ -491,7 +491,7 @@ class StubIntlDateFormatterTest extends LocaleTestCase
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* It seems IntlDateFormatter caches the timezone id when not explicitely set via constructor or by the
|
* It seems IntlDateFormatter caches the timezone id when not explicitly set via constructor or by the
|
||||||
* setTimeZoneId() method. Since testFormatWithDefaultTimezoneIntl() runs using the default environment
|
* setTimeZoneId() method. Since testFormatWithDefaultTimezoneIntl() runs using the default environment
|
||||||
* time zone, this test would use it too if not running in a separated process.
|
* time zone, this test would use it too if not running in a separated process.
|
||||||
*
|
*
|
||||||
|
|
Reference in New Issue