Stuardo Rodríguez

Results 55 comments of Stuardo Rodríguez
trafficstars

@kevindees Whoops was replaced by Laravel for [ignition](https://flareapp.io/ignition) which is full PHP 8.1 compatible.

@kevindees checking the github discussions, they asked how to integrate it in other frameworks: https://github.com/facade/ignition/discussions/459

@iblis76 This is the same scenario as #55

```bash $ grep -rFn RelationExistenceRule vendor/composer/ vendor/composer/autoload_static.php:9528: 'NunoMaduro\\Larastan\\Rules\\RelationExistenceRule' => __DIR__ . '/..' . '/nunomaduro/larastan/src/Rules/RelationExistenceRule.php', vendor/composer/autoload_classmap.php:8937: 'NunoMaduro\\Larastan\\Rules\\RelationExistenceRule' => $vendorDir . '/nunomaduro/larastan/src/Rules/RelationExistenceRule.php', $ grep -rFn 'NunoMaduro\\Larastan' vendor/composer/ vendor/composer/autoload_static.php:119: 'NunoMaduro\\Larastan\\' => 20, vendor/composer/autoload_static.php:407:...

- phpstan clear-result-cache # crashes, same error - commenting the include - phpstan clear-result-cache # runs fine - phpstan analyze # runs fine, ``` Note: Using configuration file /home/str/[...]/phpstan.neon. 1463/1463...

I think I fund the issue, Laravel is a subfolder of my project. We have other files and libraries in the parent folder. - If I run phpstan from the...

Let me try to describe the main structure: ``` ### tiny overview of project folder structure - / # root project, -/.vscode/ -/laravel/ # standard laravel -/app/ -/vendor/ -/vendor/nunomaduro/larastan/ -/autoloader.php...

> What made you choose this structure? legacy code, we started migrating old PHP4 code to clasess, then to namespaces, then to autoloader, and then as Laravel models. "One day"...

That's why I'm trying my best to make this work On Tue, Jul 26, 2022, 6:41 PM Viktor Szépe ***@***.***> wrote: > It is very commendable to perform static analysis...