autoprefixer-php
autoprefixer-php copied to clipboard
Error foreach
Hello vladkens, i am trying to use your autoprefixer but i'm getting an error while executing the initial task, could you help me ? follow the error line:
PHP File:
$autoprefixer = new Autoprefixer(); $css = 'a { transition: transform 1s }'; $prefixed = $autoprefixer->compile($css);
Error Line:
Warning: Invalid argument supplied for foreach() in vladkens/autoprefixer/lib/Autoprefixer.php:74
Thanks.
same here :(
@coffein hi, bro. Which version of PHP you using?
this should fix the issue https://github.com/vladkens/autoprefixer-php/pull/14