|
@@ -44,9 +44,9 @@ class LuDocParserTest extends \PHPUnit_Framework_TestCase
|
44
|
44
|
}
|
45
|
45
|
|
46
|
46
|
$expectedParams = [
|
47
|
|
- ["Name" => '$myvar', "Type" => "MyType", "Summary" => "some doc\n",
|
|
47
|
+ ["Name" => 'myvar', "Type" => "MyType", "Summary" => "some doc\n",
|
48
|
48
|
"Constraints" => []],
|
49
|
|
- ["Name" => '$myvar2', "Type" => "MyType", "Summary" => "some other doc\n",
|
|
49
|
+ ["Name" => 'myvar2', "Type" => "MyType", "Summary" => "some other doc\n",
|
50
|
50
|
"Constraints" => []]
|
51
|
51
|
];
|
52
|
52
|
|
|
@@ -70,9 +70,9 @@ class LuDocParserTest extends \PHPUnit_Framework_TestCase
|
70
|
70
|
}
|
71
|
71
|
|
72
|
72
|
$expectedParams = [
|
73
|
|
- '$myvar' => ["Name" => '$myvar', "Type" => "MyType", "Summary" => "some doc\n",
|
|
73
|
+ 'myvar' => ["Name" => 'myvar', "Type" => "MyType", "Summary" => "some doc\n",
|
74
|
74
|
"Constraints" => []],
|
75
|
|
- '$myvar2' => ["Name" => '$myvar2', "Type" => "MyType", "Summary" => "some other doc\non another line\n",
|
|
75
|
+ 'myvar2' => ["Name" => 'myvar2', "Type" => "MyType", "Summary" => "some other doc\non another line\n",
|
76
|
76
|
"Constraints" => []]
|
77
|
77
|
];
|
78
|
78
|
|
|
@@ -105,9 +105,9 @@ class LuDocParserTest extends \PHPUnit_Framework_TestCase
|
105
|
105
|
}
|
106
|
106
|
|
107
|
107
|
$expectedParams = [
|
108
|
|
- '$myvar' => ["Name" => '$myvar', "Type" => "MyType", "Summary" => "some doc\nToo much doc\n",
|
|
108
|
+ 'myvar' => ["Name" => 'myvar', "Type" => "MyType", "Summary" => "some doc\nToo much doc\n",
|
109
|
109
|
"Constraints" => []],
|
110
|
|
- '$myvar2' => ["Name" => '$myvar2', "Type" => "MyType", "Summary" => "some other doc\non another line\nand another\n",
|
|
110
|
+ 'myvar2' => ["Name" => 'myvar2', "Type" => "MyType", "Summary" => "some other doc\non another line\nand another\n",
|
111
|
111
|
"Constraints" => [
|
112
|
112
|
["Method" => "min", "Arguments" => ["42"]],
|
113
|
113
|
["Method" => "max", "Arguments" => ["42"]],
|