Viktor Szépe

Results 1211 comments of Viktor Szépe

When "bin-installed" by `bamarni/composer-bin-plugin` the parent directory of the current `bin/` (thus the "non-bin" vendor directory) has no `phpstan/phpstan` subdirectory.

> What are some reasons for failures, though? This is a very simple question :) 1. Composer tool's low code quality 2. Packagist's low code quality 3. Packagist (`repo.packagist.org`) is...

I see you are already using box :)

May I use your script in IE8 without a polyfill? (I think should-degrade is for that) (I've tested, and it breaks without matchMedia.js)

> https://www.0d.be/debian/debian-gnome-3.16-status.html There's a link on this page: [generation script](http://people.debian.org/~fpeters/dgs.py) It could be a base for the solution.

> when the value being negated is not a boolean but a string Yes. You are right. If your software is a trash dump you have to prepare for the...

AFAIK PHPStan on a higher level or `phpstan-strict-rules` package will warn you if you use a boolean operator - e.g `!` - in front of a non-boolean value.

> But a negating operator will result in the code being executed FYI :) ``` $ php8.0 -r '$foo = "Foo bar"; var_dump(! $foo);' bool(false) ```

Type juggling and type casting belong to the _bad parts_ of PHP (or any other language).

Problems are fixed in previous PR-s.