Skip to content

Commit 07afca1

Browse files
Merge branch '5.4' into 6.0
* 5.4: Exclude from baseline generation deprecations triggered in legacy test [HttpFoundation] Update "[Session] Overwrite invalid session id" to only validate when files session storage is used [DoctrineBridge] Add missing break [FrameworkBundle] Lower JsonSerializableNormalizer priority
2 parents 4959a1e + 135172d commit 07afca1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

DeprecationErrorHandler/Configuration.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,10 @@ public function tolerates(array $deprecationGroups)
170170
*/
171171
public function isBaselineDeprecation(Deprecation $deprecation)
172172
{
173+
if ($deprecation->isLegacy()) {
174+
return false;
175+
}
176+
173177
if ($deprecation->originatesFromAnObject()) {
174178
$location = $deprecation->originatingClass().'::'.$deprecation->originatingMethod();
175179
} else {

0 commit comments

Comments
 (0)