Skip to content

Commit 2a68f2f

Browse files
committed
fixup! fixup! [depre] Deprecate StringExtensionToConfigBuilderRector as deprecated in Symfony 7.4
1 parent 8754048 commit 2a68f2f

File tree

1 file changed

+18
-0
lines changed
  • rules-tests/CodeQuality/Rector/MethodCall/ParameterBagTypedGetMethodCallRector/Fixture

1 file changed

+18
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?php
2+
3+
namespace Rector\Symfony\Tests\CodeQuality\Rector\MethodCall\ParameterBagTypedGetMethodCallRector\Fixture;
4+
5+
use Symfony\Component\HttpFoundation\Request;
6+
7+
final class GetOnBoolean
8+
{
9+
public function run(Request $request)
10+
{
11+
$debug = filter_var(
12+
$request->query->get('debug', false),
13+
FILTER_VALIDATE_BOOLEAN
14+
);
15+
}
16+
}
17+
18+
?>

0 commit comments

Comments
 (0)