Closed matt-usurp closed 7 years ago
@matt-usurp Thanks!
https://github.com/mmoreram/php-formatter/pull/31
This is the alive probe that strict_types in PHP^7.0 is a big big change in this language :)
Can you please check the PR?
Thanks!^^
Added comment as this doesn't fix locally.
@matt-usurp Published tag 1.3.2 ;)
Much thanks for the fast fix :)
Thanks to you for the fast feedback :)
I am having issues when running this on my docker box with the latest changes.
I find it strange that this gets past the build, but does the build ever test through the
Console\Application
class? This might want to be something we look in too if not?The culprit looks to be here as described in the above stack and in the documentation: https://github.com/mmoreram/php-formatter/blob/v1.3.1/src/PHPFormatter/Console/Application.php#L34-L37
And looks like PHP documentation has been updated for PHP 7.0.
string ini_set(string $varname , string $newvalue)
http://php.net/manual/en/function.ini-set.php