Closed kaczenski closed 1 year ago
Given the code:
/** * * @testWith ["foo"] * ["bar"] * ["baz"] */ public function testFoo(string $foo): void {}
Is currently refactored to:
/** * * #[TestWith('["Foo"] * ["Bar"] * ["Baz"]')] */ public function testFoo(string $foo): void {}
Expected:
/** * * #[TestWith(['Foo']) * #[TestWith(['Bar']) * #[TestWith(['Baz']) */ public function testFoo(string $foo): void {}
cf. https://docs.phpunit.de/en/10.2/attributes.html#testwith
I'm looking into this...
Fixed in #209 :+1:
Given the code:
Is currently refactored to:
Expected: