@@ -16,7 +16,8 @@ public function test_it_should_create_builder_with_dependency_and_interface(): v
16
16
{
17
17
$ FQCN = 'HappyIsland ' ;
18
18
$ classDescriptionBuilder = new ClassDescriptionBuilder ();
19
- $ classDescriptionBuilder ->setFilePath ('src/Foo.php ' )->setClassName ($ FQCN );
19
+ $ classDescriptionBuilder ->setFilePath ('src/Foo.php ' )
20
+ ->setClassName ($ FQCN );
20
21
21
22
$ classDependency = new ClassDependency ('DepClass ' , 10 );
22
23
@@ -35,7 +36,8 @@ public function test_it_should_create_final_class(): void
35
36
{
36
37
$ FQCN = 'HappyIsland ' ;
37
38
$ classDescriptionBuilder = new ClassDescriptionBuilder ();
38
- $ classDescriptionBuilder ->setFilePath ('src/Foo.php ' )->setClassName ($ FQCN );
39
+ $ classDescriptionBuilder ->setFilePath ('src/Foo.php ' )
40
+ ->setClassName ($ FQCN );
39
41
$ classDescriptionBuilder ->setFinal (true );
40
42
41
43
$ classDescription = $ classDescriptionBuilder ->build ();
@@ -49,7 +51,8 @@ public function test_it_should_create_not_final_class(): void
49
51
{
50
52
$ FQCN = 'HappyIsland ' ;
51
53
$ classDescriptionBuilder = new ClassDescriptionBuilder ();
52
- $ classDescriptionBuilder ->setFilePath ('src/Foo.php ' )->setClassName ($ FQCN );
54
+ $ classDescriptionBuilder ->setFilePath ('src/Foo.php ' )
55
+ ->setClassName ($ FQCN );
53
56
$ classDescriptionBuilder ->setFinal (false );
54
57
55
58
$ classDescription = $ classDescriptionBuilder ->build ();
@@ -63,7 +66,8 @@ public function test_it_should_create_abstract_class(): void
63
66
{
64
67
$ FQCN = 'HappyIsland ' ;
65
68
$ classDescriptionBuilder = new ClassDescriptionBuilder ();
66
- $ classDescriptionBuilder ->setFilePath ('src/Foo.php ' )->setClassName ($ FQCN );
69
+ $ classDescriptionBuilder ->setFilePath ('src/Foo.php ' )
70
+ ->setClassName ($ FQCN );
67
71
$ classDescriptionBuilder ->setAbstract (true );
68
72
69
73
$ classDescription = $ classDescriptionBuilder ->build ();
@@ -77,7 +81,8 @@ public function test_it_should_create_not_abstract_class(): void
77
81
{
78
82
$ FQCN = 'HappyIsland ' ;
79
83
$ classDescriptionBuilder = new ClassDescriptionBuilder ();
80
- $ classDescriptionBuilder ->setFilePath ('src/Foo.php ' )->setClassName ($ FQCN );
84
+ $ classDescriptionBuilder ->setFilePath ('src/Foo.php ' )
85
+ ->setClassName ($ FQCN );
81
86
$ classDescriptionBuilder ->setAbstract (false );
82
87
83
88
$ classDescription = $ classDescriptionBuilder ->build ();
@@ -91,7 +96,8 @@ public function test_it_should_create_annotated_class(): void
91
96
{
92
97
$ FQCN = 'HappyIsland ' ;
93
98
$ classDescriptionBuilder = new ClassDescriptionBuilder ();
94
- $ classDescriptionBuilder ->setFilePath ('src/Foo.php ' )->setClassName ($ FQCN );
99
+ $ classDescriptionBuilder ->setFilePath ('src/Foo.php ' )
100
+ ->setClassName ($ FQCN );
95
101
$ classDescriptionBuilder ->addDocBlock ('/**
96
102
* @psalm-immutable
97
103
*/ ' );
@@ -112,7 +118,8 @@ public function test_it_should_add_attributes(): void
112
118
{
113
119
$ FQCN = 'HappyIsland ' ;
114
120
$ classDescriptionBuilder = new ClassDescriptionBuilder ();
115
- $ classDescriptionBuilder ->setFilePath ('src/Foo.php ' )->setClassName ($ FQCN );
121
+ $ classDescriptionBuilder ->setFilePath ('src/Foo.php ' )
122
+ ->setClassName ($ FQCN );
116
123
$ classDescriptionBuilder ->addAttribute ('AttrClass ' , 27 );
117
124
118
125
$ classDescription = $ classDescriptionBuilder ->build ();
@@ -127,7 +134,8 @@ public function test_it_should_create_interface(): void
127
134
{
128
135
$ FQCN = 'HappyIsland ' ;
129
136
$ classDescriptionBuilder = new ClassDescriptionBuilder ();
130
- $ classDescriptionBuilder ->setFilePath ('src/Foo.php ' )->setClassName ($ FQCN );
137
+ $ classDescriptionBuilder ->setFilePath ('src/Foo.php ' )
138
+ ->setClassName ($ FQCN );
131
139
$ classDescriptionBuilder ->setInterface (true );
132
140
133
141
$ classDescription = $ classDescriptionBuilder ->build ();
@@ -141,7 +149,8 @@ public function test_it_should_create_not_interface(): void
141
149
{
142
150
$ FQCN = 'HappyIsland ' ;
143
151
$ classDescriptionBuilder = new ClassDescriptionBuilder ();
144
- $ classDescriptionBuilder ->setFilePath ('src/Foo.php ' )->setClassName ($ FQCN );
152
+ $ classDescriptionBuilder ->setFilePath ('src/Foo.php ' )
153
+ ->setClassName ($ FQCN );
145
154
$ classDescriptionBuilder ->setInterface (false );
146
155
147
156
$ classDescription = $ classDescriptionBuilder ->build ();
@@ -155,7 +164,8 @@ public function test_it_should_create_trait(): void
155
164
{
156
165
$ FQCN = 'HappyIsland ' ;
157
166
$ classDescriptionBuilder = new ClassDescriptionBuilder ();
158
- $ classDescriptionBuilder ->setFilePath ('src/Foo.php ' )->setClassName ($ FQCN );
167
+ $ classDescriptionBuilder ->setFilePath ('src/Foo.php ' )
168
+ ->setClassName ($ FQCN );
159
169
$ classDescriptionBuilder ->setTrait (true );
160
170
161
171
$ classDescription = $ classDescriptionBuilder ->build ();
@@ -169,7 +179,8 @@ public function test_it_should_create_not_trait(): void
169
179
{
170
180
$ FQCN = 'HappyIsland ' ;
171
181
$ classDescriptionBuilder = new ClassDescriptionBuilder ();
172
- $ classDescriptionBuilder ->setFilePath ('src/Foo.php ' )->setClassName ($ FQCN );
182
+ $ classDescriptionBuilder ->setFilePath ('src/Foo.php ' )
183
+ ->setClassName ($ FQCN );
173
184
$ classDescriptionBuilder ->setTrait (false );
174
185
175
186
$ classDescription = $ classDescriptionBuilder ->build ();
0 commit comments