Commit Graph

52762 Commits

Author SHA1 Message Date
Fabien Potencier
ee901c35b7 feature #39480 [FrameworkBundle] Add "mailer" monolog channel to mailer transports (chalasr)
This PR was merged into the 5.3-dev branch.

Discussion
----------

[FrameworkBundle] Add "mailer" monolog channel to mailer transports

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

Commits
-------

59db08b1a5 [FrameworkBundle] Add mailer monolog channel on mailer transport definitions
2020-12-14 07:48:52 +01:00
Jérémy Derussé
d651fb539c
Fix tests 2020-12-13 23:21:11 +01:00
Jérémy Derussé
fe40ddb013
Fix applyVersion tests 2020-12-13 19:27:25 +01:00
Robin Chalas
59db08b1a5 [FrameworkBundle] Add mailer monolog channel on mailer transport definitions 2020-12-13 14:11:58 +01:00
Fabien Potencier
e2053d0322 feature #39419 [PhpUnitBridge] bump "php" to 7.1+ and "phpunit" to 7.5+ (nicolas-grekas)
This PR was merged into the 5.3-dev branch.

Discussion
----------

[PhpUnitBridge] bump "php" to 7.1+ and "phpunit" to 7.5+

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

Now that we don't maintain any branch with PHP < 7.1, we can drop support for older PHP and phpunit versions from the bridge \o/

Commits
-------

fe24f73ec0 [PhpUnitBridge] bump "php" to 7.1+ and "phpunit" to 7.5+
2020-12-13 09:03:28 +01:00
Robin Chalas
42abc059a6 Fix missing kernel.build_dir on cache clear 2020-12-12 23:17:42 +01:00
Fabien Potencier
7c7366a82a bug #39456 [Notifier] [Free Mobile] Fix wrong scheme in mapping (OskarStark)
This PR was merged into the 5.1 branch.

Discussion
----------

[Notifier] [Free Mobile] Fix wrong scheme in mapping

| 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        | ---

The scheme is `freemobile`, not `free-mobile`

For reference:
134af39538/src/Symfony/Component/Notifier/Bridge/FreeMobile/FreeMobileTransportFactory.php (L41-L43)

Commits
-------

6eae1951ee [Notifier][Free Mobile] Fix wrong scheme in mapping
2020-12-12 09:30:23 +01:00
Fabien Potencier
e9729550b2 feature #39410 [Notifier] Add HeaderBlock for slack notifier (norkunas)
This PR was merged into the 5.3-dev branch.

Discussion
----------

[Notifier] Add HeaderBlock for slack notifier

| Q             | A
| ------------- | ---
| Branch?       | 5.x
| Bug fix?      | no
| New feature?  | yes
| Deprecations? | no
| Tickets       | Fix #...
| License       | MIT
| Doc PR        | symfony/symfony-docs#...

Commits
-------

421d01b872 Add HeaderBlock for slack notifier
2020-12-12 09:24:03 +01:00
Alexander M. Turek
3760dda356 Merge branch '5.2' into 5.x
* 5.2:
  Fix enabled key for ratelimiter config
  Use more explicit variable name
  Fix wrong comment about SES region
  [Mailer] [Sendgrid] Use $scheme variable to stay consistent
  [Mailer] [Amazon] Fix @param annotation
  [Mailer] Rename testsuites
  Remove void return type from test methods
  Remove void return type from test methods
  [Notifier] Remove void return type from test methods
  [Notifier][Telegram] Remove void return type from test methods
  [Notifier][Esendex] Remove void return type from test methods
  [Notifier][Sendinblue] Remove void return type from test methods
  [Notifier][GoogleChat] Remove void return type from test methods
  [Notifier] Move ext-json below php requirement to stay consistent
2020-12-12 01:32:42 +01:00
Alexander M. Turek
07aa1ed143 Merge branch '5.1' into 5.2
* 5.1:
  Use more explicit variable name
  Fix wrong comment about SES region
  [Mailer] [Sendgrid] Use $scheme variable to stay consistent
  [Mailer] [Amazon] Fix @param annotation
  [Mailer] Rename testsuites
  Remove void return type from test methods
  Remove void return type from test methods
  [Notifier] Remove void return type from test methods
2020-12-12 00:40:07 +01:00
Alexander M. Turek
7d846d3e82 Merge branch '4.4' into 5.1
* 4.4:
  Use more explicit variable name
  Fix wrong comment about SES region
  [Mailer] [Sendgrid] Use $scheme variable to stay consistent
  [Mailer] [Amazon] Fix @param annotation
  [Mailer] Rename testsuites
  Remove void return type from test methods
2020-12-12 00:11:02 +01:00
Alexander M. Turek
d259c84b60 bug #39474 [DomCrawler] Fix null namespace issue in Crawler (prosalov)
This PR was merged into the 5.3-dev branch.

Discussion
----------

[DomCrawler] Fix null namespace issue in Crawler

| Q             | A
| ------------- | ---
| Branch?       | 5.x <!-- 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       | Fix #39277 <!-- prefix each issue number with "Fix #", no need to create an issue if none exist, explain below instead -->
| License       | MIT
| Doc PR        |  <!-- required for new features -->

In this case `isset` may cause an issue if null value would be stored in `$this->namespaces` or `$this->cachedNamespaces`, but never fetched, as if condition would return false. This PR is for 5.x, because namespace caching was introduced recently (#39097).

Commits
-------

7b0a183920 [DomCrawler] Fix null namespace issue in Crawler
2020-12-12 00:08:45 +01:00
prosalov
7b0a183920 [DomCrawler] Fix null namespace issue in Crawler 2020-12-11 21:51:28 +00:00
Jérémy Derussé
e5167e668c
feature #39365 [Notifier] [DX] UnsupportedMessageTypeException for notifier transports (OskarStark)
This PR was squashed before being merged into the 5.3-dev branch.

Discussion
----------

[Notifier] [DX] UnsupportedMessageTypeException for notifier transports

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

I want to streamline the experience, creating new notifier transports. Maybe such exceptions fit well, as we are planing to get more and more transports and don't want to "pollute" the transports itself with repeatable code.

Please let me know if you are open to have such exceptions as I would like to introduce more of them for unsupported options for example and if this should be considered a new feature or it should be applied against `5.1`?

I am not sure about the signature and the name of the new `UnsupportedMessageTypeException`.

Cheers

Commits
-------

cf1d352eac [Notifier] [DX] UnsupportedMessageTypeException for notifier transports
2020-12-11 21:40:04 +01:00
Oskar Stark
cf1d352eac
[Notifier] [DX] UnsupportedMessageTypeException for notifier transports 2020-12-11 21:39:36 +01:00
Jérémy Derussé
cb05fab4c7
bug #39442 Fix enabled key for ratelimiter config (pierredup)
This PR was squashed before being merged into the 5.2 branch.

Discussion
----------

Fix enabled key for ratelimiter config

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

The `enabled` key doesn't always exist in the config when using the ratelimiter component, which causes an undefined index error

Commits
-------

d48e2c2431 Fix enabled key for ratelimiter config
2020-12-11 21:33:35 +01:00
Pierre du Plessis
d48e2c2431
Fix enabled key for ratelimiter config 2020-12-11 21:33:24 +01:00
Jérémy Derussé
4121f47883
minor #39472 Use more explicit variable name (VincentLanglet)
This PR was merged into the 4.4 branch.

Discussion
----------

Use more explicit variable name

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

- This is called `$container` in https://symfony.com/blog/new-in-symfony-5-1-improved-microkernel.
- In the same file, in `registerContainerConfiguration` we're doing `$this->configureContainer($container, $loader);`.

So I think that `$container` is better than `$c`.

Commits
-------

337174fa4b Use more explicit variable name
2020-12-11 21:31:26 +01:00
Vincent Langlet
337174fa4b
Use more explicit variable name 2020-12-11 17:32:02 +01:00
Nicolas Grekas
8f6c52a19a minor #39467 Fix wrong comment about SES region (jderusse)
This PR was merged into the 4.4 branch.

Discussion
----------

Fix wrong comment about SES region

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

This list is wrong (or maybe no more exact). And maintain such list does not make sens in code.

https://docs.aws.amazon.com/general/latest/gr/ses.html

Commits
-------

759774750e Fix wrong comment about SES region
2020-12-11 16:21:07 +01:00
Nicolas Grekas
8d6794f6b6 minor #39459 Remove void return type from test methods (OskarStark)
This PR was merged into the 4.4 branch.

Discussion
----------

Remove void return type from test methods

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

cc @nicolas-grekas

Commits
-------

94f823fd4a Remove void return type from test methods
2020-12-11 16:19:13 +01:00
Nicolas Grekas
38b2968549 minor #39460 Remove void return type from test methods (OskarStark)
This PR was merged into the 5.1 branch.

Discussion
----------

Remove void return type from test methods

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

This PR follows #39459

cc @nicolas-grekas

Commits
-------

6e6c3ba1a0 Remove void return type from test methods
2020-12-11 16:16:17 +01:00
Jérémy Derussé
759774750e
Fix wrong comment about SES region 2020-12-11 15:43:01 +01:00
Maxime Steinhausser
278688deeb minor #39465 [Mailer] [Sendgrid] Use $scheme variable to stay consistent (OskarStark)
This PR was merged into the 4.4 branch.

Discussion
----------

[Mailer] [Sendgrid] Use $scheme variable to stay consistent

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

Its used like this in all other mailer bridges

Commits
-------

1a40d7c75a [Mailer] [Sendgrid] Use $scheme variable to stay consistent
2020-12-11 15:13:33 +01:00
Maxime Steinhausser
7f49e15f40 minor #39464 [Mailer] [Amazon] Fix @param annotation (OskarStark)
This PR was merged into the 4.4 branch.

Discussion
----------

[Mailer] [Amazon] Fix @param annotation

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

Commits
-------

514881c708 [Mailer] [Amazon] Fix @param annotation
2020-12-11 15:11:17 +01:00
Maxime Steinhausser
79b4c64e09 minor #39462 [Mailer] Rename testsuites (OskarStark)
This PR was merged into the 4.4 branch.

Discussion
----------

[Mailer] Rename testsuites

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

to stay consistent with other bridges.

Commits
-------

9ebfa6034a [Mailer] Rename testsuites
2020-12-11 15:08:28 +01:00
Oskar Stark
6eae1951ee [Notifier][Free Mobile] Fix wrong scheme in mapping 2020-12-11 14:41:25 +01:00
Oskar Stark
1a40d7c75a [Mailer] [Sendgrid] Use $scheme variable to stay consistent 2020-12-11 14:18:32 +01:00
Oskar Stark
514881c708 [Mailer] [Amazon] Fix @param annotation 2020-12-11 14:09:19 +01:00
Oskar Stark
9ebfa6034a [Mailer] Rename testsuites
to stay consistent with other bridges
2020-12-11 13:58:29 +01:00
Oskar Stark
6e6c3ba1a0 Remove void return type from test methods 2020-12-11 13:47:35 +01:00
Oskar Stark
94f823fd4a Remove void return type from test methods 2020-12-11 13:39:31 +01:00
Nicolas Grekas
134af39538 minor #39453 [Notifier] Remove void return type from test methods (OskarStark)
This PR was merged into the 5.1 branch.

Discussion
----------

[Notifier] Remove void return type from test methods

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

cc @nicolas-grekas

Commits
-------

616df0c6a3 [Notifier] Remove void return type from test methods
2020-12-11 11:31:38 +01:00
Oskar Stark
616df0c6a3 [Notifier] Remove void return type from test methods 2020-12-11 11:27:22 +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
b47b239fd9 Merge branch '5.2' into 5.x
* 5.2:
  Cleanup composer.json files
  [Notifier] Add PHP 8 support for bridges
2020-12-11 11:20:19 +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
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