Bruce Weirdan

Results 291 comments of Bruce Weirdan

Both PHPStan and Psalm read each other's phpdoc tags, but each prefers its own. Add a `@psalm-param` with a syntax Psalm understand, and it will ignore `@phpstan-param`

Yeah, it looks that way. Type syntax used to be mostly compatible, but that seems to be no longer the case.

Have you considered `from json --objects` for your actual use case? It takes a stream of _newline_-separated json values and outputs a stream of parsed values (usually rendered as a...

To prevent installation of old versions, you can add the constraint: ``` composer require --ignore-platform-reqs --dev vimeo/psalm:^6 ```

> AFAIK reducing multiple closures into a single one is (at least in nushell) a novel approach. This is why it's "experimental". Clever, haven't seen this in nushell yet. >...

```console ❯ "34.52Gb" | into filesize 34.5 GB ``` This is what I'm getting. Could you try with the default locale (run `LC_ALL=C nu`) to see if it's locale-dependent?

@orklah it's a genuine bug I've been able to reproduce.

https://psalm.dev/r/4cbc908e6e (press `Fix code`).

But I don't think we should be fixing explicit `mixed` in parameter types at all.