[Templating] Added tests for the DelegatingEngine.
[FrameworkBundle] Added tests for the DelegatingEngine.
[Templating] Made DelegatingEngine::getEngine() public.
[FrameworkBundle] Made DelegatingEngine::getEngine() public.
merged branch jakzal/templating-delegating-engine (PR #8280)

This PR was merged into the master branch.

Discussion
----------

[Templating|FrameworkBundle] Made DelegatingEngine::getEngine() public

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #7254
| License       | MIT
| Doc PR        | -

As a bonus I've covered both classes with tests.

Commits
-------

a54cbff [FrameworkBundle] Made DelegatingEngine::getEngine() public.
3f84cd3 [Templating] Made DelegatingEngine::getEngine() public.
0a72a99 [FrameworkBundle] Added tests for the DelegatingEngine.
6c31ab2 [Templating] Added tests for the DelegatingEngine.
Sorting files while extracting translation messages from a twig templates
merged branch pauluz/master (PR #8304)

This PR was squashed before being merged into the master branch (closes #8304).

Discussion
----------

Sorting files while extracting translation messages from a twig templates

Hello
When we generate a translations via command:
```php
app\console translation:update
```
is nice if order of found items don't change over the time (inside the file).
So we need to sort the *.twig files to prevent changes in output lang files.

This very simple fix do this.

Please consider this in your code :)

Thanks

Commits
-------

ba0bcb1 Sorting files while extracting translation messages from a twig templates
Allow to get parent of BaseNode
merged branch Strate/strate/improvement/get-parent-of-node (PR #8302)

This PR was submitted for the 2.3 branch but it was merged into the master branch instead (closes #8302).

Discussion
----------

[Config] Allow to get parent of BaseNode

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no (improvement)
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT
| Doc PR        |

Like an ArrayNode have method `getChildren`, I might to be good idea for having method `getParent` of all nodes.

Commits
-------

a9a7ecc [Config] Allow to get parent of BaseNode