Skip to content

Commit a047aa5

Browse files
authored
Merge branch 'symfony:1.x' into main
2 parents 680e56c + 8101ae3 commit a047aa5

File tree

90 files changed

+255
-1431
lines changed

Some content is hidden

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

90 files changed

+255
-1431
lines changed

.github/workflows/ci-docs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
pull_request:
55
push:
66
branches:
7-
- 'main'
7+
- '1.x'
88
schedule:
99
- cron: '0 0 * * *'
1010

.github/workflows/ci-linux.yaml

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,14 @@ on:
44
pull_request:
55
push:
66
branches:
7-
- 'main'
7+
- '1.x'
88
schedule:
99
- cron: '0 0 * * *'
1010

11+
concurrency:
12+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
13+
cancel-in-progress: true
14+
1115
env:
1216
PHPUNIT_FLAGS: "-v"
1317
SYMFONY_PHPUNIT_DIR: "$HOME/symfony-bridge/.phpunit"
@@ -33,28 +37,21 @@ jobs:
3337

3438
env:
3539
SYMFONY_VERSION: ${{ matrix.symfony-version }}
36-
MAKER_ALLOW_DEV_DEPS_IN_APP: ${{ matrix.allow-dev-deps-in-apps }}
3740

3841
strategy:
3942
fail-fast: false
4043
matrix:
4144
php-version:
4245
- '8.3'
4346
symfony-version:
44-
- '6.4.x-dev'
45-
- '7.0.x-dev'
46-
- '7.1.x-dev'
47+
- '6.4.*'
48+
- '7.2.*'
4749
dependency-versions: ['highest']
48-
allow-dev-deps-in-apps: ['0']
4950
include:
5051
# testing lowest PHP+dependencies with lowest Symfony
5152
- php-version: '8.1'
5253
symfony-version: '6.4.*'
5354
dependency-versions: 'lowest'
54-
# testing lowest PHP+dependencies with highest Symfony
55-
- php-version: '8.1'
56-
symfony-version: '6.4.*'
57-
dependency-versions: 'highest'
5855

5956
steps:
6057
- name: Checkout code
@@ -63,8 +60,9 @@ jobs:
6360
- name: Install PHP with extensions
6461
uses: shivammathur/setup-php@v2
6562
with:
66-
coverage: "none"
63+
coverage: none
6764
php-version: ${{ matrix.php-version }}
65+
tools: flex
6866

6967
- name: Add PHPUnit matcher
7068
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
@@ -86,9 +84,6 @@ jobs:
8684

8785
- name: Install PHPUnit
8886
run: |
89-
if [[ ${{ matrix.dependency_versions == 'lowest' }} ]]; then
90-
echo "SYMFONY_PHPUNIT_REQUIRE=nikic/php-parser:^4.18" >> $GITHUB_ENV
91-
fi
9287
vendor/bin/simple-phpunit install
9388
9489
- name: PHPUnit version

.github/workflows/ci-static-analysis.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
pull_request:
55
push:
66
branches:
7-
- 'main'
7+
- '1.x'
88
schedule:
99
- cron: '0 0 * * *'
1010

.github/workflows/ci-windows.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,21 @@ on:
44
pull_request:
55
push:
66
branches:
7-
- 'main'
7+
- '1.x'
88
schedule:
99
- cron: '0 0 * * *'
1010

11+
concurrency:
12+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
13+
cancel-in-progress: true
14+
1115
env:
1216
PHPUNIT_FLAGS: "-v"
1317
SYMFONY_PHPUNIT_DIR: "$HOME/symfony-bridge/.phpunit"
1418
MAKER_SKIP_MERCURE_TEST: 1
1519
MAKER_SKIP_PANTHER_TEST: 1
1620
MAKER_TEST_WINDOWS: 1
1721
MAKER_DISABLE_FILE_LINKS: 1
18-
MAKER_ALLOW_DEV_DEPS_IN_APP: 0
19-
SYMFONY_VERSION: '7.0.x-dev'
2022

2123
jobs:
2224
tests:

.symfony.bundle.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
branches: ["main"]
1+
branches: ["1.x"]
22

3-
maintained_branches: ["main"]
3+
maintained_branches: ["1.x"]
44

55
doc_dir: "docs"
66

CHANGELOG.md

Lines changed: 0 additions & 889 deletions
This file was deleted.

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,17 +35,17 @@ This is not needed for contributing, but it's useful if you would like to debug
3535
issue in the docs or if you want to read MakerBundles Documentation offline.
3636

3737
```bash
38-
$ cd _docs_build/
38+
cd _docs_build/
3939

40-
$ composer install
40+
composer install
4141

42-
$ php build.php
42+
php build.php
4343
```
4444

4545
After generating docs, serve them with the internal PHP server:
4646

4747
```bash
48-
$ php -S localhost:8000 -t output/
48+
php -S localhost:8000 -t output/
4949
```
5050

5151
Browse `http://localhost:8000` to read the docs.

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,11 @@
1212
}
1313
],
1414
"minimum-stability": "dev",
15+
"prefer-stable": true,
1516
"require": {
1617
"php": ">=8.1",
1718
"doctrine/inflector": "^2.0",
18-
"nikic/php-parser": "^4.18|^5.0",
19+
"nikic/php-parser": "^5.0",
1920
"symfony/config": "^6.4|^7.0",
2021
"symfony/console": "^6.4|^7.0",
2122
"symfony/dependency-injection": "^6.4|^7.0",

config/help/MakeAuth.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ by asking questions.
33

44
It can provide an empty authenticator, or a full login form authentication process.
55
In both cases it also updates your <info>security.yaml</info>.
6-
For the login form, it also generates a controller and the twig template.
6+
For the login form, it also generates a controller and the Twig template.
77

88
<info>php %command.full_name%</info>

config/help/MakeForm.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
The <info>%command.name%</info> command generates a new form class.
22

3-
<info>php %command.full_name% UserType</info>
3+
<info>php %command.full_name% UserForm</info>
44

55
If the argument is missing, the command will ask for the form class interactively.
66

77
You can optionally specify the bound class in a second argument.
88
This can be the name of an entity like <info>User</info>
99

10-
<info>php %command.full_name% UserType User</info>
10+
<info>php %command.full_name% UserForm User</info>
1111

1212
You can also specify a fully qualified name to another class like <info>\App\Dto\UserData</info>.
1313
Slashes must be escaped in the argument.
1414

15-
<info>php %command.full_name% UserType \\App\\Dto\\UserData</info>
15+
<info>php %command.full_name% UserForm \\App\\Dto\\UserData</info>
1616

0 commit comments

Comments
 (0)