You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1) Doctum\Tests\Parser\NodeVisitorTest::testUpdateMethodParametersFromTags
Failed asserting that two arrays are identical.
--- Expected
+++ Actual
@@ @@
Array &0 (
0 => 'The "param2" parameter of the method "fun1" is missing a @param tag'
- 1 => 'The method "fun1" has "5" @param tags but only "2" where expected.'
)
/home/runner/work/doctum/doctum/tests/Parser/NodeVisitorTest.php:402
2) Doctum\Tests\Parser\NodeVisitorTest::testUpdateMethodParametersFromInvalidTags
Failed asserting that two arrays are identical.
--- Expected
+++ Actual
@@ @@
Array &0 (
0 => 'The "param2" parameter of the method "fun1" is missing a @param tag'
- 1 => 'The method "fun1" has "6" @param tags but only "2" where expected.'
- 2 => 'The method "fun1" has "1" invalid @param tags.'
- 3 => 'Invalid @param tag on "fun1": "array[\Illuminate\Notifications\Channels\Notification] $notification"'
+ 1 => 'The method "fun1" has "3" @param tags but only "2" where expected.'
)
/home/runner/work/doctum/doctum/tests/Parser/NodeVisitorTest.php:483
3) Doctum\Tests\Parser\NodeVisitorTest::testUpdateMethodParametersFromInvalidTagsReport
Failed asserting that two arrays are identical.
--- Expected
+++ Actual
@@ @@
-Array &0 (
- 0 => 'The "notification" parameter of the method "fun1" is missing a @param tag'
- 1 => 'The method "fun1" has "1" invalid @param tags.'
- 2 => 'Invalid @param tag on "fun1": "array[\Illuminate\Notifications\Channels\Notification] $notification"'
-)
+Array &0 ()
/home/runner/work/doctum/doctum/tests/Parser/NodeVisitorTest.php:520
FAILURES!
Tests: 177, Assertions: [36](https://github.com/code-lts/doctum/actions/runs/4397526274/jobs/7700727629#step:7:37)0, Failures: 3.
I am looking forward to having Doctum migrate to the new phpstan parser version
What can be done for this issue and for me to be able to finish implementing your new version?
I shifted my focus with phpDocumentor towards other features. As I'm just working on the project when I have time I have to choose what comes first. The regressions in this library are hard to fix and I needed some fixes in phpstan to solve this, but they are not accepting my changes because it does not add anything for them.
This means basically that we have to accept the regressions or do some manual parsing again to fix the issues. That takes time, which I do not have unlimited.
The text was updated successfully, but these errors were encountered: