Can Vural

Results 19 issues of Can Vural

# Bug report Not working: https://phpstan.org/r/7ae5f72d-9a22-4faf-a171-8c93994a5f1a Working: https://phpstan.org/r/c2027941-0e2e-4ad7-a464-8a63c40d7ec5 ## Expected Output `Dumped type: Bar` in both cases

feature-request

- [x] Added or updated tests - [ ] Documented user facing changes **Changes** **Breaking changes**

- [x] Added or updated tests - [ ] Documented user facing changes **Changes** Implementation for new extension from https://github.com/phpstan/phpstan-src/pull/4290/

This one does not add too much value, but I just didn't want to do `instanceof ErrorType` in my extensions 😄

Doing an infinite loop in a function that never returns is a valid use case. closes https://github.com/phpstan/phpstan/issues/6458 closes https://github.com/phpstan/phpstan/issues/12813

closes https://github.com/phpstan/phpstan/issues/13806

Follow up to #4495 In PHP 8.5 using both `FILTER_THROW_ON_FAILURE` and `FILTER_NULL_ON_FAILURE` at same time is not allowed. https://3v4l.org/Ibd4B/rfc#vgit.master_jit Not sure about the rule level and the message.

closes https://github.com/phpstan/phpstan/issues/13790

Hello 👋🏽 Laravel 11 [introduced](https://laravel.com/docs/11.x/configuration#accessing-configuration-values) typed config retrieval methods like `Config::string`, `Config::integer` etc. We could then convert `config('foo.bar')` to `Config::string('foo.bar')` We need to parse the config file and determine the...