Skip to content

CakePHP 6 support (4.x) - #203

Open
skie wants to merge 5 commits into
cakephp:4.xfrom
skie:4.x
Open

skie wants to merge 5 commits into
cakephp:4.xfrom
skie:4.x

Conversation

@skie

@skie skie commented Oct 21, 2026

Copy link
Copy Markdown
Member

NOTE: Upstream should create a 4.x branch for this upgrade. This PR targets that 4.x branch, not 3.x.

This upgrades the Queue plugin to CakePHP 6:

  • Require php: >=8.5 and cakephp/cakephp: 6.x-dev
  • Require-dev cakephp/bake: 4.x-dev, cakephp/cakephp-codesniffer: 6.x-dev
  • Commands follow CakePHP 6 conventions: execute() without Arguments/ConsoleIo args, use $this->args / $this->io instead
  • WorkerCommand::__construct() takes ?CommandFactoryInterface $factory and calls parent::__construct($factory)
  • ContainerInterface moved from Cake\Core to Cake\Container
  • TestQueueClient, Processor, Message, QueueTransport, fixtures/test app updated for CakePHP 6 APIs

Target branch: 4.x (to be created upstream).

@skie

skie commented Oct 21, 2026

Copy link
Copy Markdown
Member Author
Run phive install --trust-gpg-keys 'CF1A108D0E7AE720,51C67305FFC2E5C0,12CE0F1D262429A5,99BF4D9A33D65E1E,51C67305FFC2E5C0,99BF4D9A33D65E1E'
Phive 0.16.0 - Copyright (C) 2015-2026 by Arne Blankerts, Sebastian Heuer and Contributors
Fetching repository list

[ERROR]   Failed to download load https://phar.io/data/repositories.xml: HTTP Code 502

Something wrong with phive in pipeline.

@LordSimal
LordSimal changed the base branch from 3.x to 4.x October 21, 2026 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant