Commit Graph

48026 Commits

Author SHA1 Message Date
Alexander M. Turek
3c821d4ad2 minor #38777 Added missing security.fi.xlf translation file (tarlepp)
This PR was squashed before being merged into the 3.4 branch.

Discussion
----------

Added missing `security.fi.xlf` translation file

Partial fix for #38740

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

65db8d08c8 Added missing `security.fi.xlf` translation file
2020-10-25 18:36:43 +01:00
tarlepp
65db8d08c8 Added missing security.fi.xlf translation file 2020-10-25 18:36:27 +01:00
Tavo Nieves J
26f3963bb2 [Validator] Added missing Spanish translations. 2020-10-25 12:27:57 -05:00
Tavo Nieves J
8b307e644a [Security] Added missing Spanish translations. 2020-10-25 12:09:02 -05:00
Lukáš Holeczy
eaff84418f [Validator] Add missing czech translations 2020-10-25 17:56:47 +01:00
Lukáš Holeczy
05be7b2f1c [Form] Add missing czech translations 2020-10-25 17:54:38 +01:00
Lukáš Holeczy
01cb45462c [Security] Add missing czech translations 2020-10-25 17:46:46 +01:00
Krasimir Bosilkov
fd7060d21a
[Security] Missing Bulgarian translations #38730 2020-10-25 18:45:33 +02:00
Krasimir Bosilkov
a9d6549ce9
[Validator] Missing Bulgarian translations #38730 2020-10-25 18:37:37 +02:00
Aerendir
7d25a46b3b Closes #38747: Add italian translations. 2020-10-25 16:26:49 +01:00
Fabien Potencier
f051edc4c8 minor #38717 Update Security Frensh Translations (zairigimad)
This PR was squashed before being merged into the 3.4 branch.

Discussion
----------

Update Security  Frensh Translations

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

85adad52c4 Update Security  Frensh Translations
2020-10-25 14:06:19 +01:00
Zairig Imad
85adad52c4 Update Security Frensh Translations 2020-10-25 14:06:13 +01:00
Fabien Potencier
fa2d8eff02 minor #38716 [Security] Added missing German translations (derrabus)
This PR was merged into the 3.4 branch.

Discussion
----------

[Security] Added missing German translations

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Tickets       | Part of #38710
| License       | MIT
| Doc PR        | N/A

Commits
-------

54140d45fb [Security] Added missing German translations.
2020-10-25 13:58:40 +01:00
Alexander M. Turek
86211dee65 Merge branch '3.4' into 4.4 2020-10-25 13:47:18 +01:00
Alexander M. Turek
00023a6ab8 [Form] Added missing German translations. 2020-10-25 13:34:19 +01:00
Alexander M. Turek
54140d45fb [Security] Added missing German translations. 2020-10-25 13:09:32 +01:00
Fabien Potencier
e74d87c875 minor #38715 [Security] Synchronized translations with 5.x (derrabus)
This PR was merged into the 3.4 branch.

Discussion
----------

[Security] Synchronized translations with 5.x

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | Part of #38710
| License       | MIT
| Doc PR        | N/A

Commits
-------

3d7863f5b5 [Security] Synchronized translations with 5.x.
2020-10-25 12:49:41 +01:00
Alexander M. Turek
3d7863f5b5 [Security] Synchronized translations with 5.x. 2020-10-25 12:33:47 +01:00
Fabien Potencier
d146515e9f minor #38712 [Form] Add missing polish translations (marmichalski)
This PR was merged into the 3.4 branch.

Discussion
----------

[Form] Add missing polish translations

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Tickets       | #38710
| License       | MIT

This PR adds missing polish form translations.

Commits
-------

ec3b0edc1f [Form] Add missing polish translations
2020-10-25 12:30:07 +01:00
Marcin Michalski
ec3b0edc1f [Form] Add missing polish translations 2020-10-25 12:03:58 +01:00
Fabien Potencier
83f5dd2637 minor #38711 [Security] Add missing polish translations (marmichalski)
This PR was submitted for the 5.x branch but it was merged into the 3.4 branch instead.

Discussion
----------

[Security] Add missing polish translations

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

This PR adds missing polish security translations.

Commits
-------

23fa42267e [Security] Add missing polish translations
2020-10-25 11:48:34 +01:00
Marcin Michalski
23fa42267e [Security] Add missing polish translations 2020-10-25 11:48:26 +01:00
Fabien Potencier
3e5cc2f75d minor #38709 [Cache] Fixed broken test (Nyholm)
This PR was merged into the 4.4 branch.

Discussion
----------

[Cache] Fixed broken test

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

I added this line of code in https://github.com/symfony/symfony/pull/38635

However, some time between 4.4 and 5.x the `FilesystemAdapterTest::rmdir()` was removed. This PR make sure tests does not fail on 5.x.

I target 4.4, I believe it will be simple to merge up to 5.1 and 5.x. Let me know if I should target 5.x instead.

Commits
-------

e17797c8e4 [Cache] Fixed broken test
2020-10-25 09:34:30 +01:00
Nyholm
e17797c8e4
[Cache] Fixed broken test 2020-10-24 23:50:04 +02:00
Nicolas Grekas
ea8b1a51c7 minor #38707 Disable platform checks (nicolas-grekas)
This PR was merged into the 4.4 branch.

Discussion
----------

Disable platform checks

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

Commits
-------

46b0d66470 Disable platform checks
2020-10-24 17:50:12 +02:00
Nicolas Grekas
46b0d66470 Disable platform checks 2020-10-24 17:48:31 +02:00
Nicolas Grekas
138f611f75 Merge branch '3.4' into 4.4
* 3.4:
  Put branch-version in the source for CI
2020-10-24 17:45:11 +02:00
Nicolas Grekas
4c76e62004 minor #38708 Put branch-version in the source for CI (nicolas-grekas)
This PR was merged into the 3.4 branch.

Discussion
----------

Put branch-version in the source for CI

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

The CI must know the branch-version. We could put the version in each CI script, but that'd mean upgrading as many CI configs every 6 months. I'm trying to put the version in one file instead.

Commits
-------

008f2da031 Put branch-version in the source for CI
2020-10-24 17:43:52 +02:00
Nicolas Grekas
008f2da031 Put branch-version in the source for CI 2020-10-24 17:39:57 +02:00
Nicolas Grekas
c2f4426b61 minor #38706 [PhpUnitBridge] Bump default PHPUnit version for PHP 8 to 9.4 (derrabus)
This PR was merged into the 4.4 branch.

Discussion
----------

[PhpUnitBridge] Bump default PHPUnit version for PHP 8 to 9.4

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

PHPUnit 9.4 is the currently maintained branch, so let's bump our default for PHP 8 before PHP 8 is released.

Commits
-------

9f322091c8 Bump default PHPUnit version for PHP 8 to 9.4.
2020-10-24 15:04:51 +02:00
Alexander M. Turek
9f322091c8 Bump default PHPUnit version for PHP 8 to 9.4. 2020-10-24 14:35:18 +02:00
Nicolas Grekas
2c4dff8461 fix merge 2020-10-24 13:56:22 +02:00
Nicolas Grekas
77aa17401d Merge branch '3.4' into 4.4
* 3.4:
  Remove branch-version (keep them for contracts only)
  [Serializer] fix decoding float XML attributes starting with 0
  add missing dutch translations
  [Validator] Add missing romanian translations
  do not translate null placeholders or titles
2020-10-24 13:50:19 +02:00
Nicolas Grekas
d152131452 minor #38704 Remove branch-version (keep them for contracts only) (nicolas-grekas)
This PR was merged into the 3.4 branch.

Discussion
----------

Remove branch-version (keep them for contracts only)

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

As advised by @Seldaek

Commits
-------

f8fe4bf9f5 Remove branch-version (keep them for contracts only)
2020-10-24 13:20:12 +02:00
Nicolas Grekas
f8fe4bf9f5 Remove branch-version (keep them for contracts only) 2020-10-24 12:57:07 +02:00
Nicolas Grekas
4abbb1d6a9 bug #38647 [HttpClient] relax auth bearer format requirements (xabbuh)
This PR was merged into the 4.4 branch.

Discussion
----------

[HttpClient] relax auth bearer format requirements

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

Commits
-------

ac20594267 [HttpClient] relax auth bearer format requirements
2020-10-24 11:44:37 +02:00
Christian Flothmann
ac20594267 [HttpClient] relax auth bearer format requirements 2020-10-24 11:44:22 +02:00
Nicolas Grekas
3ebcd3b0ec minor #38702 [PHPUnitBridge] Silence warnings from mkdir() (Nyholm)
This PR was merged into the 4.4 branch.

Discussion
----------

[PHPUnitBridge] Silence warnings from mkdir()

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

When I run `./phpunit` the second time I get a warning thrown at me. I think we could silence this warning. If the directory cannot be created then we will get a similar warning from the `touch()` function.

```
 ./phpunit --exclude-group tty,benchmark,intl-data
#!/usr/bin/env php
PHP Warning:  mkdir(): File exists in /path/to/symfony/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/DeprecationTest.php on line 44
PHP Stack trace:
PHP   1. {main}() /path/to/symfony/phpunit:0
PHP   2. require() /path/to/symfony/phpunit:31
PHP   3. require() /path/to/symfony/vendor/symfony/phpunit-bridge/bin/simple-phpunit:13
PHP   4. include() /path/to/symfony/vendor/symfony/phpunit-bridge/bin/simple-phpunit.php:411
PHP   5. PHPUnit\TextUI\Command::main($exit = *uninitialized*) /path/to/symfony/.phpunit/phpunit-9.4-0/phpunit:22
PHP   6. Symfony\Bridge\PhpUnit\Legacy\CommandForV9->run($argv = *uninitialized*, $exit = *uninitialized*) /path/to/symfony/.phpunit/phpunit-9.4-0/src/TextUI/Command.php:101
PHP   7. Symfony\Bridge\PhpUnit\Legacy\CommandForV9->handleArguments($argv = *uninitialized*) /path/to/symfony/.phpunit/phpunit-9.4-0/src/TextUI/Command.php:116
PHP   8. PHPUnit\TextUI\XmlConfiguration\TestSuiteMapper->map($configuration = *uninitialized*, $filter = *uninitialized*) /U
```

Commits
-------

f3976ee5d8 [PHPUnitBridge] Silence errors from mkdir()
2020-10-24 11:35:09 +02:00
Nyholm
f3976ee5d8
[PHPUnitBridge] Silence errors from mkdir() 2020-10-24 10:20:26 +02:00
Fabien Potencier
bfa396d6bf bug #38699 [DependencyInjection] Preload classes with union types correctly (derrabus)
This PR was merged into the 4.4 branch.

Discussion
----------

[DependencyInjection] Preload classes with union types correctly

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

Commits
-------

a7b0f16a56 [DependencyInjection] Preload classes with union types correctly.
2020-10-24 04:48:21 +02:00
Alexander M. Turek
a7b0f16a56 [DependencyInjection] Preload classes with union types correctly. 2020-10-23 19:57:28 +02:00
Fabien Potencier
85e8de6137 bug #38669 [Serializer] fix decoding float XML attributes starting with 0 (Marcin Kruk)
This PR was squashed before being merged into the 3.4 branch.

Discussion
----------

[Serializer] fix decoding float XML attributes starting with 0

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | Fix #38666
| License       | MIT
| Doc PR        | n/a

This is a naive approach to fix #38666, assuming it is something worth fixing.

I checked different cases and it seems to be fixing all of them, but I bet there will be some other edge cases which still won't be covered properly.

Commits
-------

97b4306c30 [Serializer] fix decoding float XML attributes starting with 0
2020-10-23 06:26:46 +02:00
Marcin Kruk
97b4306c30 [Serializer] fix decoding float XML attributes starting with 0 2020-10-23 06:26:38 +02:00
Fabien Potencier
9bfd3ee66e bug #38680 [PhpUnitBridge] Support new expect methods in test case polyfill (alcaeus)
This PR was merged into the 4.4 branch.

Discussion
----------

[PhpUnitBridge] Support new expect methods in test case polyfill

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

This PR adds the `expectError`, `expectWarning`, `expectNotice`, ~and `expectDeprecation`~ methods to the test case polyfill.

~Note that I saw a `expectDeprecation` message in `ExpectDeprecationTrait`, but I couldn't quite figure out what it's supposed to do. Please let me know if the `expectDeprecation` method needs to be removed from the test polyfill.~

Commits
-------

8a49a263a2 Add expectDeprecation, expectNotice, expectWarning, and expectError to TestCase polyfill
2020-10-23 06:24:01 +02:00
Fabien Potencier
49182e1eeb bug #38681 [PHPUnitBridge] Support PHPUnit 8 and PHPUnit 9 in constraint compatibility trait (alcaeus)
This PR was merged into the 4.4 branch.

Discussion
----------

[PHPUnitBridge] Support PHPUnit 8 and PHPUnit 9 in constraint compatibility trait

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

This expands the compatibility layer for PHPUnit constraints by supporting PHPUnit 8 and PHPUnit 9. Support for the latter requires also adding the `evaluate` method to the trait, as this method gets a signature change in PHPUnit 9.

Commits
-------

f79ad80009 Support PHPUnit 8 and PHPUnit 9 in constraint compatibility trait
2020-10-23 06:19:51 +02:00
Fabien Potencier
81d29f3fd0 minor #38687 [Validator] adds missing dutch translations to validator component (zghosts)
This PR was merged into the 3.4 branch.

Discussion
----------

[Validator] adds missing dutch translations to validator component

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| License       | MIT
[Validator] This PR adds some missing dutch translations to the validator component

Commits
-------

02a8ca39f4 add missing dutch translations
2020-10-23 06:12:28 +02:00
Jos Elstgeest
02a8ca39f4 add missing dutch translations 2020-10-22 22:50:11 +02:00
Fabien Potencier
5c98c75170 minor #38673 [Validator] Add missing romanian translations (marmichalski)
This PR was merged into the 3.4 branch.

Discussion
----------

[Validator] Add missing romanian translations

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

This PR adds missing romanian validator translations.

Commits
-------

ced43e1ec2 [Validator] Add missing romanian translations
2020-10-22 15:52:29 +02:00
Alexander M. Turek
e5faa29c5e bug #38679 [PhpUnitBridge] Add missing exporter function for PHPUnit 7 (alcaeus)
This PR was merged into the 4.4 branch.

Discussion
----------

[PhpUnitBridge] Add missing exporter function for PHPUnit 7

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

This adds a missing `exporter` function to the compatibility trait for PHPUnit constraints. This method is still required for PhpUnit 7.

Commits
-------

52e7d78dca Add missing exporter function for PHPUnit 7
2020-10-22 15:51:15 +02:00
Andreas Braun
f79ad80009
Support PHPUnit 8 and PHPUnit 9 in constraint compatibility trait 2020-10-22 14:29:45 +02:00