Skip to content

simplify persistent queue bootstrapper #1947

simplify persistent queue bootstrapper

simplify persistent queue bootstrapper #1947

Triggered via push January 9, 2025 17:02
Status Failure
Total duration 3m 15s
Artifacts

ci.yml

on: push
Code style (php-cs-fixer)
10s
Code style (php-cs-fixer)
Static analysis (PHPStan)
26s
Static analysis (PHPStan)
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 8 warnings
Static analysis (PHPStan): src/Bootstrappers/PersistentQueueTenancyBootstrapper.php#L32
Method Stancl\Tenancy\Bootstrappers\PersistentQueueTenancyBootstrapper::__constructStatic() has no return type specified.
Static analysis (PHPStan): src/Bootstrappers/PersistentQueueTenancyBootstrapper.php#L45
Method Stancl\Tenancy\Bootstrappers\PersistentQueueTenancyBootstrapper::setUpJobListener() has no return type specified.
Static analysis (PHPStan): src/Bootstrappers/PersistentQueueTenancyBootstrapper.php#L45
Method Stancl\Tenancy\Bootstrappers\PersistentQueueTenancyBootstrapper::setUpJobListener() has parameter $dispatcher with no type specified.
Static analysis (PHPStan): src/Bootstrappers/PersistentQueueTenancyBootstrapper.php#L45
Method Stancl\Tenancy\Bootstrappers\PersistentQueueTenancyBootstrapper::setUpJobListener() has parameter $runningTests with no type specified.
Static analysis (PHPStan): src/Bootstrappers/PersistentQueueTenancyBootstrapper.php#L76
Method Stancl\Tenancy\Bootstrappers\PersistentQueueTenancyBootstrapper::initializeTenancyForQueue() has no return type specified.
Static analysis (PHPStan): src/Bootstrappers/PersistentQueueTenancyBootstrapper.php#L76
Method Stancl\Tenancy\Bootstrappers\PersistentQueueTenancyBootstrapper::initializeTenancyForQueue() has parameter $tenantId with no type specified.
Static analysis (PHPStan): src/Bootstrappers/PersistentQueueTenancyBootstrapper.php#L92
Parameter #1 $tenant of method Stancl\Tenancy\Tenancy::initialize() expects int|Stancl\Tenancy\Contracts\Tenant|string, (Illuminate\Database\Eloquent\Model&Stancl\Tenancy\Contracts\Tenant)|null given.
Static analysis (PHPStan): src/Bootstrappers/PersistentQueueTenancyBootstrapper.php#L95
Method Stancl\Tenancy\Bootstrappers\PersistentQueueTenancyBootstrapper::revertToPreviousState() has no return type specified.
Static analysis (PHPStan): src/Bootstrappers/PersistentQueueTenancyBootstrapper.php#L95
Method Stancl\Tenancy\Bootstrappers\PersistentQueueTenancyBootstrapper::revertToPreviousState() has parameter $event with no type specified.
Static analysis (PHPStan): src/Bootstrappers/PersistentQueueTenancyBootstrapper.php#L95
Method Stancl\Tenancy\Bootstrappers\PersistentQueueTenancyBootstrapper::revertToPreviousState() has parameter $previousTenant with no type specified.
Code style (php-cs-fixer)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Code style (php-cs-fixer)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Code style (php-cs-fixer)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Code style (php-cs-fixer)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Code style (php-cs-fixer)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Code style (php-cs-fixer)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Static analysis (PHPStan)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
tests (^11.0, 8.4)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636