vladkens / autoprefixer-php

Provides PHP integration with Node.js application
MIT License
74 stars 14 forks source link

Error foreach #19

Open joaoderoldo opened 5 years ago

joaoderoldo commented 5 years ago

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.

coffein commented 5 years ago

same here :(

vladkens commented 5 years ago

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

ulkoalex commented 1 year ago

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