8000 [Messenger Doctrine] Fixed regression by #50524 causing data loss by brusch · Pull Request #50716 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[Messenger Doctrine] Fixed regression by #50524 causing data loss #50716

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 4,808 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
4808 commits
Select commit Hold shift + click to select a range
3fcf300
bug #50307 [AssetMapper] Improving XSD to use attributes whenever pos…
nicolas-grekas May 12, 2023
657e9be
[Notifier] Bring consistency to bridges
nicolas-grekas May 12, 2023
e3a140d
[Security] Skip clearing CSRF Token on stateless logout
chalasr May 13, 2023
ce77ed8
[AssetMapper] Add cached asset factory
weaverryan May 10, 2023
3514acd
feature #50286 [AssetMapper] Add cached asset factory (weaverryan)
fabpot May 13, 2023
e7f5216
Update CHANGELOG for 6.3.0-BETA3
fabpot May 13, 2023
d93cf13
Update VERSION for 6.3.0-BETA3
fabpot May 13, 2023
ddb0546
Merge pull request #50313 from fabpot/release-6.3.0-BETA3
fabpot May 13, 2023
63f1f71
Bump Symfony version to 6.3.0
fabpot May 13, 2023
670e0f3
Merge branch '5.4' into 6.2
nicolas-grekas May 13, 2023
3471e34
Merge branch '6.2' into 6.3
nicolas-grekas May 13, 2023
8c637a5
minor #50308 [Notifier] Bring consistency to bridges (nicolas-grekas)
nicolas-grekas May 13, 2023
752378c
Merge branch '5.4' into 6.2
nicolas-grekas May 14, 2023
eb3e308
Merge branch '6.2' into 6.3
nicolas-grekas May 14, 2023
38021b5
[Console] Remove redundant method getSaturation()
ivanpepelko May 14, 2023
df086fa
minor #50317 [Console] Remove redundant method getSaturation() (ivanp…
fabpot May 15, 2023
c9ed471
[WebProfilerBundle] Tweak the HTML code of the Twig entry view
javiereguiluz May 15, 2023
c036acf
Ensure DoctrineIntegrationTest always run in UTC
alex-dev May 15, 2023
398830c
minor #50328 Ensure DoctrineIntegrationTest always run in UTC (alex-dev)
nicolas-grekas May 15, 2023
00df479
Provide a value if possible when parameter is not found
MatTheCat May 16, 2023
6b0ebc8
[VarDumper] Fix HTML of invisible characters
fancyweb May 16, 2023
796a65b
bug #50343 [VarDumper] Fix HTML of invisible characters (fancyweb)
nicolas-grekas May 16, 2023
b7b0c97
bug #50340 [HttpKernel] Make `QueryParameterValueResolver` provide a …
nicolas-grekas May 16, 2023
39bb6b6
Fix problem with empty generator in StreamedJsonResponse
alexander-schranz May 15, 2023
8d24399
bug #50331 [HttpFoundation] Fix problem with empty generator in Strea…
nicolas-grekas May 16, 2023
5c40d30
bug #50325 [WebProfilerBundle] Tweak the HTML code of the Twig entry …
nicolas-grekas May 16, 2023
53046a3
[VarDumper] Reduce stylesheet assignments via JavaScript in `HtmlDumper`
ohader Apr 8, 2023
825fd03
minor #49977 [VarDumper] Reduce stylesheet assignments via JavaScript…
nicolas-grekas May 16, 2023
09c7581
[DependencyInjection] Add exclude-self option to dumpers
HypeMC May 16, 2023
d3486dd
Fix get sender name in turbosms notifier
ZhukV May 17, 2023
3d6e0bd
bug #50351 [DependencyInjection] Add `excludeSelf` option to dumpers …
nicolas-grekas May 18, 2023
bf262b9
bug #50352 [Notifier][TurboSMS] Fix get sender name (ZhukV)
nicolas-grekas May 18, 2023
51b9246
Bug fix for paths that start with the same string
weaverryan May 17, 2023
8d7ac4c
bug #50355 Bug fix for paths that start with the same string (weaverr…
nicolas-grekas May 19, 2023
749b304
Merge branch '5.4' into 6.2
nicolas-grekas May 19, 2023
a689085
bug #50280 [PropertyAccess] Fix nullsafe operator on array index (Hyp…
nicolas-grekas May 19, 2023
240c031
[Serializer] Fix SerializedPath not working with constructor arguments
HypeMC May 6, 2023
71f8c57
bug #50193 [Serializer] Fix `SerializedPath` not working with constru…
nicolas-grekas May 19, 2023
eab290d
Merge branch '6.2' into 6.3
nicolas-grekas May 19, 2023
0e61a66
[DoctrineBridge] Allow to ignore specific nullable fields in UniqueEn…
VincentLanglet Feb 8, 2023
95aa09e
feature #49293 [DoctrineBridge] Allow to ignore specific nullable fie…
nicolas-grekas May 19, 2023
aef515f
[Validator] Allow to use translation_domain false for validators and …
VincentLanglet Jan 2, 2023
92e213e
feature #48852 [Validator] Allow to use translation_domain false for …
nicolas-grekas May 19, 2023
93cc075
[Security] Improve DX when invalid custom authenticators
alamirault Apr 5, 2023
cf5f103
minor #49938 [Security] Improve DX when invalid custom authenticators…
nicolas-grekas May 19, 2023
a3a5472
[AssetMapper] Adding "path" option to importmap:require
weaverryan May 18, 2023
8355439
feature #50363 [AssetMapper] Adding "path" option to importmap:requir…
nicolas-grekas May 19, 2023
8a8b5cd
[VarDumper][DebugBundle] Fix dump labels compatibility
fancyweb May 16, 2023
761d915
bug #50347 [DebugBundle][VarDumper] Fix dump labels compatibility (fa…
nicolas-grekas May 19, 2023
d0245f8
[AssetMapper] Fixing improper use of hasOption() in command
weaverryan May 19, 2023
398036b
minor #50365 [AssetMapper] Fixing improper use of hasOption() in comm…
nicolas-grekas May 19, 2023
feb680b
[AssetMapper] Fix bug where dependencies were preloaded even if the p…
weaverryan May 17, 2023
54a3b84
bug #50356 [AssetMapper] Fix bug where dependencies were preloaded ev…
nicolas-grekas May 19, 2023
5b92940
Merge branch '5.4' into 6.2
nicolas-grekas May 19, 2023
2c33e56
Fix merge
nicolas-grekas May 19, 2023
684fdd2
bug #50312 [Security] Skip clearing CSRF Token on stateless logout (c…
nicolas-grekas May 19, 2023
6d97baa
Merge branch '6.2' into 6.3
nicolas-grekas May 19, 2023
34c8f0c
Fix merge
nicolas-grekas May 19, 2023
10000 099ba75
[Security] Test `CsrfTokenClearingLogoutListener` with stateless logout
chalasr May 19, 2023
457d56f
minor #50369 [Security] Test `CsrfTokenClearingLogoutListener` with s…
chalasr May 19, 2023
6153f04
[Notifier] Document Notifier options in README files
alamirault May 16, 2023
746c06b
bug #50349 [Notifier] Document Notifier options in README files (alam…
nicolas-grekas May 20, 2023
9371536
fix exception wording
garak May 21, 2023
4a4493c
minor #50381 [HttpKernel] fix exception wording (garak)
wouterj May 21, 2023
ebcced6
[Scheduler] Improve triggers performance when possible
fabpot Mar 25, 2023
e770344
[Notifier] Document Notifier options in README files
alamirault May 20, 2023
a3124b7
minor #50378 [Notifier] Document Notifier options in README files (al…
nicolas-grekas May 22, 2023
c041d91
[WebProfilerBundle] Fix cursor on link that has no href
PhilETaylor May 20, 2023
3f9fe23
bug #50376 [WebProfilerBundle] Fix cursor on link that has no href (P…
nicolas-grekas May 22, 2023
9b0d811
bug #49817 [Scheduler] Improve triggers performance when possible (fa…
nicolas-grekas May 22, 2023
656749f
Merge branch '5.4' into 6.2
nicolas-grekas May 22, 2023
8e7ea19
Merge branch '6.2' into 6.3
nicolas-grekas May 22, 2023
893d299
Convert A link to Button
PhilETaylor May 22, 2023
6a8e73d
Update CHANGELOG for 6.3.0-RC1
fabpot May 22, 2023
2f1d3f0
Update VERSION for 6.3.0-RC1
fabpot May 22, 2023
adb5a03
Merge pull request #50388 from fabpot/release-6.3.0-RC1
fabpot May 22, 2023
2979e1e
Bump Symfony version to 6.3.0
fabpot May 22, 2023
9f52bf1
[AssetMapper] Fixing incorrect exception & adding allowing more reali…
weaverryan May 23, 2023
343b6d7
bug #50393 [AssetMapper] Fixing incorrect exception & adding allowing…
nicolas-grekas May 23, 2023
11b8603
CS fix
nicolas-grekas May 23, 2023
5bf5c4d
minor #50386 Fix cursor on link that has no href (PhilETaylor)
nicolas-grekas May 23, 2023
c05fdb8
[AssetMapper] Sometimes asset contents are built from non-asset files
weaverryan May 23, 2023
5320c85
Merge branch '5.4' into 6.2
nicolas-grekas May 23, 2023
8fd49c1
Merge branch '6.2' into 6.3
nicolas-grekas May 23, 2023
07d318a
[VarDumper] Fix `dd()` showing line with `null`
HypeMC May 23, 2023
a2f2f82
bug #50406 [VarDumper] Fix `dd()` showing line with `null` (HypeMC)
nicolas-grekas May 23, 2023
03d8302
bug #50400 [AssetMapper] Sometimes asset contents are built from non-…
nicolas-grekas May 23, 2023
bb97591
[AssetMapper] Avoid loading potentially ALL assets in dev server
weaverryan May 23, 2023
cc65825
bug #50394 [AssetMapper] Avoid loading potentially ALL assets in dev …
nicolas-grekas May 23, 2023
23c6a35
Update github/workflows/scorecard
nicolas-grekas May 23, 2023
c9425a2
Merge branch '5.4' into 6.2
nicolas-grekas May 23, 2023
27154d0
Merge branch '6.2' into 6.3
nicolas-grekas May 23, 2023
de44614
[AssetMapper] Change default importmap "provider" to JsDelivr+esm
weaverryan May 23, 2023
b530dc3
[AssetMapper] Fix wiring resolvers, send requests in parallel and use…
nicolas-grekas May 24, 2023
f64e38d
bug #50408 [AssetMapper] Change default importmap "provider" to JsDel…
nicolas-grekas May 24, 2023
743aff9
Fix: Typo in PHPDoc
OskarStark May 25, 2023
52f45a4
[VarDumper] Fix failures on appveyor
nicolas-grekas May 25, 2023
066f6b3
minor #50424 [Messenger] Fix: Typo in PHPDoc (OskarStark)
fabpot May 25, 2023
e824eb0
[VarDumper][HttpKernel] Fix dumping with labels
nicolas-grekas May 23, 2023
2f3e24a
bug #50397 [HttpKernel][VarDumper] Fix dumping with labels (nicolas-g…
nicolas-grekas May 25, 2023
100f9ea
minor #50427 [VarDumper] Fix failures on appveyor (nicolas-grekas)
nicolas-grekas May 25, 2023
4347520
Merge branch '5.4' into 6.2
nicolas-grekas May 25, 2023
268e740
Merge branch '6.2' into 6.3
nicolas-grekas May 25, 2023
9f31576
[AssetMapper] Using a separate logger channel
weaverryan May 25, 2023
f65b668
minor #50435 [AssetMapper] Using a separate logger channel (weaverryan)
fabpot May 26, 2023
d6ea474
[DependencyInjection] Revert "Use weak references in the container"
nicolas-grekas May 26, 2023
09a08cb
[HttpKernel] conflict with VarDumper < 6.3
nicolas-grekas May 26, 2023
6927654
minor #50443 [HttpKernel] conflict with VarDumper < 6.3 (nicolas-grekas)
nicolas-grekas May 26, 2023
542f039
bug #50440 [DependencyInjection] Revert "Use weak references in the c…
nicolas-grekas May 26, 2023
7021964
Merge branch '5.4' into 6.2
nicolas-grekas May 26, 2023
d50daee
Merge branch '6.2' into 6.3
nicolas-grekas May 26, 2023
ed2641a
[AssetMapper] Adding documentation to importmap.php to guide the user
weaverryan May 25, 2023
68f8ad9
minor #50436 [AssetMapper] Adding documentation to importmap.php to g…
fabpot May 26, 2023
27ecdb4
[AssetMapper] Adding an "alias" syntax to importmap:require
weaverryan May 26, 2023
abc5e15
[SecurityBundle] Update security-1.0.xsd to include missing access-to…
aegypius May 26, 2023
9608af3
bug #50442 [SecurityBundle] Update security-1.0.xsd to include missin…
fabpot May 26, 2023
ec6338f
feature #50445 [AssetMapper] Add "=alias" syntax to importmap:require…
fabpot May 26, 2023
568b653
Merge branch '6.2' into 6.3
fabpot May 27, 2023
50ff60f
Update CHANGELOG for 6.2.11
fabpot May 27, 2023
3ce0d07
Update VERSION for 6.2.11
fabpot May 27, 2023
626f53a
Merge pull request #50454 from fabpot/release-6.2.11
fabpot May 27, 2023
4b72b61
Bump Symfony version to 6.2.12
fabpot May 27, 2023
94f492e
Update CHANGELOG for 6.3.0-RC2
fabpot May 27, 2023
60588cc
Update VERSION for 6.3.0-RC2
fabpot May 27, 2023
e885d53
Merge pull request #50455 from fabpot/release-6.3.0-RC2
fabpot May 27, 2023
e1bf69c
Bump Symfony version to 6.3.0
fabpot May 27, 2023
2c668ba
Ignore definitions bearing the `container.excluded` tag
Myks92 May 27, 2023
4f2b5e1
bug #50452 Hide definitions bearing the `container.excluded` tag (Myk…
chalasr May 29, 2023
3ee8d38
Merge branch '5.4' into 6.2
nicolas-grekas May 29, 2023
acac306
Merge branch '6.2' into 6.3
nicolas-grekas May 29, 2023
0a0a2c9
Fix unable to use asset mapper with CSP
vtsykun May 29, 2023
fabe7bc
[HttpKernel] Fix default value ignored with pinned resolvers
HypeMC May 28, 2023
2af8f39
bug #50458 [HttpKernel] Fix default value ignored with pinned resolve…
nicolas-grekas May 29, 2023
5bab536
bug #50456 [AssetMapper] Fix unable to use asset mapper with CSP (vts…
fabpot May 30, 2023
cbe4808
[FrameworkBundle][PhpUnitBridge] Configure doctrine/deprecations as e…
nicolas-grekas May 30, 2023
380e709
CS fix
nicolas-grekas May 30, 2023
8dd9d93
[Notifier] Fix ContactEveryoneOptions
nicolas-grekas May 30, 2023
23c9e17
[SecurityBundle] Fix configuring OIDC user info token handler client
vincentchalamon May 30, 2023
5c46e7e
bug #50470 [SecurityBundle] Fix configuring OIDC user info token hand…
nicolas-grekas May 30, 2023
f2df30b
bug #50473 [Notifier] Fix ContactEveryoneOptions (nicolas-grekas)
nicolas-grekas May 30, 2023
c96a390
bug #50468 [FrameworkBundle][PhpUnitBridge] Configure doctrine/deprec…
nicolas-grekas May 30, 2023
73e3cff
Merge branch '6.2' into 6.3
nicolas-grekas May 30, 2023
cf78f12
Fix tests
nicolas-grekas May 30, 2023
7776c28
[FrameworkBundle] remove support for preloading ESM modules using hea…
dunglas May 30, 2023
bff0601
[SecurityBundle] add missing xsd definition for OIDC
aegypius May 26, 2023
b587099
bug #50453 [SecurityBundle] add missing xsd definition for OIDC (aegy…
nicolas-grekas May 30, 2023
dec93e9
bug #50476 [FrameworkBundle] remove support for preloading ESM using …
nicolas-grekas May 30, 2023
5394130
[Security] Add clock dependency to OidcTokenHandler
nicolas-grekas May 30, 2023
9a3b651
Merge branch '5.4' into 6.2
nicolas-grekas May 30, 2023
da82f53
[Serializer] Fix discriminator map not working with `AbstractNormaliz…
HypeMC May 30, 2023
875a729
Merge branch '6.2' into 6.3
nicolas-grekas May 30, 2023
2654e7b
bug #50477 [Security] Add clock dependency to OidcTokenHandler (nicol…
nicolas-grekas May 30, 2023
90011f5
[Security] Validate `aud` and `iss` claims on OidcTokenHandler
vincentchalamon May 25, 2023
744c378
bug #50432 [Security] Validate `aud` and `iss` claims on OidcTokenHan…
nicolas-grekas May 30, 2023
e9afaa3
Update CHANGELOG for 6.3.0
fabpot May 30, 2023
9241f84
Update VERSION for 6.3.0
fabpot May 30, 2023
85182e7
Merge pull request #50482 from fabpot/release-6.3.0
fabpot May 30, 2023
1a9ac8d
Bump Symfony version to 6.3.1
fabpot May 30, 2023
91e6e57
[VarDumper] Use documentElement instead of body for JS flag
ohader May 31, 2023
c31276b
bug #50493 [VarDumper] Use documentElement instead of body for JS fla…
nicolas-grekas May 31, 2023
e901262
bug #50480 [Serializer] Fix discriminator map not working with `Abstr…
nicolas-grekas May 31, 2023
06ab7ec
[FrameworkBundle] ease migration to symfony 6.3
lyrixx May 31, 2023
9ae8b6c
add @throws to getPayload
wiseguy1394 May 31, 2023
c106c5f
[SecurityBundle] Fix error message when using OIDC and web-token/jwt-…
nicolas-grekas May 31, 2023
14b1088
bug #50498 [FrameworkBundle] ease migration to symfony 6.3 (lyrixx)
nicolas-grekas May 31, 2023
99e1b1f
bug #50503 [SecurityBundle] Fix error message when using OIDC and web…
nicolas-grekas May 31, 2023
7e7adcc
minor #50492 [HttpFoundation] add `@throws` to getPayload (wiseguy1394)
nicolas-grekas May 31, 2023
02909a2
[Messenger] Add deprecation message for the "messenger.listener.stop_…
alexandre-daubois May 31, 2023
2e688f7
bug #50508 [Messenger] Add deprecation message for the `messenger.lis…
nicolas-grekas May 31, 2023
03392b6
[PhpUnitBridge] Disable deduplication of Doctrine deprecations
nicolas-grekas May 31, 2023
5ffa61c
[SecurityBundle] Use LogicException instead of Definition::addError()
nicolas-grekas Jun 1, 2023
2a29674
[VarDumper] Add named arguments coverage of VarDumper's function
alexandre-daubois May 31, 2023
96c2dd7
minor #50512 [VarDumper] Add named arguments coverage of VarDumper's …
nicolas-grekas Jun 1, 2023
29fe9ff
bug #50514 [PhpUnitBridge] Disable deduplication of Doctrine deprecat…
nicolas-grekas Jun 1, 2023
b033925
minor #50519 [SecurityBundle] Use LogicException instead of Definiti…
nicolas-grekas Jun 1, 2023
38a7ee5
[Mailer] [MailPace] Fix undefined array key in errors response
flofloflo May 31, 2023
a88e5f8
bug #50515 [Mailer] [MailPace] Fix undefined array key in errors resp…
nicolas-grekas Jun 1, 2023
24347bf
Merge branch '5.4' into 6.2
nicolas-grekas Jun 1, 2023
e5c5a51
Merge branch '6.2' into 6.3
nicolas-grekas Jun 1, 2023
a0a3ce1
[Serializer] Fix ignoring objects that only implement DenormalizableI…
Jun 1, 2023
7e01a32
bug #50521 [Serializer] Fix ignoring objects that only implement Deno…
nicolas-grekas Jun 1, 2023
c7fb0fd
[PhpUnitBridge] Add missing line in changelog
nicolas-grekas Jun 1, 2023
d2b5209
[PhpUnitBridge] Fix classifying doctrine/deprecations as direct/indirect
nicolas-grekas Jun 1, 2023
9217c57
bug #50525 [PhpUnitBridge] Fix classifying doctrine/deprecations as d…
nicolas-grekas Jun 1, 2023
5101d18
[DependencyInjection] Fix support for `false` boolean env vars
Okhoshi Jun 1, 2023
538a9ab
[Messenger] Prevent `StopWorkerOnSignalsListener::$signals` to be ass…
alexandre-daubois Jun 1, 2023
26891af
bug #50532 [Messenger] Prevent `StopWorkerOnSignalsListener::$signals…
fabpot Jun 2, 2023
5b6573c
[PhpUnitBridge] Fix requiring bootstrap.php
nicolas-grekas Jun 2, 2023
f3b6e77
Merge branch '5.4' into 6.2
nicolas-grekas Jun 2, 2023
3fd32aa
fix merge
xabbuh Jun 3, 2023
a859c40
fix Doctrine deprecations
xabbuh Jun 3, 2023
0665a3b
minor #50544 fix Doctrine deprecations (xabbuh)
fabpot Jun 3, 2023
a2498b8
Merge branch '6.2' into 6.3
xabbuh Jun 4, 2023
e41e47a
Merge branch '5.4' into 6.2
xabbuh Jun 4, 2023
061d5db
Merge branch '6.2' into 6.3
xabbuh Jun 4, 2023
330bb6a
[DoctrineBridge] Update deprecations baseline
nicolas-grekas Jun 4, 2023
4915f12
minor #50549 [DoctrineBridge] Update deprecations baseline (nicolas-g…
nicolas-grekas Jun 4, 2023
bb0684a
Merge branch '5.4' into 6.2
nicolas-grekas Jun 4, 2023
8f9cc4c
Merge branch '6.2' into 6.3
nicolas-grekas Jun 4, 2023
620e399
Ignore doctrine deprecations
nicolas-grekas Jun 4, 2023
d16b931
Merge branch '5.4' into 6.2
nicolas-grekas Jun 4, 2023
2699886
Merge branch '6.2' into 6.3
nicolas-grekas Jun 4, 2023
e4c90a3
-
nicolas-grekas Jun 4, 2023
2c71034
-
nicolas-grekas Jun 4, 2023
31d2b01
-
nicolas-grekas Jun 4, 2023
7c7b0b2
GH-50526: Reverting ExecutionContextInterface void return types in fa…
upchuk Jun 1, 2023
1cceec1
bug #50540 [Validator] GH-50526: Reverting ExecutionContextInterface …
nicolas-grekas Jun 5, 2023
1e22c3b
remove unusable cache pools
xabbuh Jun 5, 2023
f6efec5
[SecurityBundle] Mark SignatureAlgorithmFactory as internal
fancyweb Jun 5, 2023
ac88b34
minor #50564 [SecurityBundle] Mark SignatureAlgorithmFactory as inter…
nicolas-grekas Jun 5, 2023
ce09da1
[PhpUnitBridge] Ignore deprecations about the annotation mapping driv…
nicolas-grekas Jun 5, 2023
1693989
bug #50567 [PhpUnitBridge] Ignore deprecations about the annotation m…
nicolas-grekas Jun 5, 2023
db20408
bug #50563 [FrameworkBundle] remove unusable cache pools (xabbuh)
nicolas-grekas Jun 5, 2023
77521de
Fix .github/expected-missing-return-types.diff
nicolas-grekas Jun 5, 2023
28c61f2
Merge branch '5.4' into 6.2
nicolas-grekas Jun 5, 2023
eeb92df
Merge branch '6.2' into 6.3
nicolas-grekas Jun 5, 2023
29581c8
Merge branch '5.4' into 6.2
nicolas-grekas Jun 6, 2023
c973874
Merge branch '6.2' into 6.3
nicolas-grekas Jun 6, 2023
d65db40
[DoctrineBridge] Remove (wrong) PHPDoc on `ContainerAwareEventManager`
alexandre-daubois Jun 7, 2023
40a8561
widen return type for Monolog 3 compatibility
xabbuh Jun 8, 2023
5e06cb3
Merge branch '5.4' into 6.2
derrabus Jun 8, 2023
40023eb
Merge branch '6.2' into 6.3
derrabus Jun 8, 2023
d63de1b
Merge branch '5.4' into 6.2
nicolas-grekas Jun 8, 2023
9f9edf6
Merge branch '6.2' into 6.3
nicolas-grekas Jun 8, 2023
26147ce
minor #50594 [DoctrineBridge] Remove (wrong) PHPDoc on `ContainerAwar…
nicolas-grekas Jun 8, 2023
f6c8b0f
bug #50599 [MonologBridge] widen return type for Monolog 3 compatibil…
nicolas-grekas Jun 8, 2023
6f72d4f
[Notifier] Add docs about updating Slack messages
javiereguiluz Jun 6, 2023
b1bd15d
minor #50581 [Notifier] Add docs about updating Slack messages (javie…
nicolas-grekas Jun 8, 2023
4df982d
Merge branch '5.4' into 6.2
nicolas-grekas Jun 8, 2023
8ffdd91
Merge branch '6.2' into 6.3
nicolas-grekas Jun 8, 2023
b66e6db
Merge branch '5.4' into 6.2
nicolas-grekas Jun 8, 2023
b16b1dc
Merge branch '6.2' into 6.3
nicolas-grekas Jun 8, 2023
cf93c82
Merge branch '5.4' into 6.2
nicolas-grekas Jun 8, 2023
77106b9
Merge branch '6.2' into 6.3
nicolas-grekas Jun 8, 2023
e6e1e26
Merge branch '5.4' into 6.2
nicolas-grekas Jun 8, 2023
0320b68
Merge branch '6.2' into 6.3
nicolas-grekas Jun 8, 2023
8881fac
[GHA] Skip loading ext-relay when it's not available
nicolas-grekas Jun 8, 2023
c3f9b41
minor #50610 [GHA] Skip loading ext-relay when it's not available (ni…
nicolas-grekas Jun 8, 2023
7361374
[Clock] Fix MockClock::modify() on PHP 8.3
nicolas-grekas Jun 8, 2023
eacea7f
bug #50611 [Clock] Fix MockClock::modify() on PHP 8.3 (nicolas-grekas)
nicolas-grekas Jun 8, 2023
2f9301c
Merge branch '6.2' into 6.3
nicolas-grekas Jun 8, 2023
fbd6d18
[HttpClient] Remove final keyword on AsyncResponse
lyrixx Jun 6, 2023
d9a8902
bug #50577 [HttpClient] Remove final keyword on `AsyncResponse` (lyrixx)
nicolas-grekas Jun 9, 2023
87a65d8
bug #50530 [DependencyInjection] Fix support for `false` boolean env …
nicolas-grekas Jun 9, 2023
5b66f26
CS fix
nicolas-grekas Jun 9, 2023
1209b81
Don't mark RedispatchMessage as internal
valtzu Jun 16, 2023
5f29bd8
[Security] Fix log message in OidcTokenHandler
chalasr Jun 18, 2023
12d668c
bug #50686 [Messenger] Don't mark `RedispatchMessage` as internal (va…
fabpot Jun 20, 2023
df2ae1e
minor #50696 [Security] Fix log message in `OidcTokenHandler` (chalasr)
fabpot Jun 20, 2023
8d790d8
[Messenger Doctrine] Fixed regression by #50524 causing data loss
brusch Jun 20, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
13 changes: 7 additions & 6 deletions .appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
build: false
clone_depth: 2
clone_folder: c:\projects\symfony
image: Visual Studio 2019

init:
- SET PATH=c:\php;%PATH%
Expand All @@ -12,13 +13,13 @@ init:

install:
- mkdir c:\php && cd c:\php
- appveyor DownloadFile https://github.com/symfony/binary-utils/releases/download/v0.1/php-7.2.5-Win32-VC15-x86.zip
- 7z x php-7.2.5-Win32-VC15-x86.zip -y >nul
- appveyor DownloadFile https://github.com/symfony/binary-utils/releases/download/v0.1/php-8.1.0-Win32-vs16-x86.zip
- 7z x php-8.1.0-Win32-vs16-x86.zip -y >nul
- cd ext
- appveyor DownloadFile https://github.com/symfony/binary-utils/releases/download/v0.1/php_apcu-5.1.19-7.2-ts-vc15-x86.zip
- 7z x php_apcu-5.1.19-7.2-ts-vc15-x86.zip -y >nul
- appveyor DownloadFile https://github.com/symfony/binary-utils/releases/download/v0.1/php_redis-5.3.2-7.2-ts-vc15-x86.zip
- 7z x php_redis-5.3.2-7.2-ts-vc15-x86.zip -y >nul
- appveyor DownloadFile https://github.com/symfony/binary-utils/releases/download/v0.1/php_apcu-5.1.21-8.1-ts-vs16-x86.zip
- 7z x php_apcu-5.1.21-8.1-ts-vs16-x86.zip -y >nul
- appveyor DownloadFile https://github.com/symfony/binary-utils/releases/download/v0.1/php_redis-5.3.7-8.1-ts-vs16-x86.zip
- 7z x php_redis-5.3.7-8.1-ts-vs16-x86.zip -y >nul
- cd ..
- copy /Y php.ini-development php.ini-min
- echo memory_limit=-1 >> php.ini-min
Expand Down
2 changes: 2 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@
/src/Symfony/Bundle/SecurityBundle/ @wouterj @chalasr
/src/Symfony/Component/Security/ @wouterj @chalasr
/src/Symfony/Component/Ldap/Security/ @wouterj @chalasr
# Scheduler
/src/Symfony/Component/Scheduler/ @kbond
# TwigBundle
/src/Symfony/Bundle/TwigBundle/ @yceruto
# WebLink
Expand Down
2 changes: 1 addition & 1 deletion .github/build-packages.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
'type' => 'composer',
'url' => 'file://'.str_replace(DIRECTORY_SEPARATOR, '/', dirname(__DIR__)).'/',
]];
if (false === strpos($json, "\n \"repositories\": [\n")) {
if (!str_contains($json, "\n \"repositories\": [\n")) {
$json = rtrim(json_encode(['repositories' => $package->repositories], $flags), "\n}").','.substr($json, 1);
file_put_contents($dir.'/composer.json', $json);
}
Expand Down
12 changes: 0 additions & 12 deletions .github/deprecations-baseline.json

This file was deleted.

15,202 changes: 15,202 additions & 0 deletions .github/expected-missing-return-types.diff

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions .github/get-modified-packages.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ function getPackageType(string $packageDir): string
$modifiedPackages = [];
foreach ($modifiedFiles as $file) {
foreach ($allPackages as $package) {
if (0 === strpos($file, $package)) {
if (str_starts_with($file, $package)) {
$modifiedPackages[$package] = true;
if ('LICENSE' === substr($file, -7)) {
if (str_ends_with($file, 'LICENSE')) {
/*
* There is never a reason to modify the LICENSE file, this diff
* must be adding a new package
Expand Down
51 changes: 48 additions & 3 deletions .github/patch-types.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

if (false === getenv('SYMFONY_PATCH_TYPE_DECLARATIONS')) {
$mode = $argv[1] ?? 'patch';
if ('lint' !== $mode && false === getenv('SYMFONY_PATCH_TYPE_DECLARATIONS')) {
echo "Please define the SYMFONY_PATCH_TYPE_DECLARATIONS env var when running this script.\n";
exit(1);
}
Expand All @@ -11,25 +12,36 @@

Symfony\Component\ErrorHandler\DebugClassLoader::enable();

$missingReturnTypes = [];
foreach ($loader->getClassMap() as $class => $file) {
$file = realpath($file);

switch (true) {
case false !== strpos($file = realpath($file), '/vendor/'):
case false !== strpos($file, '/src/Symfony/Component/Cache/Traits/Redis'):
if (!str_ends_with($file, 'Proxy.php')) {
break;
}
// no break;
case false !== strpos($file, '/vendor/'):
case false !== strpos($file, '/src/Symfony/Bridge/PhpUnit/'):
case false !== strpos($file, '/src/Symfony/Bundle/FrameworkBundle/Tests/Fixtures/Validation/Article.php'):
case false !== strpos($file, '/src/Symfony/Component/Cache/Tests/Fixtures/DriverWrapper.php'):
case false !== strpos($file, '/src/Symfony/Component/Config/Tests/Fixtures/BadFileName.php'):
case false !== strpos($file, '/src/Symfony/Component/Config/Tests/Fixtures/BadParent.php'):
case false !== strpos($file, '/src/Symfony/Component/Config/Tests/Fixtures/ParseError.php'):
case false !== strpos($file, '/src/Symfony/Component/DependencyInjection/Dumper/PhpDumper.php'):
case false !== strpos($file, '/src/Symfony/Component/DependencyInjection/Tests/Compiler/OptionalServiceClass.php'):
case false !== strpos($file, '/src/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/autowiring_classes.php'):
case false !== strpos($file, '/src/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/compositetype_classes.php'):
case false !== strpos($file, '/src/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/intersectiontype_classes.php'):
case false !== strpos($file, '/src/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/MultipleArgumentsOptionalScalarNotReallyOptional.php'):
case false !== strpos($file, '/src/Symfony/Component/DependencyInjection/Tests/Fixtures/CheckTypeDeclarationsPass/IntersectionConstructor.php'):
case false !== strpos($file, '/src/Symfony/Component/DependencyInjection/Tests/Fixtures/NewInInitializer.php'):
case false !== strpos($file, '/src/Symfony/Component/DependencyInjection/Tests/Fixtures/ParentNotExists.php'):
case false !== strpos($file, '/src/Symfony/Component/DependencyInjection/Tests/Fixtures/Preload/'):
case false !== strpos($file, '/src/Symfony/Component/DependencyInjection/Tests/Fixtures/Prototype/BadClasses/MissingParent.php'):
case false !== strpos($file, '/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/'):
case false !== strpos($file, '/src/Symfony/Component/DependencyInjection/Tests/Fixtures/TestServiceSubscriberIntersectionWithTrait.php'):
case false !== strpos($file, '/src/Symfony/Component/ErrorHandler/Tests/Fixtures/'):
case false !== strpos($file, '/src/Symfony/Component/Form/Tests/Fixtures/Answer.php'):
case false !== strpos($file, '/src/Symfony/Component/Form/Tests/Fixtures/Number.php'):
Expand All @@ -43,10 +55,43 @@
case false !== strpos($file, '/src/Symfony/Component/VarDumper/Tests/Fixtures/NotLoadableClass.php'):
case false !== strpos($file, '/src/Symfony/Component/VarDumper/Tests/Fixtures/ReflectionIntersectionTypeFixture.php'):
case false !== strpos($file, '/src/Symfony/Component/VarDumper/Tests/Fixtures/ReflectionUnionTypeWithIntersectionFixture.php'):
case false !== strpos($file, '/src/Symfony/Component/VarExporter/Internal'):
case false !== strpos($file, '/src/Symfony/Component/VarExporter/Tests/Fixtures/LazyGhost/ReadOnlyClass.php'):
case false !== strpos($file, '/src/Symfony/Component/VarExporter/Tests/Fixtures/LazyProxy/ReadOnlyClass.php'):
case false !== strpos($file, '/src/Symfony/Component/Cache/Traits/RelayProxy.php'):
case false !== strpos($file, '/src/Symfony/Contracts/Service/Test/ServiceLocatorTest.php'):
case false !== strpos($file, '/src/Symfony/Contracts/Service/Test/ServiceLocatorTestCase.php'):
continue 2;
}

class_exists($class);

if ('lint' !== $mode) {
continue;
}

$refl = new \ReflectionClass($class);
foreach ($refl->getMethods() as $method) {
if (
!$refl->isInterface()
|| $method->getReturnType()
|| str_contains($method->getDocComment(), '@return')
|| str_starts_with($method->getName(), '__')
|| $method->getDeclaringClass()->getName() !== $class
) {
continue;
}

$missingReturnTypes[] = $class.'::'.$method->getName();
}
}

Symfony\Component\ErrorHandler\DebugClassLoader::checkClasses();
if ($missingReturnTypes) {
echo \count($missingReturnTypes)." missing return types on interfaces\n\n";
echo implode("\n", $missingReturnTypes);
exit(1);
}

if ('patch' === $mode) {
Symfony\Component\ErrorHandler\DebugClassLoader::checkClasses();
}
19 changes: 0 additions & 19 deletions .github/psalm/stubs/SetUpTearDownTrait.php

This file was deleted.

9 changes: 4 additions & 5 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:

strategy:
matrix:
php: ['7.2', '8.0']
php: ['8.1']
fail-fast: false

services:
Expand Down Expand Up @@ -135,7 +135,7 @@ jobs:
uses: shivammathur/setup-php@v2
with:
coverage: "none"
extensions: "json,couchbase-3.2.2,memcached,mongodb-1.10.0,redis-5.3.4,rdkafka,xsl,ldap"
extensions: "json,couchbase-3.2.2,memcached,mongodb-1.12.0,redis,rdkafka,xsl,ldap,relay"
ini-values: date.timezone=UTC,memory_limit=-1,default_socket_timeout=10,session.gc_probability=0,apc.enable_cli=1,zend.assertions=1
php-version: "${{ matrix.php }}"
tools: pecl
Expand All @@ -157,7 +157,6 @@ jobs:
([ -d "$COMPOSER_HOME" ] || mkdir "$COMPOSER_HOME") && cp .github/composer-config.json "$COMPOSER_HOME/config.json"
export COMPOSER_ROOT_VERSION=$(grep ' VERSION = ' src/Symfony/Component/HttpKernel/Kernel.php | grep -P -o '[0-9]+\.[0-9]+').x-dev
echo COMPOSER_ROOT_VERSION=$COMPOSER_ROOT_VERSION >> $GITHUB_ENV
[[ "${{ matrix.php }}" < '8.0' ]] && echo SYMFONY_DEPRECATIONS_HELPER="baselineFile=$(pwd)/.github/deprecations-baseline.json" >& 1241 gt; $GITHUB_ENV

echo "::group::composer update"
composer require --dev --no-update mongodb/mongodb
Expand All @@ -183,11 +182,11 @@ jobs:
POSTGRES_HOST: localhost

#- name: Run HTTP push tests
# if: matrix.php == '8.0'
# if: matrix.php == '8.1'
# run: |
# [ -d .phpunit ] && mv .phpunit .phpunit.bak
# wget -q https://github.com/symfony/binary-utils/releases/download/v0.1/vulcain_0.1.3_Linux_x86_64.tar.gz -O - | tar xz && mv vulcain /usr/local/bin
# docker run --rm -e COMPOSER_ROOT_VERSION -v $(pwd):/app -v $(which composer):/usr/local/bin/composer -v $(which vulcain):/usr/local/bin/vulcain -w /app php:8.0-alpine ./phpunit src/Symfony/Component/HttpClient/Tests/CurlHttpClientTest.php --filter testHttp2Push
# docker run --rm -e COMPOSER_ROOT_VERSION -v $(pwd):/app -v $(which composer):/usr/local/bin/composer -v $(which vulcain):/usr/local/bin/vulcain -w /app php:8.1-alpine ./phpunit src/Symfony/Component/HttpClient/Tests/CurlHttpClientTest.php --filter testHttp2Push
# sudo rm -rf .phpunit
# [ -d .phpunit.bak ] && mv .phpunit.bak .phpunit

Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/intl-data-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
coverage: "none"
extensions: "zip,intl-${{env.SYMFONY_ICU_VERSION}}"
ini-values: "memory_limit=-1"
php-version: "7.4"
php-version: "8.1"

- name: Install dependencies
run: |
Expand All @@ -79,3 +79,12 @@ jobs:

- name: Run intl-data tests
run: ./phpunit --group intl-data -v

- name: Test with compressed data
run: |
[ -f src/Symfony/Component/Intl/Resources/data/locales/en.php ]
[ ! -f src/Symfony/Component/Intl/Resources/data/locales/en.php.gz ]
src/Symfony/Component/Intl/Resources/bin/compress
[ ! -f src/Symfony/Component/Intl/Resources/data/locales/en.php ]
[ -f src/Symfony/Component/Intl/Resources/data/locales/en.php.gz ]
./phpunit src/Symfony/Component/Intl
2 changes: 1 addition & 1 deletion .github/workflows/package-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:

- name: Find packages
id: find-packages
run: echo "packages=$(php .github/get-modified-packages.php $(find src/Symfony -mindepth 2 -type f -name composer.json -printf '%h\n' | jq -R -s -c 'split("\n")[:-1]') $(git diff --name-only origin/${{ github.base_ref }} HEAD | grep src/ | jq -R -s -c 'split("\n")[:-1]'))" >> $GITHUB_OUTPUT
run: echo "packages=$(php .github/get-modified-packages.php $(find src/Symfony -mindepth 2 -type f -name composer.json -printf '%h\n' | grep -v src/Symfony/Component/Intl/Resources/emoji |jq -R -s -c 'split("\n")[:-1]') $(git diff --name-only origin/${{ github.base_ref }} HEAD | grep src/ | jq -R -s -c 'split("\n")[:-1]'))" >> $GITHUB_OUTPUT

- name: Verify meta files are correct
run: |
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/psalm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,11 @@ jobs:
run: |
git checkout composer.json
git checkout -m ${{ github.base_ref }}
cat .github/psalm/stubs/SetUpTearDownTrait.php > src/Symfony/Bridge/PhpUnit/SetUpTearDownTrait.php

# @todo intersection types are broken in Psalm
# @see https://github.com/vimeo/psalm/issues/7520
sed -i 's/Uuid&/Uuid|/' src/Symfony/Component/Uid/Factory/TimeBasedUuidFactory.php
sed -i 's/Interface&/Interface|/' src/Symfony/Component/HttpFoundation/Session/Storage/Handler/MigratingSessionHandler.php
./vendor/bin/psalm.phar --set-baseline=.github/psalm/psalm.baseline.xml --no-progress
git checkout -m FETCH_HEAD

Expand Down
63 changes: 63 additions & 0 deletions .github/workflows/scorecards.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
name: Scorecards supply-chain security

on:
# Only the default branch is supported.
branch_protection_rule:
schedule:
- cron: '34 4 * * 6'
push:
branches: [ "6.4" ]

# Declare default permissions as read only.
permissions: read-all

jobs:
analysis:
name: Scorecards analysis
runs-on: ubuntu-latest
permissions:
# Needed to upload the results to code-scanning dashboard.
security-events: write
# Used to receive a badge. (Upcoming feature)
id-token: write
# Needs for private repositories.
contents: read
actions: read

steps:
- name: "Checkout code"
uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846 # v3.0.0
with:
persist-credentials: false

- name: "Run analysis"
uses: ossf/scorecard-action@3e15ea8318eee9b333819ec77a36aca8d39df13e # v1.1.1
with:
results_file: results.sarif
results_format: sarif
# (Optional) Read-only PAT token. Uncomment the `repo_token` line below if:
# - you want to enable the Branch-Protection check on a *public* repository, or
# - you are installing Scorecards on a *private* repository
# To create the PAT, follow the steps in https://github.com/ossf/scorecard-action#authentication-with-pat.
# repo_token: ${{ secrets.SCORECARD_READ_TOKEN }}

# Publish the results for public repositories to enable scorecard badges. For more details, see
# https://github.com/ossf/scorecard-action#publishing-results.
# For private repositories, `publish_results` will automatically be set to `false`, regardless
# of the value entered here.
publish_results: true

# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
# format to the repository Actions tab.
- name: "Upload artifact"
uses: actions/upload-artifact@6673cd052c4cd6fcf4b4e6e60ea986c889389535 # v3.0.0
with:
name: SARIF file
path: results.sarif
retention-days: 5

# Upload the results to GitHub's code scanning dashboard.
- name: "Upload to code-scanning"
uses: github/codeql-action/upload-sarif@5f532563584d71fdef14ee64d17bafb34f751ce5 # v1.0.26
with:
sarif_file: results.sarif
Loading
0