Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Php70] Fix Php4 contructor not replaced with __construct() on php 7.…
…4 environment (#5189)
- Loading branch information
1 parent
4795d00
commit 5ac3cb3
Showing
2 changed files
with
11 additions
and
1 deletion.
There are no files selected for viewing
10 changes: 10 additions & 0 deletions
10
...sts/Php70/Rector/ClassMethod/Php4ConstructorRector/Fixture/skip_only_other_method.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,10 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
class SkipOnlyOtherMethod | ||
{ | ||
public function run() | ||
{ | ||
} | ||
} |
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