Skip to content

Commit 18aa76d

Browse files
authored
Merge branch 'main' into datepoint
2 parents a069d44 + 0287dc2 commit 18aa76d

29 files changed

Lines changed: 3380 additions & 3190 deletions

.github/workflows/end_to_end_tests.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
with:
2323
coverage: none
2424
extensions: none, ctype, dom, iconv, intl, mbstring, pdo_sqlite, simplexml, tokenizer, xml, xmlwriter
25-
php-version: '8.2'
25+
php-version: '8.4'
2626
tools: symfony-cli
2727

2828
- name: Configure environment
@@ -76,7 +76,7 @@ jobs:
7676
with:
7777
coverage: none
7878
extensions: none, ctype, dom, iconv, intl, mbstring, pdo_sqlite, simplexml, tokenizer, xml, xmlwriter
79-
php-version: '8.3'
79+
php-version: '8.4'
8080
tools: symfony-cli
8181

8282
- name: Clone repository and install dependencies

.github/workflows/lint.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ jobs:
1818
runs-on: ubuntu-latest
1919
steps:
2020
- name: "Checkout code"
21-
uses: actions/checkout@v5
21+
uses: actions/checkout@v6
2222

2323
- name: PHP-CS-Fixer
24-
uses: docker://ghcr.io/php-cs-fixer/php-cs-fixer:3-php8.2
24+
uses: docker://ghcr.io/php-cs-fixer/php-cs-fixer:3-php8.4
2525
with:
2626
args: check --diff --using-cache=no
2727

@@ -30,11 +30,11 @@ jobs:
3030
runs-on: ubuntu-latest
3131
strategy:
3232
matrix:
33-
php-version: ['8.2']
33+
php-version: ['8.4']
3434

3535
steps:
3636
- name: "Checkout code"
37-
uses: actions/checkout@v5
37+
uses: actions/checkout@v6
3838

3939
- name: "Install PHP with extensions"
4040
uses: shivammathur/setup-php@v2
@@ -85,13 +85,13 @@ jobs:
8585

8686
steps:
8787
- name: Checkout code
88-
uses: actions/checkout@v5
88+
uses: actions/checkout@v6
8989

9090
- name: Setup PHP
9191
uses: shivammathur/setup-php@v2
9292
with:
9393
coverage: none
94-
php-version: '8.3'
94+
php-version: '8.4'
9595

9696
- name: Install dependencies
9797
run: composer install --ansi --no-interaction --no-progress

.github/workflows/tests.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,16 @@ jobs:
2121
strategy:
2222
matrix:
2323
operating-system: ['ubuntu-latest']
24-
php-version: ['8.2', '8.3', '8.4', '8.5']
24+
php-version: ['8.4', '8.5']
2525
include:
2626
- operating-system: 'macos-latest'
27-
php-version: '8.2'
27+
php-version: '8.4'
2828
- operating-system: 'windows-latest'
29-
php-version: '8.2'
29+
php-version: '8.4'
3030

3131
steps:
3232
- name: "Checkout code"
33-
uses: actions/checkout@v5
33+
uses: actions/checkout@v6
3434

3535
- name: "Install PHP with extensions"
3636
uses: shivammathur/setup-php@v2

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,8 @@ phpstan.neon
2323
/.phpunit.cache/
2424
/phpunit.xml
2525
###< phpunit/phpunit ###
26+
27+
###> friendsofphp/php-cs-fixer ###
28+
/.php-cs-fixer.php
29+
/.php-cs-fixer.cache
30+
###< friendsofphp/php-cs-fixer ###

.php-cs-fixer.dist.php

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,25 @@
1010
*/
1111

1212
$fileHeaderComment = <<<COMMENT
13-
This file is part of the Symfony package.
13+
This file is part of the Symfony package.
1414
15-
(c) Fabien Potencier <fabien@symfony.com>
15+
(c) Fabien Potencier <fabien@symfony.com>
1616
17-
For the full copyright and license information, please view the LICENSE
18-
file that was distributed with this source code.
19-
COMMENT;
17+
For the full copyright and license information, please view the LICENSE
18+
file that was distributed with this source code.
19+
COMMENT;
2020

21-
return (new PhpCsFixer\Config())
21+
return new PhpCsFixer\Config()
2222
->setFinder(
2323
PhpCsFixer\Finder::create()->in(['src', 'tests'])->append([__FILE__])
2424
)
2525
->setRiskyAllowed(true)
2626
->setRules([
27+
'@PHP8x4Migration' => true,
28+
'@PHP8x4Migration:risky' => true,
2729
'@Symfony' => true,
2830
'@Symfony:risky' => true,
31+
'declare_strict_types' => false, // depends how project wants to handle type matching and untaint user input
2932
'header_comment' => ['header' => $fileHeaderComment, 'separate' => 'both'],
3033
'no_useless_else' => true,
3134
'no_useless_return' => true,

assets/styles/app.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Add your SASS styles in this file
12
@import "variables";
23
@import "./bootswatch/variables";
34

composer.json

Lines changed: 34 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -6,41 +6,40 @@
66
"minimum-stability": "stable",
77
"prefer-stable": true,
88
"require": {
9-
"php": ">=8.2",
9+
"php": ">=8.4",
1010
"ext-ctype": "*",
1111
"ext-iconv": "*",
1212
"ext-pdo_sqlite": "*",
1313
"doctrine/dbal": "^4.0",
14-
"doctrine/doctrine-bundle": "^2.16",
15-
"doctrine/doctrine-migrations-bundle": "^3.3",
14+
"doctrine/doctrine-bundle": "^3.0",
1615
"doctrine/orm": "^3.5",
1716
"league/commonmark": "^2.1",
1817
"symfony/apache-pack": "^1.0",
19-
"symfony/asset": "^7",
20-
"symfony/asset-mapper": "^7",
21-
"symfony/console": "^7",
22-
"symfony/dotenv": "^7",
23-
"symfony/expression-language": "^7",
18+
"symfony/asset": "^8",
19+
"symfony/asset-mapper": "^8",
20+
"symfony/console": "^8",
21+
"symfony/dotenv": "^8",
22+
"symfony/expression-language": "^8",
2423
"symfony/flex": "^2",
25-
"symfony/form": "^7",
26-
"symfony/framework-bundle": "^7",
27-
"symfony/html-sanitizer": "^7",
28-
"symfony/http-client": "^7",
29-
"symfony/intl": "^7",
30-
"symfony/mailer": "^7",
31-
"symfony/monolog-bundle": "^3.7",
24+
"symfony/form": "^8",
25+
"symfony/framework-bundle": "^8",
26+
"symfony/html-sanitizer": "^8",
27+
"symfony/http-client": "^8",
28+
"symfony/intl": "^8",
29+
"symfony/mailer": "^8",
30+
"symfony/monolog-bundle": "^4",
3231
"symfony/polyfill-intl-messageformatter": "^1.12",
33-
"symfony/runtime": "^7",
34-
"symfony/security-bundle": "^7",
32+
"symfony/runtime": "^8",
33+
"symfony/security-bundle": "^8",
3534
"symfony/stimulus-bundle": "^2.12",
36-
"symfony/string": "^7",
37-
"symfony/translation": "^7",
38-
"symfony/twig-bundle": "^7",
35+
"symfony/string": "^8",
36+
"symfony/translation": "^8",
37+
"symfony/twig-bundle": "^8",
3938
"symfony/ux-icons": "^2.20",
4039
"symfony/ux-live-component": "^2.6",
41-
"symfony/validator": "^7",
42-
"symfony/yaml": "^7",
43-
"symfonycasts/sass-bundle": "^0.8.3",
40+
"symfony/validator": "^8",
41+
"symfony/yaml": "^8",
42+
"symfonycasts/sass-bundle": "^0.9.0",
4443
"twbs/bootstrap": "^5",
4544
"twig/extra-bundle": "^3.3",
4645
"twig/intl-extra": "^3.3",
@@ -49,16 +48,17 @@
4948
"require-dev": {
5049
"dama/doctrine-test-bundle": "^8.0.2",
5150
"doctrine/doctrine-fixtures-bundle": "^4.1",
51+
"friendsofphp/php-cs-fixer": "^3.92",
5252
"phpstan/phpstan": "^2.0",
5353
"phpstan/phpstan-doctrine": "^2.0",
5454
"phpstan/phpstan-symfony": "^2.0",
55-
"phpunit/phpunit": "^11.3",
56-
"symfony/browser-kit": "^7",
57-
"symfony/css-selector": "^7",
58-
"symfony/debug-bundle": "^7",
55+
"phpunit/phpunit": "^11.5.50",
56+
"symfony/browser-kit": "^8",
57+
"symfony/css-selector": "^8",
58+
"symfony/debug-bundle": "^8",
5959
"symfony/maker-bundle": "^1.36",
60-
"symfony/stopwatch": "^7",
61-
"symfony/web-profiler-bundle": "^7"
60+
"symfony/stopwatch": "^8",
61+
"symfony/web-profiler-bundle": "^8"
6262
},
6363
"replace": {
6464
"symfony/polyfill-ctype": "*",
@@ -68,15 +68,17 @@
6868
"symfony/polyfill-php74": "*",
6969
"symfony/polyfill-php80": "*",
7070
"symfony/polyfill-php81": "*",
71-
"symfony/polyfill-php82": "*"
71+
"symfony/polyfill-php82": "*",
72+
"symfony/polyfill-php83": "*",
73+
"symfony/polyfill-php84": "*"
7274
},
7375
"config": {
7476
"allow-plugins": {
7577
"symfony/flex": true,
7678
"symfony/runtime": true
7779
},
7880
"platform": {
79-
"php": "8.2.0"
81+
"php": "8.4.0"
8082
},
8183
"preferred-install": {
8284
"*": "dist"
@@ -111,7 +113,7 @@
111113
"extra": {
112114
"symfony": {
113115
"allow-contrib": true,
114-
"require": "7.4.*"
116+
"require": "8.0.*"
115117
}
116118
}
117119
}

0 commit comments

Comments
 (0)