statamic / spock

Automatically perform git commits, pushes, and other cli actions when Statamic content changes
95 stars 16 forks source link

Errors when running tests. #46

Open edalzell opened 4 years ago

edalzell commented 4 years ago

Statamic 2.11.16, PHP 7.4.

4) Statamic\Addons\Spock\CommanderTest::only_runs_commands_for_whitelisted_environments
ErrorException: Cannot use "parent" when current class scope has no parent

/Users/erin/Sites/simple/statamic/vendor/mockery/mockery/library/Mockery/Loader/EvalLoader.php:16
/Users/erin/Sites/simple/statamic/vendor/mockery/mockery/library/Mockery/Loader/EvalLoader.php:16
/Users/erin/Sites/simple/statamic/vendor/mockery/mockery/library/Mockery/Container.php:219
/Users/erin/Sites/simple/statamic/vendor/mockery/mockery/library/Mockery.php:98
/Users/erin/Sites/simple/site/addons/Spock/tests/CommanderTest.php:16