Closed alexcrawford closed 3 years ago
On composer update I get the following error:
Script php artisan clear-compiled handling the post-update-cmd event returned with an error
[RuntimeException] Error Output: PHP Fatal error: Declaration of Rocketeer\Plugins\Slack\RocketeerSlack::getMessageFormat() must be compatible with Rocketeer\Plugins\No tifier::getMessageFormat($message) in /home/vagrant/Code/venue-search-london/vendor/anahkiasen/rocketeer-slack/src/Slack/RocketeerSlack.php on line 9 PHP Stack trace: PHP 1. {main}() /home/vagrant/Code/venue-search-london/artisan:0 PHP 2. Illuminate\Console\Application::start() /home/vagrant/Code/venue-search-london/artisan:46 PHP 3. Illuminate\Console\Application::make() /home/vagrant/Code/venue-search-london/vendor/laravel/framework/src/Illuminate/Console/Application.php :33 PHP 4. Illuminate\Foundation\Application->boot() /home/vagrant/Code/venue-search-london/vendor/laravel/framework/src/Illuminate/Console/Application. php:44 PHP 5. array_walk() /home/vagrant/Code/venue-search-london/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:586 PHP 6. Illuminate\Foundation\Application->Illuminate\Foundation\{closure}() /home/vagrant/Code/venue-search-london/vendor/laravel/framework/src/Illu minate/Foundation/Application.php:586 PHP 7. Rocketeer\Plugins\Slack\RocketeerSlackServiceProvider->boot() /home/vagrant/Code/venue-search-london/vendor/laravel/framework/src/Illuminate/ Foundation/Application.php:586 PHP 8. Rocketeer\Facades\Rocketeer::plugin() /home/vagrant/Code/venue-search-london/vendor/anahkiasen/rocketeer-slack/src/Slack/RocketeerSlackServic eProvider.php:29 PHP 9. Illuminate\Support\Facades\Facade::__callStatic() /home/vagrant/Code/venue-search-london/vendor/anahkiasen/rocketeer-slack/src/Slack/Rocketee rSlackServiceProvider.php:29 PHP 10. Rocketeer\TasksHandler->plugin() /home/vagrant/Code/venue-search-london/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:20 8 PHP 11. Illuminate\Foundation\Application->make() /home/vagrant/Code/venue-search-london/vendor/anahkiasen/rocketeer/src/Rocketeer/TasksHandler.php:2 44 PHP 12. Illuminate\Container\Container->make() /home/vagrant/Code/venue-search-london/vendor/laravel/framework/src/Illuminate/Foundation/Application. php:463 PHP 13. Illuminate\Container\Container->build() /home/vagrant/Code/venue-search-london/vendor/laravel/framework/src/Illuminate/Container/Container.ph p:432 PHP 14. ReflectionClass->__construct() /home/vagrant/Code/venue-search-london/vendor/laravel/framework/src/Illuminate/Container/Container.php:510 PHP 15. spl_autoload_call() /home/vagrant/Code/venue-search-london/vendor/laravel/framework/src/Illuminate/Container/Container.php:510 PHP 16. Composer\Autoload\ClassLoader->loadClass() /home/vagrant/Code/venue-search-london/vendor/laravel/framework/src/Illuminate/Container/Container .php:0 PHP 17. Composer\Autoload\includeFile() /home/vagrant/Code/venue-search-london/vendor/composer/ClassLoader.php:270 PHP 18. include() /home/vagrant/Code/venue-search-london/vendor/composer/ClassLoader.php:378
composer.json:
"require-dev": { "anahkiasen/rocketeer": "dev-master", "anahkiasen/rocketeer-slack": "dev-master" },
I eventually got them to install by using the following versions:
"anahkiasen/rocketeer": "1.2.0", "anahkiasen/rocketeer-slack": "1.0.1"
On composer update I get the following error:
composer.json:
I eventually got them to install by using the following versions: