Skip to content

Commit 6f477ce

Browse files
committed
deprecate: legacy query runner
1 parent ca6d2da commit 6f477ce

File tree

11 files changed

+16
-2
lines changed

11 files changed

+16
-2
lines changed

src/Query/Argument.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
* @link https://getkirby.com
1515
* @copyright Bastian Allgeier
1616
* @license https://opensource.org/licenses/MIT
17+
*
18+
* @todo Deprecate in v6
1719
*/
1820
class Argument
1921
{

src/Query/Arguments.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
* @copyright Bastian Allgeier
1616
* @license https://opensource.org/licenses/MIT
1717
*
18+
* @todo Deprecate in v6
19+
*
1820
* @extends \Kirby\Toolkit\Collection<\Kirby\Query\Argument>
1921
*/
2022
class Arguments extends Collection

src/Query/Expression.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
* @link https://getkirby.com
1515
* @copyright Bastian Allgeier
1616
* @license https://opensource.org/licenses/MIT
17+
*
18+
* @todo Deprecate in v6
1719
*/
1820
class Expression
1921
{

src/Query/Segment.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
* @link https://getkirby.com
1717
* @copyright Bastian Allgeier
1818
* @license https://opensource.org/licenses/MIT
19+
*
20+
* @todo Deprecate in v6
1921
*/
2022
class Segment
2123
{

src/Query/Segments.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
* @copyright Bastian Allgeier
1616
* @license https://opensource.org/licenses/MIT
1717
*
18+
* @todo Deprecate in v6
19+
*
1820
* @extends \Kirby\Toolkit\Collection<\Kirby\Query\Segment>
1921
*/
2022
class Segments extends Collection

tests/Query/ArgumentTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
/**
99
* @coversDefaultClass \Kirby\Query\Argument
10+
* @todo Deprecate in v6
1011
*/
1112
class ArgumentTest extends TestCase
1213
{

tests/Query/ArgumentsTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
/**
88
* @coversDefaultClass \Kirby\Query\Arguments
9+
* @todo Deprecate in v6
910
*/
1011
class ArgumentsTest extends TestCase
1112
{

tests/Query/ExpressionTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
/**
99
* @coversDefaultClass \Kirby\Query\Expression
10+
* @todo Deprecate in v6
1011
*/
1112
class ExpressionTest extends TestCase
1213
{

tests/Query/QueryTest.php renamed to tests/Query/QueryLegacyTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,11 @@
33
namespace Kirby\Query;
44

55
use Closure;
6-
use Kirby\TestCase;
76

87
/**
98
* @coversDefaultClass \Kirby\Query\Query
109
*/
11-
class QueryTest extends TestCase
10+
class QueryLegacyTest extends \PHPUnit\Framework\TestCase
1211
{
1312
/**
1413
* @covers ::__construct

tests/Query/SegmentTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ public function __get($name)
3636

3737
/**
3838
* @coversDefaultClass \Kirby\Query\Segment
39+
* @todo Deprecate in v6
3940
*/
4041
class SegmentTest extends TestCase
4142
{

tests/Query/SegmentsTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
/**
1111
* @coversDefaultClass \Kirby\Query\Segments
12+
* @todo Deprecate in v6
1213
*/
1314
class SegmentsTest extends TestCase
1415
{

0 commit comments

Comments
 (0)