Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Phpstan parser #12

Open
wants to merge 19 commits into
base: 2.0.x
Choose a base branch
from

Commits on Mar 29, 2024

  1. Very early version of using PHPStan for parsing.

    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 is 10_000 things surely wrong with the implementation that needs fixing in the next passes, there are no tests, BUT, it works.
    
    Big thanks to Tomas Votruba for Rector and his blog as it allowed me by example to integrate PHPStan DIC to deptrac.
    patrickkusebauch committed Mar 29, 2024
    Configuration menu
    Copy the full SHA
    229283b View commit details
    Browse the repository at this point in the history
  2. Refactor NikicPhpParser's FileReferenceVisitor to only deal with scop…

    …ing and leave creating references to dedicated extractors.
    
    As a consequence the FileReferenceVisitor code is way more readable now.
    patrickkusebauch committed Mar 29, 2024
    Configuration menu
    Copy the full SHA
    a25bf86 View commit details
    Browse the repository at this point in the history
  3. One extractor per node type.

    Allows for much cleaner extractor implementations. Similar to how PHPStan custom rules work. Also allows us to call extractors only when they apply to the node in question.
    patrickkusebauch committed Mar 29, 2024
    Configuration menu
    Copy the full SHA
    a66b325 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d43f98a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9495d3f View commit details
    Browse the repository at this point in the history
  6. composer-dependency-analyser: improve config, update (qossmic#22)

    Fix: composer-dependency-analyser: improve config, update
    
    * Fix filepath
    
    * 1.4.0
    janedbal authored and patrickkusebauch committed Mar 29, 2024
    Configuration menu
    Copy the full SHA
    70e9ec7 View commit details
    Browse the repository at this point in the history
  7. ClassLikeExtractor.php implementation and better scoping for test res…

    …olving issues with discovering symbols.
    patrickkusebauch committed Mar 29, 2024
    Configuration menu
    Copy the full SHA
    ea83b1e View commit details
    Browse the repository at this point in the history
  8. Resolved all failing tests. Resolved proper static reflection for dis…

    …covering symbols via PHPStan.
    
    This seems to be working?
    patrickkusebauch committed Mar 29, 2024
    Configuration menu
    Copy the full SHA
    b348387 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    a67e92b View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    a312ba3 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    1fc5686 View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2024

  1. cs fixes

    patrickkusebauch committed Mar 30, 2024
    Configuration menu
    Copy the full SHA
    dffb975 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1a76dab View commit details
    Browse the repository at this point in the history
  3. Documentation

    patrickkusebauch committed Mar 30, 2024
    Configuration menu
    Copy the full SHA
    79d2a70 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3684a49 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    017edfa View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f7f8550 View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2024

  1. Configuration menu
    Copy the full SHA
    5c14482 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f54deda View commit details
    Browse the repository at this point in the history