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; + } +} + +?>