@@ -67,6 +67,7 @@ public function testBasicProjectIsGenerated()
6767 null ,
6868 null ,
6969 '5.6.0 ' ,
70+ null ,
7071 null
7172 );
7273
@@ -97,6 +98,7 @@ public function testProjectGenerationWithBehat()
9798 null ,
9899 null ,
99100 '5.6.0 ' ,
101+ null ,
100102 null
101103 );
102104
@@ -118,6 +120,7 @@ public function testProjectGenerationWithCodeception()
118120 null ,
119121 null ,
120122 '5.6.0 ' ,
123+ null ,
121124 null
122125 );
123126
@@ -139,6 +142,7 @@ public function testProjectGenerationWithPhpSpec()
139142 null ,
140143 null ,
141144 '5.6.0 ' ,
145+ null ,
142146 null
143147 );
144148
@@ -160,6 +164,7 @@ public function testProjectGenerationWithApacheLicense()
160164 null ,
161165 null ,
162166 '5.6.0 ' ,
167+ null ,
163168 null
164169 );
165170
@@ -180,6 +185,7 @@ public function testProjectGenerationWithGpl2License()
180185 null ,
181186 null ,
182187 '5.6.0 ' ,
188+ null ,
183189 null
184190 );
185191
@@ -200,6 +206,7 @@ public function testProjectGenerationWithGpl3License()
200206 null ,
201207 null ,
202208 '5.6.0 ' ,
209+ null ,
203210 null
204211 );
205212
@@ -220,6 +227,7 @@ public function testProjectGenerationWithSpecifiedNamespace()
220227 null ,
221228 null ,
222229 '5.6.0 ' ,
230+ null ,
223231 null
224232 );
225233
@@ -242,6 +250,7 @@ public function testProjectGenerationWithGitRepository()
242250 null ,
243251 null ,
244252 '5.6.0 ' ,
253+ null ,
245254 null
246255 );
247256
@@ -262,6 +271,7 @@ public function testProjectGenerationWithCodingStandardsFixer()
262271 null ,
263272 null ,
264273 '5.6.0 ' ,
274+ null ,
265275 null
266276 );
267277
@@ -283,6 +293,7 @@ public function testProjectGenerationWithComposerKeywords()
283293 null ,
284294 null ,
285295 '5.6.0 ' ,
296+ null ,
286297 null
287298 );
288299
@@ -303,6 +314,7 @@ public function testProjectGenerationWithVagrant()
303314 true ,
304315 null ,
305316 '5.6.0 ' ,
317+ null ,
306318 null
307319 );
308320
@@ -324,6 +336,7 @@ public function testProjectGenerationWithEditorConfig()
324336 null ,
325337 true ,
326338 '5.6.0 ' ,
339+ null ,
327340 null
328341 );
329342
@@ -345,6 +358,7 @@ public function testProjectGenerationWithPhp54()
345358 null ,
346359 null ,
347360 '5.4.0 ' ,
361+ null ,
348362 null
349363 );
350364
@@ -366,6 +380,7 @@ public function testProjectGenerationWithPhp55()
366380 null ,
367381 null ,
368382 '5.5.0 ' ,
383+ null ,
369384 null
370385 );
371386
@@ -387,6 +402,7 @@ public function testProjectGenerationWithPhp56()
387402 null ,
388403 null ,
389404 '5.6.0 ' ,
405+ null ,
390406 null
391407 );
392408
@@ -408,6 +424,7 @@ public function testProjectGenerationWithPhp7()
408424 null ,
409425 null ,
410426 '7.0.0 ' ,
427+ null ,
411428 null
412429 );
413430
@@ -429,7 +446,8 @@ public function testProjectGenerationWithEnvironmentFiles()
429446 null ,
430447 false ,
431448 '5.6.0 ' ,
432- true
449+ true ,
450+ false
433451 );
434452
435453 $ this ->construct ->generate ($ settings , $ this ->gitHelper , $ this ->scriptHelper );
@@ -439,6 +457,29 @@ public function testProjectGenerationWithEnvironmentFiles()
439457 $ this ->assertSame ($ this ->getStub ('with-env/composer ' ), $ this ->getFile ('composer.json ' ));
440458 }
441459
460+ public function testProjectGenerationWithLgtmConfiguration ()
461+ {
462+ $ settings = new Settings (
463+ 'jonathantorres/logger ' ,
464+ 'phpunit ' ,
465+ 'MIT ' ,
466+ 'Vendor\Project ' ,
467+ null ,
468+ null ,
469+ null ,
470+ null ,
471+ false ,
472+ '5.6.0 ' ,
473+ null ,
474+ true
475+ );
476+
477+ $ this ->construct ->generate ($ settings , $ this ->gitHelper , $ this ->scriptHelper );
478+ $ this ->assertSame ($ this ->getStub ('with-lgtm/maintainers ' ), $ this ->getFile ('MAINTAINERS ' ));
479+ $ this ->assertSame ($ this ->getStub ('with-lgtm/lgtm ' ), $ this ->getFile ('.lgtm ' ));
480+ $ this ->assertSame ($ this ->getStub ('with-lgtm/gitattributes ' ), $ this ->getFile ('.gitattributes ' ));
481+ }
482+
442483 /**
443484 * Get expected changelog file.
444485 *
0 commit comments