Michal Špaček
Michal Špaček
Also describe the `$window` parameter in a bit more details . Note that the TOTP RFC also [recommends](https://datatracker.ietf.org/doc/html/rfc6238#section-6) extending the validation window so I think a bit more details may...
When a (typed or not) constant is used on object (`$object::CONST`), the type is lost: ```php class Foo { public const string TYPED = 'string'; public const NOTYPE = 'string';...
Sometimes, I prefer the phar distribution of various tools, and I know PHPCS creates phars both as release assets and [downloadable](https://phars.phpcodesniffer.com/), and I know there's Phive too, but I still...
I'd like to write modern PHP (8.3+), and use ondrejmirtes/simple-downgrader to downgrade the code to 7.2, commit to a release branch and release the package from that branch. Here's what...
We'd like to add a custom docs link to the Gitleaks PR comment that could help users to understand what happened and what should they do now etc. We have...
https://github.com/phpstan/phpstan/discussions/11816 Close #265
See https://github.com/phpstan/phpstan/discussions/11816
The API is used instead of code added in #296 and is available starting with PHPStan [2.1.3](https://github.com/phpstan/phpstan/releases/tag/2.1.3) so I'll need to decide when to merge this and when or how...
The `bin/generate-from-disabled.php` script reads the `disable_classes` INI setting: https://github.com/spaze/phpstan-disallowed-calls/blob/0765102eeb154da8a3bcef3200375bb4297a2141/bin/generate-from-disabled.php#L34 The setting will be [removed in PHP 8.5](https://wiki.php.net/rfc/deprecations_php_8_5#remove_disable_classes_ini_setting), which will make `ini_get()` return `false` I think. The output from `ini_get()` is...
In my case host_info returns "Localhost via UNIX socket" meaning "Localhost" won't be found in the $localhosts array. "Localhost" is also mentioned in [the `host_info` manual page](https://www.php.net/manual/en/mysqli.get-host-info.php) in the example...