vuongxuongminh / laravel-async

Package provide simple way to run code asynchronously for your Laravel application.
MIT License
154 stars 26 forks source link

laravel-async broken with spatie/async 1.6.0 #41

Closed prattcmp closed 11 months ago

prattcmp commented 1 year ago

Declaration of VXM\Async\Runtime\ParentRuntime::createProcess($task, ?int $outputLength = null, ?string $binary = 'php'): Spatie\Async\Process\Runnable must be compatible with Spatie\Async\Runtime\ParentRuntime::createProcess($task, ?int $outputLength = null, ?string $binary = 'php', ?int $max_input_size = 100000): Spatie\Async\Process\Runnable {"exception":"[object] (Symfony\\Component\\ErrorHandler\\Error\\FatalError(code: 0): Declaration of VXM\\Async\\Runtime\\ParentRuntime::createProcess($task, ?int $outputLength = null, ?string $binary = 'php'): Spatie\\Async\\Process\\Runnable must be compatible with Spatie\\Async\\Runtime\\ParentRuntime::createProcess($task, ?int $outputLength = null, ?string $binary = 'php', ?int $max_input_size = 100000): Spatie\\Async\\Process\\Runnable at /var/www/html/vendor/vxm/laravel-async/src/Runtime/ParentRuntime.php:24)"} []

prattcmp commented 1 year ago

Package dependencies are incorrect. laravel-async is not compatible with spatie/async ^1.5 which includes 1.6.

vuongxuongminh commented 11 months ago

Resolved by #44