someniatko

Results 66 comments of someniatko

Consider using "PHPUnit Enhancement" plugin - it has such assertions built-in.

@kalessil @andreasschroth My bad, these inspections are coming from the PHP Inspections EA 🤦‍

@theofidry i don't have a composer.lock file because i am developing a library, therefore the .lock file is not committed to the git (it makes no sense anyway, because the...

Yes, it looks like it's indeed so: ``` user> composer why infection/infection dev-master requires (for development) infection/infection (^0.15) user> php74 vendor/bin/infection --version You are running Infection with Xdebug enabled. Infection...

@maks-rafalko you cannot, package-versions `1.5.x` require PHP 7.3

@maks-rafalko btw, i tested on two test projects (just created new folders with composer.json only): - one uses PHP 7.4 and package-versions 1.5.1, - the second uses PHP 7.2 and...

Do you think it makes sense to also implement `isEqualTo()` and `toNativeDatePeriod()`?

@AndrolGenhald It's like `Promise:all()` from JavaScript.

@orklah why forbidding that? Personally I use it extensively when defining a class which consists of some nested objects, and then nested classes are defined in a namespace with the...

Also, following PSR recommendations is just a personal preference. Psalm itself does not follow PSR-12's code style guidelines.