@@ -379,7 +379,7 @@ public function generate_uses_registered_generators_and_returns_generated_files(
379379 $ tree = new Tree (['branch ' => ['code ' , 'attributes ' ]]);
380380
381381 $ generatorOne ->expects ('output ' )
382- ->with ($ tree )
382+ ->with ($ tree, false )
383383 ->andReturn ([
384384 'created ' => ['one/new.php ' ],
385385 'updated ' => ['one/existing.php ' ],
@@ -394,7 +394,7 @@ public function generate_uses_registered_generators_and_returns_generated_files(
394394
395395 $ generatorTwo = \Mockery::mock (Generator::class);
396396 $ generatorTwo ->expects ('output ' )
397- ->with ($ tree )
397+ ->with ($ tree, false )
398398 ->andReturn ([
399399 'created ' => ['two/new.php ' ],
400400 'updated ' => ['two/existing.php ' ],
@@ -429,7 +429,7 @@ public function generate_uses_swapped_generator_and_returns_generated_files()
429429
430430 $ generatorSwap = \Mockery::mock (Generator::class);
431431 $ generatorSwap ->expects ('output ' )
432- ->with ($ tree )
432+ ->with ($ tree, false )
433433 ->andReturn ([
434434 'created ' => ['swapped/new.php ' ],
435435 'updated ' => ['swapped/existing.php ' ],
@@ -464,7 +464,7 @@ public function generate_only_one_specific_type()
464464 $ skip = [];
465465
466466 $ generatorFoo ->shouldReceive ('output ' )
467- ->with ($ tree )
467+ ->with ($ tree, false )
468468 ->andReturn ([
469469 'created ' => ['foo.php ' ],
470470 ]);
@@ -474,7 +474,7 @@ public function generate_only_one_specific_type()
474474
475475 $ generatorBar = \Mockery::mock (Generator::class);
476476 $ generatorBar ->shouldReceive ('output ' )
477- ->with ($ tree )
477+ ->with ($ tree, false )
478478 ->andReturn ([
479479 'created ' => ['bar.php ' ],
480480 ]);
@@ -484,7 +484,7 @@ public function generate_only_one_specific_type()
484484
485485 $ generatorBaz = \Mockery::mock (Generator::class);
486486 $ generatorBaz ->shouldReceive ('output ' )
487- ->with ($ tree )
487+ ->with ($ tree, false )
488488 ->andReturn ([
489489 'created ' => ['baz.php ' ],
490490 ]);
@@ -515,7 +515,7 @@ public function generate_only_specific_types()
515515 $ skip = [];
516516
517517 $ generatorFoo ->shouldReceive ('output ' )
518- ->with ($ tree )
518+ ->with ($ tree, false )
519519 ->andReturn ([
520520 'created ' => ['foo.php ' ],
521521 ]);
@@ -525,7 +525,7 @@ public function generate_only_specific_types()
525525
526526 $ generatorBar = \Mockery::mock (Generator::class);
527527 $ generatorBar ->shouldReceive ('output ' )
528- ->with ($ tree )
528+ ->with ($ tree, false )
529529 ->andReturn ([
530530 'created ' => ['bar.php ' ],
531531 ]);
@@ -535,7 +535,7 @@ public function generate_only_specific_types()
535535
536536 $ generatorBaz = \Mockery::mock (Generator::class);
537537 $ generatorBaz ->shouldReceive ('output ' )
538- ->with ($ tree )
538+ ->with ($ tree, false )
539539 ->andReturn ([
540540 'created ' => ['baz.php ' ],
541541 ]);
@@ -566,7 +566,7 @@ public function generate_should_skip_one_specific_type()
566566 $ skip = ['bar ' ];
567567
568568 $ generatorFoo ->shouldReceive ('output ' )
569- ->with ($ tree )
569+ ->with ($ tree, false )
570570 ->andReturn ([
571571 'created ' => ['foo.php ' ],
572572 ]);
@@ -576,7 +576,7 @@ public function generate_should_skip_one_specific_type()
576576
577577 $ generatorBar = \Mockery::mock (Generator::class);
578578 $ generatorBar ->shouldReceive ('output ' )
579- ->with ($ tree )
579+ ->with ($ tree, false )
580580 ->andReturn ([
581581 'created ' => ['bar.php ' ],
582582 ]);
@@ -586,7 +586,7 @@ public function generate_should_skip_one_specific_type()
586586
587587 $ generatorBaz = \Mockery::mock (Generator::class);
588588 $ generatorBaz ->shouldReceive ('output ' )
589- ->with ($ tree )
589+ ->with ($ tree, false )
590590 ->andReturn ([
591591 'created ' => ['baz.php ' ],
592592 ]);
@@ -617,7 +617,7 @@ public function generate_should_skip_specific_types()
617617 $ skip = ['bar ' , 'baz ' ];
618618
619619 $ generatorFoo ->shouldReceive ('output ' )
620- ->with ($ tree )
620+ ->with ($ tree, false )
621621 ->andReturn ([
622622 'created ' => ['foo.php ' ],
623623 ]);
@@ -637,7 +637,7 @@ public function generate_should_skip_specific_types()
637637
638638 $ generatorBaz = \Mockery::mock (Generator::class);
639639 $ generatorBaz ->shouldReceive ('output ' )
640- ->with ($ tree )
640+ ->with ($ tree, false )
641641 ->andReturn ([
642642 'created ' => ['baz.php ' ],
643643 ]);
0 commit comments