,safe_types:bool,allow_backwards_incompatible_changes?:bool}> */ public function providerValidCodeParse(): array { return [ 'addMissingUnionType56' => [ 'input' => 'v = 4; } else { $this->v = "hello"; } } }', 'output' => 'v = 4; } else { $this->v = "hello"; } } }', 'php_version' => '5.6', 'issues_to_fix' => ['MissingPropertyType'], 'safe_types' => true, ], 'addMissingNullableType56' => [ 'input' => 'v = 4; } } }', 'output' => 'v = 4; } } }', 'php_version' => '5.6', 'issues_to_fix' => ['MissingPropertyType'], 'safe_types' => true, ], 'addMissingNullableTypeNoDefault74' => [ 'input' => 'v = 4; } } }', 'output' => 'v = 4; } } }', 'php_version' => '7.4', 'issues_to_fix' => ['MissingPropertyType'], 'safe_types' => true, ], 'addMissingNullableTypeWithDefault74' => [ 'input' => 'v = 4; } } }', 'output' => 'v = 4; } } }', 'php_version' => '7.4', 'issues_to_fix' => ['MissingPropertyType'], 'safe_types' => true, ], 'addMissingUnionTypeSetInBranches74' => [ 'input' => 'v = 4; } else { $this->v = "hello"; } } }', 'output' => 'v = 4; } else { $this->v = "hello"; } } }', 'php_version' => '7.4', 'issues_to_fix' => ['MissingPropertyType'], 'safe_types' => true, ], 'addMissingIntTypeSetInBranches74' => [ 'input' => 'v = 4; } else { $this->v = 20; } } }', 'output' => 'v = 4; } else { $this->v = 20; } } }', 'php_version' => '7.4', 'issues_to_fix' => ['MissingPropertyType'], 'safe_types' => true, ], 'addMissingDocblockTypesSpacedProperly' => [ 'input' => 'u = $i; $this->v = $j; } }', 'output' => 'u = $i; $this->v = $j; } }', 'php_version' => '7.1', 'issues_to_fix' => ['MissingPropertyType'], 'safe_types' => true, ], 'addMissingTypehintsSpacedProperly' => [ 'input' => 'u = $i; $this->v = $j; } }', 'output' => 'u = $i; $this->v = $j; } }', 'php_version' => '7.4', 'issues_to_fix' => ['MissingPropertyType'], 'safe_types' => true, ], 'addMissingTypehintWithDefault' => [ 'input' => 'u = true; } }', 'output' => 'u = true; } }', 'php_version' => '7.4', 'issues_to_fix' => ['MissingPropertyType'], 'safe_types' => true, ], 'dontAddMissingPropertyTypeInTrait' => [ 'input' => 'u = 5; } }', 'output' => 'u = 5; } }', 'php_version' => '7.4', 'issues_to_fix' => ['MissingPropertyType'], 'safe_types' => true, ], ]; } }