Skip to content

[Mailer] Mailtrap sandbox #61305

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
280 commits
Select commit Hold shift + click to select a range
99d2b23
minor #60633 Allow Symfony ^8.0 (nicolas-grekas)
nicolas-grekas Jun 2, 2025
9e0413f
also test patched components with 6.4
xabbuh Jun 3, 2025
6fbfe9f
minor #60647 also test patched components with 6.4 (xabbuh)
nicolas-grekas Jun 3, 2025
591f893
fix low deps build
xabbuh Jun 3, 2025
90b43af
Merge branch '7.3' into 7.4
nicolas-grekas Jun 3, 2025
c1d73b1
minor #60650 fix low deps build (xabbuh)
nicolas-grekas Jun 3, 2025
adbc6d5
[SecurityBundle] register alias for argument for password hasher
lyrixx May 7, 2025
5df11af
Merge branch '7.3' into 7.4
nicolas-grekas Jun 4, 2025
d8dc857
[Process] Improve typing for process callback
jack-worman Jun 4, 2025
5aea219
minor #60679 Improve typing for process callback (jack-worman)
nicolas-grekas Jun 4, 2025
ad7c6b9
Tweak return type declarations and related CI checks
nicolas-grekas Jun 5, 2025
3fe77f0
minor #60702 Tweak return type declarations and related CI checks (ni…
nicolas-grekas Jun 5, 2025
052bc4f
[HttpClient] Deprecate using amphp/http-client < 5
nicolas-grekas Jun 5, 2025
04f24ac
feature #60704 [HttpClient] Deprecate using amphp/http-client < 5 (ni…
nicolas-grekas Jun 5, 2025
dc09be9
Fix leftover
nicolas-grekas Jun 5, 2025
542cc71
[Security] conflict with event-subscriber v8
nicolas-grekas Jun 5, 2025
3733986
Merge branch '7.3' into 7.4
nicolas-grekas Jun 5, 2025
c35e218
minor #60714 [Security] conflict with event-subscriber v8 (nicolas-gr…
nicolas-grekas Jun 5, 2025
33ecd1c
feature #60508 [Routing] Allow query-specific parameters in `UrlGener…
nicolas-grekas Jun 5, 2025
fc9491e
[PhpUnitBridge] Add `strtotime()` to `ClockMock`
jprivet-dev May 15, 2025
0c00ffe
feature #60424 [PhpUnitBridge] Add `strtotime()` to `ClockMock` (jpri…
nicolas-grekas Jun 5, 2025
f4f3a32
Merge branch '7.3' into 7.4
nicolas-grekas Jun 5, 2025
78be7eb
[JsonStreamer] Add PHPDoc to generated code
mtarld Jun 6, 2025
53b6121
Merge branch '7.3' into 7.4
nicolas-grekas Jun 6, 2025
aa94da2
remove no longer needed conflict rule on symfony/event-dispatcher
xabbuh Jun 6, 2025
03d612a
[Console] Fix setting aliases & hidden via name
HypeMC Jun 7, 2025
b026bd2
minor #60737 [Security] remove no longer needed conflict rule on symf…
nicolas-grekas Jun 8, 2025
f24ffa0
feature #60739 [Console] Allow setting aliases & hidden via command n…
nicolas-grekas Jun 8, 2025
cd87bde
feature #60731 [JsonStreamer] Add PHPDoc to generated code (mtarld)
chalasr Jun 8, 2025
1886c10
[Console] Simplify using invokable commands when the component is use…
HypeMC Jun 9, 2025
e9ad816
feature #60394 [Console][FrameworkBundle] Simplify using invokable co…
chalasr Jun 11, 2025
bcc0ba4
fix missing newline
chalasr Jun 11, 2025
4331e59
feature #60371 [SecurityBundle] register alias for argument for passw…
chalasr Jun 11, 2025
cad8869
[Console] Support enum in invokable commands
GromNaN May 26, 2025
9cae55b
feature #60586 [Console] Support `BackedEnum` in invokable commands (…
chalasr Jun 11, 2025
9cc6a63
[Mailer] Add new `assertEmailAddressNotContains` method
santysisi Jun 11, 2025
e4d2645
[Console] Allow Usages to be specified via #[AsCommand]
weitzman Jun 12, 2025
e4f3222
feature #60767 [Console] Allow Usages to be specified via #[AsCommand…
chalasr Jun 13, 2025
7a74774
replace expectDeprecation() with expectUserDeprecationMessage()
xabbuh Jun 14, 2025
d5df3c7
minor #60791 [Routing] replace expectDeprecation() with expectUserDep…
nicolas-grekas Jun 15, 2025
f18f211
Merge branch '7.3' into 7.4
nicolas-grekas Jun 15, 2025
a98c377
Merge branch '7.3' into 7.4
xabbuh Jun 15, 2025
1ecb87c
fix merge
xabbuh Jun 15, 2025
fb3c39c
Improve-callable-typing
jack-worman Jun 9, 2025
e26ff94
[Serializer] improve phpdoc for normalizer
garak Jun 12, 2025
6eecdca
minor #60769 [Serializer] improve phpdoc for normalizer (garak)
nicolas-grekas Jun 15, 2025
440e337
minor #60762 Improve-callable-typing (jack-worman)
nicolas-grekas Jun 15, 2025
de0b107
fix backwards-compatibility with overridden add() methods
xabbuh Jun 15, 2025
7b19f53
bug #60796 [Console] fix backwards-compatibility with overridden add(…
nicolas-grekas Jun 16, 2025
c9500d8
feature #60740 [Mailer] Add `assertEmailAddressNotContains` (santysisi)
nicolas-grekas Jun 16, 2025
b803d97
Merge branch '7.3' into 7.4
nicolas-grekas Jun 16, 2025
82f47f2
Merge branch '7.3' into 7.4
nicolas-grekas Jun 16, 2025
8eb6b82
fix test
xabbuh Jun 16, 2025
d69f345
minor #60800 [Messenger] fix test (xabbuh)
xabbuh Jun 16, 2025
7641dc4
Add support for adding more default castors to `AbstractCloner::addDe…
lyrixx May 19, 2025
43c9531
Fix code example in PHPDoc block
derrabus Jun 18, 2025
371b671
minor #60814 [Console] Fix code example in PHPDoc block (derrabus)
chalasr Jun 18, 2025
a9d4614
fix forward-compatibility with Symfony 8
xabbuh Jun 18, 2025
90fd3ff
[DependencyInjection] Allow extending `#[AsAlias]` attribute
ruudk Jun 18, 2025
08e4c09
feature #60819 [DependencyInjection] Allow extending `#[AsAlias]` att…
nicolas-grekas Jun 18, 2025
50d7b25
bug #60818 [Runtime] fix forward-compatibility with Symfony 8 (xabbuh)
nicolas-grekas Jun 18, 2025
2c63431
[FrameworkBundle] Allow to un-verbose all the method in `BrowserKitAs…
VincentLanglet Jun 13, 2025
b6afc1f
feature #60788 [FrameworkBundle] Allow to un-verbose all the method i…
nicolas-grekas Jun 19, 2025
1c604b7
Merge branch '7.3' into 7.4
nicolas-grekas Jun 19, 2025
a686b3b
Merge branch '7.3' into 7.4
nicolas-grekas Jun 19, 2025
e191195
Merge branch '7.3' into 7.4
nicolas-grekas Jun 20, 2025
a10ae7f
Add support for Invokable Commands in CommandTester
ruudk Jun 20, 2025
14ed4ed
[HttpFoundation] Use lowercase utf-8 as default response charset
jnoordsij Jun 4, 2025
110481c
minor #60685 [HttpFoundation] Use lowercase utf-8 as default response…
fabpot Jun 20, 2025
477311f
feature #60503 [Runtime] Automatically use FrankenPHP runner when its…
fabpot Jun 20, 2025
5e9ea6e
Merge branch '7.3' into 7.4
nicolas-grekas Jun 20, 2025
62c66b5
[Serializer] Remove unused variable
mttsch Jun 21, 2025
d15ea08
minor #60864 [Serializer] Remove unused variable (mttsch)
fabpot Jun 21, 2025
138109a
feature #60823 [Console] Add support for Invokable Commands in `Comma…
fabpot Jun 23, 2025
6f6fdf0
[HttpFoundation] Deprecate using `Request::sendHeaders()` after heade…
nicolas-grekas Jun 23, 2025
7db556d
feature #60876 [HttpFoundation] Deprecate using `Request::sendHeaders…
nicolas-grekas Jun 23, 2025
bf1b343
Merge branch '7.3' into 7.4
nicolas-grekas Jun 23, 2025
510e506
[Security] Deprecate callable firewall listeners
MatTheCat Jun 2, 2025
868f3dc
feature #60614 [Security] Deprecate callable firewall listeners (MatT…
nicolas-grekas Jun 23, 2025
3685cdb
WS fix
nicolas-grekas Jun 23, 2025
df467e2
[Console] Cleanup test
HypeMC Jun 24, 2025
fa29d30
minor #60884 [Console] Cleanup test for invokable command (HypeMC)
chalasr Jun 24, 2025
fe8b2a3
Merge branch '7.3' into 7.4
chalasr Jun 24, 2025
f0fa258
[String] Leverage grapheme_str_split()
nicolas-grekas Jun 24, 2025
8df6691
[FrameworkBundle] Allow using their name without added suffix when us…
Valmonzo Jun 23, 2025
a3c1d1f
feature #60874 [FrameworkBundle] Allow using their name without added…
nicolas-grekas Jun 24, 2025
1559a50
also deprecate the internal rate limiter factory alias
xabbuh Jun 24, 2025
c2020bb
[FrameworkBundle] Add `ControllerHelper`; the helpers from AbstractCo…
nicolas-grekas Jun 18, 2025
aa4cbf6
minor #60887 [String] Leverage grapheme_str_split() (nicolas-grekas)
nicolas-grekas Jun 26, 2025
f5390df
bug #60893 [SecurityBundle] also deprecate the internal rate limiter …
nicolas-grekas Jun 26, 2025
0d3fedf
Merge branch '7.3' into 7.4
nicolas-grekas Jun 26, 2025
07079d1
[Uid] Add microsecond precision to UUIDv7 and optimize on x64
nicolas-grekas Jun 25, 2025
212e8b6
Merge branch '7.3' into 7.4
xabbuh Jun 26, 2025
7e089a5
feature #60597 [DependencyInjection][FrameworkBundle] Use php-seriali…
nicolas-grekas Jun 26, 2025
8b2045e
[BrowserKit] Add `isFirstPage()` and `isLastPage()` methods to History
santysisi Jun 24, 2025
5721c68
Merge branch '7.3' into 7.4
xabbuh Jun 27, 2025
8b79ff5
[DependencyInjection] Add argument `$target` to `ContainerBuilder::re…
nicolas-grekas Jun 26, 2025
a7bd15e
feature #60910 [DependencyInjection] Add argument `$target` to `Conta…
nicolas-grekas Jun 27, 2025
fa8b32e
feature #60898 [Uid] Add microsecond precision to UUIDv7 and optimize…
nicolas-grekas Jun 27, 2025
5838424
feature #60857 [FrameworkBundle] Add `ControllerHelper`; the helpers …
nicolas-grekas Jun 27, 2025
4539661
feature #60895 [BrowserKit] Add `isFirstPage()` and `isLastPage()` me…
nicolas-grekas Jun 27, 2025
a099ba2
[SecurityBundle] Don't break `security.http_utils` service decoration
lyrixx Jun 16, 2025
17473e1
feature #60480 [VarDumper] Add support for adding more default caster…
nicolas-grekas Jun 27, 2025
be5ec1a
minor #60803 [SecurityBundle] Don't break `security.http_utils` servi…
nicolas-grekas Jun 27, 2025
882d498
Merge branch '7.3' into 7.4
nicolas-grekas Jun 27, 2025
adcd1b1
Fix typos in documentation and code comments
OskarStark Jun 27, 2025
fd012d1
Fix typos in documentation and code comments
OskarStark Jun 27, 2025
873a346
minor #60932 Fix typos in documentation and code comments (OskarStark)
nicolas-grekas Jun 27, 2025
79b9005
minor #60932 Fix typos in documentation and code comments (OskarStark)
nicolas-grekas Jun 27, 2025
2182a41
Merge branch '7.3' into 7.4
nicolas-grekas Jun 28, 2025
6e2fcec
Fix tests
nicolas-grekas Jun 28, 2025
40a2d2f
[SecurityBundle] Deprecate the `security.authentication.hide_user_not…
chalasr Jun 28, 2025
0196be5
[FrameworkBundle] fix `lint:container` command
santysisi Jun 28, 2025
3448023
bug #60942 [FrameworkBundle] fix `lint:container` command (santysisi)
nicolas-grekas Jun 29, 2025
c50f247
minor #60941 [SecurityBundle] Deprecate the `security.authentication.…
nicolas-grekas Jun 29, 2025
1f3c8d1
[FrameworkBundle] Minor remove unused `Container` use statement in `C…
santysisi Jun 29, 2025
76e80c1
[BrowserKit] Add PHPUnit constraints: `BrowserHistoryIsOnFirstPage` a…
santysisi Jun 30, 2025
79cd71d
minor #60948 [FrameworkBundle] Minor remove unused `Container` use st…
xabbuh Jun 30, 2025
50ffbe4
do not mock final classes
xabbuh Jul 1, 2025
445eb96
minor #61003 [Messenger][Translation] do not mock final classes (xabbuh)
xabbuh Jul 1, 2025
01f0faf
Merge branch '7.3' into 7.4
xabbuh Jul 1, 2025
5038305
[Messenger] Allow any `ServiceResetterInterface` implementation in `R…
santysisi Jul 1, 2025
b792636
feature #60999 [Messenger] Allow any `ServiceResetterInterface` imple…
fabpot Jul 4, 2025
565964d
Merge branch '7.3' into 7.4
xabbuh Jul 4, 2025
536986f
chore: PHP CS Fixer fixes
keradus Jul 5, 2025
c83c34e
minor #61040 chore: PHP CS Fixer fixes (keradus)
fabpot Jul 6, 2025
489a9c4
configuration for the storage service for the login throttling rate l…
xabbuh Jul 6, 2025
ee91124
deprecate handling options in the base Constraint class
xabbuh Jun 9, 2025
d320603
feature #61046 [SecurityBundle] configuration for the storage service…
nicolas-grekas Jul 7, 2025
b8cce26
Merge branch '7.3' into 7.4
nicolas-grekas Jul 7, 2025
67c06e3
[JsonStreamer] Upmerge #61001
mtarld Jul 7, 2025
8a5de03
minor #61052 [JsonStreamer] Upmerge #61001 (mtarld)
nicolas-grekas Jul 7, 2025
4e203f0
[HttpKernel] Avoid memory leaks cache attribute, profiler listener
andrew-demb Jun 28, 2025
34d01c1
minor #60934 [HttpKernel] Avoid memory leaks cache attribute, profile…
nicolas-grekas Jul 7, 2025
e9dcd42
[JsonStreamer] Allow to access current object when writing
mtarld Jun 30, 2025
6e78b44
[Intl] Optionally allow Kosovo as a component region
llupa Jul 2, 2025
5386ddf
feature #61024 [Intl] Optionally allow Kosovo as a component region (…
nicolas-grekas Jul 7, 2025
a04357d
Merge branch '7.3' into 7.4
nicolas-grekas Jul 7, 2025
834f876
[Mailer] [Transport] Allow exception logging for `RoundRobinTransport…
jnoordsij Apr 1, 2025
dc81e07
feature #60110 [Mailer] [Transport] Allow exception logging for `Roun…
fabpot Jul 8, 2025
771dc85
feature #60801 [Validator] deprecate handling options in the base Con…
fabpot Jul 8, 2025
a384c23
Various CS fixes
nicolas-grekas Jul 8, 2025
120056b
minor #61064 Various CS fixes (nicolas-grekas)
nicolas-grekas Jul 8, 2025
64443ff
Leverage get_error_handler()
derrabus Jul 8, 2025
65b21a7
chore: PHP CS Fixer fixes
keradus Jul 8, 2025
73ed274
minor #61071 chore: PHP CS Fixer fixes (keradus)
nicolas-grekas Jul 9, 2025
da5b2c7
minor #61070 [ErrorHandler][FrameworkBundle] Leverage `get_error_hand…
nicolas-grekas Jul 9, 2025
7484cdd
[Cache] Bump ext-redis to 6.2 and ext-relay to 0.11 minimum
nicolas-grekas Jul 9, 2025
5d336dd
minor #61072 [Cache] Bump ext-redis to 6.2 and ext-relay to 0.11 mini…
nicolas-grekas Jul 9, 2025
51ec885
Merge branch '7.3' into 7.4
nicolas-grekas Jul 9, 2025
c722388
fix BC layer for Expression constraint from options array
xabbuh Jul 10, 2025
2478de5
bug #61084 [Validator] fix BC layer for Expression constraint from op…
nicolas-grekas Jul 10, 2025
26e54ed
Merge branch '7.3' into 7.4
nicolas-grekas Jul 10, 2025
36d8d5d
Merge branch '7.3' into 7.4
nicolas-grekas Jul 10, 2025
33157f7
optimize `in_array` calls
gharlan Jul 12, 2025
f4ca886
minor #61107 optimize `in_array` calls (gharlan)
nicolas-grekas Jul 15, 2025
6ef731b
Merge branch '7.3' into 7.4
xabbuh Jul 15, 2025
ad1d373
mark getRequiredOptions()/getDefaultOption() of UniqueEntity as depre…
xabbuh Jul 13, 2025
6769c9a
[HttpKernel][Security] Refactor: use `getAttributes` with argument
santysisi Jul 13, 2025
dfb3d28
feature #61108 [DoctrineBridge][Validator] mark getRequiredOptions()/…
nicolas-grekas Jul 15, 2025
d3bf55d
minor #61112 [HttpKernel][Security] Refactor: use `getAttributes` wit…
nicolas-grekas Jul 15, 2025
e59b73b
Merge branch '7.3' into 7.4
nicolas-grekas Jul 15, 2025
e3eeffc
[Cache] Add `TagAwareAdapterInterface` to `NullAdapter`
Jul 15, 2025
af32a38
feature #61127 [Cache] Add `TagAwareAdapterInterface` to `NullAdapter…
nicolas-grekas Jul 15, 2025
fb1da0b
[Serializer] add `can` to the accessor prefixes recognized by the `At…
Jul 2, 2025
cabe552
feature #61023 [Serializer] add `can` to the accessor prefixes recogn…
nicolas-grekas Jul 15, 2025
d1ffdb9
[PhpUnitBridge] Bump v7.4 to PHP >= 8.1
nicolas-grekas Jul 10, 2025
b415afc
Merge branch '7.3' into 7.4
xabbuh Jul 16, 2025
d7a1ed0
fix detecting missing required options
xabbuh Jul 16, 2025
5015234
bug #61137 [Validator] fix detecting missing required options (xabbuh)
nicolas-grekas Jul 16, 2025
990a44c
[AssetMapper] Add support for loading JSON using import statements
nicolas-grekas Jul 16, 2025
916befb
[Translation] Deprecate `TranslatableMessage::__toString`
VincentLanglet Jul 13, 2025
2f180d4
feature #61109 [Translation] Deprecate `TranslatableMessage::__toStri…
nicolas-grekas Jul 17, 2025
cfdff14
Merge branch '7.3' into 7.4
alexandre-daubois Jul 18, 2025
d076526
[Console] Fix merge
nicolas-grekas Jul 18, 2025
3f35b88
Merge branch '7.3' into 7.4
nicolas-grekas Jul 19, 2025
4afc680
[Semaphore] Enabled usage of `EVALSHA` and `LOAD SCRIPT` over regular…
santysisi Jul 19, 2025
501ec09
Merge branch '7.3' into 7.4
xabbuh Jul 21, 2025
d6ff8d1
[ObjectMapper] allow owning ObjectMapper object
soyuka Jul 17, 2025
5db13d5
feature #61145 [ObjectMapper] Add `ObjectMapperAwareInterface` to set…
nicolas-grekas Jul 21, 2025
b065b9a
minor #61162 [Semaphore] Enabled usage of `EVALSHA` and `LOAD SCRIPT`…
nicolas-grekas Jul 21, 2025
79affb2
Remove legacy config for disabling annotations
nicolas-grekas Jul 21, 2025
6e14bca
minor #61174 Remove legacy config for disabling annotations (nicolas-…
nicolas-grekas Jul 21, 2025
3ec571d
Merge branch '7.3' into 7.4
nicolas-grekas Jul 21, 2025
d573b58
minor #61090 [PhpUnitBridge] Bump v7.4 to PHP >= 8.1 (nicolas-grekas)
nicolas-grekas Jul 21, 2025
5af84c0
Merge branch '7.3' into 7.4
nicolas-grekas Jul 21, 2025
f1940f9
add missing legacy group
xabbuh Jul 22, 2025
1b71fa4
minor #61192 [ObjectMapper] add missing legacy group (xabbuh)
xabbuh Jul 22, 2025
f8719e7
[HttpKernel] Update phpdoc description
alamirault Jul 21, 2025
c6d8ce0
minor #61188 [HttpKernel] Update phpdoc description (alamirault)
nicolas-grekas Jul 22, 2025
235c8a5
Merge branch '7.3' into 7.4
nicolas-grekas Jul 22, 2025
6bc2719
Simplify UriSigner::verify to use match
alexander-schranz Jul 22, 2025
8150927
minor #61196 [HttpFoundation] Simplify UriSigner::verify to use match…
nicolas-grekas Jul 22, 2025
a3eca77
[Console] cleanup
nicolas-grekas Jul 22, 2025
cef0da8
minor #61202 [Console] cleanup (nicolas-grekas)
chalasr Jul 22, 2025
310c43a
[HttpKernel] Remove outdated phpdoc
alamirault Jul 22, 2025
318a3af
[VarDumper][Serializer] Remove require php 8.2 from tests
santysisi Jul 22, 2025
4477c7a
Merge branch '7.3' into 7.4
alexandre-daubois Jul 23, 2025
82be834
fix compatibility with Relay 0.11.1
xabbuh Jul 23, 2025
b49a855
minor #61216 [Cache] fix compatibility with Relay 0.11.1 (xabbuh)
xabbuh Jul 23, 2025
090fb1a
fix deprecation message
xabbuh Jul 23, 2025
bbd9858
minor #61221 [HttpFoundation] fix deprecation message (xabbuh)
alexandre-daubois Jul 24, 2025
c4f363c
[Serializer] Add CDATA_WRAPPING_NAME_PATTERN support to XmlEncoder
May 6, 2025
8599acb
Merge branch '7.3' into 7.4
alexandre-daubois Jul 24, 2025
31ddb50
minor #61209 [Serializer][VarDumper] Remove require php 8.2 from test…
nicolas-grekas Jul 24, 2025
9af1628
minor #61206 [HttpKernel] Remove outdated phpdoc (alamirault)
nicolas-grekas Jul 24, 2025
b329818
[Translation] Add `StaticMessage`
VincentLanglet Jun 28, 2025
3686363
feature #60935 [Translation] Add `StaticMessage` (VincentLanglet)
nicolas-grekas Jul 24, 2025
8c3d388
feature #61006 [JsonStreamer] Provide current object to value transfo…
nicolas-grekas Jul 24, 2025
d662f85
[JsonStreamer] Add `include_null_properties` option
mtarld Jun 2, 2025
d3a0df0
feature #60730 [JsonStreamer] Add `include_null_properties` option (…
nicolas-grekas Jul 24, 2025
72ccba7
Merge branch '7.3' into 7.4
xabbuh Jul 24, 2025
80d0db1
Fix typos
nicolas-grekas Jul 24, 2025
7c8a35c
minor #61227 Fix typos (nicolas-grekas)
nicolas-grekas Jul 24, 2025
870fa69
[Security] Support union type for `#[CurrentUser]` attribute
VincentLanglet Jul 22, 2025
edae79d
feature #61204 [Security] Support union type for `#[CurrentUser]` att…
fabpot Jul 25, 2025
42af653
remove docblocks for deprecated argument types
xabbuh Jul 25, 2025
da5988e
minor #61240 [Validator] remove docblocks for deprecated argument typ…
fabpot Jul 26, 2025
c7493bb
feature #61133 [AssetMapper] Add support for loading JSON using impor…
fabpot Jul 26, 2025
c465978
[Validator] Add `min` and `max` in both error messages of `LengthVali…
VincentLanglet Jun 16, 2025
2663b3b
feature #60805 [Validator] Add `min` and `max` in both error messages…
fabpot Jul 26, 2025
d219ebe
feature #60955 [BrowserKit] Add PHPUnit constraints: `BrowserHistoryI…
fabpot Jul 26, 2025
6832421
feature #60355 [Serializer] Add `CDATA_WRAPPING_NAME_PATTERN` support…
fabpot Jul 26, 2025
520f17b
[Serializer] Add missing CHANGELOG entry
fabpot Jul 26, 2025
8f29715
Merge branch '7.3' into 7.4
fabpot Jul 26, 2025
6da25d6
Merge branch '7.3' into 7.4
xabbuh Jul 26, 2025
342063d
Merge branch '7.3' into 7.4
xabbuh Jul 26, 2025
592254c
[Serializer] Make data provider return type match its PHPDoc
MatTheCat Jul 27, 2025
a25fb27
minor #61249 [Serializer] Make data provider return type match its PH…
xabbuh Jul 28, 2025
8e376fa
Merge branch '7.3' into 7.4
nicolas-grekas Jul 28, 2025
dfcc3ee
Merge branch '7.3' into 7.4
nicolas-grekas Jul 28, 2025
27fd051
Merge branch '7.3' into 7.4
nicolas-grekas Jul 29, 2025
dbd5c25
[DependencyInjection] Update `ResolveClassPass` to check class existence
GaryPEGEOT Jul 23, 2025
3ffc9ab
minor #61215 [DependencyInjection] Update `ResolveClassPass` to check…
nicolas-grekas Jul 29, 2025
b568fef
[OptionsResolver] Optimize splitOutsideParenthesis() - 5.9x faster
bendavies Jul 29, 2025
9977966
minor #61239 [OptionsResolver] Optimize splitOutsideParenthesis() - 5…
nicolas-grekas Jul 29, 2025
9986cfe
Merge branch '7.3' into 7.4
xabbuh Jul 29, 2025
08678a4
deprecate passing choices as $options argument to Choice constraint
xabbuh Jul 28, 2025
585e9df
feature #61255 [Validator] deprecate passing choices as `$options` ar…
nicolas-grekas Jul 29, 2025
7d3ad74
[DependencyInjection] Deprecate registering a service without a class…
nicolas-grekas Jul 30, 2025
693311f
feature #61270 [DependencyInjection] Deprecate registering a service …
nicolas-grekas Jul 30, 2025
8b62798
Merge branch '7.3' into 7.4
xabbuh Jul 31, 2025
9002c0e
make data provider static
xabbuh Jul 31, 2025
39c5025
minor #61281 [OptionsResolver] make data provider static (xabbuh)
xabbuh Jul 31, 2025
652ba2e
run tests using PHPUnit 11.5
xabbuh Oct 9, 2024
53e759a
minor #58370 run tests using PHPUnit 11.5 (xabbuh)
nicolas-grekas Aug 1, 2025
c752756
Merge branch '7.3' into 7.4
xabbuh Aug 1, 2025
dbedf39
Merge branch '7.3' into 7.4
xabbuh Aug 1, 2025
8ad916f
[FrameworkBundle] Escape parameters when serializing a ContainerBuilder
MatTheCat Aug 2, 2025
940731f
bug #61306 [FrameworkBundle] Escape parameters when serializing Conta…
fabpot Aug 2, 2025
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
  •  
  •  
  •  
27 changes: 27 additions & 0 deletions .github/expected-missing-return-types.diff
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,16 @@ git checkout src/Symfony/Contracts/Service/ResetInterface.php
(echo "$head" && echo && git diff -U2 src/ | grep '^index ' -v) > .github/expected-missing-return-types.diff
git checkout composer.json src/

diff --git a/src/Symfony/Bridge/Twig/Test/Traits/RuntimeLoaderProvider.php b/src/Symfony/Bridge/Twig/Test/Traits/RuntimeLoaderProvider.php
--- a/src/Symfony/Bridge/Twig/Test/Traits/RuntimeLoaderProvider.php
+++ b/src/Symfony/Bridge/Twig/Test/Traits/RuntimeLoaderProvider.php
@@ -21,5 +21,5 @@ trait RuntimeLoaderProvider
* @return void
*/
- protected function registerTwigRuntimeLoader(Environment $environment, FormRenderer $renderer)
+ protected function registerTwigRuntimeLoader(Environment $environment, FormRenderer $renderer): void
{
$loader = $this->createMock(RuntimeLoaderInterface::class);
diff --git a/src/Symfony/Component/BrowserKit/AbstractBrowser.php b/src/Symfony/Component/BrowserKit/AbstractBrowser.php
--- a/src/Symfony/Component/BrowserKit/AbstractBrowser.php
+++ b/src/Symfony/Component/BrowserKit/AbstractBrowser.php
Expand Down Expand Up @@ -610,6 +620,23 @@ diff --git a/src/Symfony/Component/VarDumper/Dumper/DataDumperInterface.php b/sr
- public function dump(Data $data);
+ public function dump(Data $data): ?string;
}
diff --git a/src/Symfony/Component/VarDumper/Test/VarDumperTestTrait.php b/src/Symfony/Component/VarDumper/Test/VarDumperTestTrait.php
--- a/src/Symfony/Component/VarDumper/Test/VarDumperTestTrait.php
+++ b/src/Symfony/Component/VarDumper/Test/VarDumperTestTrait.php
@@ -49,5 +49,5 @@ trait VarDumperTestTrait
* @return void
*/
- public function assertDumpEquals(mixed $expected, mixed $data, int $filter = 0, string $message = '')
+ public function assertDumpEquals(mixed $expected, mixed $data, int $filter = 0, string $message = ''): void
{
$this->assertSame($this->prepareExpectation($expected, $filter), $this->getDump($data, null, $filter), $message);
@@ -57,5 +57,5 @@ trait VarDumperTestTrait
* @return void
*/
- public function assertDumpMatchesFormat(mixed $expected, mixed $data, int $filter = 0, string $message = '')
+ public function assertDumpMatchesFormat(mixed $expected, mixed $data, int $filter = 0, string $message = ''): void
{
$this->assertStringMatchesFormat($this->prepareExpectation($expected, $filter), $this->getDump($data, null, $filter), $message);
diff --git a/src/Symfony/Contracts/Translation/LocaleAwareInterface.php b/src/Symfony/Contracts/Translation/LocaleAwareInterface.php
--- a/src/Symfony/Contracts/Translation/LocaleAwareInterface.php
+++ b/src/Symfony/Contracts/Translation/LocaleAwareInterface.php
Expand Down
31 changes: 12 additions & 19 deletions .github/patch-types.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

use PHPUnit\Framework\TestCase;

$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";
Expand All @@ -18,17 +20,16 @@

switch (true) {
case false !== strpos($file, '/src/Symfony/Component/Cache/Traits/Redis'):
case false !== strpos($file, '/src/Symfony/Component/Cache/Traits/Relay'):
if (!str_ends_with($file, 'Proxy.php')) {
break;
}
// no break;
continue 2;
case false !== strpos($file, '/vendor/'):
case false !== strpos($file, '/src/Symfony/Bridge/Doctrine/Logger/DbalLogger.php'):
case false !== strpos($file, '/src/Symfony/Bridge/Doctrine/Middleware/Debug/'):
case false !== strpos($file, '/src/Symfony/Bridge/Doctrine/Tests/Fixtures/LegacyQueryMock.php'):
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'):
Expand All @@ -38,20 +39,14 @@
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/HttpClient/Internal/'):
case false !== strpos($file, '/src/Symfony/Component/Form/Tests/Fixtures/Answer.php'):
case false !== strpos($file, '/src/Symfony/Component/Form/Tests/Fixtures/Number.php'):
case false !== strpos($file, '/src/Symfony/Component/Form/Tests/Fixtures/Suit.php'):
case false !== strpos($file, '/src/Symfony/Component/HttpClient/Internal/') && str_contains($file, 'V5'):
case false !== strpos($file, '/src/Symfony/Component/PropertyAccess/Tests/Fixtures/AsymmetricVisibility.php'):
case false !== strpos($file, '/src/Symfony/Component/PropertyInfo/Tests/Fixtures/'):
case false !== strpos($file, '/src/Symfony/Component/PropertyInfo/Tests/Fixtures/Php81Dummy.php'):
case false !== strpos($file, '/src/Symfony/Component/Runtime/Internal/ComposerPlugin.php'):
case false !== strpos($file, '/src/Symfony/Component/Security/Http/Tests/Fixtures/IsGrantedAttributeMethodsWithClosureController.php'):
case false !== strpos($file, '/src/Symfony/Component/Security/Http/Tests/Fixtures/IsGrantedAttributeWithClosureController.php'):
Expand All @@ -60,33 +55,30 @@
case false !== strpos($file, '/src/Symfony/Component/Validator/Tests/Constraints/Fixtures/WhenTestWithClosure.php'):
case false !== strpos($file, '/src/Symfony/Component/Validator/Tests/Fixtures/NestedAttribute/Entity.php'):
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/VarDumper/Tests/Fixtures/VirtualProperty.php'):
case false !== strpos($file, '/src/Symfony/Component/VarExporter/Internal'):
case false !== strpos($file, '/src/Symfony/Component/VarExporter/Tests/Fixtures/'):
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'):
case false !== strpos($file, '/src/Symfony/Contracts/'):
continue 2;
}

class_exists($class);

if ('lint' !== $mode) {
if ('lint' !== $mode || is_subclass_of($class, TestCase::class)) {
continue;
}

$refl = new \ReflectionClass($class);
foreach ($refl->getMethods() as $method) {
if (
$method->getReturnType()
|| str_contains($method->getDocComment(), '@return')
|| (str_contains($method->getDocComment(), '@return') && str_contains($method->getDocComment(), 'resource'))
|| '__construct' === $method->getName()
|| '__destruct' === $method->getName()
|| '__clone' === $method->getName()
|| $method->getDeclaringClass()->getName() !== $class
|| str_contains($method->getDeclaringClass()->getName(), '\\Test\\')
|| str_contains($method->getDeclaringClass()->getName(), '\\Tests\\')
|| str_contains($method->getDeclaringClass()->getName(), '\\Test\\') && str_starts_with($method->getName(), 'test')
) {
continue;
}
Expand All @@ -98,6 +90,7 @@ class_exists($class);
if ($missingReturnTypes) {
echo \count($missingReturnTypes)." missing return types on interfaces\n\n";
echo implode("\n", $missingReturnTypes);
echo "\n";
exit(1);
}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ jobs:
git diff --exit-code src/ || (echo '::error::Run "php .github/sync-translations.php" to fix XLIFF files.' && exit 1)
- name: Run tests
run: ./phpunit --group integration -v
run: ./phpunit --group integration
env:
INTEGRATION_FTP_URL: 'ftp://test:test@localhost'
REDIS_HOST: 'localhost:16379'
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/intl-data-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,11 @@ jobs:
run: uconv -V && php -i | grep 'ICU version'

- name: Run intl-data tests
run: ./phpunit --group intl-data -v
run: |
./phpunit --group intl-data --exclude-group intl-data-isolate -v
./phpunit --group intl-data --filter testWhenEnvVarNotSet -v
./phpunit --group intl-data --filter testWhenEnvVarSetFalse -v
./phpunit --group intl-data --filter testWhenEnvVarSetTrue -v
- name: Test intl-data with compressed data
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/phpunit-bridge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
uses: shivammathur/setup-php@v2
with:
coverage: "none"
php-version: "7.2"
php-version: "8.1"

- name: Lint
run: find ./src/Symfony/Bridge/PhpUnit -name '*.php' | grep -v -e /Tests/ -e /Attribute/ -e /Extension/ -e /Metadata/ -e ForV7 -e ForV8 -e ForV9 -e ConstraintLogicTrait -e SymfonyExtension | parallel -j 4 php -l {}
run: find ./src/Symfony/Bridge/PhpUnit -name '*.php' | grep -v -e /Tests/ -e /Attribute/ -e /Extension/ -e /Metadata/ -e ForV8 -e ForV9 -e ConstraintLogicTrait -e SymfonyExtension | parallel -j 4 php -l {}
2 changes: 1 addition & 1 deletion .github/workflows/psalm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ 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
composer remove --dev --no-update --no-interaction symfony/phpunit-bridge
composer require --no-progress --ansi --no-plugins psalm/phar:@stable phpunit/phpunit:^9.6 php-http/discovery psr/event-dispatcher mongodb/mongodb jetbrains/phpstorm-stubs
composer require --no-progress --ansi --no-plugins psalm/phar:@stable phpunit/phpunit:^11.5 php-http/discovery psr/event-dispatcher mongodb/mongodb jetbrains/phpstorm-stubs

- name: Generate Psalm baseline
run: |
Expand Down
27 changes: 14 additions & 13 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
([ -d "$COMPOSER_HOME" ] || mkdir "$COMPOSER_HOME") && cp .github/composer-config.json "$COMPOSER_HOME/config.json"

echo COLUMNS=120 >> $GITHUB_ENV
echo PHPUNIT="$(pwd)/phpunit --exclude-group tty,benchmark,intl-data,integration,transient" >> $GITHUB_ENV
echo PHPUNIT="$(pwd)/phpunit --exclude-group tty --exclude-group benchmark --exclude-group intl-data --exclude-group integration --exclude-group transient" >> $GITHUB_ENV
echo COMPOSER_UP='composer update --no-progress --ansi'$([[ "${{ matrix.mode }}" != low-deps ]] && echo ' --ignore-platform-req=php+') >> $GITHUB_ENV

SYMFONY_VERSIONS=$(git ls-remote -q --heads | cut -f2 | grep -o '/[1-9][0-9]*\.[0-9].*' | sort -V)
Expand Down Expand Up @@ -131,11 +131,11 @@ jobs:
fi

# Legacy tests are skipped when deps=high and when the current branch version has not the same major version number as the next one
[[ "${{ matrix.mode }}" = high-deps && $SYMFONY_VERSION = *.4 ]] && echo LEGACY=,legacy >> $GITHUB_ENV || true
[[ "${{ matrix.mode }}" = high-deps && $SYMFONY_VERSION = *.4 ]] && echo LEGACY=" --exclude-group legacy" >> $GITHUB_ENV || true

echo SYMFONY_VERSION=$SYMFONY_VERSION >> $GITHUB_ENV
echo COMPOSER_ROOT_VERSION=$SYMFONY_VERSION.x-dev >> $GITHUB_ENV
echo SYMFONY_REQUIRE=">=$([ '${{ matrix.mode }}' = low-deps ] && echo 5.4 || echo $SYMFONY_VERSION)" >> $GITHUB_ENV
echo SYMFONY_REQUIRE=">=$([ '${{ matrix.mode }}' = low-deps ] && echo 6.4 || echo $SYMFONY_VERSION)" >> $GITHUB_ENV
[[ "${{ matrix.mode }}" = *-deps ]] && mv composer.json.phpunit composer.json || true

- name: Install dependencies
Expand All @@ -153,9 +153,10 @@ jobs:
run: |
patch -sp1 < .github/expected-missing-return-types.diff
git add .
sed -i 's/ *"\*\*\/Tests\/",//' composer.json
composer install -q --optimize-autoloader || composer install --optimize-autoloader
SYMFONY_PATCH_TYPE_DECLARATIONS='force=2&php=8.2' php .github/patch-types.php
git checkout src/Symfony/Contracts/Service/ResetInterface.php
git checkout composer.json src/Symfony/Contracts/Service/ResetInterface.php
SYMFONY_PATCH_TYPE_DECLARATIONS='force=2&php=8.2' php .github/patch-types.php # ensure the script is idempotent
git checkout src/Symfony/Contracts/Service/ResetInterface.php
git diff --exit-code
Expand Down Expand Up @@ -196,19 +197,19 @@ jobs:
fi

if [[ "${{ matrix.mode }}" = low-deps ]]; then
echo "$COMPONENTS" | xargs -n1 | parallel -j +3 "_run_tests {} 'cd {} && $COMPOSER_UP --prefer-lowest --prefer-stable && $PHPUNIT'"
echo "$COMPONENTS" | xargs -n1 | parallel -j +3 "_run_tests {} 'cd {} && $COMPOSER_UP --prefer-lowest --prefer-stable && $PHPUNIT --do-not-fail-on-deprecation'"

exit 0
fi

# matrix.mode = high-deps
echo "$COMPONENTS" | xargs -n1 | parallel -j +3 "_run_tests {} 'cd {} && $COMPOSER_UP && $PHPUNIT$LEGACY'" || X=1
echo "$COMPONENTS" | xargs -n1 | parallel -j +3 "_run_tests {} 'cd {} && $COMPOSER_UP && $PHPUNIT$LEGACY --do-not-fail-on-deprecation'" || X=1

# get a list of the patched components (relies on .github/build-packages.php being called in the previous step)
PATCHED_COMPONENTS=$(git diff --name-only src/ | grep composer.json || true)

# for 6.4 LTS, checkout and test previous major with the patched components (only for patched components)
if [[ $PATCHED_COMPONENTS && $SYMFONY_VERSION = 6.4 ]]; then
# for 7.4 LTS, checkout and test previous major with the patched components (only for patched components)
if [[ $PATCHED_COMPONENTS && $SYMFONY_VERSION = 7.4 ]]; then
export FLIP='^'
SYMFONY_VERSION=$(echo $SYMFONY_VERSION | awk '{print $1 - 1}')
echo -e "\\n\\e[33;1mChecking out Symfony $SYMFONY_VERSION and running tests with patched components as deps\\e[0m"
Expand All @@ -221,7 +222,7 @@ jobs:
echo "::group::install phpunit"
./phpunit install
echo "::endgroup::"
echo "$PATCHED_COMPONENTS" | parallel -j +3 "_run_tests {} 'cd {} && rm composer.lock vendor/ -Rf && $COMPOSER_UP && $PHPUNIT$LEGACY'" || X=1
echo "$PATCHED_COMPONENTS" | parallel -j +3 "_run_tests {} 'cd {} && rm composer.lock vendor/ -Rf && $COMPOSER_UP && $PHPUNIT --exclude-group tty,benchmark,intl-data,integration,transient,legacy'" || X=1
fi
fi

Expand Down Expand Up @@ -249,12 +250,12 @@ jobs:

mkdir -p /opt/php/lib
echo memory_limit=-1 > /opt/php/lib/php.ini
./build/php/bin/php ./phpunit --colors=always src/Symfony/Component/Process
./phpunit install
./build/php/bin/php ./phpunit src/Symfony/Component/Process

- name: Run PhpUnitBridge tests with PHPUnit 11
- name: Run PhpUnitBridge tests with PHPUnit 9.6
if: '! matrix.mode'
run: |
./phpunit src/Symfony/Bridge/PhpUnit
env:
SYMFONY_PHPUNIT_VERSION: '11.3'
SYMFONY_DEPRECATIONS_HELPER: 'disabled'
SYMFONY_PHPUNIT_VERSION: '9.6'
Loading
Loading
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy