mirror of
https://github.com/barryvdh/ReflectionDocBlock.git
synced 2026-08-18 01:57:13 +00:00
Make static anlisys pass
This commit is contained in:
@@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.',
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user