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
<?xml version="1.0" encoding="UTF-8"?> | |
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:noNamespaceSchemaLocation="./vendor/phpunit/phpunit/phpunit.xsd" | |
bootstrap="vendor/autoload.php" | |
colors="true" | |
printerClass="NunoMaduro\Collision\Adapters\Phpunit\Printer"> | |
<testsuites> | |
<testsuite name="Unit"> | |
<directory suffix="Test.php">./tests/Unit</directory> | |
</testsuite> |
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\Console\Commands; | |
use Illuminate\Console\Command; | |
use Illuminate\Support\Facades\File; | |
use Illuminate\Support\Str; | |
class SetRepositories extends Command | |
{ |
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
Route::group(['prefix' => 'coach/{coach}', 'middleware' => 'auth:coaches'], function() { | |
Route::get('/', function() { return 'Hello coach-dashboard how are you'; })->name('coach-dashboard'); | |
}); | |
// Log: [2020-06-06 19:24:04] testing.ERROR: Maximum function nesting level of '256' reached, aborting! {"userId":1,"exception":"[object] (Error(code: 0): Maximum function nesting level of '256' reached, aborting! at /Users/ed/Sites/exactsports/virtual-camp/vendor/laravel/framework/src/Illuminate/Container/Container.php:772) |
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
{ | |
"require": { | |
"grosv/eloquent-sheets": "dev-main", | |
"grosv/laravel-passwordless-login": "dev-main", | |
"wikimedia/composer-merge-plugin": "^1.4" | |
}, | |
"require-dev": { | |
"grosv/laravel-git-workflow": "dev-main", | |
"grosv/stubby": "dev-main" | |
}, |
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\Models; | |
use Illuminate\Database\Eloquent\Model; | |
class College extends Model | |
{ | |
protected $connection = 'v1'; | |
protected $table = 'colleges_colleges'; |
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\View\Components; | |
use Illuminate\View\Component; | |
class CodeBlock extends Component | |
{ | |
/** | |
* Create a new component instance. |
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\Console\Commands; | |
use Illuminate\Console\Command; | |
class OkuCalculator extends Command | |
{ | |
/** | |
* The name and signature of the console command. |
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; | |
class LocalOnly | |
{ | |
/** |
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
foreach (\File::files(resource_path('views')) as $file) { | |
if (str_contains($file->getPathname(), 'blade.php')) { | |
$contents = \File::get($file); | |
$contents = str_replace('{{', '{{ ', $contents); | |
$contents = str_replace('}}', ' }}', $contents); | |
$contents = str_replace('])', '] )', $contents); | |
preg_match_all('/\$[a-zA-Z](.*?)[ \}]/', $contents, $match); | |
$replace = []; |
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; | |
class SignedOrLoggedIn | |
{ | |
/** |
OlderNewer