JamesHeinrich / getID3

http://www.getid3.org/
Other
1.13k stars 245 forks source link

Filter out null value before CastAsAppropriate() to prevent deprecati… #406

Closed avdeijk closed 1 year ago

avdeijk commented 1 year ago

Filter out null value before CastAsAppropriate() to prevent deprecation notices for preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in getid3_jpg->CastAsAppropriate()

JamesHeinrich commented 1 year ago

Fixed differently in https://github.com/JamesHeinrich/getID3/commit/a61d9c59cf8a4224baf33f625893d3246e32c51f