Commit Graph

48270 Commits

Author SHA1 Message Date
Alexander M. Turek 1afb1bcf56 Merge branch '3.4' into 4.4 2020-10-30 15:27:42 +01:00
Alexander M. Turek b9ca866bdd Remove Symfony 3 compatibility code. 2020-10-30 15:21:36 +01:00
Alexander M. Turek 5cc4623aad minor #38897 Fixed translations for Norwegian (Nyholm)
This PR was merged into the 4.4 branch.

Discussion
----------

Fixed translations for Norwegian

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

This will fix Travis build on 4.4

Norwegian has two dialects. "old" or "written" (Bokmål) and "new" (Nynorsk). The "new" one is the one everybody* speaks. The locales for these languages are:
- Norwegian: no
- "old": nb
- "new": nn

It does not make sense, sure. However, Symfony have tests that make sure that `no` and `nb` are the same. This PR just copies the `no` translations to `nb`.

----------

\* By "everybody" I mean the younger half of the population, especially in Olso. I am generalising partly because Im ignorant and partly because I wish more people spoke Nynork because that is the dialect I understand.

Commits
-------

b28505abd5 Fixed translations for Norwegian
2020-10-30 15:19:12 +01:00
Nyholm b28505abd5
Fixed translations for Norwegian 2020-10-30 15:01:38 +01:00
Alexander M. Turek 9eeac8d09c bug #38895 [PhpUnitBridge] Fix wrong check for exporter in ConstraintTrait (alcaeus)
This PR was merged into the 4.4 branch.

Discussion
----------

[PhpUnitBridge] Fix wrong check for exporter in ConstraintTrait

| 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

I'll just go hide in the corner after messing up this check. 🤦‍♂️

Commits
-------

ecb477952a Fix wrong check for exporter in ConstraintTrait
2020-10-30 15:00:40 +01:00
Alexander M. Turek eb3770980d minor #38829 Missing translations for Greek (el) (pavlakis)
This PR was squashed before being merged into the 4.4 branch.

Discussion
----------

Missing translations for Greek (el)

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

02d5985a31 Missing translations for Greek (el)
2020-10-30 14:46:35 +01:00
Antonios Pavlakis 02d5985a31 Missing translations for Greek (el) 2020-10-30 14:46:25 +01:00
Andreas Braun ecb477952a
Fix wrong check for exporter in ConstraintTrait 2020-10-30 14:45:28 +01:00
Alexander M. Turek 4fa4ecd9b2 minor #38878 Form, Security and Validator mn translation (luffy1727)
This PR was squashed before being merged into the 4.4 branch.

Discussion
----------

Form, Security and Validator mn translation

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

Adding Form, Security and validator Mongolian[mn] translation

Commits
-------

656d7b8df5 Form, Security and Validator mn translation
2020-10-30 10:44:54 +01:00
luffy1727 656d7b8df5 Form, Security and Validator mn translation 2020-10-30 10:44:46 +01:00
Nicolas Grekas 13af58c57f [Cache] minor improvement in expiry handling 2020-10-29 11:44:04 +01:00
Nicolas Grekas fdff819803 bug #38879 [Cache] Fixed expiry could be int in ChainAdapter due to race conditions (phamviet)
This PR was merged into the 4.4 branch.

Discussion
----------

[Cache] Fixed expiry could be int in ChainAdapter due to race conditions

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

This bug is hard to re-produce and seems only happen with ArrayAdapter only.

Steps to reproduce:

cache.yaml
```
simple.cache:
        adapters:
          - cache.adapter.array
          - cache.adapter.redis
```

```php
if (isset($item->metadata[CacheItem::METADATA_EXPIRY])) {
    $logger->debug($item->key, $item->metadata);
    $format = is_int($item->metadata[CacheItem::METADATA_EXPIRY]) ? 'U' : 'U.u';
    $item->expiresAt(\DateTime::createFromFormat($format, $item->metadata[CacheItem::METADATA_EXPIRY]));
 }
```

Refresh webpage multiple time to make web server busy and logs:
```
[2020-10-29T17:04:51.119653+07:00] application.DEBUG: item-key {"expiry":1603965892.118222,"ctime":4} []
[2020-10-29T17:04:54.322937+07:00] application.DEBUG: item-key {"expiry":1603965895.308393,"ctime":17} []
[2020-10-29T17:04:54.745923+07:00] application.DEBUG: item-key {"expiry":1603965895,"ctime":16} []
```

Commits
-------

268816f26c [Cache] Fixed expiry maybe int due too race conditions
2020-10-29 11:37:34 +01:00
Viet Pham 268816f26c [Cache] Fixed expiry maybe int due too race conditions 2020-10-29 11:37:09 +01:00
Alexander M. Turek 487908a610 minor #38862 Complete the Language for Hungarian and Norwegian (masitings)
This PR was merged into the 4.4 branch.

Discussion
----------

Complete the Language for Hungarian and Norwegian

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

Hi there, i have complete the translation for this 2 language. Mostly i translate that using google translate and some of the language i define by my self.

Commits
-------

9e4859c87b Complete the Language for Hungarian and Norwegian
2020-10-29 10:59:37 +01:00
Mas Iting 9e4859c87b
Complete the Language for Hungarian and Norwegian 2020-10-29 10:58:36 +01:00
Alexander M. Turek 1dfa4fa086 minor #38865 Add FI Form validation translations (gzumba)
This PR was merged into the 4.4 branch.

Discussion
----------

Add FI Form validation translations

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

Finnish translations for the Form validators.

Commits
-------

7608142ced Add FI Form validation translations
2020-10-29 10:40:37 +01:00
Fabien Potencier 19c3f02190 minor #38804 Enable Redis tests on nightly (derrabus)
This PR was merged into the 4.4 branch.

Discussion
----------

Enable Redis tests on nightly

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

Commits
-------

1a83a469c3 Enable Redis tests on nightly.
2020-10-29 08:49:03 +01:00
Fabien Potencier 73512d8734 minor #38872 Simplify phpunit script (derrabus)
This PR was merged into the 4.4 branch.

Discussion
----------

Simplify phpunit script

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

This PR simplifies the `phpunit` script we use for our CI.

* Detection for Symfony 3 has been removed.
* PHPUnit 6 was dropped.
* PHPUnit 7.5 is now used on the PHP 7.1 run.

Commits
-------

447d9c22f6 Simplify phpunit script.
2020-10-29 08:36:59 +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
Alexander M. Turek 447d9c22f6 Simplify phpunit script. 2020-10-28 21:38:43 +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
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
zumba 7608142ced Add FI Form validation translations 2020-10-28 16:05:29 +02: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
Alexander M. Turek 1a83a469c3 Enable Redis tests on nightly. 2020-10-28 08:08:40 +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 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 4eb10eaa2c Bump Symfony version to 3.4.47 2020-10-28 06:49:13 +01:00
Fabien Potencier 8cd680e4db
Merge pull request #38851 from fabpot/release-3.4.46
released v3.4.46
2020-10-28 06:40:45 +01:00
Fabien Potencier e700242adf Update VERSION for 3.4.46 2020-10-28 06:40:17 +01:00
Fabien Potencier f2de5e5321 Update CONTRIBUTORS for 3.4.46 2020-10-28 06:38:46 +01:00
Fabien Potencier 82ea45fce1 Update CHANGELOG for 3.4.46 2020-10-28 06:38:23 +01:00