Commit Graph

50074 Commits

Author SHA1 Message Date
Nicolas Grekas
13d5e180d2 minor #37343 [3.4] Small update in our internal terminology (Nyholm)
This PR was merged into the 3.4 branch.

Discussion
----------

[3.4] Small update in our internal terminology

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Tickets       | -
| License       | MIT
| Doc PR        | -

The part of #37128 that applies to 3.4.

Commits
-------

c143aacd81 [3.4] Small update in our internal terminology
2020-06-18 18:37:43 +02:00
Nyholm
c143aacd81 [3.4] Small update in our internal terminology 2020-06-18 18:35:04 +02:00
Nicolas Grekas
38c0971bf9 bug #37312 Fix package rename when releasing (94noni)
This PR was merged into the 5.1 branch.

Discussion
----------

Fix package rename when releasing

| Q             | A
| ------------- | ---
| Branch?       | 5.1
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | Fix when upgrading my local project to use the package instead of my old code :)
| License       | MIT

---

Related to
a89a2a8893 (diff-bd586be86489d3e4725496bf5d4caf23) friendly ping @fabpot

The package is released at https://packagist.org/packages/symfony/free-mobile-notifier
And thus this needed to be fixed t give proper hint to devs

Thanks

Commits
-------

7a93222259 Fix package rename when releasing
2020-06-18 18:21:30 +02:00
Nicolas Grekas
5fb13bf0be bug #37319 [HttpClient] Convert CurlHttpClient::handlePush() to instance method (mpesari)
This PR was merged into the 4.4 branch.

Discussion
----------

[HttpClient] Convert CurlHttpClient::handlePush() to instance method

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

9497972500 [HttpClient] Convert CurlHttpClient::handlePush() to instance method
2020-06-18 18:13:35 +02:00
Nicolas Grekas
6e09f92f45 minor #37339 [Security/Http] Remove unnecessary null check (scheb)
This PR was merged into the 5.1 branch.

Discussion
----------

[Security/Http] Remove unnecessary null check

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

Just found this piece of code, it checks if `$this->eventDispatcher` is null, but actually it cannot be null. The constructor argument is non-nullable and a few lines further up it is used without the null check. So I'd recommend to remove the statement.

Commits
-------

a74a506883 Remove unnecessary null check
2020-06-18 18:08:11 +02:00
Nicolas Grekas
363eec265b bug #37342 [Cache] fix compat with DBAL v3 (nicolas-grekas)
This PR was merged into the 3.4 branch.

Discussion
----------

[Cache] fix compat with DBAL v3

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | -
| License       | MIT
| Doc PR        | -

Commits
-------

8c4b49613a [Cache] fix compat with DBAL v3
2020-06-18 18:01:11 +02:00
Nicolas Grekas
8c4b49613a [Cache] fix compat with DBAL v3 2020-06-18 17:42:01 +02:00
Christian Scheb
a74a506883 Remove unnecessary null check 2020-06-18 16:13:31 +02:00
Robin Chalas
4773c5ea29 bug #37327 [HttpFoundation] Allow null in InputBag@set (taylorotwell)
This PR was squashed before being merged into the 5.1 branch (closes #37327).

Discussion
----------

[HttpFoundation] Allow `null` in InputBag@set

This allows `null` to be passed to InputBag's `set` method.

| Q             | A
| ------------- | ---
| Branch?       | 5.1
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| License       | MIT

Previously, `null` was an allowed value to the InputBag's `set` method. At some point this was deprecated. It would be very nice for us to be able to set this to `null`. For example, this ability drives a very popular feature of Laravel where we ship a middleware that converts all empty strings to `null` on incoming requests.

Note that the `get` method already specifically allows `null` and `null` is a valid decoded JSON value.

Commits
-------

14ec6a7659 [HttpFoundation] Allow `null` in InputBag@set
2020-06-18 01:21:27 +02:00
Taylor Otwell
14ec6a7659 [HttpFoundation] Allow null in InputBag@set 2020-06-18 01:21:19 +02:00
Mikko Pesari
9497972500 [HttpClient] Convert CurlHttpClient::handlePush() to instance method
Fix #37252
2020-06-18 00:57:36 +03:00
Tobias Schultze
6d4b26d25f minor #37321 [HttpClient] Move configuration to PHP (IonBazan)
This PR was squashed before being merged into the 5.2-dev branch.

Discussion
----------

[HttpClient] Move configuration to PHP

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | yes
| Deprecations? | no
| Tickets       | Part of #37186
| License       | MIT
| Doc PR        | -

Commits
-------

955ab04d96 [HttpClient] Move configuration to PHP
2020-06-17 23:25:51 +02:00
Ion Bazan
955ab04d96 [HttpClient] Move configuration to PHP 2020-06-17 23:25:41 +02:00
Robin Chalas
8808d7f208 minor #37315 Adding a keyword for Packagist (marclaporte)
This PR was merged into the 5.2-dev branch.

Discussion
----------

Adding a keyword for Packagist

Thank you @javiereguiluz for the suggestion.
https://github.com/symfony/symfony/pull/37273

| Q             | A
| ------------- | ---
| Branch?       | N/A
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Tickets       | N/A
| License       | MIT
| Doc PR        | N/A

So project will appear here:
https://packagist.org/search/?tags=terminal

Commits
-------

aeef1e19bb Adding a keyword for Packagist
2020-06-17 17:31:25 +02:00
Tobias Schultze
6a6f4783f5 minor #37255 [AssetBundle] Move xml service configuration to php (NguyenTruongLinh)
This PR was squashed before being merged into the 5.2-dev branch.

Discussion
----------

[AssetBundle] Move xml service configuration to php

| Q             | A
| ------------- | ---
| Branch?       | master for features / 3.4, 4.4, 5.0 or 5.1 for bug fixes <!-- see below -->
| Bug fix?      | yes/no
| New feature?  | yes/no <!-- please update src/**/CHANGELOG.md files -->
| Deprecations? | yes/no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tickets       | Fix #... <!-- prefix each issue number with "Fix #", if any -->
| License       | MIT
| Doc PR        | symfony/symfony-docs#... <!-- required for new features -->
<!--
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
-------

74650610ff [AssetBundle] Move xml service configuration to php
2020-06-17 12:50:05 +02:00
linh
74650610ff [AssetBundle] Move xml service configuration to php 2020-06-17 12:49:56 +02:00
Marc Laporte
aeef1e19bb
Adding a keyword for Packagist
Thank you @javiereguiluz for the suggestion.
https://github.com/symfony/symfony/pull/37273
2020-06-16 17:43:05 -04:00
Antoine M
7a93222259 Fix package rename when releasing 2020-06-16 18:25:20 +01:00
Fabien Potencier
6f6e4cefe4 minor #37273 Adding a few keywords (marclaporte)
This PR was merged into the 5.2-dev branch.

Discussion
----------

Adding a few keywords

| Q             | A
| ------------- | ---
| Branch?       | N/A
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Tickets       | N/A
| License       | MIT
| Doc PR        | N/A

So project will appear here:
https://packagist.org/search/?tags=console
https://packagist.org/search/?tags=cli
https://packagist.org/search/?tags=command%20line

Commits
-------

f1c5bdf6f8 Adding a few keywords
2020-06-16 07:03:57 +02:00
Fabien Potencier
bcccb14b60 minor #37296 [TwigBundle] Minor cleanup (yceruto)
This PR was merged into the 5.2-dev branch.

Discussion
----------

[TwigBundle] Minor cleanup

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

Commits
-------

bde30e2308 Cleanup
2020-06-16 07:02:42 +02:00
Yonel Ceruto
bde30e2308 Cleanup 2020-06-15 22:02:55 -04:00
Tobias Schultze
d12eabc9fb minor #37237 [DebugBundle] Move xml service configuration to php (jschaedl)
This PR was squashed before being merged into the 5.2-dev branch.

Discussion
----------

[DebugBundle] Move xml service configuration to php

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

Move DebugBundles xml service configuration to php.

Commits
-------

7355c95fb0 [DebugBundle] Move xml service configuration to php
2020-06-16 00:49:51 +02:00
Jan Schädlich
7355c95fb0 [DebugBundle] Move xml service configuration to php 2020-06-16 00:49:40 +02:00
Tobias Schultze
9a6e727222 minor #37238 [SecurityBundle] Move configuration from XML to PHP (JudicaelR)
This PR was squashed before being merged into the 5.2-dev branch.

Discussion
----------

[SecurityBundle] Move configuration from XML to PHP

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | no <!-- please update src/**/CHANGELOG.md files -->
| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tickets       | #37186 <!-- prefix each issue number with "Fix #", if any -->
| License       | MIT
| Doc PR        |- <!-- required for new features -->
<!--
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.
-->
Move security configuration from XML to PHP for `collectors`, `console` and `guard`

Commits
-------

417636fb61 [Security] Move configuration of guard to PHP
79764a9e85 [Security] Move configuration of console to PHP
2176ed23b1 [Security] Move configuration of collectors to PHP
2020-06-15 20:42:03 +02:00
Judicael
417636fb61 [Security] Move configuration of guard to PHP 2020-06-15 19:10:24 +02:00
Tobias Schultze
7838fef651 minor #37287 [request] Move configuration to PHP (dangkhoagms)
This PR was squashed before being merged into the 5.2-dev branch.

Discussion
----------

[request] Move configuration to PHP

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | no <!-- please update src/**/CHANGELOG.md files -->
| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tickets       | Part of #37186
| License       | MIT
| Doc PR        |
<!--
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
-------

ca72bbbf4d [request] Move configuration to PHP
2020-06-15 18:50:40 +02:00
dangkhoagms
ca72bbbf4d [request] Move configuration to PHP 2020-06-15 18:50:29 +02:00
Tobias Schultze
8a6a95afa9 minor #37224 [FrameworkBundle] Move XML service configuration to PHP (Richard van Laak)
This PR was squashed before being merged into the 5.2-dev branch.

Discussion
----------

[FrameworkBundle] Move XML service configuration to PHP

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

Move the FrameworkBundle service configuration to PHP.

Commits
-------

679486257d [FrameworkBundle] Move XML service configuration to PHP
2020-06-15 16:30:16 +02:00
Richard van Laak
679486257d [FrameworkBundle] Move XML service configuration to PHP 2020-06-15 16:30:07 +02:00
Tobias Schultze
7f5d876a4b minor #37280 [Routing] Move configuration to PHP (phamuyentri)
This PR was squashed before being merged into the 5.2-dev branch.

Discussion
----------

[Routing] Move configuration to PHP

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

Moving routing configurations in FrameworkBundle to PHP

Commits
-------

268edd8e71 [Routing] Move configuration to PHP
2020-06-15 16:11:28 +02:00
Tri Pham
268edd8e71 [Routing] Move configuration to PHP 2020-06-15 16:11:17 +02:00
Fabien Potencier
bf2fb938be bumped Symfony version to 5.1.3 2020-06-15 16:01:03 +02:00
Judicael
79764a9e85 [Security] Move configuration of console to PHP 2020-06-15 15:56:59 +02:00
Judicael
2176ed23b1 [Security] Move configuration of collectors to PHP 2020-06-15 15:56:59 +02:00
Fabien Potencier
b551cb4c45
Merge pull request #37288 from fabpot/release-5.1.2
released v5.1.2
2020-06-15 15:51:55 +02:00
Fabien Potencier
04f054e44c updated VERSION for 5.1.2 2020-06-15 15:51:38 +02:00
Fabien Potencier
ee8d11451b updated CHANGELOG for 5.1.2 2020-06-15 15:51:15 +02:00
Nicolas Grekas
dadc606800 Merge branch '5.1'
* 5.1:
  [Console] Reset question validator attempts only for actual stdin (bis)
  Fix CookieClearingLogoutListener DI configuration
  [HttpFoundation] use InputBag for Request::$request only if data is coming from a form
  Make PhpDocExtractor compatible with phpDocumentor v5
  fixed prototype block prefixes hierarchy of the CollectionType
  Reset question validator attempts only for actual stdin
  fixed block prefixes hierarchy of the CollectionType
  bumped Symfony version to 5.0.11
  updated VERSION for 5.0.10
  updated CHANGELOG for 5.0.10
  bumped Symfony version to 4.4.11
  updated VERSION for 4.4.10
  updated CHANGELOG for 4.4.10
2020-06-15 14:59:35 +02:00
Nicolas Grekas
d472983f21 Merge branch '5.0' into 5.1
* 5.0:
  [Console] Reset question validator attempts only for actual stdin (bis)
2020-06-15 14:59:21 +02:00
Nicolas Grekas
01095156ad Merge branch '4.4' into 5.0
* 4.4:
  [Console] Reset question validator attempts only for actual stdin (bis)
2020-06-15 14:59:07 +02:00
Nicolas Grekas
943c630a94 bug #37286 [Console] Reset question validator attempts only for actual stdin (bis) (nicolas-grekas)
This PR was merged into the 4.4 branch.

Discussion
----------

[Console] Reset question validator attempts only for actual stdin (bis)

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | -
| License       | MIT
| Doc PR        | -

#37160 [fails](https://travis-ci.org/github/symfony/symfony/jobs/698492147), this should fix it by looking at the actual input stream.

Commits
-------

867642e337 [Console] Reset question validator attempts only for actual stdin (bis)
2020-06-15 14:58:46 +02:00
Nicolas Grekas
867642e337 [Console] Reset question validator attempts only for actual stdin (bis) 2020-06-15 14:37:55 +02:00
Tobias Schultze
db78ad215b minor #37240 [WebProfilerBundle] Move xml service configuration to php (jschaedl)
This PR was squashed before being merged into the 5.2-dev branch.

Discussion
----------

[WebProfilerBundle] Move xml service configuration to php

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

Move WebProfilerBundles xml service configuration to php.

Commits
-------

c17429ff76 [WebProfilerBundle] Move xml service configuration to php
2020-06-15 13:51:58 +02:00
Jan Schädlich
c17429ff76 [WebProfilerBundle] Move xml service configuration to php 2020-06-15 13:51:48 +02:00
Fabien Potencier
5562d5c1ba Merge branch '5.0' into 5.1
* 5.0:
  Make PhpDocExtractor compatible with phpDocumentor v5
  Reset question validator attempts only for actual stdin
  bumped Symfony version to 5.0.11
  updated VERSION for 5.0.10
  updated CHANGELOG for 5.0.10
  bumped Symfony version to 4.4.11
  updated VERSION for 4.4.10
  updated CHANGELOG for 4.4.10
2020-06-15 13:50:15 +02:00
Fabien Potencier
6fff7b3672 Merge branch '4.4' into 5.0
* 4.4:
  Make PhpDocExtractor compatible with phpDocumentor v5
  Reset question validator attempts only for actual stdin
  bumped Symfony version to 4.4.11
  updated VERSION for 4.4.10
  updated CHANGELOG for 4.4.10
2020-06-15 13:49:47 +02:00
Fabien Potencier
05817f1928 bug #37265 [HttpFoundation] use InputBag for Request::$request only if data is coming from a form (nicolas-grekas)
This PR was merged into the 5.1 branch.

Discussion
----------

[HttpFoundation] use InputBag for Request::$request only if data is coming from a form

| Q             | A
| ------------- | ---
| Branch?       | 5.1
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | Fix #37100
| License       | MIT
| Doc PR        | -

Commits
-------

786ba109d0 [HttpFoundation] use InputBag for Request::$request only if data is coming from a form
2020-06-15 13:42:23 +02:00
Tobias Schultze
a367d147e1 minor #37258 [FrameworkBundle] Move translation service configuration from xml to php #37186 (malteschlueter)
This PR was squashed before being merged into the 5.2-dev branch.

Discussion
----------

[FrameworkBundle] Move translation service configuration from xml to php #37186

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

Move translation service configuration from xml to php

Commits
-------

e4bc48f334 [FrameworkBundle] Move translation service configuration from xml to php #37186
2020-06-15 12:29:28 +02:00
Malte Schlüter
e4bc48f334 [FrameworkBundle] Move translation service configuration from xml to php #37186 2020-06-15 12:29:17 +02:00
Tobias Schultze
b5a2af0f69 minor #37204 [FrameworkBundle] Move mailer configuration to php (instabledesign)
This PR was squashed before being merged into the 5.2-dev branch.

Discussion
----------

[FrameworkBundle] Move mailer configuration to php

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      |no
| New feature?  | no <!-- please update src/**/CHANGELOG.md files -->
| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tickets       | Part of #37186
| License       | MIT

Move mailer configuration file to php

Commits
-------

eb88f8856b [FrameworkBundle] Move mailer configuration to php
2020-06-15 12:23:01 +02:00