-
-
Notifications
You must be signed in to change notification settings - Fork 339
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a48531e
commit b66d096
Showing
2 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
26 changes: 26 additions & 0 deletions
26
...rtyAssignToConstructorPromotionRector/Fixture/skip_promoted_property_and_one_more.php.inc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?php | ||
|
||
namespace Rector\Tests\Php80\Rector\Class_\ClassPropertyAssignToConstructorPromotionRector\Fixture; | ||
|
||
final class SkipPromotedPropertyAndOneMore | ||
{ | ||
/** | ||
* @var string | ||
*/ | ||
private $originalFile; | ||
|
||
public function __construct(private string $fileContent) | ||
{ | ||
$this->originalFile = $fileContent; | ||
} | ||
|
||
public function getOriginalFile(): string | ||
{ | ||
return $this->originalFile; | ||
} | ||
|
||
public function getFileContent(): string | ||
{ | ||
return $this->fileContent; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters