Skip to content

Commit de0fcad

Browse files
committed
Merge branch '5.x' into 6.x
# Conflicts: # composer.json # tests/TestCase/Rector/MethodCall/RemoveMethodCallArgsRector/config/configured_rule.php
2 parents 28b2d71 + 3dfc92e commit de0fcad

4 files changed

Lines changed: 9 additions & 9 deletions

File tree

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"homepage": "https://cakephp.org",
66
"license": "MIT",
77
"require": {
8-
"php": "^8.1",
8+
"php": "^8.2",
99
"cakephp/console": "^5.1.5",
1010
"nette/utils": "^4.0",
1111
"rector/rector": "~2.4.0",

tests/TestCase/Rector/MethodCall/RemoveMethodCallArgsRector/Fixture/fixture.php.inc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<?php
22

3-
namespace Cake\Upgrade\Test\TestCase\Rector\MethodCall\AddMethodCallArgsRectorTest\Fixture;
3+
namespace Cake\Upgrade\Test\TestCase\Rector\MethodCall\RemoveMethodCallArgsRector\Fixture;
44

5-
use Cake\Upgrade\Test\TestCase\Rector\MethodCall\AddMethodCallArgsRector\Source\SomeModelType;
5+
use Cake\Upgrade\Test\TestCase\Rector\MethodCall\RemoveMethodCallArgsRector\Source\SomeModelType;
66

7-
function addMethodCallArgs()
7+
function removeMethodCallArgs()
88
{
99
$object = new SomeModelType();
1010
$object->getAttribute('paging');
@@ -15,11 +15,11 @@ function addMethodCallArgs()
1515
-----
1616
<?php
1717

18-
namespace Cake\Upgrade\Test\TestCase\Rector\MethodCall\AddMethodCallArgsRectorTest\Fixture;
18+
namespace Cake\Upgrade\Test\TestCase\Rector\MethodCall\RemoveMethodCallArgsRector\Fixture;
1919

20-
use Cake\Upgrade\Test\TestCase\Rector\MethodCall\AddMethodCallArgsRector\Source\SomeModelType;
20+
use Cake\Upgrade\Test\TestCase\Rector\MethodCall\RemoveMethodCallArgsRector\Source\SomeModelType;
2121

22-
function addMethodCallArgs()
22+
function removeMethodCallArgs()
2323
{
2424
$object = new SomeModelType();
2525
$object->setAttribute('paging', []);

tests/TestCase/Rector/MethodCall/RemoveMethodCallArgsRector/Source/SomeModelType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
declare(strict_types=1);
33

4-
namespace Cake\Upgrade\Test\TestCase\Rector\MethodCall\AddMethodCallArgsRector\Source;
4+
namespace Cake\Upgrade\Test\TestCase\Rector\MethodCall\RemoveMethodCallArgsRector\Source;
55

66
final class SomeModelType
77
{

tests/TestCase/Rector/MethodCall/RemoveMethodCallArgsRector/config/configured_rule.php

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

44
use Cake\Upgrade\Rector\Cake5\RemoveMethodCall\RemoveMethodCall;
55
use Cake\Upgrade\Rector\Cake5\RemoveMethodCall\RemoveMethodCallRector;
6-
use Cake\Upgrade\Test\TestCase\Rector\MethodCall\AddMethodCallArgsRector\Source\SomeModelType;
6+
use Cake\Upgrade\Test\TestCase\Rector\MethodCall\RemoveMethodCallArgsRector\Source\SomeModelType;
77
use Rector\Config\RectorConfig;
88

99
return static function (RectorConfig $rectorConfig): void {

0 commit comments

Comments
 (0)