-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Argument Adding rules in Laravel 9 set. (#243)
- Loading branch information
Showing
17 changed files
with
203 additions
and
45 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,9 @@ | ||
<?php | ||
|
||
namespace Illuminate\Container; | ||
|
||
use Illuminate\Contracts\Container\Container as ContainerContract; | ||
|
||
class Container implements ContainerContract | ||
{ | ||
} |
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,7 @@ | ||
<?php | ||
|
||
namespace Illuminate\Contracts\Container; | ||
|
||
interface Container | ||
{ | ||
} |
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
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
39 changes: 39 additions & 0 deletions
39
tests/Sets/Laravel90/Fixture/application_class_lang_path_new_attribute.php.inc.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,39 @@ | ||
<?php | ||
|
||
namespace RectorLaravel\Tests\Sets\Laravel90\Fixture; | ||
|
||
use Illuminate\Foundation\Application; | ||
|
||
class CustomApplication extends Application | ||
{ | ||
public function langPath(): string | ||
{ | ||
return ''; | ||
} | ||
|
||
} | ||
|
||
$customApp = new CustomApplication(); | ||
$customApp->langPath(); | ||
|
||
?> | ||
----- | ||
<?php | ||
|
||
namespace RectorLaravel\Tests\Sets\Laravel90\Fixture; | ||
|
||
use Illuminate\Foundation\Application; | ||
|
||
class CustomApplication extends Application | ||
{ | ||
public function langPath($path = ''): string | ||
{ | ||
return ''; | ||
} | ||
|
||
} | ||
|
||
$customApp = new CustomApplication(); | ||
$customApp->langPath(); | ||
|
||
?> |
39 changes: 39 additions & 0 deletions
39
tests/Sets/Laravel90/Fixture/application_class_storage_path_new_attribute.php.inc.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,39 @@ | ||
<?php | ||
|
||
namespace RectorLaravel\Tests\Sets\Laravel90\Fixture; | ||
|
||
use Illuminate\Foundation\Application; | ||
|
||
class CustomApplication extends Application | ||
{ | ||
public function storagePath(): string | ||
{ | ||
return ''; | ||
} | ||
|
||
} | ||
|
||
$customApp = new CustomApplication(); | ||
$customApp->storagePath(); | ||
|
||
?> | ||
----- | ||
<?php | ||
|
||
namespace RectorLaravel\Tests\Sets\Laravel90\Fixture; | ||
|
||
use Illuminate\Foundation\Application; | ||
|
||
class CustomApplication extends Application | ||
{ | ||
public function storagePath($path = ''): string | ||
{ | ||
return ''; | ||
} | ||
|
||
} | ||
|
||
$customApp = new CustomApplication(); | ||
$customApp->storagePath(); | ||
|
||
?> |
2 changes: 1 addition & 1 deletion
2
tests/Sets/Laravel90/Fixture/application_lang_path_new_attribute.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
2 changes: 1 addition & 1 deletion
2
tests/Sets/Laravel90/Fixture/application_storage_path_new_attribute.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
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
Oops, something went wrong.