Skip to content

[PropertyInfo] Deprecate Type #9

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
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
382 commits
Select commit Hold shift + click to select a range
7008c1d
List CS fix in .git-blame-ignore-revs
nicolas-grekas Jan 23, 2024
d5a001e
fix method signatures
xabbuh Jan 23, 2024
90911f1
minor #53613 [PropertyInfo][WebProfilerBundle] fix method signatures …
xabbuh Jan 23, 2024
f89bbc1
Merge branch '5.4' into 6.3
xabbuh Jan 23, 2024
5c7aa68
fix method signatures
xabbuh Jan 23, 2024
29a5f21
minor #53615 fix method signatures (xabbuh)
nicolas-grekas Jan 23, 2024
08e479b
Merge branch '6.3' into 6.4
nicolas-grekas Jan 23, 2024
f7fda05
Merge branch '6.4' into 7.0
nicolas-grekas Jan 23, 2024
a63de84
Merge branch '7.0' into 7.1
nicolas-grekas Jan 23, 2024
6d15121
Fix option filenameMaxLength to the File constraint (Image)
mindaugasvcs Jan 23, 2024
48cf213
fix tests
xabbuh Jan 23, 2024
13f326d
minor #53618 [AssetMapper] fix tests (xabbuh)
xabbuh Jan 23, 2024
7747532
fix test
xabbuh Jan 23, 2024
0294563
minor #53619 [AssetMapper] fix test (xabbuh)
xabbuh Jan 23, 2024
c2fd6b0
Merge branch '6.4' into 7.0
xabbuh Jan 23, 2024
745da80
Merge branch '7.0' into 7.1
xabbuh Jan 23, 2024
088faf5
[Mailer] [Azure] Fix resource name validation
t9toqwerty Jan 3, 2024
d621936
bug #53388 [Mailer] [Azure] Fix resource name validation (t9toqwerty)
OskarStark Jan 24, 2024
1d6f795
[DependencyInjection] Fix loading all env vars from secrets when only…
nicolas-grekas Jan 24, 2024
2f7efc1
Adjusting and removing the 'review' attribute from the pt_br translat…
epcgrs Jan 25, 2024
5e6d218
[HttpClient] Fix error chunk creation in passthru
rmikalkenas Jan 26, 2024
c83c07e
bug #53506 [HttpClient] Fix error chunk creation in passthru (rmikalk…
nicolas-grekas Jan 26, 2024
6b1be02
minor #53639 Adjusting and removing the 'review' attribute from the p…
nicolas-grekas Jan 26, 2024
8c92200
Revert #47715
mpdude Jan 28, 2024
db412fe
[Serializer] Rewrite `AbstractObjectNormalizer::createChildContext()`…
amne Jan 12, 2024
af9fa66
bug #53530 [Serializer] Rewrite `AbstractObjectNormalizer::createChil…
nicolas-grekas Jan 29, 2024
2b7706a
bug #53361 [Serializer] Take unnamed variadic parameters into account…
nicolas-grekas Jan 29, 2024
44d5b57
[Mailer] Throw TransportException when unable to read from socket
xdanik Dec 20, 2023
4eb23d8
bug #53157 [Mailer] Throw `TransportException` when unable to read fr…
nicolas-grekas Jan 29, 2024
d41a685
[Console] Remove needless state from QuestionHelper
nicolas-grekas Jan 29, 2024
485b756
[FrameworkBundle] Remove redundant `name` attribute from `default_con…
HypeMC Jan 29, 2024
b2653a8
[DependencyInjection] Fix replacing arguments
HypeMC Jan 29, 2024
812d7a9
[Mailer] [Scaleway] Fix attachment handling
madbob Jan 27, 2024
947cf27
bug #53653 [Mailer] [Scaleway] Fix attachment handling (madbob)
nicolas-grekas Jan 29, 2024
3cbadd8
minor #53661 [Console] Remove needless state from `QuestionHelper` (n…
nicolas-grekas Jan 29, 2024
fd00244
do not overwrite the cache key when it is false
xabbuh Jan 29, 2024
46694f6
minor #53665 [Serializer]  do not overwrite the cache key when it is …
nicolas-grekas Jan 29, 2024
7aab885
bug #53656 [Form] Use self-closing `<input />` syntax again, revertin…
nicolas-grekas Jan 29, 2024
84f5bdc
bug #53631 [DependencyInjection] Fix loading all env vars from secret…
nicolas-grekas Jan 29, 2024
0f3b2f7
[Mailer] [Mailgun] Fix sender header encoding
spajxo Jan 29, 2024
893d30e
bug #53667 [Mailer] [Mailgun] Fix sender header encoding (spajxo)
nicolas-grekas Jan 29, 2024
78bbfb0
separate child and parent context in NotificationEmail on writes
xabbuh Jan 29, 2024
4a124ac
bug #53663 [TwigBridge] separate child and parent context in Notifica…
nicolas-grekas Jan 29, 2024
c43f6c0
[Translation] Fix constant domain resolution in PhpAstExtractor
VincentLanglet Jan 24, 2024
c3879f6
bug #53624 [Translation] Fix constant domain resolution in PhpAstExtr…
nicolas-grekas Jan 29, 2024
a318801
bug #53620 [Validator] Fix option filenameMaxLength to the File const…
nicolas-grekas Jan 29, 2024
fa3be01
[Notifier] Updated the NTFY notifier to run without a user parameter
lostfocus Jan 20, 2024
30810dd
bug #53594 [Notifier] Updated the NTFY notifier to run without a user…
nicolas-grekas Jan 29, 2024
b2afd32
Provide more precise phpdoc for FileLocatorInterface::locate
VincentLanglet Jan 29, 2024
c6c5303
[HttpClient] Fix pausing responses before they start when using curl
nicolas-grekas Jan 29, 2024
8bd2ff8
[FrameworkBundle] ConfigBuilderCacheWarmer should be non-optional
nicolas-grekas Jan 29, 2024
2e025f9
bug #53671 [HttpClient] Fix pausing responses before they start when …
nicolas-grekas Jan 29, 2024
9e92ab3
Merge branch '5.4' into 6.3
nicolas-grekas Jan 29, 2024
2fae7d5
bug #52994 [MonologBridge] Fix context data and display extra data (l…
nicolas-grekas Jan 29, 2024
25097df
Add missing return type
nicolas-grekas Jan 29, 2024
d493c39
Merge branch '5.4' into 6.3
nicolas-grekas Jan 29, 2024
fa24f92
Merge branch '6.3' into 6.4
nicolas-grekas Jan 29, 2024
af74d12
bug #53672 [FrameworkBundle] `ConfigBuilderCacheWarmer` should be non…
nicolas-grekas Jan 29, 2024
81feeeb
Fix merge
nicolas-grekas Jan 29, 2024
d9f15e0
Fix merge (bis)
nicolas-grekas Jan 29, 2024
59cc26c
Merge branch '6.3' into 6.4
nicolas-grekas Jan 29, 2024
6f21d07
[ErrorHandler] Add missing self-closing tags on link elements
nicolas-grekas Jan 29, 2024
979e10c
Merge branch '6.4' into 7.0
nicolas-grekas Jan 29, 2024
7c260b7
Merge branch '7.0' into 7.1
nicolas-grekas Jan 29, 2024
e533873
support lazy evaluated exception messages with Xdebug 3
xabbuh Jan 11, 2024
f53e4ae
bug #53501 [DependencyInjection] support lazy evaluated exception mes…
nicolas-grekas Jan 29, 2024
eae4ec9
[DX] Use Symfony "dark-mode"-responsive logo in README
smnandre Jan 29, 2024
8c0ac47
minor #53676 Use Symfony "dark-mode"-responsive logo in README (smnan…
nicolas-grekas Jan 29, 2024
c97ead7
[Notifer][Smsapi] Set messageId of SentMessage
tomasz-kusy Jan 25, 2024
a67e8bd
bug #53634 [Notifer][Smsapi] Set messageId of SentMessage (tomasz-kusy)
nicolas-grekas Jan 29, 2024
1a75311
minor #53659 [DependencyInjection] Fix replacing arguments (HypeMC)
chalasr Jan 29, 2024
e00c12e
minor #53657 [FrameworkBundle] Remove redundant `name` attribute from…
chalasr Jan 29, 2024
189a1ac
[Mailer] [Smtp] Add DSN param 'auto_tls' to disable automatic STARTTLS
srsbiz Jan 23, 2024
5091cd5
feature #53621 [Mailer] [Smtp] Add DSN param 'auto_tls' to disable au…
nicolas-grekas Jan 30, 2024
122f58c
[Mime] Fix serializing uninitialized RawMessage::$message to null
nicolas-grekas Jan 30, 2024
a63f545
bug #53678 [Mime] Fix serializing uninitialized `RawMessage::$message…
nicolas-grekas Jan 30, 2024
eb32f49
bug #51559 [DependencyInjection] `#[Autowire]` attribute should have …
nicolas-grekas Jan 30, 2024
abdb713
Merge branch '5.4' into 6.3
nicolas-grekas Jan 30, 2024
0af85fe
Fix RequestPayloadValueResolver handling error with no ExpectedTypes
Jeroeny Oct 18, 2023
78f82b9
bug #52131 [HttpKernel] Fix `RequestPayloadValueResolver` handling er…
nicolas-grekas Jan 30, 2024
89d3197
Merge branch '6.3' into 6.4
nicolas-grekas Jan 30, 2024
cb68bf3
minor #53670 [Config] Provide more precise phpdoc for `FileLocatorInt…
nicolas-grekas Jan 30, 2024
0071107
Merge branch '6.4' into 7.0
nicolas-grekas Jan 30, 2024
e172491
Merge branch '7.0' into 7.1
nicolas-grekas Jan 30, 2024
661cc42
dump enums with the !php/enum tag
xabbuh Jan 30, 2024
ebe5c3a
[Messenger] PhpSerializer: TypeError should throw MessageDecodingFail…
B-Galati Dec 22, 2023
27346bc
bug #53183 [Messenger] PhpSerializer: TypeError should throw `Message…
nicolas-grekas Jan 30, 2024
662b8f2
[DoctrineBridge]  Fix detection of Xml/Yaml driver in DoctrineExtension
GromNaN Jan 30, 2024
cb0817c
bug #53681 [DoctrineBridge]  Fix detection of Xml/Yaml driver in Doct…
nicolas-grekas Jan 30, 2024
ba41175
[Routing] Fixed priority getting lost when defining prefix array
Dec 5, 2023
0566c39
bug #52913 [Routing] Fixed priority getting lost when setting localiz…
nicolas-grekas Jan 30, 2024
dd49cd8
Merge branch '5.4' into 6.3
nicolas-grekas Jan 30, 2024
d1b16c6
Merge branch '6.3' into 6.4
nicolas-grekas Jan 30, 2024
a70414a
Fix merge
nicolas-grekas Jan 30, 2024
c8389b0
Merge branch '6.4' into 7.0
nicolas-grekas Jan 30, 2024
6190a8f
Merge branch '7.0' into 7.1
nicolas-grekas Jan 30, 2024
4a49af8
feature #53680 [DependencyInjection][Yaml] dump enums with the !php/e…
nicolas-grekas Jan 30, 2024
38b2e6a
fix tests
xabbuh Jan 30, 2024
add24fa
minor #53683 fix tests (xabbuh)
xabbuh Jan 30, 2024
ddcc858
Update CHANGELOG for 5.4.35
fabpot Jan 30, 2024
3f65e8f
Update CONTRIBUTORS for 5.4.35
fabpot Jan 30, 2024
78677b9
Update VERSION for 5.4.35
fabpot Jan 30, 2024
01cf0bc
Merge pull request #53687 from fabpot/release-5.4.35
fabpot Jan 30, 2024
e111a54
Bump Symfony version to 5.4.36
fabpot Jan 30, 2024
076c10f
Update CHANGELOG for 6.3.12
fabpot Jan 30, 2024
f36f6f6
Update VERSION for 6.3.12
fabpot Jan 30, 2024
7e6931c
Merge pull request #53688 from fabpot/release-6.3.12
fabpot Jan 30, 2024
024586a
Update CHANGELOG for 6.4.3
fabpot Jan 31, 2024
04dfc12
Update VERSION for 6.4.3
fabpot Jan 31, 2024
460c6d9
Merge pull request #53691 from fabpot/release-6.4.3
fabpot Jan 31, 2024
5c4d203
Bump Symfony version to 6.4.4
fabpot Jan 31, 2024
d61b1e4
Update CHANGELOG for 7.0.3
fabpot Jan 31, 2024
4eb067d
Update VERSION for 7.0.3
fabpot Jan 31, 2024
e28534a
Merge pull request #53692 from fabpot/release-7.0.3
fabpot Jan 31, 2024
c1d9c3c
Bump Symfony version to 7.0.4
fabpot Jan 31, 2024
4e55227
[HttpKernel] Fix including welcome page multiple times
HypeMC Jan 30, 2024
ce404eb
Revert "Bump Symfony version to 7.0.4"
fabpot Jan 31, 2024
853912a
Bump Symfony version to 7.0.4
fabpot Jan 31, 2024
001cda8
fix tests
xabbuh Jan 31, 2024
e3ec55f
[PropertyInfo] restrict access to PhpStanExtractor based on visibility
nikophil Jan 5, 2024
ad1563b
minor #53695 [DependencyInjection] fix tests (xabbuh)
nicolas-grekas Jan 31, 2024
ee07003
bug #53689 [HttpKernel] Fix including welcome page multiple times (Hy…
nicolas-grekas Jan 31, 2024
30fa94e
Merge branch '6.4' into 7.0
xabbuh Jan 31, 2024
85e0742
Merge branch '7.0' into 7.1
xabbuh Jan 31, 2024
3c6120f
Rector is sponsoring Symfony 7.1, thanks to them \o/
nicolas-grekas Jan 31, 2024
962a044
Fix exception if assets dir is missing in prod
rynhndrcksn Jan 30, 2024
846afd1
[Notifier][Smsapi] Better docs for .com endpoint
OskarStark Jan 31, 2024
a411f9b
minor #53700 [Notifier][Smsapi] Better docs for .com endpoint (OskarS…
fabpot Feb 1, 2024
d70e500
[AssetMapper] Fix JavaScript compiler load imports from JS strings
smnandre Jan 27, 2024
4fe7828
bug #53652 [AssetMapper] Fix JavaScript compiler load imports from JS…
nicolas-grekas Feb 1, 2024
ce3990d
[SecurityBundle] Improve error message when the bundle is not configured
nicolas-grekas Jan 30, 2024
b22b7b4
minor #53684 [SecurityBundle] Improve error message when the bundle i…
nicolas-grekas Feb 1, 2024
30a02c4
bug #53701 [AssetMapper] Fix exception if assets directory is missin…
nicolas-grekas Feb 1, 2024
aa469d9
[AssetMapper] Turn debug on by default
nicolas-grekas Feb 1, 2024
bfe2670
[HttpFoundation] Fix clearing CHIPS cookies
misaert Jan 31, 2024
2ba3505
bug #53703 [HttpFoundation] Fix clearing CHIPS cookies (misaert)
nicolas-grekas Feb 1, 2024
3823582
Fix plurial of word ending by pus
Fan2Shrek Jan 31, 2024
b960f67
[Mailer] [Mailgun] Fix payload converter getReason
norkunas Feb 1, 2024
61794ae
bug #53716 [Mailer] [Mailgun] Fix payload converter getReason (norkunas)
fabpot Feb 1, 2024
34eea58
Remove 6.3 EOLed from Github template
fabpot Feb 1, 2024
d5c72ae
minor #53717 Remove 6.3 EOLed from Github template (fabpot)
fabpot Feb 1, 2024
6fc9000
minor #53694 Rector is sponsoring Symfony 7.1, thanks to them \o/ (ni…
fabpot Feb 1, 2024
266af52
[HttpKernel] Document Kernel's array return types
derrabus Feb 1, 2024
dea99e0
Merge branch '6.3' into 6.4
derrabus Feb 1, 2024
752483b
Merge branch '5.4' into 6.4
derrabus Feb 1, 2024
9a9de62
Merge branch '6.4' into 7.0
derrabus Feb 1, 2024
3f91ca6
Merge branch '7.0' into 7.1
derrabus Feb 1, 2024
c5d8fba
[MonologBridge] Support symfony/security-core 5.4 again
derrabus Feb 1, 2024
2025baa
[Console] Allow false as a $shortcut in InputOption
jayminsilicon Jan 31, 2024
f0a9916
bug #53711 [Console] Allow false as a $shortcut in InputOption (jaymi…
nicolas-grekas Feb 1, 2024
ae9ebad
minor #53719 [HttpKernel] Document Kernel's array return types (derra…
nicolas-grekas Feb 1, 2024
4e6d1b0
bug #53715 [String] Fix plural of word ending by pus (Fan2Shrek)
nicolas-grekas Feb 1, 2024
c8f720c
minor #53720 [MonologBridge] Support symfony/security-core 5.4 again …
nicolas-grekas Feb 1, 2024
504b507
Merge branch '5.4' into 6.4
nicolas-grekas Feb 1, 2024
b81d970
Merge branch '6.4' into 7.0
nicolas-grekas Feb 1, 2024
0102e1e
Merge branch '7.0' into 7.1
nicolas-grekas Feb 1, 2024
8acd56d
[Mailer] Fix usage of stream_set_timeout in case of microseconds
aleksejs1 Jan 31, 2024
98435e4
bug #53712 [Mailer] Fix usage of stream_set_timeout in case of micros…
nicolas-grekas Feb 1, 2024
f7f83bc
minor #52082 [Security] Update `InteractiveAuthenticatorInterface` de…
fabpot Feb 2, 2024
5c7f4b0
minor #51996 [FrameworkBundle][RemoteEvent][Routing][Scheduler] Add P…
fabpot Feb 2, 2024
b9cb68b
feature #51562 [DoctrineBridge] Add `message` to #[MapEntity] for Not…
fabpot Feb 2, 2024
f28f610
[ExpressionLanguage] Add ``min`` and ``max`` php functions
maxbeckers Feb 2, 2024
bb08bce
Merge branch '5.4' into 6.3
fabpot Feb 2, 2024
fa94f8d
Merge branch '6.3' into 6.4
fabpot Feb 2, 2024
ffa4fa9
Merge branch '6.4' into 7.0
fabpot Feb 2, 2024
272f021
Merge branch '7.0' into 7.1
fabpot Feb 2, 2024
22efcd0
[Console] Fix color support
theofidry Jan 31, 2024
672aadc
fix tests
xabbuh Feb 3, 2024
14328d5
minor #53738 [Security] fix tests (xabbuh)
xabbuh Feb 3, 2024
d0b5951
Merge branch '6.4' into 7.0
xabbuh Feb 3, 2024
c7642db
fix tests
xabbuh Feb 3, 2024
84ae858
bug #53707 [Console] Fix color support for TTY output (theofidry)
fabpot Feb 3, 2024
06c7b81
feature #53728 [ExpressionLanguage] Add ``min`` and ``max`` php funct…
fabpot Feb 3, 2024
83ec6fe
Fix typo
fabpot Feb 3, 2024
0a62288
Mailersend webhook remote event
doobas Jan 19, 2024
6ed40f0
feature #53740 Mailersend webhook remote event (doobas, fabpot)
fabpot Feb 3, 2024
776875d
Add `SecretsRevealCommand`
danielburger1337 Jan 9, 2024
c8d24c5
feature #53466 Add `SecretsRevealCommand` (danielburger1337)
fabpot Feb 3, 2024
5bb5474
[FrameworkBundle][HttpClient] Add `ThrottlingHttpClient` to limit req…
HypeMC Jan 16, 2024
f0f3040
feature #53550 [FrameworkBundle][HttpClient] Add `ThrottlingHttpClien…
fabpot Feb 3, 2024
e5d1e1e
feature #53362 [PropertyInfo] Restrict access to `PhpStanExtractor` b…
fabpot Feb 3, 2024
bf3b54b
feature #53096 [Intl] [Emoji] Move emoji data in a new component (smn…
fabpot Feb 3, 2024
e5e925e
[Serializer] Add `DateTimeNormalizer::CAST_KEY` context option
norkunas Dec 13, 2023
6fd41bb
feature #53056 [Serializer] Add `DateTimeNormalizer::CAST_KEY` contex…
fabpot Feb 3, 2024
e53db3e
[DependencyInjection] Add Lazy attribute for classes and arguments
Tiriel Dec 6, 2023
0c1de1b
feature #52922 [DependencyInjection] Add Lazy attribute for classes a…
fabpot Feb 3, 2024
3073953
minor #53739 [Security]  fix tests (xabbuh)
fabpot Feb 3, 2024
4dce313
Merge branch '5.4' into 6.4
fabpot Feb 3, 2024
f554b57
Merge branch '6.4' into 7.0
fabpot Feb 3, 2024
db5021f
Merge branch '7.0' into 7.1
fabpot Feb 3, 2024
a1be5df
[Security] add CAS 2.0 AccessToken handler
nacorp Oct 7, 2023
3a4889f
feature #48276 [Security] add CAS 2.0 AccessToken handler (nacorp)
fabpot Feb 3, 2024
d00444c
feature #52230 [Yaml] Allow to get all the enum cases (phansys)
fabpot Feb 3, 2024
291ef1c
[Validator] Add additional versions (`*_NO_PUBLIC`, `*_ONLY_PRIV` & …
Ninos Nov 20, 2023
a770fae
feature #52658 [Validator] Add additional versions (`*_NO_PUBLIC`, `…
fabpot Feb 3, 2024
de58759
[Serializer] Add default groups
mtarld Aug 29, 2023
87f1a34
feature #51514 [Serializer] Add Default and "class name" default grou…
fabpot Feb 3, 2024
fdf207c
[Console] `InputArgument` and `InputOption` code cleanup
jnoordsij Oct 13, 2023
4d8c8bc
minor #52054 [Console] `InputArgument` and `InputOption` code cleanup…
fabpot Feb 3, 2024
3feccf7
feature #51324 [HttpFoundation] Add `QueryParameterRequestMatcher` (a…
fabpot Feb 3, 2024
49625a1
re-add accidentally removed property
xabbuh Feb 3, 2024
62b5a34
[HttpFoundation] Add `HeaderRequestMatcher`
alexandre-daubois Aug 10, 2023
1e358d9
feature #51343 [HttpFoundation] Add `HeaderRequestMatcher` (alexandre…
fabpot Feb 3, 2024
ae4f8e8
Allow custom meta location in `ResourceCheckerConfigCache`
ruudk Oct 13, 2023
29632fd
feature #52043 [Config] Allow custom meta location in `ResourceChecke…
fabpot Feb 3, 2024
0d0749e
[Messenger] helpful exception when requesting an AMQP queue that is n…
dbu Aug 8, 2023
a856e03
minor #51311 [Messenger] helpful exception when requesting an AMQP qu…
fabpot Feb 3, 2024
e38f806
Fix typo
fabpot Feb 3, 2024
e9e05e3
bug #53741 [Console] re-add accidentally removed property (xabbuh)
fabpot Feb 3, 2024
e4cfb66
feature #52510 [TypeInfo] Introduce component (mtarld)
fabpot Feb 3, 2024
3883a07
fix tests
xabbuh Feb 3, 2024
ce0c18f
Fxi markdown
fabpot Feb 3, 2024
c083e1d
[CssSelector] add support for :is() and :where()
Jean-Beru Dec 28, 2022
d2d36b5
feature #48803 [CssSelector] add support for :is() and :where() (Jean…
fabpot Feb 3, 2024
21cec3f
[Yaml] Fix Yaml Parser with quote end in a new line
maxbeckers Nov 8, 2023
40a2cfb
feature #48022 [Yaml] Fix Yaml Parser with quote end in a new line (m…
fabpot Feb 3, 2024
85e0c42
[TwigBridge] Allow `twig:lint` to excludes dirs
94noni Jul 3, 2023
f9bdfb2
feature #50864 [TwigBridge] Allow `twig:lint` to excludes dirs (94noni)
fabpot Feb 3, 2024
3074fe8
rework the way excluded directories are handled
xabbuh Feb 3, 2024
867eb07
add missing partition attribute to the schema definition
xabbuh Feb 3, 2024
d709af0
Revert "feature #48022 [Yaml] Fix Yaml Parser with quote end in a new…
xabbuh Feb 3, 2024
e7e41b0
fix DoctrineCaster tests
xabbuh Feb 3, 2024
f0ddd8d
bump version for symfony/emoji
xabbuh Feb 3, 2024
6bf18a1
fix markdown
xabbuh Feb 3, 2024
acb4372
feature #53747 [Yaml] Revert "feature #48022 Fix Yaml Parser with qu…
fabpot Feb 3, 2024
fe75cfc
minor #53748 [VarDumper] fix DoctrineCaster tests (xabbuh)
fabpot Feb 3, 2024
2e90215
bug #53745 [TwigBridge] rework the way excluded directories are handl…
fabpot Feb 3, 2024
0ba5558
bug #53744 [SecurityBundle] add missing partition attribute to the sc…
fabpot Feb 3, 2024
b899c13
minor #53742 [DependencyInjection] fix tests (xabbuh)
fabpot Feb 3, 2024
69a1688
Merge branch '6.4' into 7.0
xabbuh Feb 3, 2024
8d4faaa
Merge branch '7.0' into 7.1
fabpot Feb 3, 2024
bb2e7fd
Fix client side connection timeout breaks mail authentication
bytestream Jan 31, 2024
03ebef7
bug #53704 Fix client side connection timeout breaks mail authenticat…
fabpot Feb 3, 2024
66f94b2
Merge branch '6.4' into 7.0
fabpot Feb 3, 2024
b9a04fe
Merge branch '7.0' into 7.1
fabpot Feb 3, 2024
050fe20
[AssetMapper] Improve import_polyfill configuration error
smnandre Feb 3, 2024
9c19bfe
replace CPP with non-nullable property
xabbuh Feb 4, 2024
f450a49
minor #53753 [Config] replace CPP with non-nullable property (xabbuh)
fabpot Feb 4, 2024
2fcd5be
bug #53751 [AssetMapper] Improve import_polyfill configuration error …
fabpot Feb 4, 2024
ba00f93
Merge branch '6.4' into 7.0
fabpot Feb 4, 2024
3c60a03
Merge branch '7.0' into 7.1
fabpot Feb 4, 2024
53a637c
[Mailer] Add timestamp to SMTP debug log
bytestream Jan 31, 2024
4b4962a
feature #53706 [Mailer] Add timestamp to SMTP debug log (bytestream)
fabpot Feb 4, 2024
264f7fc
forward-compatibility with field mappings in Doctrine ORM 4
xabbuh Feb 4, 2024
ff5dc26
bug #53754 [DoctrineBridge] forward-compatibility with field mappings…
fabpot Feb 4, 2024
15f1642
Merge branch '5.4' into 6.4
fabpot Feb 4, 2024
e3aeb7f
Merge branch '6.4' into 7.0
fabpot Feb 4, 2024
ce30982
Merge branch '7.0' into 7.1
fabpot Feb 4, 2024
204c741
fix typo
xabbuh Feb 4, 2024
8604fb7
[PropertyInfo] Deprecate PropertyInfo Type
mtarld Oct 26, 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
  •  
  •  
  •  
6 changes: 6 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Apply php-cs-fixer fix --rules nullable_type_declaration_for_default_null_value
f4118e110a46de3ffb799e7d79bf15128d1646ea
9519b54417c09c49496a4a6be238e63be9a73465
ae0a783425b80b78376488619bf9106e69193fa4
9c1e36257c4df0929179462d6b2bdd00453ac8aa
6ae74d38e3d20d0ffcc66c7c3d28767fab76bdfb
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
| Q | A
| ------------- | ---
| Branch? | 7.1 for features / 5.4, 6.3, 6.4, or 7.0 for bug fixes <!-- see below -->
| Branch? | 7.1 for features / 5.4, 6.4, or 7.0 for bug fixes <!-- see below -->
| Bug fix? | yes/no
| New feature? | yes/no <!-- please update src/**/CHANGELOG.md files -->
| Deprecations? | yes/no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
Expand Down
50 changes: 25 additions & 25 deletions .github/expected-missing-return-types.diff
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ diff --git a/src/Symfony/Component/BrowserKit/AbstractBrowser.php b/src/Symfony/
*/
- abstract protected function doRequest(object $request);
+ abstract protected function doRequest(object $request): object;

/**
@@ -451,5 +451,5 @@ abstract class AbstractBrowser
* @throws LogicException When this abstract class is not implemented
Expand Down Expand Up @@ -146,21 +146,21 @@ diff --git a/src/Symfony/Component/DependencyInjection/Extension/ExtensionInterf
*/
- public function load(array $configs, ContainerBuilder $container);
+ public function load(array $configs, ContainerBuilder $container): void;

/**
@@ -37,5 +37,5 @@ interface ExtensionInterface
* @return string
*/
- public function getNamespace();
+ public function getNamespace(): string;

/**
@@ -44,5 +44,5 @@ interface ExtensionInterface
* @return string|false
*/
- public function getXsdValidationBasePath();
+ public function getXsdValidationBasePath(): string|false;

/**
@@ -53,4 +53,4 @@ interface ExtensionInterface
* @return string
Expand Down Expand Up @@ -249,35 +249,35 @@ diff --git a/src/Symfony/Component/Form/FormTypeInterface.php b/src/Symfony/Comp
*/
- public function getParent();
+ public function getParent(): ?string;

/**
@@ -34,5 +34,5 @@ interface FormTypeInterface
* @return void
*/
- public function configureOptions(OptionsResolver $resolver);
+ public function configureOptions(OptionsResolver $resolver): void;

/**
@@ -48,5 +48,5 @@ interface FormTypeInterface
* @see FormTypeExtensionInterface::buildForm()
*/
- public function buildForm(FormBuilderInterface $builder, array $options);
+ public function buildForm(FormBuilderInterface $builder, array $options): void;

/**
@@ -66,5 +66,5 @@ interface FormTypeInterface
* @see FormTypeExtensionInterface::buildView()
*/
- public function buildView(FormView $view, FormInterface $form, array $options);
+ public function buildView(FormView $view, FormInterface $form, array $options): void;

/**
@@ -85,5 +85,5 @@ interface FormTypeInterface
* @see FormTypeExtensionInterface::finishView()
*/
- public function finishView(FormView $view, FormInterface $form, array $options);
+ public function finishView(FormView $view, FormInterface $form, array $options): void;

/**
@@ -95,4 +95,4 @@ interface FormTypeInterface
* @return string
Expand Down Expand Up @@ -324,21 +324,21 @@ diff --git a/src/Symfony/Component/HttpKernel/Bundle/BundleInterface.php b/src/S
*/
- public function boot();
+ public function boot(): void;

/**
@@ -35,5 +35,5 @@ interface BundleInterface
* @return void
*/
- public function shutdown();
+ public function shutdown(): void;

/**
@@ -44,5 +44,5 @@ interface BundleInterface
* @return void
*/
- public function build(ContainerBuilder $container);
+ public function build(ContainerBuilder $container): void;

/**
diff --git a/src/Symfony/Component/HttpKernel/DataCollector/DataCollector.php b/src/Symfony/Component/HttpKernel/DataCollector/DataCollector.php
--- a/src/Symfony/Component/HttpKernel/DataCollector/DataCollector.php
Expand All @@ -356,9 +356,9 @@ diff --git a/src/Symfony/Component/HttpKernel/DataCollector/DataCollectorInterfa
@@ -28,5 +28,5 @@ interface DataCollectorInterface extends ResetInterface
* @return void
*/
- public function collect(Request $request, Response $response, \Throwable $exception = null);
+ public function collect(Request $request, Response $response, \Throwable $exception = null): void;
- public function collect(Request $request, Response $response, ?\Throwable $exception = null);
+ public function collect(Request $request, Response $response, ?\Throwable $exception = null): void;

/**
@@ -35,4 +35,4 @@ interface DataCollectorInterface extends ResetInterface
* @return string
Expand All @@ -383,21 +383,21 @@ diff --git a/src/Symfony/Component/HttpKernel/KernelInterface.php b/src/Symfony/
*/
- public function registerContainerConfiguration(LoaderInterface $loader);
+ public function registerContainerConfiguration(LoaderInterface $loader): void;

/**
@@ -44,5 +44,5 @@ interface KernelInterface extends HttpKernelInterface
* @return void
*/
- public function boot();
+ public function boot(): void;

/**
@@ -53,5 +53,5 @@ interface KernelInterface extends HttpKernelInterface
* @return void
*/
- public function shutdown();
+ public function shutdown(): void;

/**
diff --git a/src/Symfony/Component/Routing/Loader/AttributeClassLoader.php b/src/Symfony/Component/Routing/Loader/AttributeClassLoader.php
--- a/src/Symfony/Component/Routing/Loader/AttributeClassLoader.php
Expand All @@ -414,7 +414,7 @@ diff --git a/src/Symfony/Component/Routing/Loader/AttributeClassLoader.php b/src
*/
- abstract protected function configureRoute(Route $route, \ReflectionClass $class, \ReflectionMethod $method, object $annot);
+ abstract protected function configureRoute(Route $route, \ReflectionClass $class, \ReflectionMethod $method, object $annot): void;

/**
diff --git a/src/Symfony/Component/Security/Core/Authentication/RememberMe/TokenProviderInterface.php b/src/Symfony/Component/Security/Core/Authentication/RememberMe/TokenProviderInterface.php
--- a/src/Symfony/Component/Security/Core/Authentication/RememberMe/TokenProviderInterface.php
Expand All @@ -424,21 +424,21 @@ diff --git a/src/Symfony/Component/Security/Core/Authentication/RememberMe/Token
*/
- public function loadTokenBySeries(string $series);
+ public function loadTokenBySeries(string $series): PersistentTokenInterface;

/**
@@ -35,5 +35,5 @@ interface TokenProviderInterface
* @return void
*/
- public function deleteTokenBySeries(string $series);
+ public function deleteTokenBySeries(string $series): void;

/**
@@ -44,5 +44,5 @@ interface TokenProviderInterface
* @throws TokenNotFoundException if the token is not found
*/
- public function updateToken(string $series, #[\SensitiveParameter] string $tokenValue, \DateTimeInterface $lastUsed);
+ public function updateToken(string $series, #[\SensitiveParameter] string $tokenValue, \DateTimeInterface $lastUsed): void;

/**
@@ -51,4 +51,4 @@ interface TokenProviderInterface
* @return void
Expand Down Expand Up @@ -485,7 +485,7 @@ diff --git a/src/Symfony/Component/Translation/Extractor/ExtractorInterface.php
*/
- public function extract(string|iterable $resource, MessageCatalogue $catalogue);
+ public function extract(string|iterable $resource, MessageCatalogue $catalogue): void;

/**
@@ -36,4 +36,4 @@ interface ExtractorInterface
* @return void
Expand All @@ -501,7 +501,7 @@ diff --git a/src/Symfony/Component/Validator/ConstraintValidatorInterface.php b/
*/
- public function initialize(ExecutionContextInterface $context);
+ public function initialize(ExecutionContextInterface $context): void;

/**
@@ -31,4 +31,4 @@ interface ConstraintValidatorInterface
* @return void
Expand All @@ -526,7 +526,7 @@ diff --git a/src/Symfony/Contracts/Translation/LocaleAwareInterface.php b/src/Sy
*/
- public function setLocale(string $locale);
+ public function setLocale(string $locale): void;

/**
diff --git a/src/Symfony/Contracts/Translation/TranslatorTrait.php b/src/Symfony/Contracts/Translation/TranslatorTrait.php
--- a/src/Symfony/Contracts/Translation/TranslatorTrait.php
Expand Down
26 changes: 19 additions & 7 deletions .github/sync-translations.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ function dumpXliff1(string $defaultLocale, MessageCatalogue $messages, string $d
$metadata = $messages->getMetadata($source, $domain);

$translation->setAttribute('id', $metadata['id']);
if (isset($metadata['resname'])) {
$translation->setAttribute('resname', $metadata['resname']);
}

$s = $translation->appendChild($dom->createElement('source'));
$s->appendChild($dom->createTextNode($source));
Expand Down Expand Up @@ -64,23 +67,32 @@ function dumpXliff1(string $defaultLocale, MessageCatalogue $messages, string $d
$dir = __DIR__.'/../src/Symfony/Component/'.$component.'/Resources/translations';

$enCatalogue = (new XliffFileLoader())->load($dir.'/'.$domain.'.en.xlf', 'en', $domain);
file_put_contents($dir.'/'.$domain.'.en.xlf', dumpXliff1('en', $enCatalogue, $domain));

$finder = new Finder();

foreach ($finder->files()->in($dir)->name('*.xlf') as $file) {
$locale = substr($file->getBasename(), 1 + strlen($domain), -4);

if ('en' === $locale) {
continue;
}

$catalogue = (new XliffFileLoader())->load($file, $locale, $domain);
$localeCatalogue = new MessageCatalogue($locale);

foreach ($enCatalogue->all($domain) as $id => $translation) {
foreach ($enCatalogue->all($domain) as $resname => $source) {
$metadata = [];
if ($catalogue->defines($id, $domain)) {
$translation = $catalogue->get($id, $domain);
$metadata = $catalogue->getMetadata($id, $domain);
if ($catalogue->defines($resname, $domain)) {
$translation = $catalogue->get($resname, $domain);
$metadata = $catalogue->getMetadata($resname, $domain);
}
$metadata['id'] = $enCatalogue->getMetadata($resname, $domain)['id'];
if ($resname !== $source) {
$metadata['resname'] = $resname;
}
$metadata['id'] = $enCatalogue->getMetadata($id, $domain)['id'];
$localeCatalogue->set($id, $translation, $domain);
$localeCatalogue->setMetadata($id, $metadata, $domain);
$localeCatalogue->set($source, $translation, $domain);
$localeCatalogue->setMetadata($source, $metadata, $domain);
}

file_put_contents($file, dumpXliff1('en', $localeCatalogue, $domain));
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,9 @@ jobs:
- 8094:8094
- 11210:11210
sqs:
image: asyncaws/testing-sqs
image: localstack/localstack:3.0.2
ports:
- 9494:9494
- 4566:4566
zookeeper:
image: wurstmeister/zookeeper:3.4.6
kafka:
Expand Down Expand Up @@ -182,8 +182,8 @@ jobs:
REDIS_SENTINEL_SERVICE: redis_sentinel
MESSENGER_REDIS_DSN: redis://127.0.0.1:7006/messages
MESSENGER_AMQP_DSN: amqp://localhost/%2f/messages
MESSENGER_SQS_DSN: "sqs://localhost:9494/messages?sslmode=disable&poll_timeout=0.01"
MESSENGER_SQS_FIFO_QUEUE_DSN: "sqs://localhost:9494/messages.fifo?sslmode=disable&poll_timeout=0.01"
MESSENGER_SQS_DSN: "sqs://localhost:4566/messages?sslmode=disable&poll_timeout=0.01"
MESSENGER_SQS_FIFO_QUEUE_DSN: "sqs://localhost:4566/messages.fifo?sslmode=disable&poll_timeout=0.01"
KAFKA_BROKER: 127.0.0.1:9092
POSTGRES_HOST: localhost

Expand Down
28 changes: 21 additions & 7 deletions .github/workflows/intl-data-tests.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,21 @@
name: Intl data
name: Intl/Emoji data

on:
push:
paths:
- 'src/Symfony/Component/Emoji/*.php'
- 'src/Symfony/Component/Emoji/Resources/data/**'
- 'src/Symfony/Component/Emoji/Tests/*Test.php'
- 'src/Symfony/Component/Intl/*.php'
- 'src/Symfony/Component/Intl/Util/GitRepository.php'
- 'src/Symfony/Component/Intl/Resources/data/**'
- 'src/Symfony/Component/Intl/Tests/*Test.php'
- 'src/Symfony/Component/Intl/Tests/Util/GitRepositoryTest.php'
pull_request:
paths:
- 'src/Symfony/Component/Emoji/*.php'
- 'src/Symfony/Component/Emoji/Resources/data/**'
- 'src/Symfony/Component/Emoji/Tests/*Test.php'
- 'src/Symfony/Component/Intl/*.php'
- 'src/Symfony/Component/Intl/Util/GitRepository.php'
- 'src/Symfony/Component/Intl/Resources/data/**'
Expand All @@ -29,7 +35,7 @@ permissions:

jobs:
tests:
name: Intl data
name: Intl/Emoji data
runs-on: Ubuntu-20.04

steps:
Expand Down Expand Up @@ -80,15 +86,23 @@ jobs:
- name: Run intl-data tests
run: ./phpunit --group intl-data -v

- name: Test with compressed data
- name: Test intl-data 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 ]
[ -f src/Symfony/Component/Intl/Resources/data/transliterator/emoji/emoji-en.php ]
[ ! -f src/Symfony/Component/Intl/Resources/data/transliterator/emoji/emoji-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 ]
[ ! -f src/Symfony/Component/Intl/Resources/data/transliterator/emoji/emoji-en.php ]
[ -f src/Symfony/Component/Intl/Resources/data/transliterator/emoji/emoji-en.php.gz ]
./phpunit src/Symfony/Component/Intl

- name: Run Emoji tests
run: ./phpunit src/Symfony/Component/Emoji -v

- name: Test Emoji with compressed data
run: |
[ -f src/Symfony/Component/Emoji/Resources/data/emoji-en.php ]
[ ! -f src/Symfony/Component/Emoji/Resources/data/emoji-en.php.gz ]
src/Symfony/Component/Emoji/Resources/bin/compress
[ ! -f src/Symfony/Component/Emoji/Resources/data/emoji-en.php ]
[ -f src/Symfony/Component/Emoji/Resources/data/emoji-en.php.gz ]
./phpunit src/Symfony/Component/Emoji
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' | 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
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/Emoji/Resources/bin |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
4 changes: 2 additions & 2 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ jobs:
echo SYMFONY_DEPRECATIONS_HELPER=weak >> $GITHUB_ENV
cp composer.json composer.json.orig
echo -e '{\n"require":{'"$(grep phpunit-bridge composer.json)"'"php":"*"},"minimum-stability":"dev"}' > composer.json
php .github/build-packages.php HEAD^ $SYMFONY_VERSION $(find src/Symfony -mindepth 2 -type f -name composer.json -printf '%h\n' | grep -v src/Symfony/Component/Intl/Resources/emoji)
php .github/build-packages.php HEAD^ $SYMFONY_VERSION $(find src/Symfony -mindepth 2 -type f -name composer.json -printf '%h\n' | grep -v src/Symfony/Component/Emoji/Resources/bin)
mv composer.json composer.json.phpunit
mv composer.json.orig composer.json
fi
Expand Down Expand Up @@ -129,7 +129,7 @@ jobs:
[[ "${{ matrix.mode }}" = *-deps ]] && mv composer.json.phpunit composer.json || true

if [[ "${{ matrix.mode }}" = low-deps ]]; then
echo SYMFONY_PHPUNIT_REQUIRE="nikic/php-parser:^4.16" >> $GITHUB_ENV
echo SYMFONY_PHPUNIT_REQUIRE="nikic/php-parser:^4.18" >> $GITHUB_ENV
fi

- name: Install dependencies
Expand Down
3 changes: 3 additions & 0 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,12 @@
'remove_inheritdoc' => true,
'allow_unused_params' => true, // for future-ready params, to be replaced with https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7377
],
'nullable_type_declaration_for_default_null_value' => true,
'header_comment' => ['header' => $fileHeaderComment],
'modernize_strpos' => true,
'get_class_to_class_keyword' => true,
'nullable_type_declaration' => true,
'ordered_types' => ['null_adjustment' => 'always_last', 'sort_algorithm' => 'none'],
'trailing_comma_in_multiline' => ['elements' => ['arrays', 'match', 'parameters']],
])
->setRiskyAllowed(true)
Expand All @@ -54,6 +56,7 @@
'Symfony/Bundle/FrameworkBundle/Resources/views/Form',
// explicit trigger_error tests
'Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/',
'Symfony/Component/Emoji/Resources/',
'Symfony/Component/Intl/Resources/data/',
])
// explicit tests for ommited @param type, against `no_superfluous_phpdoc_tags`
Expand Down
Loading