Commit Graph

49314 Commits

Author SHA1 Message Date
Ippei Sumida
603ea6af14 Add missing translations for Japanese. 2021-07-04 16:20:26 +09:00
Robin Chalas
8519cb7ea5
minor #41964 [Security] Don't skip UserPasswordValidatorTest (chalasr)
This PR was merged into the 4.4 branch.

Discussion
----------

[Security] Don't skip UserPasswordValidatorTest

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

Commits
-------

629e6987e6 [Security] Don't skip UserPasswordValidatorTest
2021-07-03 23:38:01 +02:00
Robin Chalas
629e6987e6
[Security] Don't skip UserPasswordValidatorTest 2021-07-03 23:17:34 +02:00
Nicolas Grekas
46309e5814 [DI] CS fix 2021-07-03 21:19:39 +02:00
Nicolas Grekas
e93f8c0ad3 bug #41952 [Console] fix handling positional arguments (nicolas-grekas)
This PR was merged into the 4.4 branch.

Discussion
----------

[Console] fix handling positional arguments

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

Follow up of #41949

Commits
-------

fad17a95ea [Console] fix handling positional arguments
2021-07-03 21:16:28 +02:00
Nicolas Grekas
fad17a95ea [Console] fix handling positional arguments 2021-07-03 21:08:50 +02:00
Fabien Potencier
eb83be474c minor #41953 Add Bulgarian translation for the validator (I-Valchev)
This PR was merged into the 4.4 branch.

Discussion
----------

Add Bulgarian translation for the validator

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

Commits
-------

a812cea58a Add Bulgarian translation for the validator
2021-07-03 06:55:51 +02:00
Fabien Potencier
06351de7db minor #41957 [Validator] add translation for Vietnamese (vuphuong87)
This PR was merged into the 4.4 branch.

Discussion
----------

[Validator] add translation for Vietnamese

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

Commits
-------

4526a70969 [Validator] add translation for Vietnamese
2021-07-03 06:54:44 +02:00
Adrian Nguyen
4526a70969 [Validator] add translation for Vietnamese 2021-07-03 11:05:14 +07:00
Ivo Valchev
a812cea58a
Add Bulgarian translation for the validator 2021-07-02 21:08:39 +02:00
Nicolas Grekas
ed09dc138e minor #41949 [Console] fix type annotations on InputInterface (nicolas-grekas)
This PR was merged into the 4.4 branch.

Discussion
----------

[Console] fix type annotations on InputInterface

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

`hasArgument` already accepts `string|int`.
Makes sense?

Commits
-------

ab76477012 [Console] fix type annotations on InputInterface
2021-07-02 18:57:09 +02:00
Nicolas Grekas
7e78fb1197 fix annot 2021-07-02 18:39:34 +02:00
Nicolas Grekas
ab76477012 [Console] fix type annotations on InputInterface 2021-07-02 18:25:02 +02:00
Alexander M. Turek
0e5db3dcfa Fix CS
Signed-off-by: Alexander M. Turek <me@derrabus.de>
2021-07-02 18:06:08 +02:00
Nicolas Grekas
3c72d518f5 minor #41948 [PhpUnitBridge] Avoid triggering the autoloader in Deprecation::isLegacy() (derrabus)
This PR was merged into the 4.4 branch.

Discussion
----------

[PhpUnitBridge] Avoid triggering the autoloader in Deprecation::isLegacy()

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

The low-deps tests are currently failing because Deprecation::isLegacy() keeps triggering the autoloader and might even do so while `DebugClassLoader` considers a failed autoload attempt as an error.

Commits
-------

b95dfede5f Avoid triggering the autoloader in Deprecation::isLegacy()
2021-07-02 18:03:29 +02:00
Alexander M. Turek
b95dfede5f Avoid triggering the autoloader in Deprecation::isLegacy()
Signed-off-by: Alexander M. Turek <me@derrabus.de>
2021-07-02 17:57:26 +02:00
Nicolas Grekas
cf0f3c9834 minor #41943 [4.4] Backport type fixes (nicolas-grekas)
This PR was merged into the 4.4 branch.

Discussion
----------

[4.4] Backport type fixes

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

And other changes made while preparing 6.0.

Commits
-------

e1afcb6de1 Backport type fixes
2021-07-02 17:08:37 +02:00
Nicolas Grekas
e1afcb6de1 Backport type fixes 2021-07-02 16:55:44 +02:00
Fabien Potencier
92013312f3 minor #41869 [Form] better form doc types to support static analysis (Tobion)
This PR was merged into the 4.4 branch.

Discussion
----------

[Form] better form doc types to support static analysis

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

otherwise phpstan will complain in custom FormTypes like

```
class RegistrationFormType extends AbstractType
{
    public function buildForm(FormBuilderInterface $builder, array $options): void
`````

that it does not know what the iterable $builder and $options are about.

Commits
-------

56900d2b24 [Form] better form doc types to support static analysis
2021-07-02 12:25:11 +02:00
Fabien Potencier
2f7bad905c minor #41933 [DependencyInjection] Turn $defaultDeprecationTemplate into a constant (derrabus)
This PR was merged into the 4.4 branch.

Discussion
----------

[DependencyInjection] Turn $defaultDeprecationTemplate into a constant

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Tickets       | https://github.com/symfony/symfony/pull/41928#discussion_r662277447
| License       | MIT
| Doc PR        | N/A

Commits
-------

936e399ff9 [DependencyInjection] Turn $defaultDeprecationTemplate into a constant
2021-07-02 12:20:15 +02:00
Fabien Potencier
fcf0a83682 minor #41934 [DependencyInjection] Fix doc blocks (derrabus)
This PR was merged into the 4.4 branch.

Discussion
----------

[DependencyInjection] Fix doc blocks

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

Two small backports from #41928.

Commits
-------

950b2e780c [DependencyInjection] Fix doc blocks
2021-07-02 10:56:36 +02:00
Fabien Potencier
d59f8ee1d5 minor #41939 uzb translation 4.4 version (shokhaa)
This PR was merged into the 4.4 branch.

Discussion
----------

uzb translation 4.4 version

| Q             | A
| ------------- | ---
| Branch?       | 5.4 for features / 4.4, 5.2 or 5.3 for bug fixes <!-- see below -->
| Bug fix?      | no
| New feature?  | yes <!-- 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.
 - Changelog entry should follow https://symfony.com/doc/current/contributing/code/conventions.html#writing-a-changelog-entry
-->

Commits
-------

d73cd5071e uzb translation
2021-07-02 09:28:19 +02:00
shakhobiddin
d73cd5071e uzb translation 2021-07-02 12:15:12 +05:00
Alexander M. Turek
950b2e780c [DependencyInjection] Fix doc blocks
Signed-off-by: Alexander M. Turek <me@derrabus.de>
2021-07-01 23:39:28 +02:00
Alexander M. Turek
936e399ff9 [DependencyInjection] Turn $defaultDeprecationTemplate into a constant
Signed-off-by: Alexander M. Turek <me@derrabus.de>
2021-07-01 23:28:50 +02:00
Nicolas Grekas
713f73facc bug #41887 [PhpUnitBridge] Fix deprecation handler with PHPUnit 10 (YaFou)
This PR was merged into the 4.4 branch.

Discussion
----------

[PhpUnitBridge] Fix deprecation handler with PHPUnit 10

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | Fix #41580
| 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.
 - Changelog entry should follow https://symfony.com/doc/current/contributing/code/conventions.html#writing-a-changelog-entry
-->

With PHPUnit 10, a lot of classes and methods were refactored. This PR adds the support of PHPUnit 10 into the deprecation handler.

Commits
-------

5f90fb0fd6 [PhpUnitBridge] Fix deprecation handler with PHPUnit 10
2021-07-01 18:03:47 +02:00
YaFou
5f90fb0fd6 [PhpUnitBridge] Fix deprecation handler with PHPUnit 10 2021-07-01 18:03:36 +02:00
Alexander M. Turek
97d48476f7 minor #41929 Revert CI workaround for masterminds/html5 (derrabus)
This PR was merged into the 4.4 branch.

Discussion
----------

Revert CI workaround for masterminds/html5

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | Masterminds/html5-php#209
| License       | MIT
| Doc PR        | N/A

The branches of `masterminds/html5` have been fixed, so we can revert our workaround.

Commits
-------

44ca13ef40 Revert CI workaround for masterminds/html5
2021-07-01 17:36:27 +02:00
Alexander M. Turek
44ca13ef40 Revert CI workaround for masterminds/html5
Signed-off-by: Alexander M. Turek <me@derrabus.de>
2021-07-01 16:52:12 +02:00
Nicolas Grekas
7c6c7b0331 Fix tests 2021-06-30 16:07:32 +02:00
Nicolas Grekas
780e746adb CS fix 2021-06-30 15:27:08 +02:00
Nicolas Grekas
6e3fa5a43f minor #41918 CS fixes (nicolas-grekas)
This PR was merged into the 4.4 branch.

Discussion
----------

CS fixes

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

With a rule hinted by `@julienfalque` in https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues/5785

Commits
-------

31e1a978f5 CS fixes
2021-06-30 15:05:30 +02:00
Nicolas Grekas
31e1a978f5 CS fixes 2021-06-30 15:02:00 +02:00
Fabien Potencier
ffb4795104 Bump Symfony version to 4.4.27 2021-06-30 10:22:49 +02:00
Fabien Potencier
8df2da89fb
Merge pull request #41913 from fabpot/release-4.4.26
released v4.4.26
2021-06-30 10:18:25 +02:00
Fabien Potencier
689e2967e5 Update VERSION for 4.4.26 2021-06-30 10:18:06 +02:00
Fabien Potencier
f5a5e5b108 Update CONTRIBUTORS for 4.4.26 2021-06-30 10:17:21 +02:00
Fabien Potencier
36dece58f7 Update CHANGELOG for 4.4.26 2021-06-30 10:15:30 +02:00
Fabien Potencier
43733f79f6 minor #41888 added missing Arabic translations (ELATTARIYassine)
This PR was merged into the 4.4 branch.

Discussion
----------

added missing Arabic translations

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| 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#...

Related to #41811

Commits
-------

f549d9cd9c added missing Arabic translations
2021-06-30 09:16:09 +02:00
Fabien Potencier
17a156eea1 minor #41908 Missing translations for Chinese (zh_CN) #41814 (JJsty1e)
This PR was merged into the 4.4 branch.

Discussion
----------

Missing translations for Chinese (zh_CN) #41814

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

1. change "数值" to "值" in some tokens.("数值" in Chinese means an numeric value, but some tokens not declare it's value is a number);
2. add the id=100 translation.

Commits
-------

62183afac4 Missing translations for Chinese (zh_CN) #41814
2021-06-30 09:13:58 +02:00
Fabien Potencier
e2d33fb93c bug #41893 [Filesystem] Workaround cannot dumpFile into "protected" folders on Windows (arnegroskurth)
This PR was merged into the 4.4 branch.

Discussion
----------

[Filesystem] Workaround cannot dumpFile into "protected" folders on Windows

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

Commits
-------

4b9b68c023 [Filesystem] Workaround cannot dumpFile into "protected" folders on Windows
2021-06-30 09:12:23 +02:00
Arne Groskurth
4b9b68c023 [Filesystem] Workaround cannot dumpFile into "protected" folders on Windows 2021-06-30 09:10:18 +02:00
无聊的杰基
62183afac4
Missing translations for Chinese (zh_CN) #41814
1. change "数值" to "值" in some tokens.("数值" in Chinese means an numeric value, but some tokens not declare it's value is a number);
2. add the id=100 translation.
2021-06-30 13:40:44 +08:00
Fabien Potencier
99a8b9f786 minor #41895 update Italian translation (nicolas-grekas)
This PR was merged into the 4.4 branch.

Discussion
----------

update Italian translation

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

Add missing translation for Italian language.

Commits
-------

18bf1bf44c update Italian translation
2021-06-29 12:20:48 +02:00
Nicolas Grekas
18bf1bf44c
update Italian translation 2021-06-29 11:37:11 +02:00
Nicolas Grekas
edf74fa9ab Tweak GHA 2021-06-29 11:23:13 +02:00
elattariyassine
f549d9cd9c
added missing Arabic translations 2021-06-28 19:06:40 +01:00
Nicolas Grekas
41e88c9d8f minor #41885 [FrameworkBundle] fix tests (nicolas-grekas)
This PR was merged into the 4.4 branch.

Discussion
----------

[FrameworkBundle] fix tests

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

Needed to make #41884 green.

Commits
-------

21621ab783 [FrameworkBundle] fix tests
2021-06-28 17:40:46 +02:00
Nicolas Grekas
21621ab783 [FrameworkBundle] fix tests 2021-06-28 17:39:02 +02:00
Nicolas Grekas
ac2c3a936d Tweak CI 2021-06-28 11:04:43 +02:00