DivineOmega / is_offensive

🤬🤭 Is Offensive Helper Function - Check if a string contains offensive words or variations of them
GNU Lesser General Public License v3.0
7 stars 4 forks source link

Usage of Guzzle function without Guzzle as a dependency #5

Closed jdreesen closed 6 years ago

jdreesen commented 6 years ago

Guzzle is not a Composer dependency of this library. https://github.com/DivineOmega/is_offensive/blob/c01fd1d808984d9af60eefd53615c43e9ced7e61/composer.json#L24-L26

Thus, the following line won't work: https://github.com/DivineOmega/is_offensive/blob/c01fd1d808984d9af60eefd53615c43e9ced7e61/src/OffensiveChecker.php#L6

DivineOmega commented 6 years ago

@jdreesen Good catch. Thanks. This is supposed to be just the global PHP json_decode function. I think my IDE might have added this use line.

DivineOmega commented 6 years ago

Fixed in v1.3.1. Thanks for the report.