Commit Graph

52571 Commits

Author SHA1 Message Date
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
Tomas
421d01b872 Add HeaderBlock for slack notifier 2020-12-11 11:17:44 +02:00
Oskar Stark
01623391f6 [Notifier][Discord] Fix exception message + test 2020-12-11 10:11:18 +01:00
Oskar Stark
32014199d0 [Notifier] Add PHP 8 support for bridges 2020-12-11 10:00:54 +01:00
Nicolas Grekas
c6de408c60 Merge branch '5.2' into 5.x
* 5.2:
  [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:45 +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
67d2a20363 minor #39441 Fix CS in changelogs (jderusse)
This PR was merged into the 5.3-dev branch.

Discussion
----------

Fix CS in changelogs

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

the last one :)

Commits
-------

fb22eece5e Fix CS in changelogs
2020-12-10 22:47:47 +01:00
Jérémy Derussé
fb22eece5e
Fix CS in changelogs 2020-12-10 22:15:07 +01:00
Jérémy Derussé
61d9514297
Merge branch '5.2' into 5.x
* 5.2:
  Fix CS in Changelogs in 5.2
2020-12-10 22:04:12 +01:00
Nicolas Grekas
fccb4c9239 minor #39423 [Messenger] Added more descriptive exception message when handling of a message failed (loevgaard)
This PR was squashed before being merged into the 5.3-dev branch.

Discussion
----------

[Messenger] Added more descriptive exception message when handling of a message failed

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | no (more of a patch thing)
| New feature?  | no
| Deprecations? | no
| License       | MIT

I use Symfony Messenger extensively and I run into the `HandlerFailedException` from time to time. What bothers me is that the exception doesn't carry the name of the message that failed right there in the exception message.

Here is an example from Sentry:

![image](https://user-images.githubusercontent.com/2412177/101757346-572eda00-3ad7-11eb-9f57-6ba2b043594d.png)

As you can see I get the error message, but I have to look through all my messages (in different bundles etc) to find the sinner.

This PR adds the message name directly to the exception message.

Commits
-------

d985ca9a6e [Messenger] Added more descriptive exception message when handling of a message failed
2020-12-10 21:24:41 +01:00
Joachim Løvgaard
d985ca9a6e [Messenger] Added more descriptive exception message when handling of a message failed 2020-12-10 21:24:28 +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
Nicolas Grekas
e4febad057 Merge branch '5.2' into 5.x
* 5.2:
  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 21:00:07 +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
f66b853f4a bug #39434 [Cache] Bugfix provide the correct host and port when throwing the exception (renan)
This PR was merged into the 5.3-dev branch.

Discussion
----------

[Cache] Bugfix provide the correct host and port when throwing the exception

| Q             | A
| ------------- | ---
| Branch?       | 5.x
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | none
| License       | MIT
| Doc PR        | none

The message before was including the result of the `getMasterAddrByName` call of which ended with:
```
Failed to retrieve master information from master name "mymaster" and address ":0".
```

Commits
-------

276bbb5e85 [Cache] Bugfix provide the correct host and port when throwing the exception
2020-12-10 18:35:09 +01:00
Renan Gonçalves
276bbb5e85
[Cache] Bugfix provide the correct host and port when throwing the exception 2020-12-10 18:29:00 +01:00
Nicolas Grekas
7acca31e66 [Cache] fix setting "read_timeout" when using Redis 2020-12-10 17:45:19 +01:00
Nicolas Grekas
7c98ee1597 bug #39431 [Cache] Make use of read_timeout in \RedisSentinel and \Redis (ferrastas)
This PR was merged into the 5.3-dev branch.

Discussion
----------

[Cache] Make use of `read_timeout` in `\RedisSentinel` and `\Redis`

| Q             | A
| ------------- | ---
| Branch?       | 5.x
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | Fix #39429
| License       | MIT

This is a bugfix for #39363 a feature introduced in 5.x

As described in issue #39429, `\RedisSentinel` accepts an optional read timeout value during construction.
`read_timeout` is already part of the connection options, this PR just make use of it.

Commits
-------

14e36a22d6 [Cache] Make use of `read_timeout` in `\RedisSentinel` and `\Redis`
2020-12-10 17:41:45 +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