View ScheduledTask.php
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
<?php | |
namespace App\Nova; | |
use App\Nova\Fields\DateTime; | |
use Carbon\CarbonImmutable; | |
use Cron\CronExpression; | |
use Illuminate\Http\Request; | |
use Laravel\Nova\Fields\Boolean; | |
use Laravel\Nova\Fields\Text; |
View AssertableJsonResourceAssertions.php
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
<?php | |
namespace Tests\Asserts; | |
use App\Enums\DeliveryStatus; | |
use App\Enums\DistributionRoundStatus; | |
use App\Enums\DistributionStopType; | |
use App\Enums\DistributionTaskStatus; | |
use App\Enums\PackingStationType; | |
use App\Enums\ProductStockEventReason; |
View CarbonInterfaceCast.php
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
<?php | |
namespace Hospitable\Avalara\Casts; | |
use Carbon\CarbonInterface; | |
use DateTimeZone; | |
use Spatie\LaravelData\Casts\DateTimeInterfaceCast; | |
use Spatie\LaravelData\Casts\Uncastable; | |
use Spatie\LaravelData\Exceptions\CannotCastDate; | |
use Spatie\LaravelData\Support\DataProperty; |
View DataTransferObject.php
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
<?php | |
namespace Hospitable\Avalara\DTOs; | |
use Carbon\CarbonInterface; | |
use Hospitable\Avalara\Collections\Collection; | |
use Illuminate\Contracts\Support\Arrayable; | |
use Illuminate\Contracts\Support\Jsonable; | |
use JsonSerializable; | |
use ReflectionClass; |
View 7hauben.js
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
const YAML = require('yaml'); | |
const fs = require('fs-extra'); | |
const path = require('path'); | |
const glob = require('glob'); | |
const fetch = require('node-fetch'); | |
const puppeteer = require('puppeteer'); | |
const slugify = require('slugify'); | |
const { exec } = require("child_process"); | |
const nunjucks = require('nunjucks'); |
View Instafeed.php
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
<?php | |
namespace App\View\Components; | |
use Astrotomic\Imgix\Facades\Imgix; | |
use Illuminate\Support\Arr; | |
use Illuminate\Support\Collection; | |
use Illuminate\Support\Facades\File; | |
use Illuminate\Support\Str; |
View CastToData.php
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
<?php | |
namespace Astrotomic\FogTradeSdk\Attributes; | |
use Attribute; | |
#[Attribute(Attribute::TARGET_CLASS | Attribute::TARGET_PROPERTY)] | |
class CastToData | |
{ | |
public function __construct( |
View HasHashId.php
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
<?php | |
namespace App\Eloquent\Concerns; | |
use Illuminate\Database\Eloquent\Model as IlluminateModel; | |
use Illuminate\Support\Arr; | |
use Vinkla\Hashids\Facades\Hashids; | |
trait HasHashId | |
{ |
View backup-periods.php
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
<?php | |
use Carbon\Carbon; | |
use Carbon\CarbonPeriod; | |
use Illuminate\Support\Collection; | |
$period = collect(CarbonPeriod::since(Carbon::parse('-1year'))->days(1)->until(Carbon::now())) | |
->concat(CarbonPeriod::since(Carbon::parse('-1week'))->hours(1)->until(Carbon::now())) | |
->concat(CarbonPeriod::since(Carbon::parse('-1day'))->minutes(30)->until(Carbon::now())); |
View QueryBuilderWhereOperatorRule.php
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
<?php | |
namespace App\PHPStan\Rules; | |
use Illuminate\Database\Eloquent\Builder as EloquentBuilder; | |
use Illuminate\Database\Eloquent\Model; | |
use Illuminate\Database\Query\Builder; | |
use Illuminate\Support\Facades\DB; | |
use PhpParser\Node; | |
use PhpParser\Node\Expr\MethodCall; |
NewerOlder