Commit Graph

51756 Commits

Author SHA1 Message Date
Jérémy Derussé
890b16d36d
Fix transiant tests 2020-10-31 18:02:24 +01:00
Fabien Potencier
12578c2699 minor #38866 [Console] Test degraded true colors (freezy-sk)
This PR was squashed before being merged into the 5.2-dev branch.

Discussion
----------

[Console] Test degraded true colors

| Q             | A
| ------------- | ---
| Branch?       | 5.x
| Bug fix?      | no
| New feature?  | no <!-- please update src/**/CHANGELOG.md files -->
| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tickets       | <!-- 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#14494 <!-- required for new features -->

Testing hidden feature of hex colors degraded to ANSI named colors for terminals without true color support.

Commits
-------

a26dc0931b [Console] Test degraded true colors
2020-10-29 08:35:47 +01:00
freezy
a26dc0931b [Console] Test degraded true colors 2020-10-29 08:35:40 +01:00
Alexander M. Turek
0b8e5066d4 Fix CS 2020-10-28 22:47:22 +01:00
Alexander M. Turek
0fee41a617 Merge branch '5.1' into 5.x 2020-10-28 22:46:03 +01:00
Alexander M. Turek
53f7f5f27e Fix CS 2020-10-28 22:33:29 +01:00
Alexander M. Turek
294cffea25 Merge branch '4.4' into 5.1 2020-10-28 22:31:18 +01:00
Alexander M. Turek
2fb61a4e86 minor #38858 Use short array deconstruction syntax (derrabus)
This PR was merged into the 4.4 branch.

Discussion
----------

Use short array deconstruction syntax

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

Now that the support for the 3.4 branch is coming to an end, I think we should consider banning a relic from old php 5 times from our codebase: The old array deconstructor `list()`. Right now, both deconstructors `list()` and `[]` are being used, with `list()` being the more common one.

The changes in this PR were done with PHP CS Fixer and I can easily redo them later if we decide that the time of this PR hasn't come yet. 😃

Commits
-------

659decf594 Use short array deconstruction syntax.
2020-10-28 22:14:20 +01:00
Alexander M. Turek
659decf594 Use short array deconstruction syntax. 2020-10-28 21:42:29 +01:00
Fabien Potencier
051cf5f915 minor #38871 Use createMock() rather than createStub() (greg0ire)
This PR was merged into the 4.4 branch.

Discussion
----------

Use createMock() rather than createStub()

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | kinda, it's for a bug in the CI
| New feature?  | no
| Deprecations? | no
| Tickets       | n/a
| License       | MIT
| Doc PR        | n/a

The CI is not using a recent enough version of PHPUnit for that.

As asked by @jderusse in https://github.com/symfony/symfony/pull/38870#issuecomment-718121772

Commits
-------

f0605b8137 Use createMock() rather than createStub()
2020-10-28 20:53:17 +01:00
Grégoire Paris
f0605b8137
Use createMock() rather than createStub()
The CI is not using a recent enough version of PHPUnit for that
2020-10-28 19:29:55 +01:00
Fabien Potencier
19585f2f4c minor #38870 [DoctrineBridge] Remove dependency on doctrine/reflection (greg0ire)
This PR was merged into the 4.4 branch.

Discussion
----------

[DoctrineBridge] Remove dependency on doctrine/reflection

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

That package is being phased out, and there are good chances that the
classes involved at runtime are completely different from the classes
involved in the test changed in that commit. That test was the only
piece of code I could find still referencing the
`Doctrine\Common\Reflection` namespace.

Commits
-------

ed80bcc82c Remove dependency on doctrine/reflection
2020-10-28 19:14:50 +01:00
Fabien Potencier
8941b93b2c minor #38821 [Form] Add missing slovak translations (miromichalicka)
This PR was squashed before being merged into the 4.4 branch.

Discussion
----------

[Form] Add missing slovak translations

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

This PR adds missing Slovak Form translations

Commits
-------

52380eed38 [Form] Add missing slovak translations
2020-10-28 19:13:34 +01:00
Miro Michalicka
52380eed38 [Form] Add missing slovak translations 2020-10-28 19:13:24 +01:00
Grégoire Paris
ed80bcc82c
Remove dependency on doctrine/reflection
That package is being phased out, and there are good chances that the
classes involved at runtime are completely different from the classes
involved in the test changed in that commit. That test was the only
piece of code I could find still referencing the
Doctrine\Common\Reflection namespace.
2020-10-28 19:09:12 +01:00
Fabien Potencier
6d13d84b49 minor #38868 Added Thai missing translations (ibotdotout)
This PR was squashed before being merged into the 4.4 branch.

Discussion
----------

Added Thai missing translations

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

Added missing Thai translations based on 4.4 branch

CC. @Nyholm

Commits
-------

4f39516558 Added Thai missing translations
2020-10-28 19:09:07 +01:00
“teerasak”
4f39516558 Added Thai missing translations 2020-10-28 19:09:00 +01:00
Fabien Potencier
8c20b90078 bug #38867 [FrameworkBundle] Fixing TranslationUpdateCommand failure when using "--no-backup" (liarco)
This PR was squashed before being merged into the 5.1 branch.

Discussion
----------

[FrameworkBundle] Fixing TranslationUpdateCommand failure when using "--no-backup"

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

[5.0.0](https://github.com/symfony/symfony/blob/5.0/src/Symfony/Component/Translation/CHANGELOG.md#500) removed `TranslationWriter::disableBackup()` but `TranslationUpdateCommand` still has `--no-backup` flag. Using that flag throws an error so I think that removing it without deprecation may be the right choice.

Thrown error:
```
In TranslationUpdateCommand.php line 287:

  Attempted to call an undefined method named "disableBackup" of class "Symfony\Component\Translation\Writer\TranslationWriter".
```

Further references to the topic:
 - https://github.com/symfony/symfony/pull/18290#issuecomment-204065567
 - https://github.com/symfony/symfony/pull/25860

Commits
-------

ef24b10b04 [FrameworkBundle] Fixing TranslationUpdateCommand failure when using "--no-backup"
2020-10-28 19:07:45 +01:00
Marco Lipparini
ef24b10b04 [FrameworkBundle] Fixing TranslationUpdateCommand failure when using "--no-backup" 2020-10-28 19:07:38 +01:00
Alexander M. Turek
587ed0d9bb minor #38857 Add missing translations for Tagalog (tl) (ocrampete16)
This PR was squashed before being merged into the 4.4 branch.

Discussion
----------

Add missing translations for Tagalog (tl)

| 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 -->
| Tickets       | Fix #38766 <!-- prefix each issue number with "Fix #", no need to create an issue if none exist, explain below instead -->
| License       | MIT

This PR adds missing form, security and validator translations for Tagalog.

I also skimmed over the existing translations and corrected spelling mistakes I could find.

Commits
-------

c4461b760a Add missing translations for Tagalog (tl)
2020-10-28 16:29:47 +01:00
Marco Petersen
c4461b760a Add missing translations for Tagalog (tl) 2020-10-28 16:29:36 +01:00
Alexander M. Turek
35ed927aa4 minor #38863 Add new FI Validator translations (gzumba)
This PR was squashed before being merged into the 4.4 branch.

Discussion
----------

Add new FI Validator translations

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

Added missing translations. Used the existing vocabulary, where possible, though not all are very good.

Commits
-------

0f13737cc1 Add new FI Validator translations
2020-10-28 15:43:18 +01:00
zumba
0f13737cc1 Add new FI Validator translations 2020-10-28 15:43:09 +01:00
Alexander M. Turek
c7ff43862b minor #38860 Remove translation keys that does not exists in English (Nyholm)
This PR was merged into the 4.4 branch.

Discussion
----------

Remove translation keys that does not exists in English

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

These keys has been removed from the [English file](https://github.com/symfony/symfony/blob/4.4/src/Symfony/Component/Security/Core/Resources/translations/security.en.xlf#L29-L36)

Commits
-------

29e3964da6 Remove translation keys that does not exists in English
2020-10-28 12:07:11 +01:00
Nyholm
29e3964da6
Remove translation keys that does not exists in English 2020-10-28 11:52:59 +01:00
Alexander M. Turek
c2d993bc56 bug #38856 [Cache] Add missing use statement (fabpot)
This PR was submitted for the 5.x branch but it was merged into the 4.4 branch instead.

Discussion
----------

[Cache] Add missing use statement

| 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       | n/a <!-- prefix each issue number with "Fix #", no need to create an issue if none exist, explain below instead -->
| License       | MIT
| Doc PR        | n/a

Commits
-------

bcb27b4426 [Cache] Add missing use statement
2020-10-28 08:30:26 +01:00
Fabien Potencier
bcb27b4426 [Cache] Add missing use statement 2020-10-28 08:18:22 +01:00
Fabien Potencier
abcc0b8bd3 Merge branch '5.1' into 5.x
* 5.1:
  Remove 3.4 from the Github PR template
  Bump Symfony version to 5.1.9
  Update VERSION for 5.1.8
  Update CHANGELOG for 5.1.8
  Bump Symfony version to 4.4.17
  Update VERSION for 4.4.16
  Update CHANGELOG for 4.4.16
2020-10-28 07:30:55 +01:00
Fabien Potencier
9eb3681c68 Merge branch '4.4' into 5.1
* 4.4:
  Remove 3.4 from the Github PR template
  Bump Symfony version to 4.4.17
  Update VERSION for 4.4.16
  Update CHANGELOG for 4.4.16
2020-10-28 07:30:32 +01:00
Fabien Potencier
f5f30bfe44 minor #38855 Remove 3.4 from the Github PR template (fabpot)
This PR was merged into the 4.4 branch.

Discussion
----------

Remove 3.4 from the Github PR template

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

Commits
-------

b440637960 Remove 3.4 from the Github PR template
2020-10-28 07:29:34 +01:00
Fabien Potencier
b440637960 Remove 3.4 from the Github PR template 2020-10-28 07:18:26 +01:00
Fabien Potencier
d8aa04f9a2 Bump Symfony version to 5.2.0 2020-10-28 07:15:27 +01:00
Fabien Potencier
90d2e55815
Merge pull request #38854 from fabpot/release-5.2.0-BETA3
released v5.2.0-BETA3
2020-10-28 07:09:01 +01:00
Fabien Potencier
d034e0455d Update VERSION for 5.2.0-BETA3 2020-10-28 07:08:40 +01:00
Fabien Potencier
0ef1cc3cf6 Update CHANGELOG for 5.2.0-BETA3 2020-10-28 07:08:27 +01:00
Fabien Potencier
b1cb5b3008 Bump Symfony version to 5.1.9 2020-10-28 07:07:48 +01:00
Fabien Potencier
0fc79c4d0e
Merge pull request #38853 from fabpot/release-5.1.8
released v5.1.8
2020-10-28 06:55:39 +01:00
Fabien Potencier
78654e8cbd Update VERSION for 5.1.8 2020-10-28 06:55:23 +01:00
Fabien Potencier
971f0e2892 Update CHANGELOG for 5.1.8 2020-10-28 06:55:13 +01:00
Fabien Potencier
8b0146cb63 Bump Symfony version to 4.4.17 2020-10-28 06:54:40 +01:00
Fabien Potencier
f2c432e9fb
Merge pull request #38852 from fabpot/release-4.4.16
released v4.4.16
2020-10-28 06:51:12 +01:00
Fabien Potencier
1864a9c528 Update VERSION for 4.4.16 2020-10-28 06:50:56 +01:00
Fabien Potencier
9a171c5dbb Update CHANGELOG for 4.4.16 2020-10-28 06:50:47 +01:00
Fabien Potencier
9dac2086b0 Merge branch '5.1' into 5.x
* 5.1:
  Missing translations for Chinese (zh_TW) #38733
  Missing translations for Chinese (zh_CN) #38732
2020-10-28 06:25:52 +01:00
Fabien Potencier
32cfd4d530 Merge branch '4.4' into 5.1
* 4.4:
  Missing translations for Chinese (zh_TW) #38733
  Missing translations for Chinese (zh_CN) #38732
2020-10-28 06:25:38 +01:00
Fabien Potencier
ea1ce23a76 Merge branch '3.4' into 4.4
* 3.4:
  Missing translations for Chinese (zh_TW) #38733
  Missing translations for Chinese (zh_CN) #38732
2020-10-28 06:25:24 +01:00
Fabien Potencier
8c6b652c10 minor #38848 Missing translations for Chinese (zh_TW) #38733 (fd6130)
This PR was squashed before being merged into the 3.4 branch.

Discussion
----------

Missing translations for Chinese (zh_TW) #38733

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

Added missing translations for zh_TW in Form, Security, Validator.

Commits
-------

3e741fda0a Missing translations for Chinese (zh_TW) #38733
2020-10-28 06:23:51 +01:00
fd6130
3e741fda0a Missing translations for Chinese (zh_TW) #38733 2020-10-28 06:23:45 +01:00
Fabien Potencier
48cbe31d4e minor #38847 Missing translations for Chinese (zh_CN) #38732 (fd6130)
This PR was squashed before being merged into the 3.4 branch.

Discussion
----------

Missing translations for Chinese (zh_CN) #38732

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

Added missing translations for zh_CN in Form, Security, Validator.

Commits
-------

952df248d0 Missing translations for Chinese (zh_CN) #38732
2020-10-28 06:23:15 +01:00
fd6130
952df248d0 Missing translations for Chinese (zh_CN) #38732 2020-10-28 06:23:05 +01:00