Fabien Villepinte

Results 23 comments of Fabien Villepinte

@localheinz are you sure the problem you had came from `randomFloat()`? The [git history](https://github.com/fzaninotto/Faker/blame/1d996514052fa7dc75077ce5edba85672eb071be/src/Faker/Provider/Base.php#L105) shows that this function always directly returns the result of `round()`, and `round()` can only return...

I think `numberBetween()` is what you're looking for. See: https://github.com/fzaninotto/Faker#fakerproviderbase

I think this new sniff would check if a single `if` contains too many conditions, like: ```php if ($cond1 && $cond2 && $cond3 /* and so on... */ && $cond42)...

I see there is a typo in the class name of the Sniff: `Intsance` instead of `Instance`. Not sure if it will fix your issue though.

Closing since it's done in #153. Thanks @kevin-schmitt

@hopeseekr the problem should be fix now. May you confirm it?

Hi @morozov, I've investigated your problem and I can explain why the version of the root package is lost. The Composer's `dump-autoload` is invoked when the *phar* file is built....

There is another way to make it work: *Box* could retrieve the version of the root package by using Composer: ``` $ composer show --self --format=text name : example/example descrip....

I've made some tests to check if my idea was doable and it is not :/ > We can add the git files to Configuration::create() ($binaryFilesAggregate) and when calling Compiler::commit()...

I don't know why the build fails only with PHP 5.6 and I don't have a PHP-5.6 environment to reproduce the problem.