vladkens/autoprefixer-php

Error foreach

joaoderoldo opened this issue · 3 comments

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 #14