Skip to content

Commit 9ec758e

Browse files
committed
fixup! move SetterAndGetterFinder from doctrine to core, as useful in many extensions
1 parent cef40af commit 9ec758e

2 files changed

Lines changed: 34 additions & 0 deletions

File tree

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?php
2+
3+
namespace Rector\Tests\Php84\Rector\Class_\DeprecatedAnnotationToDeprecatedAttributeRector;
4+
5+
final class Fixture
6+
{
7+
/**
8+
* @deprecated use new constant.
9+
*/
10+
public const CONSTANT = 'some reason.';
11+
12+
/**
13+
* @deprecated 1.0.1 use new method.
14+
*/
15+
public function run()
16+
{
17+
}
18+
}
19+
20+
?>
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?php
2+
3+
namespace Rector\Tests\Php84\Rector\FuncCall\AddEscapeArgumentRector;
4+
5+
final class SkipPassEscapeNamed
6+
{
7+
public function run($a, $b, $c)
8+
{
9+
str_getcsv($a, $b, $c, escape: '\\');
10+
11+
$obj = new \SplFileObject();
12+
$obj->fputcsv($a, $b, $c, escape: '\\');
13+
}
14+
}

0 commit comments

Comments
 (0)