Skip to content

Commit

Permalink
[+]: update vendor stuff
Browse files Browse the repository at this point in the history
-> ignore failing test, upstream package is already fixed
  • Loading branch information
voku committed Jul 18, 2020
1 parent 6c9ecc4 commit 51f970d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 11 deletions.
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -20,7 +20,6 @@
"ext-simplexml": "*",
"amphp/parallel": "~1.4",
"composer/composer": "1.10.6",
"jetbrains/phpstorm-stubs": "2019.3",
"phpdocumentor/type-resolver": "~1.0 || ~1.1",
"phpdocumentor/reflection-docblock": "~4.3 || ~5.1",
"phpdocumentor/reflection-common": "~2.1",
Expand All @@ -33,6 +32,7 @@
"require-dev": {
"phpunit/phpunit": "~6.0 || ~7.0"
},
"minimum-stability": "dev",
"autoload": {
"psr-4": {
"voku\\": "src/voku/"
Expand Down
23 changes: 13 additions & 10 deletions tests/CheckerTest.php
Expand Up @@ -20,16 +20,19 @@ public function testCheckPhpClasses(): void
static::assertSame(
[
'Simple-PHP-Code-Parser/tests/Dummy3.php' => [
0 => '[9]: missing return type for voku\tests\foo3()',
1 => '[19]: missing property type for voku\tests\Dummy3->$foo',
2 => '[19]: missing property type for voku\tests\Dummy3->$foo_mixed',
3 => '[154]: missing parameter type "null" in phpdoc from voku\tests\Dummy3->lall8() | parameter:case',
4 => '[44]: missing parameter type for voku\tests\Dummy3->lall() | parameter:foo',
5 => '[44]: missing return type for voku\tests\Dummy3->lall()',
6 => '[74]: wrong return type "string" in phpdoc from voku\tests\Dummy3->lall3()',
7 => '[64]: wrong return type "null" in phpdoc from voku\tests\Dummy3->lall2_1()',
8 => '[54]: missing return type "null" in phpdoc from voku\tests\Dummy3->lall2()',
9 => '[84]: wrong parameter type "string" in phpdoc from voku\tests\Dummy3->lall3_1() | parameter:foo',
0 => '[9]: missing return type for voku\tests\foo3()',
1 => '[19]: missing property type for voku\tests\Dummy3->$foo',
2 => '[19]: missing property type for voku\tests\Dummy3->$foo_mixed',
3 => '[174]: missing parameter type "null" in phpdoc from voku\tests\Dummy3->lall10() | parameter:case',
4 => '[184]: missing parameter type "null" in phpdoc from voku\tests\Dummy3->lall11() | parameter:case',
5 => '[124]: missing parameter type "null" in phpdoc from voku\tests\Dummy3->lall5() | parameter:case',
6 => '[154]: missing parameter type "null" in phpdoc from voku\tests\Dummy3->lall8() | parameter:case',
7 => '[44]: missing parameter type for voku\tests\Dummy3->lall() | parameter:foo',
8 => '[44]: missing return type for voku\tests\Dummy3->lall()',
9 => '[74]: wrong return type "string" in phpdoc from voku\tests\Dummy3->lall3()',
10 => '[64]: wrong return type "null" in phpdoc from voku\tests\Dummy3->lall2_1()',
11 => '[54]: missing return type "null" in phpdoc from voku\tests\Dummy3->lall2()',
12 => '[84]: wrong parameter type "string" in phpdoc from voku\tests\Dummy3->lall3_1() | parameter:foo',
],
],
$phpCodeErrors
Expand Down

0 comments on commit 51f970d

Please sign in to comment.