Skip to content

Commit 3e5d83a

Browse files
committed
Update flex recipes
1 parent 143bba2 commit 3e5d83a

File tree

9 files changed

+52
-40
lines changed

9 files changed

+52
-40
lines changed

.editorconfig

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# editorconfig.org
2+
13
root = true
24

35
[*]
@@ -7,3 +9,9 @@ indent_size = 4
79
indent_style = space
810
insert_final_newline = true
911
trim_trailing_whitespace = true
12+
13+
[{compose.yaml,compose.*.yaml}]
14+
indent_size = 2
15+
16+
[*.md]
17+
trim_trailing_whitespace = false

.env.dev

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
11
# Define your env variables for the development environment here
2+
3+
###> symfony/framework-bundle ###
4+
# APP_SECRET=
5+
###< symfony/framework-bundle ###

.env.test

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
# Define your env variables for the test environment here
22
KERNEL_CLASS='App\Kernel'
33
APP_SECRET='$ecretf0rt3st'
4-
SYMFONY_DEPRECATIONS_HELPER=999999
5-
PANTHER_APP_ENV=panther
6-
PANTHER_ERROR_SCREENSHOT_DIR=./var/error-screenshots
74
DATABASE_URL=sqlite:///%kernel.project_dir%/data/database_test.sqlite

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ phpstan.neon
2020
###< phpstan/phpstan ###
2121

2222
###> phpunit/phpunit ###
23-
.phpunit.result.cache
23+
/.phpunit.cache/
2424
/phpunit.xml
2525
###< phpunit/phpunit ###

assets/controllers/csrf_protection_controller.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const nameCheck = /^[-_a-zA-Z0-9]{4,22}$/;
2-
const tokenCheck = /^[-_\/+a-zA-Z0-9]{24,}$/;
2+
const tokenCheck = /^[-_/+a-zA-Z0-9]{24,}$/;
33

44
// Generate and double-submit a CSRF token in a form field and a cookie, as defined by Symfony's SameOriginCsrfTokenManager
55
document.addEventListener('submit', function (event) {

config/packages/translation.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ framework:
55
# Translations are defined using the ICU Message Format
66
# See https://symfony.com/doc/current/translation/message_format.html
77
default_path: '%kernel.project_dir%/translations'
8-
fallbacks:
9-
- '%app.locale%'
108
providers:
119
# crowdin:
1210
# dsn: '%env(CROWDIN_DSN)%'

config/packages/web_profiler.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,6 @@ when@dev:
88

99
when@test:
1010
framework:
11-
profiler: { collect: false }
11+
profiler:
12+
collect: false
13+
collect_serializer_data: true

phpunit.xml.dist renamed to phpunit.dist.xml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,18 @@
33
<!-- https://docs.phpunit.de/en/11.5/configuration.html -->
44
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
55
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
6+
cacheDirectory=".phpunit.cache"
7+
colors="true"
68
failOnDeprecation="true"
79
failOnNotice="true"
810
failOnWarning="true"
9-
colors="true"
1011
bootstrap="tests/bootstrap.php"
1112
>
1213
<php>
13-
<ini name="display_errors" value="1"/>
14-
<ini name="error_reporting" value="-1"/>
15-
<server name="APP_ENV" value="test" force="true"/>
16-
<server name="SHELL_VERBOSITY" value="-1"/>
14+
<ini name="display_errors" value="1" />
15+
<ini name="error_reporting" value="-1" />
16+
<server name="APP_ENV" value="test" force="true" />
17+
<server name="SHELL_VERBOSITY" value="-1" />
1718
</php>
1819

1920
<testsuites>
@@ -24,9 +25,11 @@
2425

2526
<source ignoreSuppressionOfDeprecations="true"
2627
ignoreIndirectDeprecations="true"
28+
restrictNotices="true"
29+
restrictWarnings="true"
2730
>
2831
<include>
29-
<directory suffix=".php">src</directory>
32+
<directory>src</directory>
3033
</include>
3134

3235
<deprecationTrigger>
@@ -39,7 +42,7 @@
3942
<extensions>
4043
<!-- it begins a database transaction before every testcase and rolls it back after
4144
the test finished, so tests can manipulate the database without affecting other tests -->
42-
<bootstrap class="DAMA\DoctrineTestBundle\PHPUnit\PHPUnitExtension"/>
45+
<bootstrap class="DAMA\DoctrineTestBundle\PHPUnit\PHPUnitExtension" />
4346

4447
<!-- Run `composer require symfony/panther` before enabling this extension -->
4548
<!-- <bootstrap class="Symfony\Component\Panther\ServerExtension" /> -->

symfony.lock

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"dama/doctrine-test-bundle": {
3-
"version": "8.2",
3+
"version": "8.3",
44
"recipe": {
55
"repo": "github.com/symfony/recipes-contrib",
66
"branch": "main",
7-
"version": "7.2",
8-
"ref": "896306d79d4ee143af9eadf9b09fd34a8c391b70"
7+
"version": "8.3",
8+
"ref": "dfc51177476fb39d014ed89944cde53dc3326d23"
99
},
1010
"files": [
1111
"config/packages/dama_doctrine_test_bundle.yaml"
@@ -21,17 +21,17 @@
2121
}
2222
},
2323
"doctrine/doctrine-bundle": {
24-
"version": "2.13",
24+
"version": "2.15",
2525
"recipe": {
2626
"repo": "github.com/symfony/recipes",
2727
"branch": "main",
2828
"version": "2.13",
29-
"ref": "8d96c0b51591ffc26794d865ba3ee7d193438a83"
29+
"ref": "620b57f496f2e599a6015a9fa222c2ee0a32adcb"
3030
},
3131
"files": [
32-
"./config/packages/doctrine.yaml",
33-
"./src/Entity/.gitignore",
34-
"./src/Repository/.gitignore"
32+
"config/packages/doctrine.yaml",
33+
"src/Entity/.gitignore",
34+
"src/Repository/.gitignore"
3535
]
3636
},
3737
"doctrine/doctrine-fixtures-bundle": {
@@ -76,12 +76,12 @@
7676
"recipe": {
7777
"repo": "github.com/symfony/recipes",
7878
"branch": "main",
79-
"version": "9.6",
80-
"ref": "7364a21d87e658eb363c5020c072ecfdc12e2326"
79+
"version": "11.1",
80+
"ref": "c6658a60fc9d594805370eacdf542c3d6b5c0869"
8181
},
8282
"files": [
8383
".env.test",
84-
"phpunit.xml.dist",
84+
"phpunit.dist.xml",
8585
"tests/bootstrap.php"
8686
]
8787
},
@@ -167,7 +167,7 @@
167167
"repo": "github.com/symfony/recipes",
168168
"branch": "main",
169169
"version": "7.3",
170-
"ref": "a64726446f6dcf3721f192c1df35418d69b3ba92"
170+
"ref": "5a1497d539f691b96afd45ae397ce5fe30beb4b9"
171171
},
172172
"files": [
173173
".editorconfig",
@@ -268,27 +268,27 @@
268268
]
269269
},
270270
"symfony/stimulus-bundle": {
271-
"version": "2.23",
271+
"version": "2.29",
272272
"recipe": {
273273
"repo": "github.com/symfony/recipes",
274274
"branch": "main",
275275
"version": "2.20",
276-
"ref": "3acc494b566816514a6873a89023a35440b6386d"
276+
"ref": "e058471c5502e549c1404ebdd510099107bb5549"
277277
},
278278
"files": [
279-
"./assets/bootstrap.js",
280-
"./assets/controllers.json",
281-
"./assets/controllers/csrf_protection_controller.js",
282-
"./assets/controllers/hello_controller.js"
279+
"assets/bootstrap.js",
280+
"assets/controllers.json",
281+
"assets/controllers/csrf_protection_controller.js",
282+
"assets/controllers/hello_controller.js"
283283
]
284284
},
285285
"symfony/translation": {
286-
"version": "7.2",
286+
"version": "7.3",
287287
"recipe": {
288288
"repo": "github.com/symfony/recipes",
289289
"branch": "main",
290290
"version": "6.3",
291-
"ref": "e28e27f53663cc34f0be2837aba18e3a1bef8e7b"
291+
"ref": "620a1b84865ceb2ba304c8f8bf2a185fbf32a843"
292292
},
293293
"files": [
294294
"config/packages/translation.yaml",
@@ -321,24 +321,24 @@
321321
]
322322
},
323323
"symfony/ux-live-component": {
324-
"version": "2.20",
324+
"version": "2.29",
325325
"recipe": {
326326
"repo": "github.com/symfony/recipes",
327327
"branch": "main",
328328
"version": "2.6",
329-
"ref": "73e69baf18f47740d6f58688c5464b10cdacae06"
329+
"ref": "b7130b7b5ddc2f8994bd6149d7c093b184782f0c"
330330
},
331331
"files": [
332332
"config/routes/ux_live_component.yaml"
333333
]
334334
},
335335
"symfony/ux-twig-component": {
336-
"version": "2.20",
336+
"version": "2.29",
337337
"recipe": {
338338
"repo": "github.com/symfony/recipes",
339339
"branch": "main",
340340
"version": "2.13",
341-
"ref": "67814b5f9794798b885cec9d3f48631424449a01"
341+
"ref": "f367ae2a1faf01c503de2171f1ec22567febeead"
342342
},
343343
"files": [
344344
"config/packages/twig_component.yaml"
@@ -362,7 +362,7 @@
362362
"repo": "github.com/symfony/recipes",
363363
"branch": "main",
364364
"version": "7.3",
365-
"ref": "5b2b543e13942495c0003f67780cb4448af9e606"
365+
"ref": "a363460c1b0b4a4d0242f2ce1a843ca0f6ac9026"
366366
},
367367
"files": [
368368
"config/packages/web_profiler.yaml",

0 commit comments

Comments
 (0)