-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
#132 - feat: update fixer configuration, added tests
- Loading branch information
1 parent
8969a80
commit 7aecbaf
Showing
4 changed files
with
133 additions
and
31 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
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,37 @@ | ||
<?php | ||
|
||
class Example { | ||
private string $var = "Error"; | ||
protected string $class = Error::class; | ||
public string $laravel = "LaravelPaths"; | ||
|
||
public function test(): void | ||
{ | ||
} | ||
|
||
public static function testStatic(): void | ||
{ | ||
} | ||
|
||
use Castable; | ||
|
||
public function test2(): void | ||
{ | ||
} | ||
|
||
protected function test3(): void | ||
{ | ||
} | ||
|
||
private function test4(): void | ||
{ | ||
} | ||
|
||
protected static function test5(): void | ||
{ | ||
} | ||
|
||
private static function test6(): void | ||
{ | ||
} | ||
} |
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,40 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
class Example | ||
{ | ||
use Castable; | ||
|
||
public string $laravel = "LaravelPaths"; | ||
protected string $class = Error::class; | ||
private string $var = "Error"; | ||
|
||
public static function testStatic(): void | ||
{ | ||
} | ||
|
||
public function test(): void | ||
{ | ||
} | ||
|
||
public function test2(): void | ||
{ | ||
} | ||
|
||
protected static function test5(): void | ||
{ | ||
} | ||
|
||
protected function test3(): void | ||
{ | ||
} | ||
|
||
private static function test6(): void | ||
{ | ||
} | ||
|
||
private function test4(): void | ||
{ | ||
} | ||
} |