Markus Staab

Results 670 issues of Markus Staab

### Symfony version(s) affected 5.4.28 ### Description I am looking into PHPStan profiles and watching out for possibilties to speed it up. and look into blackfire profiles, I can see...

Bug
Console
Status: Needs Review
Stalled

running cachetool does not output anything on success. I think for DX purposes it would be great if we would at least get something like "cache successfully cleared" or similar....

help wanted

### Bug report we could do better on equal/identical comparisons. identified while working on https://github.com/phpstan/phpstan-src/pull/3342 (but not solved) ### Code snippet that reproduces the problem https://phpstan.org/r/b62b166e-087d-4a22-a1b0-07597392d923 ### Expected output expectations...

### Bug report we should narrow the string ### Code snippet that reproduces the problem https://phpstan.org/r/e4955243-f19c-4c33-9984-f7c3911d4ced ### Expected output see expectations in the snippet ### Did PHPStan help you today?...

feature-request

### Feature request would be great we could get tagged unions in this snippets https://phpstan.org/r/de0085e1-29c0-4346-849a-79948ec1c385 https://phpstan.org/r/c404d305-0844-4c3e-8ae4-4c92f08fd178 https://phpstan.org/r/f4c52fb8-1d29-48c7-8418-4fa91c0cd6fc as discussed in https://github.com/phpstan/phpstan-src/pull/3281#issuecomment-2266607582 ### Did PHPStan help you today? Did it make...

feature-request

### Feature request just opening issues of TODOs so its not forgotten https://phpstan.org/r/718f794f-5ea6-42e2-b8d0-b6bffd90da0c https://phpstan.org/r/b33c7889-5b87-455b-8cea-5c737ad577f2 ### Did PHPStan help you today? Did it make you happy in any way? _No response_

feature-request

### Bug report $flags only supports `int-mask`. given other values, it should error ### Code snippet that reproduces the problem https://phpstan.org/r/140e3281-fece-4420-a679-4db73333492c ### Expected output 4 error regarding invalid $flags arg...

feature-request

### Feature request using [`*ParameterClosureTypeExtension`](https://github.com/phpstan/phpstan-src/pull/3089) for `preg_replace_callback` in https://github.com/phpstan/phpstan-src/pull/3281 worked like a charm. I was able to easily wire togehter the `RegexArrayShapeMatcher` with the closure arg. I try to do...

feature-request

using a invalid configuration like (note `names:` instead of `value:`) ``` layers: - name: SuperGlobal collectors: - type: superglobal names: - _POST - _GET - _REQUEST ``` leads to a...

bug
help wanted
Good first issue

In PHPStan 1.11.6 I have implemented array-shape inference for `preg_match` in PHPStan. See a in detail write-up in my Blog: https://staabm.github.io/2024/07/05/array-shapes-for-preg-match-matches.html TL;DR: PHPStan is able to figure out the type...