Skip to content

[4.x] Queue logic refactor #1948

[4.x] Queue logic refactor

[4.x] Queue logic refactor #1948

Triggered via pull request January 9, 2025 17:02
Status Failure
Total duration 3m 40s
Artifacts

ci.yml

on: pull_request
Code style (php-cs-fixer)
8s
Code style (php-cs-fixer)
Static analysis (PHPStan)
24s
Static analysis (PHPStan)
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 7 warnings
Code style (php-cs-fixer)
Error: Pushing to https://github.com/archtechx/tenancy POST git-receive-pack (731 bytes) error: failed to push some refs to 'https://github.com/archtechx/tenancy'
Code style (php-cs-fixer)
Error: Pushing to https://github.com/archtechx/tenancy POST git-receive-pack (731 bytes) error: failed to push some refs to 'https://github.com/archtechx/tenancy'
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/
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