Dylan T.
Dylan T.
It seems something is wrong on the bitdb side of things - the response data coming back from bitdb appears to be too big, which is causing sync failures. This...
# Bug report The below code generates a deprecation warning in PHP 8.1, but PHPStan happily ignores it. ### Code snippet that reproduces the problem https://phpstan.org/r/b42ed469-524c-4049-8130-610920ac90dd https://3v4l.org/uPVgc ### Expected output...
# Bug report ``` dylan-work@DYLANS-XPS-17 MINGW64 ~/documents/projects/pocketmine-mp/next-major (next-major|u=) $ vendor/bin/phpstan Note: Using configuration file C:\Users\dylan-work\documents\projects\pocketmine-mp\next-major\phpstan.neon. Warning: Undefined array key "collectedData" in phar://C:/Users/dylan-work/Documents/projects/pocketmine-mp/next-major/vendor/phpstan/phpstan/phpstan.phar/src/Parallel/ParallelAnalyser.php on line 125 Warning: foreach() argument must be...
# Bug report ### Code snippet that reproduces the problem https://phpstan.org/r/23b2e650-84e5-44f5-9bd9-3de3e3519e47 https://3v4l.org/X1TbT ### Expected output An error should be reported on line 10, because this code generates a PHP fatal...
# Bug report ### Code snippet that reproduces the problem https://phpstan.org/r/b264270a-4dc9-4dc0-93bd-37983084ae81 ### Expected output No error should be reported. The provided ranges satisfy the allowed set of options.
```php require 'vendor/autoload.php'; $v = \Respect\Validation\Validator::keySet( \Respect\Validation\Validator::key("key1", \Respect\Validation\Validator::intVal()) ); try{ $v->assert(["key1" => 1, "extraKey" => 2]); }catch(\Respect\Validation\Exceptions\NestedValidationException $e){ echo $e->getFullMessage(); } ``` reports the following very confusing error: ``` -...
https://docs.phpdoc.org/3.0/guide/getting-started/configuration.html This page gives almost no meaningful information whatsoever, and tells me to look at the xsd (which isn't the most user-friendly way of displaying config information). I spent 10...
https://phpstan.org/r/e3b1da08-3844-4f2a-ac58-a6514af25849 `and` is used, but the error message shows `&&`. Similar problem for `or` and `||`.
```php private static function printExceptionMessage(\Throwable $e) : string{ $errstr = preg_replace('/\s+/', ' ', trim($e->getMessage())); $errno = $e->getCode(); try{ $errno = ErrorTypeToStringMap::get($errno); }catch(\InvalidArgumentException $e){ //pass } $errfile = Filesystem::cleanPath($e->getFile()); $errline =...