-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[1.x] Fixes namespace resolution on named arguments (#69)
* Fixes namespace resolution on named arguments * Apply fixes from StyleCI * Re-add test * Removes non-used class * Fixes test suite * tests functions --------- Co-authored-by: StyleCI Bot <[email protected]>
- Loading branch information
1 parent
5c1e047
commit c19f8f3
Showing
8 changed files
with
556 additions
and
2 deletions.
There are no files selected for viewing
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
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,42 @@ | ||
<?php | ||
|
||
namespace Tests\Fixtures; | ||
|
||
class RegularClass | ||
{ | ||
public const C = 'CONST'; | ||
|
||
public function __construct( | ||
public $a1 = null, | ||
public $a2 = null, | ||
public $a3 = null, | ||
public $a4 = null, | ||
public $a5 = null, | ||
public $a6 = null, | ||
public $a7 = null, | ||
public $a8 = null, | ||
public $a9 = null, | ||
public $a10 = null, | ||
public $a11 = null, | ||
public $a12 = null, | ||
public $a13 = null, | ||
public $a14 = null, | ||
public $a15 = null, | ||
public $a16 = null, | ||
public $a17 = null, | ||
public $a18 = null, | ||
public $a19 = null, | ||
public $a20 = null, | ||
) { | ||
} | ||
|
||
public static function staticMethod() | ||
{ | ||
return 'staticMethod'; | ||
} | ||
|
||
public function instanceMethod() | ||
{ | ||
return 'instanceMethod'; | ||
} | ||
} |
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
Empty file.
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
Oops, something went wrong.