Make static anlisys pass

This commit is contained in:
Jaapio
2019-12-10 23:46:06 +01:00
parent 09e086ecf1
commit c14c01875a
24 changed files with 143 additions and 96 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ class ExampleFinderTest extends TestCase
*/
public function testFileNotFound() : void
{
$example = new Example('./example.php', false, 1, 0, new Description('Test'));
$example = new Example('./example.php', false, 1, 0, 'Test');
$this->assertSame('** File not found : ./example.php **', $this->fixture->find($example));
}
}
+8 -4
View File
@@ -221,7 +221,8 @@ DOCBLOCK;
<<<DOCBLOCK
This is a DocBlock.
This should be a Description.
DOCBLOCK,
DOCBLOCK
,
'This is a DocBlock.',
'This should be a Description.',
],
@@ -230,7 +231,8 @@ DOCBLOCK,
This is a
multiline Summary.
This should be a Description.
DOCBLOCK,
DOCBLOCK
,
"This is a\nmultiline Summary.",
'This should be a Description.',
],
@@ -239,7 +241,8 @@ DOCBLOCK,
This is a Summary without dot but with a whiteline
This should be a Description.
DOCBLOCK,
DOCBLOCK
,
'This is a Summary without dot but with a whiteline',
'This should be a Description.',
],
@@ -248,7 +251,8 @@ DOCBLOCK,
This is a Summary with dot and with a whiteline.
This should be a Description.
DOCBLOCK,
DOCBLOCK
,
'This is a Summary with dot and with a whiteline.',
'This should be a Description.',
],