use behavior instead of behaviour
This commit is contained in:
parent
d8c861d3f0
commit
8b5c5ed587
|
@ -102,7 +102,7 @@ To get the diff between two versions, go to https://github.com/symfony/symfony/c
|
||||||
* bug #22900 [FrameworkBundle][Console] Fix the override of a command registered by the kernel (aaa2000)
|
* bug #22900 [FrameworkBundle][Console] Fix the override of a command registered by the kernel (aaa2000)
|
||||||
* bug #22910 [Filesystem] improve error handling in lock() (xabbuh)
|
* bug #22910 [Filesystem] improve error handling in lock() (xabbuh)
|
||||||
* bug #22924 [Cache] Dont use pipelining with RedisCluster (nicolas-grekas)
|
* bug #22924 [Cache] Dont use pipelining with RedisCluster (nicolas-grekas)
|
||||||
* bug #22718 [Console] Fixed different behaviour of key and value user inputs in multiple choice question (borNfreee)
|
* bug #22718 [Console] Fixed different behavior of key and value user inputs in multiple choice question (borNfreee)
|
||||||
* bug #22829 [Yaml] fix colon without space deprecation (xabbuh)
|
* bug #22829 [Yaml] fix colon without space deprecation (xabbuh)
|
||||||
* bug #22901 Fix missing abstract key in XmlDumper (weaverryan)
|
* bug #22901 Fix missing abstract key in XmlDumper (weaverryan)
|
||||||
* bug #22912 [DI] Avoid private call to Container::has() (ro0NL)
|
* bug #22912 [DI] Avoid private call to Container::has() (ro0NL)
|
||||||
|
|
|
@ -425,7 +425,7 @@ To get the diff between two versions, go to https://github.com/symfony/symfony/c
|
||||||
* bug #22928 [WebProfilerBundle] Fixed options stub values display in form profiler (HeahDude)
|
* bug #22928 [WebProfilerBundle] Fixed options stub values display in form profiler (HeahDude)
|
||||||
* feature #22838 Make the simple exception pages match the new style (javiereguiluz)
|
* feature #22838 Make the simple exception pages match the new style (javiereguiluz)
|
||||||
* bug #22925 [PhpUnitBridge] Adjust PHPUnit class_alias check to also check for namespaced class (GawainLynch)
|
* bug #22925 [PhpUnitBridge] Adjust PHPUnit class_alias check to also check for namespaced class (GawainLynch)
|
||||||
* bug #22718 [Console] Fixed different behaviour of key and value user inputs in multiple choice question (borNfreee)
|
* bug #22718 [Console] Fixed different behavior of key and value user inputs in multiple choice question (borNfreee)
|
||||||
* bug #22921 [FrameworkBundle] Only override getProjectDir if it exists in the kernel (aschempp)
|
* bug #22921 [FrameworkBundle] Only override getProjectDir if it exists in the kernel (aschempp)
|
||||||
* feature #22905 [FrameworkBundle][Validator] Move the PSR-11 factory to the component (ogizanagi)
|
* feature #22905 [FrameworkBundle][Validator] Move the PSR-11 factory to the component (ogizanagi)
|
||||||
* bug #22728 [HttpKernel] Fix kernel.project_dir extensibility (chalasr)
|
* bug #22728 [HttpKernel] Fix kernel.project_dir extensibility (chalasr)
|
||||||
|
|
|
@ -1063,7 +1063,7 @@ UPGRADE FROM 2.x to 3.0
|
||||||
```
|
```
|
||||||
|
|
||||||
* The `ApacheMatcherDumper` and `ApacheUrlMatcher` were removed since
|
* The `ApacheMatcherDumper` and `ApacheUrlMatcher` were removed since
|
||||||
the performance gains were minimal and it's hard to replicate the behaviour
|
the performance gains were minimal and it's hard to replicate the behavior
|
||||||
of PHP implementation.
|
of PHP implementation.
|
||||||
|
|
||||||
* The `getMatcherDumperInstance()` and `getGeneratorDumperInstance()` methods in the
|
* The `getMatcherDumperInstance()` and `getGeneratorDumperInstance()` methods in the
|
||||||
|
|
|
@ -290,12 +290,12 @@ class XmlDumper extends Dumper
|
||||||
} elseif ($value instanceof Reference) {
|
} elseif ($value instanceof Reference) {
|
||||||
$element->setAttribute('type', 'service');
|
$element->setAttribute('type', 'service');
|
||||||
$element->setAttribute('id', (string) $value);
|
$element->setAttribute('id', (string) $value);
|
||||||
$behaviour = $value->getInvalidBehavior();
|
$behavior = $value->getInvalidBehavior();
|
||||||
if (ContainerInterface::NULL_ON_INVALID_REFERENCE == $behaviour) {
|
if (ContainerInterface::NULL_ON_INVALID_REFERENCE == $behavior) {
|
||||||
$element->setAttribute('on-invalid', 'null');
|
$element->setAttribute('on-invalid', 'null');
|
||||||
} elseif (ContainerInterface::IGNORE_ON_INVALID_REFERENCE == $behaviour) {
|
} elseif (ContainerInterface::IGNORE_ON_INVALID_REFERENCE == $behavior) {
|
||||||
$element->setAttribute('on-invalid', 'ignore');
|
$element->setAttribute('on-invalid', 'ignore');
|
||||||
} elseif (ContainerInterface::IGNORE_ON_UNINITIALIZED_REFERENCE == $behaviour) {
|
} elseif (ContainerInterface::IGNORE_ON_UNINITIALIZED_REFERENCE == $behavior) {
|
||||||
$element->setAttribute('on-invalid', 'ignore_uninitialized');
|
$element->setAttribute('on-invalid', 'ignore_uninitialized');
|
||||||
}
|
}
|
||||||
} elseif ($value instanceof Definition) {
|
} elseif ($value instanceof Definition) {
|
||||||
|
|
|
@ -144,10 +144,10 @@ CHANGELOG
|
||||||
* Added `FlashBag`. Flashes expire when retrieved by `get()` or `all()`. This
|
* Added `FlashBag`. Flashes expire when retrieved by `get()` or `all()`. This
|
||||||
implementation is ESI compatible.
|
implementation is ESI compatible.
|
||||||
* Added `AutoExpireFlashBag` (default) to replicate Symfony 2.0.x auto expire
|
* Added `AutoExpireFlashBag` (default) to replicate Symfony 2.0.x auto expire
|
||||||
behaviour of messages auto expiring after one page page load. Messages must
|
behavior of messages auto expiring after one page page load. Messages must
|
||||||
be retrieved by `get()` or `all()`.
|
be retrieved by `get()` or `all()`.
|
||||||
* Added `Symfony\Component\HttpFoundation\Attribute\AttributeBag` to replicate
|
* Added `Symfony\Component\HttpFoundation\Attribute\AttributeBag` to replicate
|
||||||
attributes storage behaviour from 2.0.x (default).
|
attributes storage behavior from 2.0.x (default).
|
||||||
* Added `Symfony\Component\HttpFoundation\Attribute\NamespacedAttributeBag` for
|
* Added `Symfony\Component\HttpFoundation\Attribute\NamespacedAttributeBag` for
|
||||||
namespace session attributes.
|
namespace session attributes.
|
||||||
* Flash API can stores messages in an array so there may be multiple messages
|
* Flash API can stores messages in an array so there may be multiple messages
|
||||||
|
|
|
@ -57,7 +57,7 @@ CHANGELOG
|
||||||
|
|
||||||
* [DEPRECATION] The `ApacheMatcherDumper` and `ApacheUrlMatcher` were deprecated and
|
* [DEPRECATION] The `ApacheMatcherDumper` and `ApacheUrlMatcher` were deprecated and
|
||||||
will be removed in Symfony 3.0, since the performance gains were minimal and
|
will be removed in Symfony 3.0, since the performance gains were minimal and
|
||||||
it's hard to replicate the behaviour of PHP implementation.
|
it's hard to replicate the behavior of PHP implementation.
|
||||||
|
|
||||||
2.3.0
|
2.3.0
|
||||||
-----
|
-----
|
||||||
|
|
|
@ -22,8 +22,8 @@ use Symfony\Component\Security\Http\ParameterBagUtils;
|
||||||
/**
|
/**
|
||||||
* Class with the default authentication failure handling logic.
|
* Class with the default authentication failure handling logic.
|
||||||
*
|
*
|
||||||
* Can be optionally be extended from by the developer to alter the behaviour
|
* Can be optionally be extended from by the developer to alter the behavior
|
||||||
* while keeping the default behaviour.
|
* while keeping the default behavior.
|
||||||
*
|
*
|
||||||
* @author Fabien Potencier <fabien@symfony.com>
|
* @author Fabien Potencier <fabien@symfony.com>
|
||||||
* @author Johannes M. Schmitt <schmittjoh@gmail.com>
|
* @author Johannes M. Schmitt <schmittjoh@gmail.com>
|
||||||
|
|
|
@ -198,7 +198,7 @@ class TranslatorCacheTest extends TestCase
|
||||||
* messages provided by the loader. This must also be the case when these catalogues
|
* messages provided by the loader. This must also be the case when these catalogues
|
||||||
* are (internally) read from a cache.
|
* are (internally) read from a cache.
|
||||||
*
|
*
|
||||||
* Optimizations inside the translator must not change this behaviour.
|
* Optimizations inside the translator must not change this behavior.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -256,7 +256,7 @@ abstract class Constraint
|
||||||
*
|
*
|
||||||
* By default, this is the fully qualified name of the constraint class
|
* By default, this is the fully qualified name of the constraint class
|
||||||
* suffixed with "Validator". You can override this method to change that
|
* suffixed with "Validator". You can override this method to change that
|
||||||
* behaviour.
|
* behavior.
|
||||||
*
|
*
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -72,7 +72,7 @@ yaml: |
|
||||||
- 2001-07-23
|
- 2001-07-23
|
||||||
perl-busted: >
|
perl-busted: >
|
||||||
YAML.pm will be able to emulate this behavior soon. In this regard
|
YAML.pm will be able to emulate this behavior soon. In this regard
|
||||||
it may be somewhat more correct than Python's native behaviour which
|
it may be somewhat more correct than Python's native behavior which
|
||||||
can only use tuples as mapping keys. PyYAML will also need to figure
|
can only use tuples as mapping keys. PyYAML will also need to figure
|
||||||
out some clever way to roundtrip structured keys.
|
out some clever way to roundtrip structured keys.
|
||||||
python: |
|
python: |
|
||||||
|
|
Reference in New Issue