Skip to content

Commit 50ab21d

Browse files
authored
Remove deprecations (#389)
* Remove deprecations * Remove deprecations * Remove deprecations * Remove deprecations
1 parent c44b60d commit 50ab21d

18 files changed

+33
-27
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
[![Total Downloads](https://poser.pugx.org/dereuromark/cakephp-queue/d/total)](https://packagist.org/packages/dereuromark/cakephp-queue)
99
[![Coding Standards](https://img.shields.io/badge/cs-PSR--2--R-yellow.svg)](https://github.com/php-fig-rectified/fig-rectified-standards)
1010

11-
This branch is for use with **CakePHP 4.3+**. For details see [version map](https://github.com/dereuromark/cakephp-queue/wiki#cakephp-version-map).
11+
This branch is for use with **CakePHP 4.4+**. For details see [version map](https://github.com/dereuromark/cakephp-queue/wiki#cakephp-version-map).
1212

1313

1414
## Background

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"require": {
2626
"php": ">=7.4",
2727
"brick/varexporter": "^0.3.5 || ^0.4.0",
28-
"cakephp/cakephp": "^4.3.0"
28+
"cakephp/cakephp": "^4.4.0"
2929
},
3030
"require-dev": {
3131
"cakedc/cakephp-phpstan": "^2.0",

src/Command/InfoCommand.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
* @property \Queue\Model\Table\QueuedJobsTable $QueuedJobs
1515
* @property \Queue\Model\Table\QueueProcessesTable $QueueProcesses
1616
*/
17+
#[\AllowDynamicProperties]
1718
class InfoCommand extends Command {
1819

1920
/**

src/Command/JobCommand.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
/**
1616
* @property \Queue\Model\Table\QueuedJobsTable $QueuedJobs
1717
*/
18+
#[\AllowDynamicProperties]
1819
class JobCommand extends Command {
1920

2021
/**

src/Command/WorkerCommand.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
/**
1414
* @property \Queue\Model\Table\QueueProcessesTable $QueueProcesses
1515
*/
16+
#[\AllowDynamicProperties]
1617
class WorkerCommand extends Command {
1718

1819
/**

src/Controller/Admin/QueueController.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
* @property \Queue\Model\Table\QueuedJobsTable $QueuedJobs
1414
* @property \Queue\Model\Table\QueueProcessesTable $QueueProcesses
1515
*/
16+
#[\AllowDynamicProperties]
1617
class QueueController extends AppController {
1718

1819
use LoadHelperTrait;

src/Controller/Admin/QueueProcessesController.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
* @method \Cake\Datasource\ResultSetInterface<\Queue\Model\Entity\QueueProcess> paginate($object = null, array $settings = [])
1313
* @property \Queue\Model\Table\QueuedJobsTable $QueuedJobs
1414
*/
15+
#[\AllowDynamicProperties]
1516
class QueueProcessesController extends AppController {
1617

1718
use LoadHelperTrait;

src/Controller/Admin/QueuedJobsController.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
* @method \Cake\Datasource\ResultSetInterface<\Queue\Model\Entity\QueuedJob> paginate($object = null, array $settings = [])
2020
* @property \Search\Controller\Component\SearchComponent $Search
2121
*/
22+
#[\AllowDynamicProperties]
2223
class QueuedJobsController extends AppController {
2324

2425
use LoadHelperTrait;

tests/TestCase/Command/AddCommandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
namespace Queue\Test\TestCase\Command;
55

6-
use Cake\TestSuite\ConsoleIntegrationTestTrait;
6+
use Cake\Console\TestSuite\ConsoleIntegrationTestTrait;
77
use Cake\TestSuite\TestCase;
88

99
/**

tests/TestCase/Command/BakeQueueTaskCommandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
namespace Queue\Test\TestCase\Command;
55

6-
use Cake\TestSuite\ConsoleIntegrationTestTrait;
6+
use Cake\Console\TestSuite\ConsoleIntegrationTestTrait;
77
use Cake\TestSuite\TestCase;
88
use Shim\TestSuite\TestTrait;
99

0 commit comments

Comments
 (0)