qossmic / deptrac

Keep your architecture clean.
https://qossmic.github.io/deptrac
MIT License
2.59k stars 136 forks source link

Early version of using PHPStan for parsing. #1383

Closed patrickkusebauch closed 4 months ago

patrickkusebauch commented 5 months ago

The current run on deptrac itself finds new dependencies not found with the old method when calling parent::method() by resolving the parent to the actual class.

There are 10_000 things surely wrong with the implementation that need fixing in the next passes, there are no tests, BUT, it works.

Big thanks to @TomasVotruba for Rector and his blog as it allowed me by example to integrate PHPStan DIC to deptrac.

While it does not add much on its own, I see how this might allow us to resolve many open issues in the future, like the oldest open issue #449.

gennadigennadigennadi commented 5 months ago

@patrickkusebauch thank you very much for the contributions you are doing for Deptrac. I still reading all the PRs, but unfortunately I can’t work on Deptrac as much as I would like too.

But I might get enough spare time the week before eastern to prepare the new release process, what means new releases will be easier to cut.

gennadigennadigennadi commented 4 months ago

Please update the git origin for development to https://github.com/qossmic/deptrac-src and reopen the PR. Thank you very much!