Commit Graph

52371 Commits

Author SHA1 Message Date
Guillaume Sainthillier
238d318e34 [DoctrineBridge] Guess correct form types for DATE_IMMUTABLE and DATETIME_IMMUTABLE 2020-12-16 08:43:10 +01:00
Nicolas Grekas
26e1e6b18e minor #39450 [Notifier] [Telegram] Remove void return type from test methods (OskarStark)
This PR was merged into the 5.2 branch.

Discussion
----------

[Notifier] [Telegram] Remove void return type from test methods

| Q             | A
| ------------- | ---
| Branch?       | 5.2
| Bug fix?      | no
| 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        | ---

cc @nicolas-grekas

Commits
-------

e48fcdcd34 [Notifier][Telegram] Remove void return type from test methods
2020-12-11 11:26:47 +01:00
Nicolas Grekas
bfc89cdbc0 minor #39449 [Notifier] [Esendex] Remove void return type from test methods (OskarStark)
This PR was merged into the 5.2 branch.

Discussion
----------

[Notifier] [Esendex] Remove void return type from test methods

| Q             | A
| ------------- | ---
| Branch?       | 5.2
| Bug fix?      | no
| 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        | ---

cc @nicolas-grekas

Commits
-------

6c185d19ad [Notifier][Esendex] Remove void return type from test methods
2020-12-11 11:25:06 +01:00
Nicolas Grekas
cd0e3cfbb7 minor #39446 [Notifier] Move ext-json below php requirement to stay consistent (OskarStark)
This PR was merged into the 5.2 branch.

Discussion
----------

[Notifier] Move ext-json below php requirement to stay consistent

| Q             | A
| ------------- | ---
| Branch?       | 5.2
| Bug fix?      | no
| 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        | ---

Commits
-------

a3b84c9469 [Notifier] Move ext-json below php requirement to stay consistent
2020-12-11 11:24:08 +01:00
Nicolas Grekas
b2dd4d668b minor #39448 [Notifier] [Sendinblue] Remove void return type from test methods (OskarStark)
This PR was merged into the 5.2 branch.

Discussion
----------

[Notifier] [Sendinblue] Remove void return type from test methods

| Q             | A
| ------------- | ---
| Branch?       | 5.2
| Bug fix?      | no
| 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        | ---

cc @nicolas-grekas

Commits
-------

15f523e6ad [Notifier][Sendinblue] Remove void return type from test methods
2020-12-11 11:23:03 +01:00
Nicolas Grekas
8dc71e3bca minor #39447 [Notifier] [GoogleChat] Remove void return type from test methods (OskarStark)
This PR was merged into the 5.2 branch.

Discussion
----------

[Notifier] [GoogleChat] Remove void return type from test methods

| Q             | A
| ------------- | ---
| Branch?       | 5.2
| Bug fix?      | no
| 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        | ---

cc @nicolas-grekas

Commits
-------

de2bf6d98a [Notifier][GoogleChat] Remove void return type from test methods
2020-12-11 11:22:15 +01:00
Nicolas Grekas
5af70a1008 Cleanup composer.json files 2020-12-11 11:20:06 +01:00
Oskar Stark
e48fcdcd34 [Notifier][Telegram] Remove void return type from test methods 2020-12-11 11:18:47 +01:00
Oskar Stark
6c185d19ad [Notifier][Esendex] Remove void return type from test methods 2020-12-11 11:17:01 +01:00
Oskar Stark
15f523e6ad [Notifier][Sendinblue] Remove void return type from test methods 2020-12-11 11:15:34 +01:00
Oskar Stark
de2bf6d98a [Notifier][GoogleChat] Remove void return type from test methods 2020-12-11 11:13:49 +01:00
Oskar Stark
a3b84c9469 [Notifier] Move ext-json below php requirement to stay consistent 2020-12-11 11:06:41 +01:00
Nicolas Grekas
97c6be6de9 minor #39443 [Notifier] Add PHP 8 support for bridges (OskarStark)
This PR was merged into the 5.2 branch.

Discussion
----------

[Notifier] Add PHP 8 support for bridges

| Q             | A
| ------------- | ---
| Branch?       | 5.2
| Bug fix?      | no
| 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        | ---

Is 5.2 the right branch?

Commits
-------

32014199d0 [Notifier] Add PHP 8 support for bridges
2020-12-11 10:45:12 +01:00
Oskar Stark
32014199d0 [Notifier] Add PHP 8 support for bridges 2020-12-11 10:00:54 +01:00
Nicolas Grekas
613ac0c0e9 Merge branch '5.1' into 5.2
* 5.1:
  [PropertyInfo][Serializer] Fixed extracting ignored properties
  [travis] fix checking if the current branch has same major as the next release
2020-12-10 23:56:34 +01:00
Nicolas Grekas
ae2925dca0 bug #39299 [PropertyInfo][Serializer] Fixed extracting ignored properties for Serializer (javer)
This PR was merged into the 5.1 branch.

Discussion
----------

[PropertyInfo][Serializer] Fixed extracting ignored properties for Serializer

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

Fixed typo in `SerializerExtractor::getProperties()` introduced in 8526d7c050 which leads to the error after https://github.com/symfony/symfony/pull/37040.
`$serializerClassMetadata` is instance of `Symfony\Component\Serializer\Mapping\ClassMetadata`, which doesn't contain `isIgnored` method, this methods is located in `Symfony\Component\Serializer\Mapping\AttributeMetadata` which is `$serializerAttributeMetadata` here. More over, it doesn't make sense to check the method existence in one class and call it for another.

Commits
-------

594ce465ce [PropertyInfo][Serializer] Fixed extracting ignored properties
2020-12-10 23:52:55 +01:00
javer
594ce465ce [PropertyInfo][Serializer] Fixed extracting ignored properties 2020-12-10 23:52:33 +01:00
Nicolas Grekas
c59dc2eaab Merge branch '4.4' into 5.1
* 4.4:
  [travis] fix checking if the current branch has same major as the next release
2020-12-10 23:49:18 +01:00
Nicolas Grekas
150d8506e4 [travis] fix checking if the current branch has same major as the next release 2020-12-10 23:48:38 +01:00
Alexander M. Turek
0114f12e47 minor #39439 Fix CS in Changelogs in 5.2 (jderusse)
This PR was merged into the 5.2 branch.

Discussion
----------

Fix CS in Changelogs in 5.2

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

Commits
-------

25a8a0a81b Fix CS in Changelogs in 5.2
2020-12-10 21:11:44 +01:00
Jérémy Derussé
25a8a0a81b
Fix CS in Changelogs in 5.2 2020-12-10 21:03:43 +01:00
Alexander M. Turek
e4f757d948 Merge branch '5.1' into 5.2
* 5.1:
  Fix licence
  Fix CS in link binary
  [Cache] remove no-op
  Fix CS in Changelogs
  [Notifier][Sinch] Add tests
  [Notifier] [Nexmo] Add tests
  [Notifier][OvhCloud] Add tests
  [Notifier] [Free Mobile] Rename method to match other bridges
  [Cache] fix setting "read_timeout" when using Redis
  Fix CS in changelogs
  [Notifier] Streamline README files
2020-12-10 20:16:15 +01:00
Alexander M. Turek
50dbc6ebc9 Merge branch '4.4' into 5.1
* 4.4:
  Fix licence
2020-12-10 20:13:27 +01:00
Alexander M. Turek
59d32c1e72 minor #39383 [Notifier] Streamline README files (OskarStark)
This PR was merged into the 5.1 branch.

Discussion
----------

[Notifier] Streamline README files

| Q             | A
| ------------- | ---
| Branch?       | 5.1
| Bug fix?      | no
| 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        | --

This should be considered a bug fix as it does not touches any PHP file.

I will continue the work for `5.2` branch after the merge

Commits
-------

dfddc899ce [Notifier] Streamline README files
2020-12-10 19:54:36 +01:00
Robin Chalas
4ad158e519 minor #39437 Fix licence (jderusse)
This PR was merged into the 4.4 branch.

Discussion
----------

Fix licence

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

Backport of #39435 for 4.4 (the file has been renamed and the git history trapped me)

Commits
-------

6d7893cdaa Fix licence
2020-12-10 19:19:49 +01:00
Jérémy Derussé
6d7893cdaa
Fix licence 2020-12-10 19:10:51 +01:00
Nicolas Grekas
9b8479b599 Merge branch '4.4' into 5.1
* 4.4:
  Fix CS in link binary
2020-12-10 19:05:50 +01:00
Nicolas Grekas
4a0237f542 minor #39436 Fix CS in link binary (jderusse)
This PR was merged into the 4.4 branch.

Discussion
----------

Fix CS in link binary

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

I missed this file. Sorry :(

Commits
-------

7f6c90ceec Fix CS in link binary
2020-12-10 19:05:29 +01:00
Jérémy Derussé
7f6c90ceec
Fix CS in link binary 2020-12-10 19:02:00 +01:00
Nicolas Grekas
eb1a490261 minor #39435 Fix CS in Changelogs in 5.1 (jderusse)
This PR was merged into the 5.1 branch.

Discussion
----------

Fix CS in Changelogs in 5.1

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

Commits
-------

4557e4d55d Fix CS in Changelogs
2020-12-10 18:59:56 +01:00
Nicolas Grekas
4e7d0c16cd Merge branch '4.4' into 5.1
* 4.4:
  [Cache] remove no-op
2020-12-10 18:56:50 +01:00
Nicolas Grekas
0bc3deeebd [Cache] remove no-op 2020-12-10 18:56:42 +01:00
Jérémy Derussé
4557e4d55d
Fix CS in Changelogs 2020-12-10 18:56:13 +01:00
Nicolas Grekas
8b4bfbaf18 minor #39406 [Notifier] [Sinch] Add tests (OskarStark, derrabus)
This PR was merged into the 5.1 branch.

Discussion
----------

[Notifier] [Sinch] Add tests

| Q             | A
| ------------- | ---
| Branch?       | 5.1
| Bug fix?      | no
| 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        | ---

Commits
-------

46d5fb1f30 [Notifier][Sinch] Add tests
2020-12-10 18:52:20 +01:00
Oskar Stark
46d5fb1f30 [Notifier][Sinch] Add tests 2020-12-10 18:52:05 +01:00
Nicolas Grekas
185ba9cc9a minor #39404 [Notifier] [Nexmo] Add tests (OskarStark)
This PR was squashed before being merged into the 5.1 branch.

Discussion
----------

[Notifier] [Nexmo] Add tests

| Q             | A
| ------------- | ---
| Branch?       | 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       | ---
| License       | MIT
| Doc PR        | ---

Commits
-------

8e566ef84d [Notifier] [Nexmo] Add tests
2020-12-10 18:50:52 +01:00
Oskar Stark
8e566ef84d [Notifier] [Nexmo] Add tests 2020-12-10 18:50:45 +01:00
Nicolas Grekas
f940bf104c minor #39408 [Notifier] [OvhCloud] Add tests (OskarStark, derrabus)
This PR was merged into the 5.1 branch.

Discussion
----------

[Notifier] [OvhCloud] Add tests

| Q             | A
| ------------- | ---
| Branch?       | 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       | ---
| License       | MIT
| Doc PR        | ---

Commits
-------

0c3fe30513 [Notifier][OvhCloud] Add tests
2020-12-10 18:49:32 +01:00
Oskar Stark
0c3fe30513 [Notifier][OvhCloud] Add tests 2020-12-10 18:49:11 +01:00
Nicolas Grekas
ec23ebeec9 minor #39426 [Notifier] [Free Mobile] Rename method to match other bridges (OskarStark)
This PR was squashed before being merged into the 5.1 branch.

Discussion
----------

[Notifier] [Free Mobile] Rename method to match other bridges

| Q             | A
| ------------- | ---
| Branch?       | 5.1
| Bug fix?      | no
| 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        | ---

All other bridges use `create*` instead of `init*`

Commits
-------

f53ae7c40a [Notifier] [Free Mobile] Rename method to match other bridges
2020-12-10 18:45:24 +01:00
Oskar Stark
f53ae7c40a [Notifier] [Free Mobile] Rename method to match other bridges 2020-12-10 18:45:17 +01:00
Nicolas Grekas
bec247dbc7 Merge branch '4.4' into 5.1
* 4.4:
  [Cache] fix setting "read_timeout" when using Redis
  Fix CS in changelogs
2020-12-10 18:44:54 +01:00
Nicolas Grekas
9186d149df bug #39433 [Cache] fix setting "read_timeout" when using Redis (nicolas-grekas)
This PR was merged into the 4.4 branch.

Discussion
----------

[Cache] fix setting "read_timeout" when using Redis

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

Being inspired by #39431

Commits
-------

7acca31e66 [Cache] fix setting "read_timeout" when using Redis
2020-12-10 18:39:37 +01:00
Nicolas Grekas
7acca31e66 [Cache] fix setting "read_timeout" when using Redis 2020-12-10 17:45:19 +01:00
Robin Chalas
fbe3123de5 minor #39432 Fix CS in changelogs - 4.4 (jderusse)
This PR was merged into the 4.4 branch.

Discussion
----------

Fix CS in changelogs - 4.4

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

I'm note sure it worth applying this patch on lower versions...

Commits
-------

a46cff26c6 Fix CS in changelogs
2020-12-10 17:38:45 +01:00
Jérémy Derussé
a46cff26c6
Fix CS in changelogs 2020-12-10 17:34:26 +01:00
Alexander M. Turek
4f08a8a0dd Merge branch '5.1' into 5.2
* 5.1:
  [Notifier] [Twilio] Fix tests
  [Cache] Prevent notice on case matching metadata trick
  [Notifier][Slack] Remove :void from test methods
  [Notifier] Remove @internal annotation from notifier transports
  [Notifier][Twilio] Add tests
  [Notifier][Free Mobile] Tests
  [DI] The default index method wasn't used if the "index_by" attribute is missing
2020-12-10 15:02:11 +01:00
Maxime Steinhausser
243b370c72 minor #39427 [Serializer][Validator] Mention annotation loaders handle PHP8 attributes (ogizanagi)
This PR was merged into the 5.2 branch.

Discussion
----------

[Serializer][Validator] Mention annotation loaders handle PHP8 attributes

| Q             | A
| ------------- | ---
| Branch?       | 5.2 <!-- see below -->
| Bug fix?      | no
| New feature?  | no <!-- please update src/**/CHANGELOG.md files -->
| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tickets       | N/A <!-- prefix each issue number with "Fix #", no need to create an issue if none exist, explain below instead -->
| License       | MIT
| Doc PR        | N/A

Just a small note for the ones reading docblocks first and expecting to find a PhpAttributeLoader or whatever: the annotation loaders handle both doctrine annotations & PHP 8 attributes.
The route loader already mentions this.

Commits
-------

3cbe758df3 [Serializer][Validator] Mention annotation loaders handle PHP8 attributes
2020-12-10 14:55:54 +01:00
Alexander M. Turek
651bd12d75 Merge branch '4.4' into 5.1
* 4.4:
  [Cache] Prevent notice on case matching metadata trick
  [DI] The default index method wasn't used if the "index_by" attribute is missing
2020-12-10 14:41:20 +01:00
Nicolas Grekas
359bcc5686 bug #39228 [HttpClient] Fix content swallowed by AsyncClient initializer (jderusse)
This PR was merged into the 5.2 branch.

Discussion
----------

[HttpClient] Fix content swallowed by AsyncClient initializer

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

I'm not sure if it should be fixed in RetryableHttpClient or AsycClient.
The issue is: when the Strategy needs the body to take a decision BUT decide to NOT retry the request, the content is "lost"

In fact, when the first chunk is yield, the AsyncResponse's initializer is stopped, and nothing consume the remaining chunks. Moreover, because the `passthru` were disabled before yielding the first chunk in RetryableHttpClient, the callback is never called again to yield the remaining content.

Commits
-------

d324271691 Fix content swallowed by AsyncClient initializer
2020-12-10 14:39:20 +01:00