[ 'code' => ' [ 'code' => ' [], 'ignored_issues' => [], 'php_version' => '8.0', ]; yield 'Iterating over \DatePeriod (#5954) PHP7 Traversable' => [ 'code' => 'format("Y-m-d"); }', 'assertions' => [ '$period' => 'DatePeriod', '$dt' => 'DateTimeInterface|null' ], 'ignored_issues' => [], 'php_version' => '7.3', ]; yield 'Iterating over \DatePeriod (#5954) PHP8 IteratorAggregate' => [ 'code' => 'format("Y-m-d"); }', 'assertions' => [ '$period' => 'DatePeriod', '$dt' => 'DateTimeImmutable|null' ], 'ignored_issues' => [], 'php_version' => '8.0', ]; yield 'Iterating over \DatePeriod (#5954), ISO string' => [ 'code' => 'format("Y-m-d"); }', 'assertions' => [ '$period' => 'DatePeriod', '$dt' => 'DateTime|null' ], 'ignored_issues' => [], 'php_version' => '8.0', ]; yield 'DatePeriod implements only Traversable on PHP 7' => [ 'code' => ' [], 'ignored_issues' => [], 'php_version' => '7.3', ]; yield 'DatePeriod implements IteratorAggregate on PHP 8' => [ 'code' => ' [], 'ignored_issues' => ['RedundantCondition'], 'php_version' => '8.0', ]; yield 'sprintf yields a non-empty-string for non-empty-string value' => [ 'code' => ' [ 'code' => ' [ '$a===' => 'string', ], ]; } }