-
-
Notifications
You must be signed in to change notification settings - Fork 946
Closed
Labels
Milestone
Description
Summary of a problem or a feature request
We are using PHPStan with checkstyle errorFomat at our Jenkins CI and Warnings NG plugin. When we have an issue in Trait files it outputs following XML:
<?xml version="1.0" encoding="UTF-8"?>
<checkstyle>
<file name="tests/Controller/Traits/...Trait.php (in context of class App\Tests\Controller\v1\...)">
<error line="54" column="1" severity="error" message="Static access to instance property App\Tests\Controller\...." />
</file>
</checkstyle>Expected output
This (in context of class App\Tests\Controller\v1\...) is not parsed by Warnings plugin correctly. I believe we should remove this (in context...) part and just leave Trait as error/warning source. Also would really love to have #1205 implemented.
Reactions are currently unavailable