alleyinteractive / alleyinteractive/photonfill
Missing validation on $data args
Open
- Dominant language
- PHP
- Stars
- 15
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
Occasionally we'll get illegal offset errors because `$data` isn't set in [this function](https://github.com/alleyinteractive/photonfill/blob/master/php/class-photonfill-transform.php#L102), specifically, [these lines](https://github.com/alleyinteractive/photonfill/blob/master/php/class-photonfill-transform.php#L109-L112).
This occurs when `$data` is a string instead of an array.
Contributor guide
Assessment
This issue has not been assessed yet.