This file contains hidden or 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
<?php | |
namespace Database\Factories; | |
use Illuminate\Support\Facades\Hash; | |
trait StaticPassword | |
{ | |
/** | |
* An 8-character password containing lower case, upper case, an special caracter and a number. |
This file contains hidden or 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
{ | |
"name": "laragear/subscriptions", | |
"description": "Subscriptions on-premises, without any payment system!", | |
"type": "library", | |
"license": "MIT", | |
"minimum-stability": "stable", | |
"prefer-stable": true, | |
"authors": [ | |
{ | |
"name": "Italo Baeza C.", |
This file contains hidden or 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
<?php | |
namespace App\Http\Middleware; | |
use Closure; | |
use Illuminate\Http\Request; | |
use Illuminate\Validation\ValidationException; | |
use Illuminate\Support\Facades\Date; | |
use Illuminate\Support\Facades\Hash; | |
use Illuminate\Support\Facades\Lang; |
This file contains hidden or 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
Property / Log Level | Debug | Info | Notice | Warning | Error | Critical | Alert | Emergency | |
---|---|---|---|---|---|---|---|---|---|
Disposable | X | ||||||||
Statistical | X | X | X | X | X | X | X | ||
Relevant | X | X | X | X | X | X | |||
Undersired | X | X | X | X | X | ||||
Unstable | X | X | X | X | |||||
Stateful | X | X | X | ||||||
Unsecure | X | X | |||||||
Unfixable | X |
This file contains hidden or 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
<?php | |
namespace YOURNAMESPACE; | |
use function is_numeric; | |
use function strtolower; | |
trait NormalizesMiddlewareParameter | |
{ | |
/** |
This file contains hidden or 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
<?php | |
namespace Tests\Feature; | |
use Tests\TestCase; | |
class ExampleTest extends TestCase | |
{ | |
public function test_leaks_memory_on_1000_iterations() | |
{ |
This file contains hidden or 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
<?php | |
namespace Tests; | |
trait ClearProperties | |
{ | |
/** | |
* Unset each property declared in this test class and its traits. | |
* | |
* @return void |
This file contains hidden or 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
<?php | |
namespace App\Helpers; | |
use DateInterval; | |
use DateTimeInterface; | |
use Illuminate\Contracts\Cache\Factory; | |
use Illuminate\Contracts\Cache\LockProvider; | |
use Illuminate\Contracts\Cache\Repository; | |
use RuntimeException; |
This file contains hidden or 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
<?php | |
namespace Vendor\Package; | |
use Generator; | |
use Illuminate\Support\Str; | |
trait PublishesMigrations | |
{ | |
/** |
This file contains hidden or 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
<?php | |
namespace App; | |
use Illuminate\Support\Carbon; | |
use Illuminate\Support\Facades\Cache; | |
use DateTimeInterface; | |
class RegeneratesCache | |
{ |