Commit Graph

39936 Commits

Author SHA1 Message Date
Nicolas Grekas
ba54881dc8 minor #30057 New extensions were released supporting PHP 7.3 (tvlooy)
This PR was merged into the 4.2 branch.

Discussion
----------

New extensions were released supporting PHP 7.3

| Q             | A
| ------------- | ---
| Branch?       | 4.2
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | see travis
| License       | MIT

Requested in #30030

Commits
-------

31de71d216 New extensions were released supporting PHP 7.3
2019-02-08 13:49:05 +01:00
Tom Van Looy
31de71d216 New extensions were released supporting PHP 7.3 2019-02-08 13:40:57 +01:00
Nicolas Grekas
717dcc9001 bug #30093 [DependencyInjection] add $lazyLoad context to the generated code for lazy non-shared service by PhpDumper (XuruDragon)
This PR was merged into the 4.2 branch.

Discussion
----------

[DependencyInjection] add $lazyLoad context to the generated code for lazy non-shared service by PhpDumper

| Q             | A
| ------------- | ---
| Branch?       | 4.1
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #29930
| License       | MIT
| Doc PR        | n/a

Fix #29930  by adding $lazyLoad context to the generated code for lazy non-shared service by PhpDumper

Commits
-------

98d4dfdadb [DependencyInjection] fix #29930 add $lazyLoad flag to the generated factory code for lazy non-shared services
2019-02-08 13:00:12 +01:00
Grégoire Pineau
bac2c99733 bug #30102 [Workflow] Graphviz dumper escape not always a string (Korbeil)
This PR was merged into the 4.2 branch.

Discussion
----------

[Workflow] Graphviz dumper escape not always a string

| Q             | A
| ------------- | ---
| Branch?       | 4.1
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | N/A
| License       | MIT
| Doc PR        | N/A

The `escape` function takes a string as parameter but it can be a `bool` (see `findTransitions` method in same class). In this PR I allow any type in `escape` and does escaping only for `string`.

Commits
-------

1b17192b0a escape function does not always take a string
2019-02-08 11:00:05 +01:00
Nicolas Grekas
02adcc33a2 fix merge 2019-02-07 19:39:48 +01:00
Nicolas Grekas
f8209784ee minor #30106 [FrameworkBundle] fix xsd (XuruDragon)
This PR was merged into the 4.2 branch.

Discussion
----------

[FrameworkBundle] fix xsd

| Q             | A
| ------------- | ---
| Branch?       | 4.2
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | n/a
| License       | MIT
| Doc PR        | n/a

fix a mistake introduce in #30101

Commits
-------

436c3b9402 [FrameworkBundle] fix xsd
2019-02-07 19:34:43 +01:00
Anthony MARTIN
436c3b9402 [FrameworkBundle] fix xsd 2019-02-07 19:28:32 +01:00
Anthony MARTIN
98d4dfdadb [DependencyInjection] fix #29930 add $lazyLoad flag to the generated factory code for lazy non-shared services
| Q             | A
| ------------- | ---
| Branch?       | 4.1
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #29930
| License       | MIT
| Doc PR        | n/a

Fix #29930  by adding $lazyLoad context to the generated code for lazy non-shared service by PhpDumper
2019-02-07 19:08:46 +01:00
Baptiste Leduc
1b17192b0a
escape function does not always take a string 2019-02-07 19:06:43 +01:00
Nicolas Grekas
696f82122d minor #30101 [FrameworkBundle] update xsd to match the 4.2 configuration (XuruDragon)
This PR was merged into the 4.2 branch.

Discussion
----------

[FrameworkBundle] update xsd to match the 4.2 configuration

| Q             | A
| ------------- | ---
| Branch?       | 4.2
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | n/a
| License       | MIT
| Doc PR        | n/A

Update the FrameworkBundle xsd to match the 4.2 configuration

Commits
-------

7782e60b00 [FrameworkBundle] update xsd to match the 4.2 configuration
2019-02-07 15:27:51 +01:00
Anthony MARTIN
7782e60b00 [FrameworkBundle] update xsd to match the 4.2 configuration
| Q             | A
| ------------- | ---
| Branch?       | 4.2
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | n/a
| License       | MIT
| Doc PR        | n/A

Update the FrameworkBundle xsd to match the 4.2 configuration
2019-02-07 12:59:23 +01:00
Nicolas Grekas
32e14005a6 Merge branch '3.4' into 4.2
* 3.4:
  [FrameworkBundle] Update the xsd to match the actual session configuration
  [Form] CsrfValidationListener marks the token as invalid if it is not a string
  [VarDumper] Fixed phpDoc
  [PhpUnitBridge] fix PHP  5.3 compat
  [Filesystem] Fixed some docblocks and typos
  bumped Symfony version to 3.4.23
  updated VERSION for 3.4.22
  update CONTRIBUTORS for 3.4.22
  updated CHANGELOG for 3.4.22
  fix some minor typos
  do not overwrite the constraint being evaluated
2019-02-07 12:40:08 +01:00
Nicolas Grekas
8f29f56d67 minor #30100 [FrameworkBundle] Update the xsd to match the actual session configuration (XuruDragon)
This PR was merged into the 3.4 branch.

Discussion
----------

[FrameworkBundle] Update the xsd to match the actual session configuration

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | n/a
| License       | MIT
| Doc PR        | n/a

Update the FrameworkBundle xsd to match the actual session configuration

Commits
-------

40bd76c9d4 [FrameworkBundle] Update the xsd to match the actual session configuration
2019-02-07 12:35:39 +01:00
Anthony MARTIN
40bd76c9d4 [FrameworkBundle] Update the xsd to match the actual session configuration
| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | n/a
| License       | MIT
| Doc PR        | n/a

Update the FrameworkBundle xsd to match the actual session configuration
2019-02-07 11:24:20 +01:00
Nicolas Grekas
5c7931c992 bug #29884 [Form] CsrfValidationListener marks the token as invalid if it is not a string (umpirsky)
This PR was squashed before being merged into the 3.4 branch (closes #29884).

Discussion
----------

[Form] CsrfValidationListener marks the token as invalid if it is not a string

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #29882
| License       | MIT

Commits
-------

deb8e95091 [Form] CsrfValidationListener marks the token as invalid if it is not a string
2019-02-07 10:44:29 +01:00
Saša Stamenković
deb8e95091 [Form] CsrfValidationListener marks the token as invalid if it is not a string 2019-02-07 10:44:13 +01:00
Nicolas Grekas
fd720ed704 bug #30058 [Routing] fix perf issue when dumping large number of routes (nicolas-grekas)
This PR was merged into the 4.2 branch.

Discussion
----------

[Routing] fix perf issue when dumping large number of routes

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

In my reproducer, dumping 12k routes goes from 40s to 3s without xdebug, and from 50s to 12s with xdebug.

There is a lower level issue which is that `strpos` is called 16M times, but that's still a lot faster than calling `preg_match` 16M times. Reducing the number of checks is certainly possible, but that would be more involving. This could happen on master if someone is up to dig into it.

Commits
-------

872efe5729 [Routing] fix perf issue when dumping large number of routes
2019-02-07 10:20:22 +01:00
Nicolas Grekas
872efe5729 [Routing] fix perf issue when dumping large number of routes 2019-02-07 10:16:03 +01:00
Nicolas Grekas
6fa8d07902 bug #30062 [Form] do not overwrite the constraint being evaluated (xabbuh)
This PR was merged into the 3.4 branch.

Discussion
----------

[Form] do not overwrite the constraint being evaluated

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

Commits
-------

345a6329dd do not overwrite the constraint being evaluated
2019-02-07 09:55:37 +01:00
Nicolas Grekas
0bb0c7f88c bug #30074 Fix wrong value in file id attribute for Xliff 2.0 (deguif)
This PR was squashed before being merged into the 4.2 branch (closes #30074).

Discussion
----------

Fix wrong value in file id attribute for Xliff 2.0

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

Currently using the `XliffFileDumper` for exporting messages from catalogue with domain of the form `xxxx+intl-icu` produces an invalid Xliff version 2.0 file as the file id attribute is of type `xs:NMTOKEN` (cf. https://github.com/symfony/translation/blob/master/Resources/schemas/xliff-core-2.0.xsd#L139) which doesn't accept `+` character (cf. http://www.datypic.com/sc/xsd/t-xsd_NMTOKEN.html).
Exception is thrown when loading the content after.

Commits
-------

8bf12f89a3 Fix wrong value in file id attribute for Xliff 2.0
2019-02-07 09:55:10 +01:00
François-Xavier de Guillebon
8bf12f89a3 Fix wrong value in file id attribute for Xliff 2.0 2019-02-07 09:55:01 +01:00
Nicolas Grekas
034cd46a61 minor #30065 [Filesystem] Fixed some docblocks and typos (samnela)
This PR was merged into the 3.4 branch.

Discussion
----------

[Filesystem] Fixed some docblocks and typos

| Q             | A
| ------------- | ---
| Branch?       |  3.4
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | n/a
| License       | MIT
| Doc PR        | n/a

Commits
-------

972b971129 [Filesystem] Fixed some docblocks and typos
2019-02-07 09:17:13 +01:00
Nicolas Grekas
9e52e23ce4 minor #30069 [VarDumper] Fixed phpDoc (enomotodev)
This PR was submitted for the master branch but it was merged into the 3.4 branch instead (closes #30069).

Discussion
----------

[VarDumper] Fixed phpDoc

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

- I added it because nullable was not mentioned in phpdoc

Commits
-------

506231f353 [VarDumper] Fixed phpDoc
2019-02-07 09:14:20 +01:00
enomotodev
506231f353 [VarDumper] Fixed phpDoc 2019-02-07 09:14:15 +01:00
Nicolas Grekas
2d66fe7d5c bug #30078 [Messenger] Fix DataCollector template (ottaviano)
This PR was merged into the 4.2 branch.

Discussion
----------

[Messenger] Fix DataCollector template

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

It's for adding a closing DIV tag on L96 (+ re-indent the HTML code)

Commits
-------

146ae74fac [Messenger] Fix DataCollector template
2019-02-07 08:55:22 +01:00
Nicolas Grekas
5a7bff2f38 bug #30087 [PhpUnitBridge] fix PHP 5.3 compat (nicolas-grekas)
This PR was merged into the 3.4 branch.

Discussion
----------

[PhpUnitBridge] fix PHP  5.3 compat

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

ONLY FOR 3.4
The bridge must remain compatible with PHP 5.3
Introduced in 33a001e460.

Commits
-------

b45cbf6e9e [PhpUnitBridge] fix PHP  5.3 compat
2019-02-07 08:45:28 +01:00
Nicolas Grekas
b45cbf6e9e [PhpUnitBridge] fix PHP 5.3 compat 2019-02-06 09:03:17 +01:00
Dimitri Gritsajuk
146ae74fac [Messenger] Fix DataCollector template 2019-02-05 09:26:58 +01:00
Samuel NELA
972b971129 [Filesystem] Fixed some docblocks and typos 2019-02-04 22:34:32 +01:00
Fabien Potencier
d4f4d8aca7 bumped Symfony version to 4.2.4 2019-02-03 13:51:55 +01:00
Fabien Potencier
323bfa0445
Merge pull request #30068 from fabpot/release-4.2.3
released v4.2.3
2019-02-03 13:47:44 +01:00
Fabien Potencier
c41a869379 updated VERSION for 4.2.3 2019-02-03 13:47:33 +01:00
Fabien Potencier
40204a4248 updated CHANGELOG for 4.2.3 2019-02-03 13:47:28 +01:00
Fabien Potencier
205b0ba2cc bumped Symfony version to 3.4.23 2019-02-03 13:46:56 +01:00
Fabien Potencier
907d4d1d1a
Merge pull request #30067 from fabpot/release-3.4.22
released v3.4.22
2019-02-03 13:23:08 +01:00
Fabien Potencier
6abe200ebf updated VERSION for 3.4.22 2019-02-03 13:22:50 +01:00
Fabien Potencier
a9b7b5a5e4 update CONTRIBUTORS for 3.4.22 2019-02-03 13:22:40 +01:00
Fabien Potencier
00453879a9 updated CHANGELOG for 3.4.22 2019-02-03 13:22:32 +01:00
Christian Flothmann
590850fe29 fix some minor typos 2019-02-02 11:16:32 +01:00
Christian Flothmann
345a6329dd do not overwrite the constraint being evaluated 2019-02-02 10:48:17 +01:00
Nicolas Grekas
c839a4be4c Merge branch '3.4' into 4.2
* 3.4:
  Use system wide memcached.so
2019-02-01 16:46:14 +01:00
Nicolas Grekas
baceb1815e minor #30030 Use system wide memcached.so (tvlooy)
This PR was merged into the 3.4 branch.

Discussion
----------

Use system wide memcached.so

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | WiP
| License       | MIT

requested by https://github.com/symfony/symfony/pull/29624#issuecomment-457382732

let's see what travis is going to do with this ...

Commits
-------

8d171f406b Use system wide memcached.so
2019-02-01 16:42:32 +01:00
Tom Van Looy
8d171f406b Use system wide memcached.so 2019-02-01 16:34:59 +01:00
Nicolas Grekas
d44fba1260 Merge branch '3.4' into 4.2
* 3.4:
  Fix typo in translation
  Declare exceptions that are already thrown by implementations
2019-02-01 11:47:37 +01:00
Nicolas Grekas
4e4ebdece2 bug #30050 [Cache] fix pruning pdo cache for vendors that throw on execute (bendavies)
This PR was merged into the 4.2 branch.

Discussion
----------

[Cache] fix pruning pdo cache for vendors that throw on execute

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

This additionally fixes pruning of the PdoAdapter when the table does not exist.
Similar to https://github.com/symfony/symfony/pull/29900 https://github.com/symfony/symfony/pull/30005 and f419851eb1

Commits
-------

14b9fa5234 fix pruning pdo cache for vendors that throw on execute
2019-02-01 11:22:08 +01:00
Ben Davies
14b9fa5234 fix pruning pdo cache for vendors that throw on execute 2019-01-31 15:08:08 +00:00
Robin Chalas
38d55287e5 minor #30042 Fix typo in Norwegian translation (tarjei)
This PR was submitted for the master branch but it was merged into the 3.4 branch instead (closes #30042).

Discussion
----------

Fix typo in Norwegian translation

| Q             | A
| ------------- | ---
| Branch?       | master for features / 3.4 up to 4.2 for bug fixes <!-- see below -->
| Bug fix?      | no
| New feature?  |no <!-- don't forget to update src/**/CHANGELOG.md files -->
| BC breaks?    | no     <!-- see https://symfony.com/bc -->
| Deprecations? | no <!-- don't forget to update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tests pass?   | yes    <!-- please add some, will be required by reviewers -->
| Fixed tickets | #...   <!-- #-prefixed issue number(s), if any -->
| License       | MIT

Minor translation fix.

Commits
-------

e8cdda3cf2 Fix typo in translation
2019-01-31 11:03:53 +01:00
Tarjei Huse
e8cdda3cf2 Fix typo in translation 2019-01-31 11:03:47 +01:00
Robin Chalas
52a986b15e minor #29779 [Security] Declare exceptions that are already thrown by implementations (umulmrum)
This PR was merged into the 3.4 branch.

Discussion
----------

[Security] Declare exceptions that are already thrown by implementations

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

Adding exception declarations for PasswordEncoderInterface. I think it's a matter of opinion whether this change is a BC break. The BC promise doesn't cover such a case; I'd see it as a BC break to add exceptions in general, but in this case it's more of a "documentation" issue, as most implementations of the interface have been throwing those exceptions for years.

Commits
-------

f4cc30b72b Declare exceptions that are already thrown by implementations
2019-01-31 10:50:26 +01:00
Nicolas Grekas
4f6541e4f5 Merge branch '3.4' into 4.2
* 3.4:
  [DI] Fix dumping Doctrine-like service graphs
  fix serialization workaround in CustomUserMessageAuthenticationException
  PHPUnit Bridge: Rollback to traditional array syntax.
  [Form] fix some docblocks and type checks
2019-01-30 18:51:38 +01:00