From 87130cf48b2c6c52b7a1046836edc56bb3e48614 Mon Sep 17 00:00:00 2001 From: Abdul Malik Ikhsan Date: Sun, 1 Dec 2024 10:35:34 +0700 Subject: [PATCH] more fixture --- .../Fixture/short_circuit4.php.inc | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 rules-tests/DowngradePhp80/Rector/NullsafeMethodCall/DowngradeNullsafeToTernaryOperatorRector/Fixture/short_circuit4.php.inc diff --git a/rules-tests/DowngradePhp80/Rector/NullsafeMethodCall/DowngradeNullsafeToTernaryOperatorRector/Fixture/short_circuit4.php.inc b/rules-tests/DowngradePhp80/Rector/NullsafeMethodCall/DowngradeNullsafeToTernaryOperatorRector/Fixture/short_circuit4.php.inc new file mode 100644 index 00000000..3b6bcf05 --- /dev/null +++ b/rules-tests/DowngradePhp80/Rector/NullsafeMethodCall/DowngradeNullsafeToTernaryOperatorRector/Fixture/short_circuit4.php.inc @@ -0,0 +1,27 @@ +clock?->now->format('U.u'); + } +} + +?> +----- +clock) ? $nullsafeVariable1->now->format('U.u') : null; + } +} + +?>