Giovanni Giacobbi

Results 15 issues of Giovanni Giacobbi

Using this standard Linux mechanism to lock serial ports has the advantage that if the process is killed the lock is automatically released. Before a lock was simulated using the...

# Bug report When using `get_called_class()` inside a static method, PHPStan incorrectly infers that it returns the class where it's used, while it could return any subclass. I noticed it...

bug

Greetings, I noticed in a recent commit you added polyfill.min.js to the repository. That makes little sense, hotlinking it to the cdn has the advantage that the served JS file...

This is the first time that I encounter a project which requires the database to **compile** the source into an object. What I would like is to have separate procedure:...

**WIP/RFC - do not merge!** I took a crack at the issue phpstan/phpstan#7075 (also as phpstan/phpstan#7795) but I have a lot of doubts about this patch, so I'm posting the...

The `port` component can only be in the range 0-65535: ```php

# Bug report When you define a field as nullable array, updating one field in a context where it's not null results in an unwanted error: ### Code snippet that...

bug

This is a bit of a nitpick, but should be an easy fix and I actually ran into this. Please consider the following code: https://phpstan.org/r/4cc8f7c3-c43f-478d-ad29-dfdb1f168c04 ```php

bug

Using current version 2.5.8 I get the following output from composer install/update: ``` Your requirements could not be resolved to an installable set of packages. Problem 1 - lib-libsodium is...

Support

### Bug report While searching how to properly make an empty generator I ran into the funny `return; yield;` solution, as PHP will turn a function into a generator without...

bug