Installer deprecation warning on failure: file_exists(): Passing null to parameter #1 ($filename) of type string is deprecated
dzuelke opened this issue · comments
David Zülke commented
If the install dir is not writable, installer
/composer-setup.php
throws a deprecation warning:
% php composer-setup.php --install-dir=/usr/local/bin --filename=composer
All settings correct for using Composer
PHP Deprecated: file_exists(): Passing null to parameter #1 ($filename) of type string is deprecated in composer-setup.php on line 1197
Deprecated: file_exists(): Passing null to parameter #1 ($filename) of type string is deprecated in composer-setup.php on line 1197
The installation directory "/usr/local/bin" is not writable
Elimuhubconsultant commented
unrulyest commented
If the install dir is not writable,
installer
/composer-setup.php
throws a deprecation warning:% php composer-setup.php --install-dir=/usr/local/bin --filename=composer All settings correct for using Composer PHP Deprecated: file_exists(): Passing null to parameter #1 ($filename) of type string is deprecated in composer-setup.php on line 1197 Deprecated: file_exists(): Passing null to parameter #1 ($filename) of type string is deprecated in composer-setup.php on line 1197 The installation directory "/usr/local/bin" is not writable
% php composer-setup.php --install-dir=/usr/local/bin --filename=composer
All settings correct for using Composer
PHP Deprecated: file_exists(): Passing null to parameter #1 ($filename) of type string is deprecated in composer-setup.php on line 1197
Deprecated: file_exists(): Passing null to parameter #1 ($filename) of type string is deprecated in composer-setup.php on line 1197
The installation directory "/usr/local/bin" is not writable