@@ -379,7 +379,7 @@ public function generate_uses_registered_generators_and_returns_generated_files(
379
379
$ tree = new Tree (['branch ' => ['code ' , 'attributes ' ]]);
380
380
381
381
$ generatorOne ->expects ('output ' )
382
- ->with ($ tree )
382
+ ->with ($ tree, false )
383
383
->andReturn ([
384
384
'created ' => ['one/new.php ' ],
385
385
'updated ' => ['one/existing.php ' ],
@@ -394,7 +394,7 @@ public function generate_uses_registered_generators_and_returns_generated_files(
394
394
395
395
$ generatorTwo = \Mockery::mock (Generator::class);
396
396
$ generatorTwo ->expects ('output ' )
397
- ->with ($ tree )
397
+ ->with ($ tree, false )
398
398
->andReturn ([
399
399
'created ' => ['two/new.php ' ],
400
400
'updated ' => ['two/existing.php ' ],
@@ -429,7 +429,7 @@ public function generate_uses_swapped_generator_and_returns_generated_files()
429
429
430
430
$ generatorSwap = \Mockery::mock (Generator::class);
431
431
$ generatorSwap ->expects ('output ' )
432
- ->with ($ tree )
432
+ ->with ($ tree, false )
433
433
->andReturn ([
434
434
'created ' => ['swapped/new.php ' ],
435
435
'updated ' => ['swapped/existing.php ' ],
@@ -464,7 +464,7 @@ public function generate_only_one_specific_type()
464
464
$ skip = [];
465
465
466
466
$ generatorFoo ->shouldReceive ('output ' )
467
- ->with ($ tree )
467
+ ->with ($ tree, false )
468
468
->andReturn ([
469
469
'created ' => ['foo.php ' ],
470
470
]);
@@ -474,7 +474,7 @@ public function generate_only_one_specific_type()
474
474
475
475
$ generatorBar = \Mockery::mock (Generator::class);
476
476
$ generatorBar ->shouldReceive ('output ' )
477
- ->with ($ tree )
477
+ ->with ($ tree, false )
478
478
->andReturn ([
479
479
'created ' => ['bar.php ' ],
480
480
]);
@@ -484,7 +484,7 @@ public function generate_only_one_specific_type()
484
484
485
485
$ generatorBaz = \Mockery::mock (Generator::class);
486
486
$ generatorBaz ->shouldReceive ('output ' )
487
- ->with ($ tree )
487
+ ->with ($ tree, false )
488
488
->andReturn ([
489
489
'created ' => ['baz.php ' ],
490
490
]);
@@ -515,7 +515,7 @@ public function generate_only_specific_types()
515
515
$ skip = [];
516
516
517
517
$ generatorFoo ->shouldReceive ('output ' )
518
- ->with ($ tree )
518
+ ->with ($ tree, false )
519
519
->andReturn ([
520
520
'created ' => ['foo.php ' ],
521
521
]);
@@ -525,7 +525,7 @@ public function generate_only_specific_types()
525
525
526
526
$ generatorBar = \Mockery::mock (Generator::class);
527
527
$ generatorBar ->shouldReceive ('output ' )
528
- ->with ($ tree )
528
+ ->with ($ tree, false )
529
529
->andReturn ([
530
530
'created ' => ['bar.php ' ],
531
531
]);
@@ -535,7 +535,7 @@ public function generate_only_specific_types()
535
535
536
536
$ generatorBaz = \Mockery::mock (Generator::class);
537
537
$ generatorBaz ->shouldReceive ('output ' )
538
- ->with ($ tree )
538
+ ->with ($ tree, false )
539
539
->andReturn ([
540
540
'created ' => ['baz.php ' ],
541
541
]);
@@ -566,7 +566,7 @@ public function generate_should_skip_one_specific_type()
566
566
$ skip = ['bar ' ];
567
567
568
568
$ generatorFoo ->shouldReceive ('output ' )
569
- ->with ($ tree )
569
+ ->with ($ tree, false )
570
570
->andReturn ([
571
571
'created ' => ['foo.php ' ],
572
572
]);
@@ -576,7 +576,7 @@ public function generate_should_skip_one_specific_type()
576
576
577
577
$ generatorBar = \Mockery::mock (Generator::class);
578
578
$ generatorBar ->shouldReceive ('output ' )
579
- ->with ($ tree )
579
+ ->with ($ tree, false )
580
580
->andReturn ([
581
581
'created ' => ['bar.php ' ],
582
582
]);
@@ -586,7 +586,7 @@ public function generate_should_skip_one_specific_type()
586
586
587
587
$ generatorBaz = \Mockery::mock (Generator::class);
588
588
$ generatorBaz ->shouldReceive ('output ' )
589
- ->with ($ tree )
589
+ ->with ($ tree, false )
590
590
->andReturn ([
591
591
'created ' => ['baz.php ' ],
592
592
]);
@@ -617,7 +617,7 @@ public function generate_should_skip_specific_types()
617
617
$ skip = ['bar ' , 'baz ' ];
618
618
619
619
$ generatorFoo ->shouldReceive ('output ' )
620
- ->with ($ tree )
620
+ ->with ($ tree, false )
621
621
->andReturn ([
622
622
'created ' => ['foo.php ' ],
623
623
]);
@@ -637,7 +637,7 @@ public function generate_should_skip_specific_types()
637
637
638
638
$ generatorBaz = \Mockery::mock (Generator::class);
639
639
$ generatorBaz ->shouldReceive ('output ' )
640
- ->with ($ tree )
640
+ ->with ($ tree, false )
641
641
->andReturn ([
642
642
'created ' => ['baz.php ' ],
643
643
]);
0 commit comments