Skip to content

Conversation

@fain182
Copy link
Collaborator

@fain182 fain182 commented Nov 23, 2025

Add support for collecting dependencies from PHP 8.4 property hooks:

  • Handle typed parameters in set hooks (e.g., set(MyClass $value))
  • Dependencies from expressions within hook bodies (new, static calls, etc.) are already collected by the AST traverser

Fixes #515

Add support for collecting dependencies from PHP 8.4 property hooks:
- Handle typed parameters in set hooks (e.g., set(MyClass $value))
- Dependencies from expressions within hook bodies (new, static calls, etc.)
  are already collected by the AST traverser

Fixes #515
@sonarqubecloud
Copy link

@codecov
Copy link

codecov bot commented Nov 23, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.75%. Comparing base (d7e3f5b) to head (d629cd4).

Additional details and impacted files
@@            Coverage Diff            @@
##               main     #538   +/-   ##
=========================================
  Coverage     97.75%   97.75%           
- Complexity      615      618    +3     
=========================================
  Files            80       80           
  Lines          1778     1784    +6     
=========================================
+ Hits           1738     1744    +6     
  Misses           40       40           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Collect dependencies define in property hooks

3 participants