Commit Graph

49397 Commits

Author SHA1 Message Date
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
Nicolas Grekas ab2a0fe653 Tweak CI 2021-06-28 11:03:12 +02:00
Nicolas Grekas bd412f2616 Tweak GHA 2021-06-27 18:37:09 +02:00
Nicolas Grekas c6193bf85d - 2021-06-27 14:32:53 +02:00
Nicolas Grekas decf443a20 - 2021-06-27 14:24:10 +02:00
Nicolas Grekas 058168e2ed [gha] Define COLUMNS properly
This reverts commit c2e4ac613c.
2021-06-27 14:18:17 +02:00
Nicolas Grekas fdb8b9e64c [travis] keep compiling sodium 2021-06-27 14:10:14 +02:00
Nicolas Grekas 0ef5ec8f81 - 2021-06-27 14:04:45 +02:00
Nicolas Grekas c2e4ac613c - 2021-06-27 13:58:40 +02:00
Nicolas Grekas 2545205ea6 minor #41875 [travis] raise concurrency (nicolas-grekas)
This PR was merged into the 4.4 branch.

Discussion
----------

[travis] raise concurrency

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

Commits
-------

aecaf6b49d [travis] raise concurrency
2021-06-27 13:53:23 +02:00
Nicolas Grekas aecaf6b49d [travis] raise concurrency 2021-06-27 13:47:28 +02:00
Nicolas Grekas bb59651e48 Fix CI 2021-06-27 13:30:21 +02:00
Fabien Potencier 8838f925ba minor #41870 [Validator] Added missing spanish translation (vallel)
This PR was merged into the 4.4 branch.

Discussion
----------

[Validator] Added missing spanish translation

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

Added missing spanish translation for validator

Commits
-------

beabf50137 [Validator] Added missing spanish translation
2021-06-27 12:19:50 +02:00
Fabien Potencier aea9de43f6 minor #41871 [Validators] Add new translation in Hungarian (danielTiringer)
This PR was merged into the 4.4 branch.

Discussion
----------

[Validators] Add new translation in Hungarian

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

This PR adds missing Hungarian translations.

Commits
-------

78745133b3 Add new translation in Hungarian
2021-06-27 12:16:08 +02:00
Fabien Potencier cbaae666c7 minor #41872 * validators.(ru|lt).xlf - wrong trans-unit ids (StaffNowa)
This PR was squashed before being merged into the 4.4 branch.

Discussion
----------

* validators.(ru|lt).xlf - wrong trans-unit ids

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Tickets       | https://github.com/symfony/symfony/issues/41867
| License       | MIT

Hi, it is not a big issue, but validators.en.xlf vs validators.ru.xlf indexes not matched.

Commits
-------

9a20e25ba9 * validators.(ru|lt).xlf - wrong trans-unit ids
2021-06-27 12:13:29 +02:00
Vasilij Dusko 9a20e25ba9 * validators.(ru|lt).xlf - wrong trans-unit ids 2021-06-27 12:13:23 +02:00
Nicolas Grekas 5b56d05ce1 - 2021-06-27 11:17:32 +02:00
Nicolas Grekas ca4fd5b418 minor #41847 PHPUnit on GitHub Actions (derrabus, nicolas-grekas)
This PR was merged into the 4.4 branch.

Discussion
----------

PHPUnit on GitHub Actions

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

Continuing #41664

Commits
-------

fa5ed19ab8 -
b8182a8ecc PHPUnit on GitHub Actions
2021-06-27 11:12:34 +02:00