Commit Graph

31027 Commits

Author SHA1 Message Date
Fabien Potencier
46ea62297b Bump license year 2021-01-01 10:26:30 +01:00
Fabien Potencier
f4ca745086 Merge branch '4.4' into 5.1
* 4.4:
  Bump license year
  [Form] fix passing null $pattern to IntlDateFormatter
  Update README.md
2021-01-01 10:25:51 +01:00
Fabien Potencier
2c4337ae5b Bump license year 2021-01-01 10:24:35 +01:00
Grégoire Pineau
2b4d47163f fix postgres transport when the retry table is the same 2020-12-31 17:54:38 +01:00
Christian Flothmann
8679c2ac05 disable error bubbling by default when inherit_data is configured 2020-12-31 15:25:34 +01:00
Christian Flothmann
5fa9592d5e do not dump extra trailing newlines for multiline blocks 2020-12-31 11:51:02 +01:00
Nicolas Grekas
52360c1e4e [Form] fix passing null $pattern to IntlDateFormatter 2020-12-29 14:49:19 +01:00
Christian Flothmann
13a4610824 propagate groups to nested constraints 2020-12-29 11:10:22 +01:00
Fabien Potencier
b42dd0bb4e Add reference link 2020-12-29 08:39:30 +01:00
Nicolas Grekas
1c91f55482 Merge branch '4.4' into 5.1
* 4.4:
  [ProxyManagerBridge] Fix tests
  [Messenger] Fix stopwach usage if it has been reset
2020-12-28 22:49:04 +01:00
Grégoire Pineau
bf4b0cc022 [Messenger] Fix stopwach usage if it has been reset 2020-12-28 10:51:48 +01:00
Alexander M. Turek
5305170e54 Handle ValueErrors triggered by ext-uuid on PHP 8 2020-12-27 21:49:37 +01:00
Alexander M. Turek
eb4b003bc1 Merge branch '4.4' into 5.1
* 4.4:
  CS: Apply ternary_to_null_coalescing fixer
2020-12-27 14:04:50 +01:00
Alexander M. Turek
07c4773d98 CS: Apply ternary_to_null_coalescing fixer 2020-12-27 00:49:32 +01:00
Alexander M. Turek
29b41edf06 Merge branch '4.4' into 5.1
* 4.4:
  [VarDumper] Fix display of nullable union return types.
  [VarDumper] fixed displaying "mixed" as "?mixed"
  Handle failure when sending DATA
2020-12-26 20:36:22 +01:00
Alexander M. Turek
efeb2dcf70 [VarDumper] Fix display of nullable union return types. 2020-12-26 15:01:31 +01:00
Nicolas Grekas
87dc694094 [VarDumper] fixed displaying "mixed" as "?mixed" 2020-12-26 12:22:20 +01:00
Jérémy Derussé
457c8b119d
bug #39597 [Mailer] Handle failure when sending DATA (jderusse)
This PR was merged into the 4.4 branch.

Discussion
----------

[Mailer] Handle failure when sending DATA

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

When an exception is thrown while sending an email via SMTP (ie. A attachment is not readable) the SMTP connection is left opened with a partial message sent.

This PR closes the connection (we can't abort after sending the `DATA` command) in such situation.

/cc @fabpot

Commits
-------

849211a780 Handle failure when sending DATA
2020-12-24 10:07:56 +01:00
Jérémy Derussé
849211a780
Handle failure when sending DATA 2020-12-23 18:20:02 +01:00
Nicolas Grekas
c1cb43e2c2 Merge branch '4.4' into 5.1
* 4.4:
  Add missing `@return` annotations to fix deprecations on PHP 8
  [ProxyManagerBridge] fix PHP notice, switch to "friendsofphp/proxy-manager-lts"
2020-12-23 16:26:14 +01:00
Nicolas Grekas
3ffe5573e9 Add missing @return annotations to fix deprecations on PHP 8 2020-12-23 16:11:26 +01:00
Alexander M. Turek
1ee1659601 minor #39495 [Notifier] [DX] Abstract test cases (OskarStark)
This PR was squashed before being merged into the 5.1 branch.

Discussion
----------

[Notifier] [DX] Abstract test cases

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

This PR

* [x] adds a new _abstract_ `TransportTestCase`
* [x] adds a new _abstract_ `TransportFactoryTestCase` (code is mainly taken from the `Mailer/TransportFactoryTestCase`)

We have a lot of code duplication in the notifier bridges

### Todos
* [x] check if we want this
* [x]  I would want to use Dsn strings (like already used in the notifier bridge tests) instead of objects for the providers, what do you think? For me it is more readably
* [x] update all bridges
* [x] Bump notifier to `~5.1.10`

### Questions
* [x] is it Ok to consider this a bugfix and merge into `5.1`?
* [x] shall I prefix the abstract test cases with `Abstract` ? As we did the same for Mailer, I would say no

@symfony/mergers have to change ^5.2 into ^5.2.1

Commits
-------

79379b71f4 [Notifier] [DX] Abstract test cases
2020-12-22 15:13:56 +01:00
Oskar Stark
79379b71f4 [Notifier] [DX] Abstract test cases 2020-12-22 15:13:46 +01:00
Alexander M. Turek
c900018758 Merge branch '4.4' into 5.1
* 4.4:
  [Intl] Update the ICU data to 68.2
2020-12-22 13:16:28 +01:00
Alexander M. Turek
18927fe54a minor #39573 [Intl] Update the ICU data to 68.2 (jakzal)
This PR was merged into the 4.4 branch.

Discussion
----------

[Intl] Update the ICU data to 68.2

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

Commits
-------

4573965f74 [Intl] Update the ICU data to 68.2
2020-12-21 17:14:24 +01:00
Alexander M. Turek
74b132fca2 Merge branch '4.4' into 5.1
* 4.4:
  Bump Symfony version to 4.4.19
  Update VERSION for 4.4.18
  Update CONTRIBUTORS for 4.4.18
  Update CHANGELOG for 4.4.18
  [Serializer] Fix DenormalizableInterface::denormalize() return type declaration in docblock
2020-12-21 16:29:43 +01:00
Alexander M. Turek
8f7a8d345a minor #39561 [Serializer] Fix DenormalizableInterface::denormalize() return type declaration in docblock (jeroennoten)
This PR was merged into the 4.4 branch.

Discussion
----------

[Serializer] Fix DenormalizableInterface::denormalize() return type declaration in docblock

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

DenormalizableInterface::denormalize() should not return anything, so the `@return` declaration should be removed. If you look at the usage in `CustomNormalizer::denormalize()`, it becomes clear that this method shouldn't return anything:
```php
    public function denormalize($data, $type, $format = null, array $context = [])
    {
        $object = $this->extractObjectToPopulate($type, $context) ?: new $type();
        $object->denormalize($this->serializer, $data, $format, $context);

        return $object;
    }
```

Commits
-------

00c90aed51 [Serializer] Fix DenormalizableInterface::denormalize() return type declaration in docblock
2020-12-20 14:32:21 +01:00
Jakub Zalas
4573965f74
[Intl] Update the ICU data to 68.2 2020-12-19 12:57:32 +01:00
Fabien Potencier
a969b99417 Bump Symfony version to 5.1.11 2020-12-18 14:48:52 +01:00
Fabien Potencier
3213a921e5 Update VERSION for 5.1.10 2020-12-18 14:43:29 +01:00
Fabien Potencier
c1b9323f30 Bump Symfony version to 4.4.19 2020-12-18 14:39:05 +01:00
Fabien Potencier
92334dd0c5 Update VERSION for 4.4.18 2020-12-18 14:32:33 +01:00
Jeroen Noten
00c90aed51
[Serializer] Fix DenormalizableInterface::denormalize() return type declaration in docblock 2020-12-18 14:21:55 +01:00
Nicolas Grekas
8797138e8d bug #39545 [Notifier] [Mattermost] Host is required (OskarStark)
This PR was squashed before being merged into the 5.1 branch.

Discussion
----------

[Notifier] [Mattermost] Host is required

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

This bridge is the only one right now which cannot use `default` as host in the DSN, otherwise it would fall back to:
090b4256f0/src/Symfony/Component/Notifier/Transport/AbstractTransport.php (L30)

it could also not use:
090b4256f0/src/Symfony/Component/Notifier/Transport/AbstractTransport.php (L83-L86)

Based on the [documentation](https://api.mattermost.com/#tag/authentication) you must use your specific url like:
`your-mattermost-url.com/api/v4/...`

Using `localhost` would have weird side-effects.

Can you confirm this @thePanz , as you provided the bridge?

friendly ping @seb37800, you fixed some bugs in this transport

### Todos after merge
* [ ] adjust recipes with new DSN
* [ ] update the docs

Commits
-------

cd5b48003f [Notifier] [Mattermost] Host is required
2020-12-18 11:34:54 +01:00
Oskar Stark
cd5b48003f [Notifier] [Mattermost] Host is required 2020-12-18 11:34:45 +01:00
Fabien Potencier
090b4256f0 Merge branch '4.4' into 5.1
* 4.4:
  Remove :void in test function signatures
2020-12-18 09:02:46 +01:00
Fabien Potencier
47fcf4ad5a Remove :void in test function signatures 2020-12-18 08:41:31 +01:00
Fabien Potencier
0dc2d55537 Merge branch '4.4' into 5.1
* 4.4:
  Remove void return type from test methods
  Added basque translations
  Updated Luxembourgish translations
  [Mailer] Fix parsing Dsn with empty user/password
  Normalize exceptions messages containing methods references
  [Ldap] Incorrect determination of RelativeDistinguishedName for the "move" operation
2020-12-18 08:32:24 +01:00
Fabien Potencier
24334cb837 bug #39538 [Notifier] Fix parsing Dsn with empty user/password (OskarStark)
This PR was squashed before being merged into the 5.1 branch.

Discussion
----------

[Notifier] Fix parsing Dsn with empty user/password

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

Same like https://github.com/symfony/symfony/pull/39531, but for Notifier component.

I backported the DsnTest from `5.2` to `5.1`

Commits
-------

a80409af25 [Notifier] Fix parsing Dsn with empty user/password
2020-12-18 08:25:35 +01:00
Oskar Stark
a80409af25 [Notifier] Fix parsing Dsn with empty user/password 2020-12-18 08:25:29 +01:00
Oskar Stark
78da70615b Remove void return type from test methods 2020-12-18 07:28:27 +01:00
Fabien Potencier
5eeb95726d minor #39534 Normalize exceptions messages containing methods references (ogizanagi)
This PR was merged into the 4.4 branch.

Discussion
----------

Normalize exceptions messages containing methods references

| Q             | A
| ------------- | ---
| Branch?       | 4.4 <!-- 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       | Fix https://github.com/symfony/symfony/pull/39399#discussion_r544972437 <!-- prefix each issue number with "Fix #", no need to create an issue if none exist, explain below instead -->
| License       | MIT
| Doc PR        | N/A

Normalizes across the codebase any exception message mentioning methods to contain a trailing `()`

(Seems OK on 5.1 and 5.2 branch after this on is merged up)

Commits
-------

e2da2acd6d Normalize exceptions messages containing methods references
2020-12-17 17:57:38 +01:00
Iker Ibarguren Berasaluze
37a8e79650 Added basque translations 2020-12-17 17:47:44 +01:00
Fabien Potencier
7b3461ce79 minor #39391 Updated Luxembourgish translations (mweimerskirch)
This PR was squashed before being merged into the 4.4 branch.

Discussion
----------

Updated Luxembourgish translations

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | Fix #38752
| License       | MIT

Commits
-------

52b4628709 Updated Luxembourgish translations
2020-12-17 17:44:13 +01:00
Michel Weimerskirch
52b4628709 Updated Luxembourgish translations 2020-12-17 17:44:05 +01:00
Fabien Potencier
72fb034c77 bug #39531 [Mailer] Fix parsing Dsn with empty user/password (OskarStark)
This PR was squashed before being merged into the 4.4 branch.

Discussion
----------

[Mailer] Fix parsing Dsn with empty user/password

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

While working on a PR for Notifier that user and password would be parsed as an empty string, which is not wrong, but not expected IMO. Thi

`scheme://@symfony.com` and `scheme://:@symfony.com` should be a valid scheme with user and pass `null`

Another fix would be to check for `://@` and `://:@` and throw an `InvalidArgumentException` WDYT?

The final solution will then be applied to the Notifier DSN in `5.1`

Commits
-------

041cb46e52 [Mailer] Fix parsing Dsn with empty user/password
2020-12-17 17:39:20 +01:00
Oskar Stark
041cb46e52 [Mailer] Fix parsing Dsn with empty user/password 2020-12-17 17:39:11 +01:00
Maxime Steinhausser
e2da2acd6d Normalize exceptions messages containing methods references 2020-12-17 14:33:54 +01:00
Artem Stepin
c7e99a2523
[Ldap] Incorrect determination of RelativeDistinguishedName for the "move" operation 2020-12-17 12:39:48 +01:00
Nicolas Grekas
bc6550ec67 minor #39526 [Notifier] Use assertSame() (OskarStark)
This PR was squashed before being merged into the 5.1 branch.

Discussion
----------

[Notifier] Use assertSame()

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

Commits
-------

4a1976b4ef [Notifier] Use assertSame()
2020-12-17 09:34:41 +01:00
Oskar Stark
4a1976b4ef [Notifier] Use assertSame() 2020-12-17 09:34:34 +01:00
Oskar Stark
5773a46677 [Notifier] Improve tests (5.1) 2020-12-16 08:45:20 +01:00
Fabien Potencier
77960f86a9 bug #39510 [Notifier]  [Free Mobile] Could not use custom host in DSN (OskarStark)
This PR was merged into the 5.1 branch.

Discussion
----------

[Notifier]  [Free Mobile] Could not use custom host in DSN

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

While working on #39509 I discovered, that you cannot set a custom host through the DSN string itself, only by calling `setHost()` method in the transport, which is only possible by **not** using the factory....

I changed it the way all other bridges work. I don't add a testcase for the port, because non of the others have that test.
I plan to implement it in #39495

As this is a bugfix I created an extra PR.

Cheers

EDIT:

Also the host is not allowed to contain `https://` otherwise calling `__toString()` will result in: `freemobile://https://......`

Commits
-------

63350cc19b [Notifier] [Free Mobile] Could not use custom host in DSN
2020-12-15 18:16:25 +01:00
Fabien Potencier
1a98df5342 bug #39514 [Notifier] Fix wrong package names (OskarStark)
This PR was merged into the 5.1 branch.

Discussion
----------

[Notifier] Fix wrong package names

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

Commits
-------

344437286a [Notifier] Fix wrong package names
2020-12-15 14:01:00 +01:00
Oskar Stark
344437286a [Notifier] Fix wrong package names 2020-12-15 13:48:34 +01:00
Alexander M. Turek
defb90b030 bug #39494 Add missing symfony/deprecation-contracts requirement (jderusse)
This PR was merged into the 5.1 branch.

Discussion
----------

Add missing symfony/deprecation-contracts requirement

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

We should require the `symfony/deprecation-contracts` package in components that call `trigger_deprecated`.

Commits
-------

5ae2364c7e Add missing symfony/deprecation-contracts requirement
2020-12-15 12:05:57 +01:00
Oskar Stark
63350cc19b [Notifier] [Free Mobile] Could not use custom host in DSN 2020-12-15 11:50:27 +01:00
Thomas Calvet
cd11ef67dc [Uid] Fix tests namespace 2020-12-15 00:03:24 +01:00
Alexander M. Turek
ef461b6f8e minor #39455 [Notifier] Rework/streamline bridges (5.1) (OskarStark)
This PR was squashed before being merged into the 5.1 branch.

Discussion
----------

[Notifier] Rework/streamline bridges (5.1)

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

* add missing tests
* pull up scheme check (check scheme first and then for required options)

Commits
-------

856e191687 [Notifier] Rework/streamline bridges (5.1)
2020-12-14 23:20:55 +01:00
Oskar Stark
856e191687 [Notifier] Rework/streamline bridges (5.1) 2020-12-14 23:20:24 +01:00
Jérémy Derussé
2fb9fa3dac
Merge branch '4.4' into 5.1
* 4.4:
  [Mailer] [Amazon] Ensure "ext-simplexml" is loaded if SesApiTransport is used
  Stop using deprecated trait
  [PhpUnitBridge] Lint files with PHP 5.5
2020-12-14 21:31:08 +01:00
Oskar Stark
a40d1375f9
[Mailer] [Amazon] Ensure "ext-simplexml" is loaded if SesApiTransport is used 2020-12-14 21:27:17 +01:00
Jérémy Derussé
5ae2364c7e
Add missing symfony/deprecation-contracts requirement 2020-12-14 15:33:09 +01:00
Nicolas Grekas
bae2782cdb Merge branch '4.4' into 5.1
* 4.4:
  Fix EncoderInterface::encode() return type
  [Lock] Prevent store exception break combined store
2020-12-14 11:55:48 +01:00
Nicolas Grekas
c052542e65 minor #39451 [Serializer] Fix EncoderInterface::encode() return type (jeroennoten)
This PR was merged into the 4.4 branch.

Discussion
----------

[Serializer] Fix EncoderInterface::encode() return type

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

I might have missed something (in that case, please let me know), but I believe that `EncoderInterface::encode()` will and should always return a `string`. This makes more sense because `DecoderInterface::decode()` only accepts a string as input.

Commits
-------

ae6f054cc1 Fix EncoderInterface::encode() return type
2020-12-14 11:44:27 +01:00
Jeroen Noten
ae6f054cc1 Fix EncoderInterface::encode() return type 2020-12-14 11:44:14 +01:00
Nicolas Grekas
43ab20e4f2 bug #39476 [Lock] Prevent store exception break combined store (dzubchik)
This PR was squashed before being merged into the 4.4 branch.

Discussion
----------

[Lock] Prevent store exception break combined store

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| 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 #39470 <!-- prefix each issue number with "Fix #", no need to create an issue if none exist, explain below instead -->
| License       | MIT

Handle exception to preserve expected behavior - one or multiple stores could be unreachable in a moment and combined store will handle this according to strategy.

Commits
-------

0daff35bae [Lock] Prevent store exception break combined store
2020-12-14 11:21:44 +01:00
Dmytro Dzubenko
0daff35bae [Lock] Prevent store exception break combined store 2020-12-14 11:21:37 +01:00
Pierre du Plessis
14c3614ac4 Remove check for unsupported PHP version 2020-12-14 12:10:03 +02:00
Oskar Stark
45b3a3062c [Notifier] Rename test method names
To stay consistent
2020-12-14 10:19:36 +01:00
Fabien Potencier
9d73e7caf0 Merge branch '4.4' into 5.1
* 4.4:
  Fix tests
2020-12-14 08:03:02 +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
Jérémy Derussé
07402f4af3
Dont allow unserializing classes with a destructor - 5.1 2020-12-12 17:30:27 +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
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
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
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
Oskar Stark
616df0c6a3 [Notifier] Remove void return type from test methods 2020-12-11 11:27:22 +01:00
javer
594ce465ce [PropertyInfo][Serializer] Fixed extracting ignored properties 2020-12-10 23:52:33 +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
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
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
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
Jérémy Derussé
a46cff26c6
Fix CS in changelogs 2020-12-10 17:34:26 +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
Oskar Stark
f7f5f869cf [Notifier] [Twilio] Fix tests 2020-12-10 13:14:12 +01:00
Oskar Stark
dfddc899ce [Notifier] Streamline README files 2020-12-10 08:54:19 +01:00
Bastien Jaillot
a91ac74906 [Cache] Prevent notice on case matching metadata trick
On saving an array of one element with a int key of strlen 10
it matches the first conditions of the trick used to save metadata.

> Notice: Trying to access array offset on value of type int

Casting it to string fixes it.
2020-12-10 08:50:50 +01:00
Oskar Stark
483ea426eb [Notifier][Slack] Remove :void from test methods 2020-12-10 08:36:59 +01:00
Fabien Potencier
2dd4561d3f bug #39203 [DI] Fix not working if only "default_index_method" used (malteschlueter)
This PR was merged into the 4.4 branch.

Discussion
----------

[DI] Fix not working if only "default_index_method" used

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | Fix #35349
| License       | MIT

The default index method wasn't used if the "index_by" attribute is missing. The documentation is showing an example, see https://symfony.com/doc/current/service_container/tags.html#tagged-services-with-index.

This problem also appears in symfony 5.

I created two example projects, the first in the current behaviour and the second with my bugfix branch.

Current 4.4: https://github.com/malteschlueter/symfony-reproducers/blob/bugfix/dependency-injection-default-index-method-not-working--not-fixed/tests/HandlerCollectionTest.php

This bugfix branch: https://github.com/malteschlueter/symfony-reproducers/blob/bugfix/dependency-injection-default-index-method-not-working--with-fix/tests/HandlerCollectionTest.php

Commits
-------

eb25d5c275 [DI] The default index method wasn't used if the "index_by" attribute is missing
2020-12-10 08:05:48 +01:00
Fabien Potencier
25dc5ee6c4 bug #39409 [Notifier] [Twilio] Add tests (OskarStark)
This PR was merged into the 5.1 branch.

Discussion
----------

[Notifier] [Twilio] 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
-------

568523bf7a [Notifier][Twilio] Add tests
2020-12-10 07:51:26 +01:00
Fabien Potencier
e8e01d56d2 minor #39403 [Notifier] [Free Mobile] Add test (OskarStark)
This PR was merged into the 5.1 branch.

Discussion
----------

[Notifier] [Free Mobile] Add test

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

f7d5c48313 [Notifier][Free Mobile] Tests
2020-12-10 07:48:27 +01:00
Alexander M. Turek
8a003527c7 minor #39380 [Notifier] Remove @internal annotation from notifier transports (OskarStark)
This PR was merged into the 5.1 branch.

Discussion
----------

[Notifier] Remove @internal annotation from notifier transports

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

All other transports does not have the `@internal` annotation, so I think we can safely remove it.

I consider this a bugfix, as this does not break BC.

cc @fabpot

Commits
-------

d75f50d3a7 [Notifier] Remove @internal annotation from notifier transports
2020-12-09 21:30:32 +01:00
Nicolas Grekas
58f3302e42 Merge branch '4.4' into 5.1
* 4.4:
  [PhpUnitBridge] CS fix
  [PhpUnitBridge] Fix PHP 5.5 compatibility
  Add missing param annotation abouts $fileLinkFormat
  [Form] Fixed StringUtil::trim() to trim ZERO WIDTH SPACE (U+200B) and SOFT HYPHEN (U+00AD)
  23412 Stop treating multiline resources as globs
2020-12-09 19:49:55 +01:00
Oskar Stark
ca65c54018 [Notifier] Only use sprintf instead of sprintf and string concat 2020-12-09 19:30:29 +01:00
Oskar Stark
d75f50d3a7 [Notifier] Remove @internal annotation from notifier transports 2020-12-09 15:30:49 +01:00
Oskar Stark
568523bf7a [Notifier][Twilio] Add tests 2020-12-09 14:38:16 +01:00
Oskar Stark
f7d5c48313 [Notifier][Free Mobile] Tests 2020-12-09 13:53:43 +01:00
Nicolas Grekas
32a56a6389 Add missing param annotation abouts $fileLinkFormat 2020-12-09 12:15:38 +01:00
Nicolas Grekas
55d2723c84 bug #39142 [Config] Stop treating multiline resources as globs (michaelKaefer)
This PR was merged into the 4.4 branch.

Discussion
----------

[Config] Stop treating multiline resources as globs

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | Fix #23412
| License       | MIT

Would fix the linked issue.

In https://github.com/symfony/symfony/issues/22938 it was suggested to enhance the glob-detection logic by detecting newlines.

Cons:
- it only solves an edge case
- it is not possible to use a multiline glob (like `bar\nbaz*.txt`) as a resource anymore - maybe in another edge case this is needed

Commits
-------

1e3baad386 23412 Stop treating multiline resources as globs
2020-12-09 09:58:17 +01:00
Alexander M. Turek
558ce1b4d3 bug #39341 [Form] Fixed StringUtil::trim() to trim ZERO WIDTH SPACE (U+200B) and SOFT HYPHEN (U+00AD) (pmishev)
This PR was merged into the 4.4 branch.

Discussion
----------

[Form] Fixed StringUtil::trim() to trim ZERO WIDTH SPACE (U+200B) and SOFT HYPHEN (U+00AD)

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

Commits
-------

258bea7fd5 [Form] Fixed StringUtil::trim() to trim ZERO WIDTH SPACE (U+200B) and SOFT HYPHEN (U+00AD)
2020-12-08 18:57:51 +01:00
Nicolas Grekas
a8b992f8a2 Merge branch '4.4' into 5.1
* 4.4:
  Update .php_cs.dist
  Apply "visibility_required" CS rule to constants
2020-12-08 18:02:38 +01:00
Nicolas Grekas
ff22d30cb0 Apply "visibility_required" CS rule to constants
php-cs-fixer fix --rules='{"visibility_required": ["property", "method", "const"]}'
2020-12-08 17:59:59 +01:00
Nicolas Grekas
a2f073472f Merge branch '4.4' into 5.1
* 4.4:
  minor cs fix
  [Config][TwigBundle] Fixed syntax error in config
  [DI] Fix Xdebug 3.0 detection
  Use php8 stable
  [Cache] fix checking for redis_sentinel support
  [Intl] Update the ICU data to 68.1
  Remove unused @throws tags and handling of never thrown exceptions
  [PhpUnitBridge] Fix disabling DeprecationErrorHandler from phpunit configuration file
2020-12-08 17:43:25 +01:00
Malte Schlüter
eb25d5c275 [DI] The default index method wasn't used if the "index_by" attribute is missing 2020-12-08 17:11:59 +01:00
Nicolas Grekas
a7fcb0b84e minor cs fix 2020-12-08 15:13:31 +01:00
Alexander M. Turek
8f331f2df2 bug #39334 [Config][TwigBundle] Fixed syntax error in config (Nyholm)
This PR was squashed before being merged into the 4.4 branch.

Discussion
----------

[Config][TwigBundle] Fixed syntax error in config

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

Sorry for such small PR. I found this when I was parsing the yaml after running `bin/console config:dump-reference TwigBundle`

#SymfonyHackday

Commits
-------

04d369d336 [Config][TwigBundle] Fixed syntax error in config
2020-12-08 15:10:36 +01:00
Nyholm
04d369d336 [Config][TwigBundle] Fixed syntax error in config 2020-12-08 15:10:25 +01:00
Nicolas Grekas
891e2afb64 bug #39196 [DI] Fix Xdebug 3.0 detection (vertexvaar)
This PR was squashed before being merged into the 4.4 branch.

Discussion
----------

[DI] Fix Xdebug 3.0 detection

| Q             | A
| ------------- | ---
| Branch?       | 4.4 (for bug fixes)
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | Fix #39195
| License       | MIT
| Doc PR        | n/a

Xdebug 3.0 removed the function `xdebug_is_enabled()`. To detect if Xdebug 3.0 is installed (it doesn't even need to be enabled to reproduce the bug) i added `function_exists('xdebug_info')`. AFAIS `xdebug_info()` is available in Xdebug >= 3.0 only.

Commits
-------

38f8edddb1 [DI] Fix Xdebug 3.0 detection
2020-12-08 15:03:26 +01:00
Oliver Eglseder
38f8edddb1 [DI] Fix Xdebug 3.0 detection 2020-12-08 15:03:00 +01:00
Oskar Stark
95bcab29d1 [Notifier] Streamline changelogs of notifier bridges 2020-12-08 14:24:03 +01:00
Nicolas Grekas
1ea5a8c3ce minor #39246 [HttpFoundation] Throws cleanup (kick-the-bucket)
This PR was merged into the 4.4 branch.

Discussion
----------

[HttpFoundation] Throws cleanup

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

The actual throw statements have been removed years ago, but the annotations stayed.
Such annotations fool static analysis tools to trigger false positives for unhandled exceptions.

Commits
-------

8b9b62048c Remove unused @throws tags and handling of never thrown exceptions
2020-12-08 12:12:36 +01:00
Nicolas Grekas
bd44eb69a2 [Cache] fix checking for redis_sentinel support 2020-12-08 11:44:58 +01:00
Nicolas Grekas
ed46cb5b25 bug #39361 [FrameworkBundle] acces public-deprecated services via the private container to remove false-positive deprecations (nicolas-grekas)
This PR was merged into the 5.1 branch.

Discussion
----------

[FrameworkBundle] acces public-deprecated services via the private container to remove false-positive deprecations

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

Something we missed in #36470 apparently.

Commits
-------

d502ba9e5d [FrameworkBundle] acces public-deprecated services via the private container to remove false-positive deprecations
2020-12-08 11:40:38 +01:00
Grégoire Pineau
e3354d974c [Messenger] Fixed wording in php doc 2020-12-08 10:57:28 +01:00
Jakub Zalas
f3eda44058
[Intl] Update the ICU data to 68.1 2020-12-08 08:18:40 +00:00
Fabien Potencier
7652685ec1 minor #39337 [Serializer] Fixed serialize and denormalize return types (vudaltsov)
This PR was squashed before being merged into the 5.1 branch.

Discussion
----------

[Serializer] Fixed serialize and denormalize return types

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

Since #35235 `SerializerInterface::deserialize()` and `DenormalizerInterface::denormalize()` return types are no longer correct.

I suggest using `mixed` to allow custom denormalizers to denormalize to any type. For instance, I might add `ClosureDenormalizer` or `NullDenormalizer` or `ResourceDenormalizer`, technically there are no limits.

Commits
-------

67277e55f0 [Serializer] Fixed serialize and denormalize return types
2020-12-08 07:28:58 +01:00
vudaltsov
67277e55f0 [Serializer] Fixed serialize and denormalize return types 2020-12-08 07:28:50 +01:00
Alexander M. Turek
2807a7950d [HttpFoundation] Removed obsolete test. 2020-12-07 23:31:01 +01:00
Alexander M. Turek
f8b9ee9333 Merge branch '4.4' into 5.1
* 4.4:
  [HttpFoundation] Fix TypeError: Argument 1 passed to JsonResponse::setJson() must be of the type string, object given
  [Security][Validator] Add missing Portuguese translations
  Add Croatian (hr) translations
2020-12-07 23:18:25 +01:00
Alexander M. Turek
306914a96d bug #39271 [HttpFoundation] Fix TypeError: Argument 1 passed to JsonResponse::setJson() must be of the type string, object given (sidz)
This PR was squashed before being merged into the 4.4 branch.

Discussion
----------

[HttpFoundation] Fix TypeError: Argument 1 passed to JsonResponse::setJson() must be of the type string, object given

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

This PR fixes the type error when user set `null` as data in the `new JsonResponse(null, 200, [], true)` and true in the fourth argument to mark that value is json.
```
TypeError: Argument 1 passed to Symfony\Component\HttpFoundation\JsonResponse::setJson() must be of the type string, object given, called in /home/projects/symfony/src/Symfony/Component/HttpFoundation/JsonResponse.php on line 52
```

Commits
-------

7fcba9611d [HttpFoundation] Fix TypeError: Argument 1 passed to JsonResponse::setJson() must be of the type string, object given
2020-12-07 23:02:04 +01:00
Oleg Zhulnev
7fcba9611d [HttpFoundation] Fix TypeError: Argument 1 passed to JsonResponse::setJson() must be of the type string, object given 2020-12-07 23:01:57 +01:00
Nicolas Grekas
d502ba9e5d [FrameworkBundle] acces public-deprecated services via the private container to remove false-positive deprecations 2020-12-07 14:48:27 +01:00
Alexander M. Turek
03a072e07c minor #39345 [Security][Validator] Add missing Portuguese translations (NicolasJourdan)
This PR was squashed before being merged into the 4.4 branch.

Discussion
----------

[Security][Validator] Add missing Portuguese translations

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

Commits
-------

ad4f6f2093 [Security][Validator] Add missing Portuguese translations
2020-12-07 10:01:52 +01:00
Nicolas Jourdan
ad4f6f2093 [Security][Validator] Add missing Portuguese translations 2020-12-07 10:01:46 +01:00
Alexander M. Turek
4404e6a3e9 minor #39332 Add Croatian (hr) translations (jseparovic1)
This PR was squashed before being merged into the 4.4 branch.

Discussion
----------

Add Croatian (hr) translations

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | no
| New feature?  |no
| Deprecations? | no
| Tickets       | Fix #38734
| License       | MIT

#SymfonyHackday

Commits
-------

f2dbbd2e58 Add Croatian (hr) translations
2020-12-07 10:00:22 +01:00
Jurica Šeparović
f2dbbd2e58 Add Croatian (hr) translations 2020-12-07 10:00:14 +01:00