phpweaver
phpweaver copied to clipboard
A combined runtime/static code-analysis tool, that can trace parameter types
- Fix comparability with PHP 8.0+ (min version is now 7.4+, XdebugHandler upgraded from 1.0 to 2.0+) - Convert CI tests to GitHub Action (tests PHP 7.4, 8.0, 8.1, and...
Probably better to share some common code then to maintain our own.
This would allow generating trace data for a code base that doesn't have unit tests (or any other good way of running from CLI) by allowing the developer to interact...
``` /** @var object */ $var = $this->getObject(); ``` becomes: ``` /** * @param int $count * * @return bool */ $var = $this->getObject(); ```
`function test(int $param = null) {}` Only detects as int and not int|null Probably depends on #4