Commit Graph

49392 Commits

Author SHA1 Message Date
Fabien Potencier
6b499e6f51 minor #37232 [APP_CACHE_DIR] Ensure a split per environment when using that new variable (Plopix)
This PR was merged into the 5.2-dev branch.

Discussion
----------

[APP_CACHE_DIR] Ensure a split per environment when using that new variable

| Q             | A
| ------------- | ---
| Branch       | master
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| License       | MIT
| Doc PR        | https://github.com/symfony/symfony-docs/pull/13819

All the explanation here: https://github.com/symfony/symfony-docs/pull/13819

Commits
-------

06b793f59e Ensure a split per environment
2020-06-12 08:08:05 +02:00
Tobias Schultze
806fd22685 minor #37202 [PropertyAccess] Move configuration to PHP (qneyrat, Tobion)
This PR was merged into the 5.2-dev branch.

Discussion
----------

[PropertyAccess] Move configuration to PHP

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Tickets       | Ref #37186
| License       | MIT
| Doc PR        | n/a

Commits
-------

5acddfb726 add comment for consistency
3f25c072c2 [PropertyAccess] Move configuration to PHP
2020-06-12 01:39:53 +02:00
Tobias Schultze
5acddfb726
add comment for consistency 2020-06-12 01:24:46 +02:00
Tobias Schultze
3acc72afe4 minor #37226 [Lock] Move configuration to PHP (Tomas Javaisis)
This PR was squashed before being merged into the 5.2-dev branch.

Discussion
----------

[Lock] Move configuration to PHP

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | yes-ish
| Deprecations? | no
| Tickets       |  #37186
| License       | MIT
| Doc PR        | n/a

Change lock config file from XML to PHP.

Commits
-------

7882cd5527 [Lock] Move configuration to PHP
2020-06-12 01:12:43 +02:00
Tomas Javaisis
7882cd5527 [Lock] Move configuration to PHP 2020-06-12 01:12:33 +02:00
Tobias Schultze
b667eed120 minor #37215 [FrameworkBundle] Move web configuration to PHP (ck-developer, Tobion)
This PR was merged into the 5.2-dev branch.

Discussion
----------

[FrameworkBundle] Move web configuration to PHP

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Tickets       | Ref #37186
| License       | MIT

Commits
-------

9000e72a23 add missing abstract_arg to fix replace arguments
8a81abeb6f [FrameworkBundle] Move web configuration to PHP
2020-06-12 01:09:36 +02:00
Tobias Schultze
c0a3a64db0 minor #37225 [SecurityBundle] convert templating configuration to PHP (ck-developer)
This PR was merged into the 5.2-dev branch.

Discussion
----------

[SecurityBundle] convert templating configuration to PHP

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Tickets       | Ref #37186
| License       | MIT

Commits
-------

0c36a4b8d9 [SecurityBundle] convert templating configuration to PHP
2020-06-12 01:02:18 +02:00
Tobias Schultze
9000e72a23
add missing abstract_arg to fix replace arguments
fix failing tests "Cannot replace arguments if none have been configured yet."
2020-06-12 00:59:44 +02:00
c.khedhi@prismamedia.com
0c36a4b8d9 [SecurityBundle] convert templating configuration to PHP 2020-06-12 00:42:23 +02:00
Tobias Schultze
1d84e8ba7e minor #37230 [FrameworkBundle] Move profiling collectors configuration to PHP (hvt)
This PR was merged into the 5.2-dev branch.

Discussion
----------

[FrameworkBundle] Move profiling collectors configuration to PHP

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Tickets       | https://github.com/symfony/symfony/issues/37186
| License       | MIT

Moving profiling collectors configuration in framework bundle to PHP.

Commits
-------

3a0db4cf4d [FrameworkBundle] Move profiling collectors configuration to PHP
2020-06-12 00:19:52 +02:00
Tobias Schultze
4db19dbf48 Merge branch '5.1' 2020-06-11 23:54:23 +02:00
Tobias Schultze
bb80fbf931 Merge branch '5.0' into 5.1 2020-06-11 23:53:51 +02:00
Tobias Schultze
00bf63d9fd Merge branch '4.4' into 5.0 2020-06-11 23:53:02 +02:00
Tobias Schultze
2d781ddce6 fix test checking non-existing arg 2020-06-11 23:52:31 +02:00
Tobias Schultze
c14f0e6dea Merge branch '5.1' 2020-06-11 23:21:11 +02:00
Tobias Schultze
551f7cfa8d Merge branch '5.0' into 5.1 2020-06-11 23:20:02 +02:00
Tobias Schultze
c704acbf9b Merge branch '4.4' into 5.0 2020-06-11 23:19:34 +02:00
Tobias Schultze
f6d1869fdd minor #37211 [Fragment] Move configuration to PHP (idetox)
This PR was merged into the 5.2-dev branch.

Discussion
----------

[Fragment] Move configuration to PHP

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Tickets       | Ref #37186
| License       | MIT

Commits
-------

eaf53f6889 [Fragment] Move configuration to PHP
2020-06-11 23:04:21 +02:00
Sébastien Morel
06b793f59e
Ensure a split per environment 2020-06-11 12:48:29 -07:00
Harm van Tilborg
3a0db4cf4d [FrameworkBundle] Move profiling collectors configuration to PHP 2020-06-11 20:42:17 +02:00
idetox
eaf53f6889 [Fragment] Move configuration to PHP 2020-06-11 19:35:54 +02:00
Fabien Potencier
4b22f97926 minor #37223 [FrameworkBundle] Move identity translator configuration to PHP (smmd)
This PR was merged into the 5.2-dev branch.

Discussion
----------

[FrameworkBundle] Move identity translator configuration to PHP

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Tickets       | https://github.com/symfony/symfony/issues/37186
| License       | MIT

Move identity translator file to php

Commits
-------

335c9dba71 [FrameworkBundle] Move identity translator configuration to PHP
2020-06-11 18:39:46 +02:00
Sagrario Meneses
335c9dba71 [FrameworkBundle] Move identity translator configuration to PHP 2020-06-11 10:52:34 -05:00
Fabien Potencier
3f20e65019 minor #37209 [DI][Framework] Use PHP instead of XML for test config (GaryPEGEOT)
This PR was squashed before being merged into the 5.2-dev branch.

Discussion
----------

[DI][Framework] Use PHP instead of XML for test config

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Tickets       | Partially #37186
| License       | MIT

See #37186

Commits
-------

36cc98228e [DI][Framework] Use PHP instead of XML for test config
2020-06-11 17:33:22 +02:00
Gary PEGEOT
36cc98228e [DI][Framework] Use PHP instead of XML for test config 2020-06-11 17:33:16 +02:00
Fabien Potencier
afed5eaefd minor #37199 [FrameworkBundle] Move profiling configuration to PHP (hvt)
This PR was merged into the 5.2-dev branch.

Discussion
----------

[FrameworkBundle] Move profiling configuration to PHP

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Tickets       | #37186
| License       | MIT

Moving profiling configuration in framework bundle to PHP.

Commits
-------

20b5d245c7 [FrameworkBundle] Move profiling configuration to PHP
2020-06-11 17:21:00 +02:00
Fabien Potencier
3c5f9d1c8c minor #37207 [Ssi] Move configuration to PHP (50bhan)
This PR was squashed before being merged into the 5.2-dev branch.

Discussion
----------

[Ssi] Move configuration to PHP

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Tickets       | Ref #37186
| License       | MIT
| Doc PR        | n/a

Commits
-------

5a4d667369 [Ssi] Move configuration to PHP
2020-06-11 16:52:53 +02:00
50bhan
5a4d667369 [Ssi] Move configuration to PHP 2020-06-11 16:52:47 +02:00
Harm van Tilborg
20b5d245c7 [FrameworkBundle] Move profiling configuration to PHP 2020-06-11 16:47:52 +02:00
Fabien Potencier
188a9850df minor #37212 [FrameworkBundle] Move debug configuration to PHP (Benoit Mallo)
This PR was squashed before being merged into the 5.2-dev branch.

Discussion
----------

[FrameworkBundle] Move debug configuration to PHP

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Tickets       | Ref #37186
| License       | MIT
<!--
Replace this notice by a short README for your feature/bugfix. This will help people
understand your PR and can be used as a start for the documentation.

Additionally (see https://symfony.com/releases):
 - Always add tests and ensure they pass.
 - Never break backward compatibility (see https://symfony.com/bc).
 - Bug fixes must be submitted against the lowest maintained branch where they apply
   (lowest branches are regularly merged to upper ones so they get the fixes too.)
 - Features and deprecations must be submitted against branch master.
-->

Commits
-------

a226a52d65 [FrameworkBundle] Move debug configuration to PHP
2020-06-11 16:41:46 +02:00
Benoit Mallo
a226a52d65 [FrameworkBundle] Move debug configuration to PHP 2020-06-11 16:41:38 +02:00
Fabien Potencier
eb4d77740f Fix CS 2020-06-11 16:40:03 +02:00
Fabien Potencier
c48a30e012 minor #37206 [FrameworkBundle] Move security-csrf configuration to PHP (j.schmitt)
This PR was merged into the 5.2-dev branch.

Discussion
----------

[FrameworkBundle] Move security-csrf configuration to PHP

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Tickets       | Ref #37186
| License       | MIT
Moving security-csrf configuration in framework bundle to PHP.

Commits
-------

a2d6581345 [FrameworkBundle] Move security-csrf configuration to PHP
2020-06-11 16:38:48 +02:00
Fabien Potencier
596cdb04b7 minor #37219 FrameworkBundle fix incorrect nested arrays in php config (GromNaN)
This PR was merged into the 5.2-dev branch.

Discussion
----------

FrameworkBundle fix incorrect nested arrays in php config

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | Fix https://github.com/symfony/symfony/pull/37201#discussion_r438652771
| License       | MIT

Commits
-------

20459884d2 Fix invalid syntax
2020-06-11 16:36:48 +02:00
Fabien Potencier
51be09c13c minor #37214 Remove non-existing arg and param from serializer service config (Tobion)
This PR was merged into the 4.4 branch.

Discussion
----------

Remove non-existing arg and param from serializer service config

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | yes
| New feature?  | no <!-- please update src/**/CHANGELOG.md files -->
| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tickets       |
| License       | MIT
| Doc PR        |

Leftover from #22741

Commits
-------

d179d71f45 Remove non-existing arg and param from serializer service config
2020-06-11 16:32:27 +02:00
Jérôme TAMARELLE
20459884d2 Fix invalid syntax 2020-06-11 16:03:44 +02:00
c.khedhi@prismamedia.com
8a81abeb6f [FrameworkBundle] Move web configuration to PHP 2020-06-11 15:15:23 +02:00
Fabien Potencier
b1f2a1409c bug #37193 [DependencyInjection][CheckTypeDeclarationsPass] Always resolve parameters (fancyweb)
This PR was merged into the 4.4 branch.

Discussion
----------

[DependencyInjection][CheckTypeDeclarationsPass] Always resolve parameters

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | https://github.com/symfony/symfony/issues/37166
| License       | MIT
| Doc PR        | -

> Only array parameters are not inlined when dumped.

This is true only when the XML debug container is used, not on a live container that can contain unresolved parameters in the `%my_param%` form. That was my mistake. We have to resolve to get the parameter type.

`$value = [];` was just an improvement to avoid useless parameter resolve btw.

Commits
-------

da0e2c36ef [DependencyInjection][CheckTypeDeclarationsPass] Always resolve parameters
2020-06-11 14:58:51 +02:00
Fabien Potencier
faafec4a04 bug #37044 [DependencyInjection] Apply ExpressionLanguageProviderPass to router.default (wizhippo)
This PR was squashed before being merged into the 5.1 branch.

Discussion
----------

[DependencyInjection] Apply ExpressionLanguageProviderPass to router.default

| Q             | A
| ------------- | ---
| Branch?       |  5.1
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | Fix https://github.com/symfony/symfony/issues/37042
| License       | MIT

Using a `chain_router` usually replaces the `router` and add the `router.default` to it's chain.

This would `addExpressionLanguageProvider` to the default router only as the chain router is not expected to have `addExpressionLanguageProvider` as it is not part of the router interface.

Commits
-------

215ad1f93d [DependencyInjection] Apply ExpressionLanguageProviderPass to router.default
2020-06-11 14:57:51 +02:00
Douglas Hammond
215ad1f93d [DependencyInjection] Apply ExpressionLanguageProviderPass to router.default 2020-06-11 14:57:45 +02:00
Tobias Schultze
d179d71f45 Remove non-existing arg and param from serializer service config 2020-06-11 14:32:28 +02:00
Nicolas Grekas
69c37c0335 bug #37054 [String] Fix ellipsis of truncate when not using cut option (DuboisS)
This PR was merged into the 5.1 branch.

Discussion
----------

[String] Fix ellipsis of truncate when not using cut option

| Q             | A
| ------------- | ---
| Branch?       | 5.1 <!-- see below -->
| Bug fix?      | yes
| New feature?  | no <!-- please update src/**/CHANGELOG.md files -->
| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tickets       | - <!-- prefix each issue number with "Fix #", if any -->
| License       | MIT
| Doc PR        | - <!-- required for new features -->

[Since 5.1](https://symfony.com/blog/new-in-symfony-5-1-string-improvements#keep-the-last-word-when-truncating), we can use a cut option on truncate.
But with this option, we don't have the expected behavior when the entire chain is returned.

Currently:
`u('Lorem Ipsum')->truncate(8, '…', false); // 'Lorem Ipsum...'`
Instead of:
`u('Lorem Ipsum')->truncate(8, '…', false); // 'Lorem Ipsum'`

Thanks to @jmsche for his help.

Commits
-------

a2ee6c6cf4 [String] Fix ellipsis of truncate when not using cut option
2020-06-11 14:17:23 +02:00
Steven Dubois
a2ee6c6cf4 [String] Fix ellipsis of truncate when not using cut option 2020-06-11 14:16:36 +02:00
Fabien Potencier
124c139c39 minor #37203 [PropertyInfo] Move configuration to PHP (qneyrat)
This PR was squashed before being merged into the 5.2-dev branch.

Discussion
----------

[PropertyInfo] Move configuration to PHP

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Tickets       | Ref #37186
| License       | MIT
| Doc PR        | n/a

Commits
-------

5dab6ffc4b [PropertyInfo] Move configuration to PHP
2020-06-11 13:19:48 +02:00
qneyrat
5dab6ffc4b [PropertyInfo] Move configuration to PHP 2020-06-11 13:19:42 +02:00
Fabien Potencier
263d54fc70 minor #37205 [Framework] Convert config/error_renderer.xml to php (benji07)
This PR was merged into the 5.2-dev branch.

Discussion
----------

[Framework] Convert config/error_renderer.xml to php

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Tickets       | Ref #37186
| License       | MIT

Commits
-------

213091e8d2 [Framework] Convert config/error_renderer.xml to php
2020-06-11 13:17:38 +02:00
qneyrat
3f25c072c2 [PropertyAccess] Move configuration to PHP 2020-06-11 11:54:50 +02:00
j.schmitt
a2d6581345 [FrameworkBundle] Move security-csrf configuration to PHP 2020-06-11 11:24:10 +02:00
Fabien Potencier
7a9f9e4abb minor #37201 [FrameworkBundle] Convert config/secrets.xml to .php (GromNaN)
This PR was merged into the 5.2-dev branch.

Discussion
----------

[FrameworkBundle] Convert config/secrets.xml to .php

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Tickets       | Ref #37186
| License       | MIT

Commits
-------

6ec97116a3 Convert config/secrets.xml to .php
2020-06-11 11:14:18 +02:00
Fabien Potencier
6d9e13e5ff Bump min version of DI 2020-06-11 11:12:52 +02:00