Skip to content

[DomCrawler] Fix getting text after a child node with Crawler::innerText() #48684

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 3,422 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
3422 commits
Select commit Hold shift + click to select a range
0498238
bug #48449 [DependencyInjection] Fix bug when tag name is a text node…
nicolas-grekas Dec 13, 2022
4e8c602
bug #48580 [Console] Fix missing command not matching namespace error…
nicolas-grekas Dec 13, 2022
138fd23
bug #48587 [TwigBundle] Alias BodyRendererInterface (n3o77)
nicolas-grekas Dec 13, 2022
21a1abb
bug #48601 [SecurityBundle] Fix authenticator existence check in `Sec…
nicolas-grekas Dec 13, 2022
90eb89f
[HttpKernel] Fix CacheAttributeListener priority
HypeMC Dec 6, 2022
b000c05
bug #48451 [Translation] Fix extraction when dealing with VariadicPla…
nicolas-grekas Dec 13, 2022
0f5a556
bug #48524 [HttpKernel] Fix `CacheAttributeListener` priority (HypeMC)
nicolas-grekas Dec 13, 2022
6c33582
[ExpressionLanguage] Fix BC of cached SerializedParsedExpression cont…
fancyweb Dec 9, 2022
170c5b2
bug #48559 [ExpressionLanguage] Fix BC of cached SerializedParsedExpr…
nicolas-grekas Dec 13, 2022
bd6219d
Merge branch '6.2' into 6.3
fabpot Dec 13, 2022
c871df8
[Translation] add tests + fix
nicolas-grekas Dec 13, 2022
93e5160
Fix HtmlSanitizer default configuration behavior for allowed schemes
tgalopin Dec 11, 2022
f14901e
bug #48602 [HtmlSanitizer] Fix HtmlSanitizer default configuration be…
nicolas-grekas Dec 14, 2022
caffee8
bug #48089 [Console] Fix clear line with question in section (maxbeck…
chalasr Dec 14, 2022
bb7ea3c
[Validator] Allow opt-out of EmailValidator deprecation when using Va…
nicolas-grekas Dec 14, 2022
9d2f10f
Hide excluded services from container debug list
apfelbox Dec 12, 2022
2c632f0
bug #48606 [FrameworkBundle] container:debug CLI output improvements …
nicolas-grekas Dec 14, 2022
f3ed8cd
bug #48644 [Validator] Allow opt-out of EmailValidator deprecation wh…
nicolas-grekas Dec 14, 2022
6c0e925
Merge branch '5.4' into 6.0
nicolas-grekas Dec 14, 2022
e872a0f
Merge branch '6.0' into 6.1
nicolas-grekas Dec 14, 2022
52bdd04
Merge branch '6.1' into 6.2
nicolas-grekas Dec 14, 2022
79547b0
Merge branch '6.2' into 6.3
nicolas-grekas Dec 14, 2022
a34f99d
Fix merge
nicolas-grekas Dec 14, 2022
295dcc7
Merge branch '6.0' into 6.1
nicolas-grekas Dec 14, 2022
f3a6e81
Merge branch '6.1' into 6.2
nicolas-grekas Dec 14, 2022
2a42815
Merge branch '6.2' into 6.3
nicolas-grekas Dec 14, 2022
eed0ae4
Fix tests
nicolas-grekas Dec 14, 2022
c87ac90
[Serializer] fix context attribute with serializedName
nikophil Dec 15, 2022
34f2413
Merge branch '5.4' into 6.0
nicolas-grekas Dec 15, 2022
5cb3ee5
Merge branch '6.0' into 6.1
nicolas-grekas Dec 15, 2022
6a3d23b
Merge branch '6.1' into 6.2
nicolas-grekas Dec 15, 2022
ad3424c
Merge branch '6.2' into 6.3
nicolas-grekas Dec 15, 2022
2519c5c
[VarDumper] Add support of named arguments to `dd()` and `dump()` to …
alexandre-daubois Dec 1, 2022
d8d93c6
feature #48432 [VarDumper] Add support of named arguments to `dd()` a…
nicolas-grekas Dec 15, 2022
e410909
[Notifier] Allow to update Slack messages
maxim-dovydenok-busuu Aug 20, 2022
68725da
feature #47349 [Notifier] Allow to update Slack messages (maxim-dovyd…
nicolas-grekas Dec 16, 2022
aebdc58
[HttpFoundation] Create migration for session table when pdo handler …
alli83 Oct 31, 2022
8e5e268
feature #48059 [HttpFoundation] Create migration for session table wh…
nicolas-grekas Dec 16, 2022
9d510a7
[Cache] fix lazyness of redis when using RedisTagAwareAdapter
nicolas-grekas Dec 16, 2022
02f05bf
Use `::class` for Full Qualified Class Names
BASAKSemih Dec 15, 2022
c2e4460
minor #48670 Use `::class` for Full Qualified Class Names (BASAKSemih)
nicolas-grekas Dec 16, 2022
e7482d7
minor #48345 [Validator] Update ValidatorBuilder comment for enableAn…
nicolas-grekas Dec 16, 2022
28fe177
bug #48680 [Cache] fix lazyness of redis when using RedisTagAwareAdap…
nicolas-grekas Dec 16, 2022
30caa8d
Revert "bug #48089 [Console] Fix clear line with question in section …
chalasr Dec 16, 2022
042c372
[HttpKernel] fix merge
nicolas-grekas Dec 16, 2022
eacb9b9
Merge branch '6.0' into 6.1
nicolas-grekas Dec 16, 2022
f5da9f3
bug #48681 [Console] Revert "bug #48089 Fix clear line with question…
nicolas-grekas Dec 16, 2022
dc5be00
[HttpKernel] fix merge
nicolas-grekas Dec 16, 2022
1836270
Merge branch '6.1' into 6.2
nicolas-grekas Dec 16, 2022
03930d3
Merge branch '6.2' into 6.3
nicolas-grekas Dec 16, 2022
a7926b2
[Messenger] Move Transport/InMemoryTransport to Transport/InMemory/In…
lyrixx Dec 12, 2022
b3a2301
feature #48614 [Messenger] Move Transport/InMemoryTransport to Transp…
nicolas-grekas Dec 16, 2022
bb6e4da
Fix merge
nicolas-grekas Dec 16, 2022
7df2468
bug #48661 [Serializer] fix context attribute with serializedName (ni…
ogizanagi Dec 16, 2022
c93e705
Update CHANGELOG for 6.2.2
fabpot Dec 16, 2022
0957e42
Update VERSION for 6.2.2
fabpot Dec 16, 2022
a9eed32
Merge pull request #48687 from fabpot/release-6.2.2
fabpot Dec 16, 2022
688bf64
Bump Symfony version to 6.2.3
fabpot Dec 16, 2022
b29ba10
[FrameworkBundle] Add Mailpace definition
skmedix Dec 16, 2022
2ad8bb1
[Console] Fix a test when pcntl is not available
HeahDude Dec 17, 2022
1923f8c
minor #48695 [Console] Fix a test when pcntl is not available (HeahDude)
fabpot Dec 17, 2022
58d0662
[HttpKernel] FileProfilerStorage remove expired profiles mechanism
alamirault Aug 21, 2022
fee5714
feature #47352 [HttpKernel] FileProfilerStorage remove expired profil…
fabpot Dec 18, 2022
6479653
[Security] Allow custom user identifier for X509 authenticator
Spomky Nov 11, 2022
c6c300c
feature #48200 [Security] Allow custom user identifier for X509 authe…
fabpot Dec 18, 2022
83ad2c9
bug #48688 [FrameworkBundle] Add MailPace definition (skmedix)
fabpot Dec 18, 2022
ce458c6
[SecurityBundle] Set request stateless when firewall is stateless
alamirault Oct 29, 2022
cb6f2c5
feature #48044 [SecurityBundle] Set request stateless when firewall i…
fabpot Dec 18, 2022
5464c57
[SecurityBundle] Improve support for authenticators that don't need a…
wouterj Dec 10, 2022
b20fce5
[FrameworkBundle] Improve UX ConfigDebugCommand has not yaml component
alamirault Dec 3, 2022
6bf414c
feature #48457 [FrameworkBundle] Improve UX ConfigDebugCommand has no…
chalasr Dec 18, 2022
a27e37a
feature #48594 [SecurityBundle] Improve support for authenticators th…
chalasr Dec 18, 2022
ef6a182
[WebProfilerBundle] Add a title and img role to svg of the web debug …
Dec 17, 2022
5ae4dc4
feature #48696 [WebProfilerBundle] Add a title and img role to svg of…
fabpot Dec 19, 2022
35890e1
[Yaml] Add flag to dump numeric key as string
alamirault Nov 6, 2022
52b5bb7
feature #48127 [Yaml] Add flag to dump numeric key as string (alamira…
derrabus Dec 19, 2022
6142446
Fix using SYMFONY_IDE in tests
nicolas-grekas Dec 19, 2022
1515e1e
Merge branch '6.1' into 6.2
nicolas-grekas Dec 19, 2022
926b450
Merge branch '6.2' into 6.3
nicolas-grekas Dec 19, 2022
55c7ce4
[DependencyInjection] Add support for nesting autowiring-related attr…
nicolas-grekas Dec 20, 2022
32cba7c
Merge branch '5.4' into 6.0
derrabus Dec 20, 2022
6382e76
Merge branch '6.0' into 6.1
derrabus Dec 20, 2022
813491f
Merge branch '6.1' into 6.2
derrabus Dec 20, 2022
b23a087
Merge branch '6.2' into 6.3
derrabus Dec 20, 2022
acae5ca
[Messenger] Do not return fallback senders when other senders were al…
wouterj Nov 5, 2022
59da836
[SecurityBundle] Prevent RuntimeException "Impossible to access an at…
marphi Dec 21, 2022
4d5d6ba
bug #48735 [SecurityBundle] Prevent RuntimeException on profiler (mar…
fabpot Dec 21, 2022
47fc4d5
[VarExporter] Generate proxies for static abstract methods
nicolas-grekas Dec 21, 2022
d43ba3b
bug #48742 [VarExporter] Generate proxies for static abstract methods…
nicolas-grekas Dec 21, 2022
be1dfc7
feature #48710 [DependencyInjection] Add support for nesting autowiri…
nicolas-grekas Dec 21, 2022
d1cbcca
[HttpKernel] Allow using `#[HttpStatus]` for setting status code and …
angelov Nov 27, 2022
65e65ac
feature #48352 [HttpKernel] Allow using `#[HttpStatus]` for setting s…
nicolas-grekas Dec 21, 2022
54b3008
Add generics to PasswordUpgraderInterface
VincentLanglet Dec 21, 2022
568191f
[Security] Make login redirection logic available to programmatic login
hellomedia Dec 9, 2022
ecf5f63
feature #48582 [Security] Make login redirection logic available to p…
nicolas-grekas Dec 21, 2022
fcfca3e
feature #48121 [Messenger] Do not return fallback senders when other …
nicolas-grekas Dec 21, 2022
c352f53
[FrameworkBundle][Messenger] Add support for namespace wildcard in Me…
brzuchal Dec 7, 2022
a826eb3
feature #48531 [FrameworkBundle][Messenger] Add support for namespace…
nicolas-grekas Dec 21, 2022
aaad65c
[Clock] Add `Clock` class and `now()` function
nicolas-grekas Dec 14, 2022
5bfb260
feature #48642 [Clock] Add `Clock` class and `now()` function (nicola…
nicolas-grekas Dec 22, 2022
c0e9ee1
Remove calls to AnnotationRegistry::registerLoader()
derrabus Dec 20, 2022
4586963
minor #48725 Remove calls to `AnnotationRegistry::registerLoader()` (…
nicolas-grekas Dec 22, 2022
85590ec
minor #48750 [Security] Add generics to PasswordUpgraderInterface (Vi…
nicolas-grekas Dec 22, 2022
4917528
Resolve DateTime value using the clock
GromNaN Nov 3, 2022
dfcb811
feature #48098 [HttpKernel]  Resolve DateTime value using the Clock (…
nicolas-grekas Dec 22, 2022
ad892c1
feature #48396 [Intl] Add a special locale to strip emojis easily wit…
nicolas-grekas Dec 22, 2022
86db505
CardsV1 is deprecated we must use cardsV2 instead.
daifma Dec 12, 2022
8cc74f1
feature #48616 [Notifier] GoogleChat CardsV1 is deprecated we must us…
nicolas-grekas Dec 22, 2022
57c2365
[DependencyInjection] Deprecate integers keys in "service_locator" co…
upyx Dec 16, 2022
ff6913e
feature #48686 [DependencyInjection] Deprecate integer keys in "servi…
nicolas-grekas Dec 22, 2022
b5eda47
[FrameworkBundle] Deprecate `framework:exceptions` XML tag
MatTheCat Dec 15, 2022
50a1641
feature #48665 [FrameworkBundle] Deprecate `framework:exceptions` XML…
fabpot Dec 22, 2022
f0aa02a
[WebProfilerBundle] Misc code updates in controller and templates
javiereguiluz Dec 22, 2022
20065d2
minor #48759 [WebProfilerBundle] Misc code updates in controller and …
fabpot Dec 22, 2022
0118348
[Validator] Add `getConstraint()` method to `ConstraintViolationInter…
syl20b Dec 15, 2022
24fdf38
feature #48671 [Validator] Add `getConstraint()` method to `Constrain…
fabpot Dec 22, 2022
0a0a98a
[SecurityBundle] Rename `firewalls.logout.csrf_token_generator` to `f…
MatTheCat Nov 29, 2022
9df40aa
feature #48387 [SecurityBundle] Rename `firewalls.logout.csrf_token_g…
fabpot Dec 22, 2022
377982f
Fix typo
nicolas-grekas Dec 22, 2022
5308c7c
[HttpClient] Remove dead code
nicolas-grekas Dec 22, 2022
20b73db
minor #48763 [HttpClient] Remove unused code (nicolas-grekas)
nicolas-grekas Dec 22, 2022
72e2151
Merge branch '5.4' into 6.0
nicolas-grekas Dec 22, 2022
be82f92
Merge branch '6.0' into 6.1
nicolas-grekas Dec 22, 2022
cd25802
Merge branch '6.1' into 6.2
nicolas-grekas Dec 22, 2022
516e8d9
Merge branch '6.2' into 6.3
nicolas-grekas Dec 22, 2022
983cd08
[DependencyInjection] Target Attribute must fail if the target does n…
rodmen Dec 19, 2022
e9870a4
feature #48707 [DependencyInjection] Target Attribute must fail if th…
nicolas-grekas Dec 22, 2022
92db003
[PropertyAccess] Fix nullsafe chain like x?.y
Vincz Dec 20, 2022
8d7a37a
bug #48727 [PropertyAccess] Fix nullsafe chain like x?.y (Vincz)
nicolas-grekas Dec 23, 2022
d0cfb43
[Translation] Fix undefined variable messages in ConstraintVisitor
alamirault Dec 23, 2022
ca27741
bug #48774 [Translation] Fix undefined variable messages in Constrain…
fabpot Dec 23, 2022
ace92f6
[WebProfilerBundle] fix Mailer detail on click
Jean-Beru Dec 26, 2022
f998af9
bug #48790 [WebProfilerBundle] fix Mailer detail on click (Jean-Beru)
fabpot Dec 27, 2022
87cf70a
[DependencyInjection] Cut compilation time
nicolas-grekas Dec 28, 2022
a8f8903
[DependencyInjection] Stop considering empty env vars as populated
nicolas-grekas Dec 19, 2022
f79d848
minor #48705 [DependencyInjection] Stop considering empty env vars as…
fabpot Dec 28, 2022
f3fc6d7
feature #48802 [DependencyInjection] Cut compilation time (nicolas-gr…
fabpot Dec 28, 2022
9f5c005
[PhpUnitBridge] Revert "minor #48725 Remove calls to `AnnotationRegis…
nicolas-grekas Dec 28, 2022
ee020a2
Merge branch '5.4' into 6.0
nicolas-grekas Dec 28, 2022
bbd6e92
Merge branch '6.0' into 6.1
nicolas-grekas Dec 28, 2022
1efcf0e
Merge branch '6.1' into 6.2
nicolas-grekas Dec 28, 2022
53ad0c3
Merge branch '6.2' into 6.3
nicolas-grekas Dec 28, 2022
a8bbf63
Fix merge
nicolas-grekas Dec 28, 2022
123d453
[DependencyInjection] Fix resolving parameters when dumping lazy proxies
nicolas-grekas Dec 28, 2022
8671ad5
Drop v1 contracts packages everywhere
derrabus Dec 28, 2022
db31160
bug #48805 [DependencyInjection] Fix resolving parameters when dumpin…
fabpot Dec 28, 2022
efd1eb6
Update CHANGELOG for 6.0.17
fabpot Dec 28, 2022
826fe83
Update VERSION for 6.0.17
fabpot Dec 28, 2022
a8aed26
Merge pull request #48807 from fabpot/release-6.0.17
fabpot Dec 28, 2022
d01f6d0
Bump Symfony version to 6.0.18
fabpot Dec 28, 2022
c5d65e5
Update CHANGELOG for 6.1.9
fabpot Dec 28, 2022
92bc1f6
Update VERSION for 6.1.9
fabpot Dec 28, 2022
959b9cb
Merge pull request #48808 from fabpot/release-6.1.9
fabpot Dec 28, 2022
7ee7d8b
Bump Symfony version to 6.1.10
fabpot Dec 28, 2022
f55395f
Update CHANGELOG for 6.2.3
fabpot Dec 28, 2022
304cbbb
Update VERSION for 6.2.3
fabpot Dec 28, 2022
faa9547
Merge pull request #48809 from fabpot/release-6.2.3
fabpot Dec 28, 2022
6d3b3f1
Fix revert
nicolas-grekas Dec 28, 2022
4989194
Fix merge
nicolas-grekas Dec 28, 2022
ebb2593
Bump Symfony version to 6.2.4
fabpot Dec 28, 2022
1cadd46
[DependencyInjection] Auto exclude referencing service in `TaggedIter…
chalasr Dec 23, 2022
c95c5b8
Merge branch '5.4' into 6.0
chalasr Dec 29, 2022
03fb897
Merge branch '6.0' into 6.1
chalasr Dec 29, 2022
de73bee
Merge branch '6.1' into 6.2
chalasr Dec 29, 2022
e80c5b3
Merge branch '6.2' into 6.3
chalasr Dec 29, 2022
6424ce6
feature #48810 Drop v1 contracts packages everywhere (derrabus)
chalasr Dec 29, 2022
ecc5355
[HttpFoundation] Add `StreamedJsonResponse` for efficient JSON streaming
alexander-schranz Oct 24, 2022
f43cd26
feature #47709 [HttpFoundation] Add `StreamedJsonResponse` for effici…
chalasr Dec 29, 2022
f5bcee5
Merge branch '5.4' into 6.0
chalasr Dec 29, 2022
6320cc7
Merge branch '6.0' into 6.1
chalasr Dec 29, 2022
6ed4b33
Merge branch '6.1' into 6.2
chalasr Dec 29, 2022
071bddb
Merge branch '6.2' into 6.3
chalasr Dec 29, 2022
61f443c
[WebProfilerBundle] Fix the usage of web fonts
javiereguiluz Dec 29, 2022
617da29
bug #48822 [WebProfilerBundle] Fix the usage of web fonts (javieregui…
fabpot Dec 29, 2022
13c9266
Update CHANGELOG for 6.0.18
fabpot Dec 29, 2022
6a369a5
Update VERSION for 6.0.18
fabpot Dec 29, 2022
f6102d1
Merge pull request #48827 from fabpot/release-6.0.18
fabpot Dec 29, 2022
f8b5d27
Bump Symfony version to 6.0.19
fabpot Dec 29, 2022
7a1bd56
Update CHANGELOG for 6.1.10
fabpot Dec 29, 2022
ce18650
Update VERSION for 6.1.10
fabpot Dec 29, 2022
209e91f
Merge pull request #48828 from fabpot/release-6.1.10
fabpot Dec 29, 2022
7aae03b
Bump Symfony version to 6.1.11
fabpot Dec 29, 2022
bc7d175
Update CHANGELOG for 6.2.4
fabpot Dec 29, 2022
529b933
Update VERSION for 6.2.4
fabpot Dec 29, 2022
8036575
Merge pull request #48829 from fabpot/release-6.2.4
fabpot Dec 29, 2022
f882cd6
Bump Symfony version to 6.2.5
fabpot Dec 29, 2022
96a020b
[Translation] fix PhpAstExtractor also extracts messages from t()/tra…
gassan Dec 30, 2022
53bfee4
[ExpressionLanguage] Add `enum` expression function
alexandre-daubois Dec 15, 2022
3ce5a89
Merge branch '5.4' into 6.0
fabpot Dec 30, 2022
70d9188
Merge branch '6.0' into 6.1
fabpot Dec 30, 2022
c7825b7
Merge branch '6.1' into 6.2
fabpot Dec 30, 2022
28d19a6
Merge branch '6.2' into 6.3
fabpot Dec 30, 2022
cb97802
Fix
fabpot Dec 30, 2022
5782fe6
Merge branch '6.2' into 6.3
fabpot Dec 30, 2022
1d2396d
Fix CS
fancyweb Dec 30, 2022
1aac3cd
Fix CS
fancyweb Dec 30, 2022
db3c1e8
add reject to MessageEvent to stop sending mail
Nov 30, 2022
ee020be
[Mailer] Add the possibility to reject a message
fabpot Dec 31, 2022
5733cf7
[Mailer] Stop propagation when an email is rejected
fabpot Dec 31, 2022
fc502be
feature #48409 [Mailer] add reject to `MessageEvent` to stop sending …
fabpot Dec 31, 2022
83afb75
Merge branch '5.4' into 6.0
fabpot Jan 1, 2023
b096d10
Merge branch '6.0' into 6.1
fabpot Jan 1, 2023
765047b
Bump LICENSE year
fabpot Jan 1, 2023
15e3ae3
Merge branch '6.1' into 6.2
fabpot Jan 1, 2023
fabdf87
Bump LICENSE year
fabpot Jan 1, 2023
03a2619
Merge branch '6.2' into 6.3
fabpot Jan 1, 2023
d0efd41
Bump LICENSE year
fabpot Jan 1, 2023
4cf9855
Fix LICENCE years
fabpot Jan 1, 2023
e411712
Merge branch '6.2' into 6.3
fabpot Jan 1, 2023
c965b03
[Translation] Fix for resolving Constraint Validator FQCN defined as …
gassan Jan 1, 2023
8d3e897
[PhpUnitBridge] Add `enum_exists` mock
alexandre-daubois Dec 6, 2022
e4ba7b7
[HttpFoundation] ParameterBag::getEnum()
nikophil Dec 29, 2022
2df4623
[Clock] Fix unitialized variable
fabpot Jan 4, 2023
c301d9a
bug #48870 [Clock] Fix unitialized variable (fabpot)
fabpot Jan 4, 2023
8e8772d
remove double required annotation + attribute
alexislefebvre Jan 5, 2023
a14eb6b
feature #48685 [DependencyInjection] Exclude referencing service (sel…
fabpot Jan 5, 2023
6b6c67a
feature #48820 [HttpFoundation] ParameterBag::getEnum() (nikophil)
fabpot Jan 5, 2023
3a2b235
[Validator] fix: Case-insensitive extensions in File-Constraint
spackmat Jan 4, 2023
6d8974b
bug #48866 [Validator] fix: Case-insensitive extensions in File-Const…
fabpot Jan 5, 2023
0a2563d
[HttpKernel] Allow using `#[WithLogLevel]` for setting custom log lev…
angelov Dec 21, 2022
5c09985
feature #48747 [HttpKernel] Allow using `#[WithLogLevel]` for setting…
fabpot Jan 5, 2023
fece766
[HttpKernel] Rename HttpStatus atribute to WithHttpStatus
fabpot Jan 5, 2023
20851ea
bug #48846 [Translation] Fix for resolving Constraint Validator FQCN …
fabpot Jan 5, 2023
6c89894
[FrameworkBundle] Add `extra` attribute for HttpClient Configuration
voodooism Dec 27, 2022
ed96673
feature #48797 [FrameworkBundle] Add `extra` attribute for HttpClient…
fabpot Jan 5, 2023
6f75529
bug #48830 [Translation] fix PhpAstExtractor also extracts messages i…
fabpot Jan 5, 2023
f4a9a5d
feature #48876 [HttpKernel] Rename HttpStatus atribute to WithHttpSta…
fabpot Jan 6, 2023
809f02c
Fix ParameterBagTest message with PHP 8.2
upyx Jan 7, 2023
4adb375
bug #48902 Fix ParameterBagTest message with PHP 8.2 (upyx)
fabpot Jan 7, 2023
0622750
bug #48874 [FrameworkBundle] remove double required annotation + attr…
fabpot Jan 7, 2023
83e2232
[Notifier] Add new Symfony Notifier for PagerDuty
stloyd Jan 2, 2023
f3d8e2a
feature #48855 [Notifier] Add new Symfony Notifier for PagerDuty (stl…
fabpot Jan 8, 2023
9aa058a
Merge branch '5.4' into 6.0
derrabus Jan 9, 2023
77c2546
Merge branch '6.0' into 6.1
derrabus Jan 9, 2023
c0dadb7
Merge branch '6.1' into 6.2
derrabus Jan 9, 2023
94414b3
Merge branch '6.2' into 6.3
derrabus Jan 9, 2023
918967f
feature #48516 [PhpUnitBridge] Add `enum_exists` mock (alexandre-daub…
nicolas-grekas Jan 9, 2023
3d5cd0d
Fix spelling of emails
reyostallenberg Nov 29, 2022
39be079
minor #48768 [TwigBridge][WebProfilerBundle] Fix spelling of e-mails …
nicolas-grekas Jan 9, 2023
fcbfbb1
[FrameworkBundle] Rename service `notifier.logger_notification_listen…
ker0x Dec 16, 2022
5a832f4
feature #48678 [FrameworkBundle] Rename service `notifier.logger_noti…
nicolas-grekas Jan 9, 2023
c759e4e
feature #48669 [ExpressionLanguage] Add `enum` expression function (a…
nicolas-grekas Jan 9, 2023
a5e4fc2
Allow Usage of ContentId in html
m42e Jan 6, 2023
34ddeb6
[DependencyInjection][DX] Add message to install symfony/config for a…
alexandre-daubois Jan 8, 2023
8fee664
minor #48915 [DependencyInjection] Add message to install symfony/con…
nicolas-grekas Jan 9, 2023
0aa12cd
feature #48901 Allow Usage of ContentId in html (m42e)
fabpot Jan 9, 2023
693ade3
[PhpUnitBridge] Fix `enum_exists` mock tests
alexandre-daubois Jan 9, 2023
21191d5
minor #48929 [PhpUnitBridge] Fix `enum_exists` mock tests (alexandre-…
nicolas-grekas Jan 9, 2023
0b107e1
Fix issue #48682
otsch Dec 16, 2022
c96ab99
Add optional arg $normalizeWhitespace to innerText
otsch Jan 9, 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: 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
1,134 changes: 1,134 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
13 changes: 12 additions & 1 deletion .github/patch-types.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,34 @@
Symfony\Component\ErrorHandler\DebugClassLoader::enable();

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,6 +53,7 @@
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/Tests/Fixtures/LazyProxy/ReadOnlyClass.php'):
continue 2;
}

Expand Down
19 changes: 0 additions & 19 deletions .github/psalm/stubs/SetUpTearDownTrait.php

This file was deleted.

10 changes: 5 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']

services:
postgres:
Expand Down Expand Up @@ -134,7 +134,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"
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 @@ -158,7 +158,7 @@ jobs:
echo COMPOSER_ROOT_VERSION=$COMPOSER_ROOT_VERSION >> $GITHUB_ENV

echo "::group::composer update"
composer require --dev --no-update mongodb/mongodb:"1.9.1@dev|^1.9.1@stable"
composer require --dev --no-update mongodb/mongodb:"^1.11"
composer update --no-progress --ansi
echo "::endgroup::"

Expand All @@ -181,11 +181,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
2 changes: 1 addition & 1 deletion .github/workflows/intl-data-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,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 Down
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 -maxdepth 6 -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 -maxdepth 6 -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
3 changes: 2 additions & 1 deletion .github/workflows/psalm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,9 @@ jobs:
run: |
git checkout composer.json
git checkout -m ${{ github.base_ref }}
cat .github/psalm/stubs/SetUpTearDownTrait.php > src/Symfony/Bridge/PhpUnit/SetUpTearDownTrait.php

# to be removed when psalm adds support for intersection types
sed -i 's/Uuid&/Uuid|/' src/Symfony/Component/Uid/Factory/TimeBasedUuidFactory.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.3" ]

# 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
22 changes: 10 additions & 12 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,13 @@ jobs:
name: Tests

env:
extensions: amqp,apcu,igbinary,intl,mbstring,memcached,redis-5.3.4
extensions: amqp,apcu,igbinary,intl,mbstring,memcached,redis

strategy:
matrix:
include:
- php: '7.2'
- php: '7.4'
- php: '8.0'
- php: '8.1'
- php: '8.1'
mode: high-deps
- php: '8.1'
mode: low-deps
Expand Down Expand Up @@ -94,7 +93,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 -maxdepth 6 -type f -name composer.json -printf '%h\n')
php .github/build-packages.php HEAD^ $SYMFONY_VERSION $(find src/Symfony -mindepth 2 -maxdepth 6 -type f -name composer.json -printf '%h\n' | grep -v src/Symfony/Component/Intl/Resources/emoji)
mv composer.json composer.json.phpunit
mv composer.json.orig composer.json
fi
Expand Down Expand Up @@ -140,13 +139,12 @@ jobs:
- name: Patch return types
if: "matrix.php == '8.1' && ! matrix.mode"
run: |
sed -i 's/"\*\*\/Tests\/"//' composer.json
patch -sp1 < .github/expected-missing-return-types.diff
git add .
composer install -q --optimize-autoloader
SYMFONY_PATCH_TYPE_DECLARATIONS='force=1&php=7.2' php .github/patch-types.php
SYMFONY_PATCH_TYPE_DECLARATIONS='force=1&php=7.2' php .github/patch-types.php # ensure the script is idempotent
SYMFONY_PATCH_TYPE_DECLARATIONS='force=2&php=8.1' php .github/patch-types.php
SYMFONY_PATCH_TYPE_DECLARATIONS='force=2&php=8.1' php .github/patch-types.php # ensure the script is idempotent
git diff --exit-code
echo PHPUNIT="$PHPUNIT,legacy" >> $GITHUB_ENV

- name: Run tests
run: |
Expand Down Expand Up @@ -222,12 +220,12 @@ jobs:
script -e -c './phpunit --group tty' /dev/null

- name: Run tests with SIGCHLD enabled PHP
if: "matrix.php == '7.2' && ! matrix.mode"
if: "matrix.php == '8.1' && ! matrix.mode"
run: |
mkdir build
cd build
wget -q https://github.com/symfony/binary-utils/releases/download/v0.1/php-7.2.5-pcntl-sigchild.tar.bz2
tar -xjf php-7.2.5-pcntl-sigchild.tar.bz2
wget -q https://github.com/symfony/binary-utils/releases/download/v0.1/php-8.1.2-pcntl-sigchild.tar.bz2
tar -xjf php-8.1.2-pcntl-sigchild.tar.bz2
cd ..

./build/php/bin/php ./phpunit --colors=always src/Symfony/Component/Process
8 changes: 8 additions & 0 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@
'protected_to_private' => false,
'native_constant_invocation' => ['strict' => false],
'nullable_type_declaration_for_default_null_value' => ['use_nullable_type_declaration' => false],
'no_superfluous_phpdoc_tags' => ['remove_inheritdoc' => true],
'header_comment' => ['header' => $fileHeaderComment],
'modernize_strpos' => true,
'get_class_to_class_keyword' => true,
])
->setRiskyAllowed(true)
->setFinder(
Expand Down Expand Up @@ -63,6 +66,11 @@
->notPath('Symfony/Component/ErrorHandler/Tests/DebugClassLoaderTest.php')
// stop removing spaces on the end of the line in strings
->notPath('Symfony/Component/Messenger/Tests/Command/FailedMessagesShowCommandTest.php')
// auto-generated proxies
->notPath('Symfony/Component/Cache/Traits/Redis5Proxy.php')
->notPath('Symfony/Component/Cache/Traits/Redis6Proxy.php')
->notPath('Symfony/Component/Cache/Traits/RedisCluster5Proxy.php')
->notPath('Symfony/Component/Cache/Traits/RedisCluster6Proxy.php')
)
->setCacheFile('.php-cs-fixer.cache')
;
Loading