Good morning, I am facing problems with the composer. It throws an error "[ErrorException] Invalid argument supplied for foreach()" even if i download the installer from getcomposer.org and only run "php composer.phar" without any option. Anyone have the same problem?
I will try to remove it, but the composer throws this error even if I run it without an option just to get the list of available commands. This means that the composer will read an available composer.json even if no option is given