autoprefixer-php icon indicating copy to clipboard operation
autoprefixer-php copied to clipboard

Error foreach

Open joaoderoldo opened this issue 6 years ago • 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.

joaoderoldo avatar Nov 27 '18 19:11 joaoderoldo

same here :(

coffein avatar Mar 28 '19 09:03 coffein

@coffein hi, bro. Which version of PHP you using?

vladkens avatar Mar 30 '19 20:03 vladkens

this should fix the issue https://github.com/vladkens/autoprefixer-php/pull/14

ulkoalex avatar Mar 06 '23 10:03 ulkoalex