Skip to content

Commit c3738cb

Browse files
authored
Merge branch '5.4' into patch-1
2 parents 52475f3 + db6aa08 commit c3738cb

File tree

151 files changed

+6432
-6614
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

151 files changed

+6432
-6614
lines changed

.doctor-rst.yaml

Lines changed: 7 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
11
rules:
22
american_english: ~
3+
argument_variable_must_match_type:
4+
arguments:
5+
- { type: 'ContainerBuilder', name: 'containerBuilder' }
6+
- { type: 'ContainerConfigurator', name: 'containerConfigurator' }
37
avoid_repetetive_words: ~
48
blank_line_after_anchor: ~
59
blank_line_after_directive: ~
610
blank_line_before_directive: ~
711
composer_dev_option_not_at_the_end: ~
812
correct_code_block_directive_based_on_the_content: ~
913
deprecated_directive_should_have_version: ~
14+
ensure_exactly_one_space_before_directive_type: ~
1015
ensure_exactly_one_space_between_link_definition_and_link: ~
1116
ensure_link_definition_contains_valid_url: ~
1217
ensure_order_of_code_blocks_in_configuration_block: ~
@@ -49,7 +54,7 @@ rules:
4954
versionadded_directive_should_have_version: ~
5055
yaml_instead_of_yml_suffix: ~
5156
yarn_dev_option_at_the_end: ~
52-
# no_app_bundle: ~
57+
no_merge_conflict:
5358

5459
# master
5560
versionadded_directive_major_version:
@@ -68,41 +73,24 @@ rules:
6873
whitelist:
6974
regex:
7075
- '/FOSUserBundle(.*)\.yml/'
71-
- '/``.yml``/'
7276
- '/(.*)\.orm\.yml/' # currently DoctrineBundle only supports .yml
73-
- '/rst-class/'
7477
- /docker-compose\.yml/
7578
lines:
7679
- 'in config files, so the old ``app/config/config_dev.yml`` goes to'
7780
- '#. The most important config file is ``app/config/services.yml``, which now is'
78-
- 'code in production without a proxy, it becomes trivially easy to abuse your'
79-
- '.. _`EasyDeployBundle`: https://github.com/EasyCorp/easy-deploy-bundle'
8081
- 'The bin/console Command'
81-
- '# username is your full Gmail or Google Apps email address'
8282
- '.. _`LDAP injection`: http://projects.webappsec.org/w/page/13246947/LDAP%20Injection'
8383
- '.. versionadded:: 1.9.0' # Encore
84-
- '.. versionadded:: 0.28.4' # Encore
85-
- '.. versionadded:: 2.4.0' # SwiftMailer
86-
- '.. versionadded:: 1.30' # Twig
87-
- '.. versionadded:: 1.35' # Twig
8884
- '.. versionadded:: 1.11' # Messenger (Middleware / DoctrineBundle)
8985
- '.. versionadded:: 1.18' # Flex in setup/upgrade_minor.rst
9086
- '.. versionadded:: 1.0.0' # Encore
9187
- '.. versionadded:: 5.1' # Private Services
92-
- '0 => 123' # assertion for var_dumper - components/var_dumper.rst
93-
- '1 => "foo"' # assertion for var_dumper - components/var_dumper.rst
9488
- '123,' # assertion for var_dumper - components/var_dumper.rst
9589
- '"foo",' # assertion for var_dumper - components/var_dumper.rst
9690
- '$var .= "Because of this `\xE9` octet (\\xE9),\n";'
97-
- "`Deploying Symfony 4 Apps on Heroku`_."
98-
- ".. _`Deploying Symfony 4 Apps on Heroku`: https://devcenter.heroku.com/articles/deploying-symfony4"
99-
- "// 224, 165, 141, 224, 164, 164, 224, 165, 135])"
10091
- '.. versionadded:: 0.2' # MercureBundle
101-
- 'provides a ``loginUser()`` method to simulate logging in in your functional'
102-
- '.. code-block:: twig'
10392
- '.. versionadded:: 3.6' # MonologBundle
93+
- '.. versionadded:: 3.8' # MonologBundle
10494
- '// bin/console'
105-
- 'End to End Tests (E2E)'
106-
- '.. code-block:: php'
10795
- '.. _`a feature to test applications using Mercure`: https://github.com/symfony/panther#creating-isolated-browsers-to-test-apps-using-mercure-or-websocket'
10896
- '.. End to End Tests (E2E)'

.github/workflows/ci.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121

2222
steps:
2323
- name: "Checkout"
24-
uses: actions/checkout@v2
24+
uses: actions/checkout@v3
2525

2626
- name: "Set-up PHP"
2727
uses: shivammathur/setup-php@v2
@@ -36,7 +36,7 @@ jobs:
3636
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
3737

3838
- name: Cache dependencies
39-
uses: actions/cache@v2
39+
uses: actions/cache@v3
4040
with:
4141
path: ${{ steps.composercache.outputs.dir }}
4242
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
@@ -57,7 +57,7 @@ jobs:
5757

5858
steps:
5959
- name: "Checkout"
60-
uses: actions/checkout@v2
60+
uses: actions/checkout@v3
6161

6262
- name: "Create cache dir"
6363
run: mkdir .cache
@@ -67,13 +67,13 @@ jobs:
6767
id: extract_base_branch
6868

6969
- name: "Cache DOCtor-RST"
70-
uses: actions/cache@v2
70+
uses: actions/cache@v3
7171
with:
7272
path: .cache
7373
key: ${{ runner.os }}-doctor-rst-${{ steps.extract_base_branch.outputs.branch }}
7474

7575
- name: "Run DOCtor-RST"
76-
uses: docker://oskarstark/doctor-rst
76+
uses: docker://oskarstark/doctor-rst:1.38.2
7777
with:
7878
args: --short --error-format=github --cache-file=/github/workspace/.cache/doctor-rst.cache
7979

@@ -83,7 +83,7 @@ jobs:
8383
continue-on-error: true
8484
steps:
8585
- name: Checkout code
86-
uses: actions/checkout@v2
86+
uses: actions/checkout@v3
8787
with:
8888
path: 'docs'
8989

@@ -109,7 +109,7 @@ jobs:
109109

110110
- name: Cache dependencies
111111
if: ${{ steps.find-files.outputs.files }}
112-
uses: actions/cache@v2
112+
uses: actions/cache@v3
113113
with:
114114
path: ${{ steps.composercache.outputs.dir }}
115115
key: ${{ runner.os }}-composer-codeBlocks-${{ hashFiles('_checker/composer.lock', '_sf_app/composer.lock') }}

README.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ Contributing
2626
We love contributors! For more information on how you can contribute, please read
2727
the [Symfony Docs Contributing Guide](https://symfony.com/doc/current/contributing/documentation/overview.html).
2828

29-
**Important**: use `4.4` branch as the base of your pull requests, unless you are
30-
documenting a feature that was introduced *after* Symfony 4.4 (e.g. in Symfony 5.4).
29+
**Important**: use `5.4` branch as the base of your pull requests, unless you are
30+
documenting a feature that was introduced *after* Symfony 5.4 (e.g. in Symfony 6.2).
3131

3232
Build Documentation Locally
3333
---------------------------

_build/build.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
$outputDir = __DIR__.'/output';
2222
$buildConfig = (new BuildConfig())
23-
->setSymfonyVersion('4.4')
23+
->setSymfonyVersion('5.4')
2424
->setContentDir(__DIR__.'/..')
2525
->setOutputDir($outputDir)
2626
->setImagesDir(__DIR__.'/output/_images')

_build/composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"prefer-stable": true,
44
"config": {
55
"platform": {
6-
"php": "7.4.14"
6+
"php": "8.1.0"
77
},
88
"preferred-install": {
99
"*": "dist"
@@ -14,9 +14,9 @@
1414
}
1515
},
1616
"require": {
17-
"php": ">=7.4",
18-
"symfony/console": "^5.4",
19-
"symfony/process": "^5.4",
17+
"php": ">=8.1",
18+
"symfony/console": "^6.2",
19+
"symfony/process": "^6.2",
2020
"symfony-tools/docs-builder": "^0.18"
2121
}
2222
}

0 commit comments

Comments
 (0)