https://github.com/staabm/phpstan-bug7308
https://github.com/staabm/phpstan-bug7308
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/staabm/phpstan-bug7308
- Owner: staabm
- Created: 2022-05-27T07:52:53.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-05-30T11:03:33.000Z (about 4 years ago)
- Last Synced: 2025-03-05T10:45:36.365Z (over 1 year ago)
- Language: PHP
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# reproducer bug 7332
this repo reproduces the ~~2nd bug mentioned in https://github.com/phpstan/phpstan/issues/7308#issuecomment-1139330531~~ [bug 7332](https://github.com/phpstan/phpstan/issues/7332#issue-1251098982)
# how to reproduce
- clone the repo
- run `composer install`
- run `vendor/bin/phpstan analyze -c app/phpstan.neon --debug`
-> everything green
update `composer.json` to use `"phpstan/phpstan": "1.6.9"` or 1.7.x
- run `vendor/bin/phpstan analyze -c app/phpstan.neon --debug`
-> error: `Class MyApp extends unknown class ApplicationController`