Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 5 additions & 13 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,12 @@
name: Lint
on:
- push
- workflow_dispatch
jobs:
lint:
name: Lint
duster:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
- uses: actions/checkout@v3
- name: "duster"
uses: tighten/duster-action@v2
with:
php-version: '8.1'
tools: phplint, laravel/pint
- name: Check syntax
run: phplint .
- name: Check code style
run: pint --test -v
args: lint --using=pint
72 changes: 68 additions & 4 deletions _ide_helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

/**
* A helper file for Laravel, to provide autocomplete information to your IDE
* Generated for Laravel 10.18.0.
* Generated for Laravel 10.21.0.
*
* This file should not be included in your code, only analyzed by your IDE!
*
Expand Down Expand Up @@ -3651,6 +3651,18 @@ public static function recordPendingBatch($pendingBatch)
{
/** @var \Illuminate\Support\Testing\Fakes\BusFake $instance */
return $instance->recordPendingBatch($pendingBatch);
}
/**
* Specify if commands should be serialized and restored when being batched.
*
* @param bool $serializeAndRestore
* @return \Illuminate\Support\Testing\Fakes\BusFake
* @static
*/
public static function serializeAndRestore($serializeAndRestore = true)
{
/** @var \Illuminate\Support\Testing\Fakes\BusFake $instance */
return $instance->serializeAndRestore($serializeAndRestore);
}

}
Expand Down Expand Up @@ -10385,6 +10397,18 @@ public static function pushedJobs()
{
/** @var \Illuminate\Support\Testing\Fakes\QueueFake $instance */
return $instance->pushedJobs();
}
/**
* Specify if jobs should be serialized and restored when being "pushed" to the queue.
*
* @param bool $serializeAndRestore
* @return \Illuminate\Support\Testing\Fakes\QueueFake
* @static
*/
public static function serializeAndRestore($serializeAndRestore = true)
{
/** @var \Illuminate\Support\Testing\Fakes\QueueFake $instance */
return $instance->serializeAndRestore($serializeAndRestore);
}
/**
* Get the connection name for the queue.
Expand Down Expand Up @@ -11311,7 +11335,7 @@ public static function get($key, $default = null)
*
* @param string|null $key
* @param mixed $default
* @return \Symfony\Component\HttpFoundation\ParameterBag|mixed
* @return \Symfony\Component\HttpFoundation\InputBag|mixed
* @static
*/
public static function json($key = null, $default = null)
Expand Down Expand Up @@ -11473,7 +11497,7 @@ public static function fingerprint()
/**
* Set the JSON payload for the request.
*
* @param \Symfony\Component\HttpFoundation\ParameterBag $json
* @param \Symfony\Component\HttpFoundation\InputBag $json
* @return \Illuminate\Http\Request
* @static
*/
Expand Down Expand Up @@ -16878,6 +16902,18 @@ public static function withKeyResolver($keyResolver)
{
/** @var \Illuminate\Routing\UrlGenerator $instance */
return $instance->withKeyResolver($keyResolver);
}
/**
* Set the callback that should be used to attempt to resolve missing named routes.
*
* @param callable $missingNamedRouteResolver
* @return \Illuminate\Routing\UrlGenerator
* @static
*/
public static function resolveMissingNamedRoutesUsing($missingNamedRouteResolver)
{
/** @var \Illuminate\Routing\UrlGenerator $instance */
return $instance->resolveMissingNamedRoutesUsing($missingNamedRouteResolver);
}
/**
* Get the root controller namespace.
Expand Down Expand Up @@ -21490,7 +21526,7 @@ public static function firstOrNew($attributes = [], $values = [])
}

/**
* Get the first record matching the attributes or create it.
* Get the first record matching the attributes. If the record is not found, create it.
*
* @param array $attributes
* @param array $values
Expand All @@ -21503,6 +21539,20 @@ public static function firstOrCreate($attributes = [], $values = [])
return $instance->firstOrCreate($attributes, $values);
}

/**
* Attempt to create the record. If a unique constraint violation occurs, attempt to find the matching record.
*
* @param array $attributes
* @param array $values
* @return \Illuminate\Database\Eloquent\Model|static
* @static
*/
public static function createOrFirst($attributes = [], $values = [])
{
/** @var \Illuminate\Database\Eloquent\Builder $instance */
return $instance->createOrFirst($attributes, $values);
}

/**
* Create or update a record matching the attributes, and fill it with values.
*
Expand Down Expand Up @@ -21861,6 +21911,20 @@ public static function withCasts($casts)
return $instance->withCasts($casts);
}

/**
* Execute the given Closure within a transaction savepoint if needed.
*
* @template TModelValue
* @param \Closure(): TModelValue $scope
* @return \Illuminate\Database\Eloquent\TModelValue
* @static
*/
public static function withSavepointIfNeeded($scope)
{
/** @var \Illuminate\Database\Eloquent\Builder $instance */
return $instance->withSavepointIfNeeded($scope);
}

/**
* Get the underlying query builder instance.
*
Expand Down
20 changes: 10 additions & 10 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,29 +11,29 @@
"php": "^8.1",
"awcodes/filament-versions": "^1.1.1",
"chrisullyott/php-filesize": "^4.2.1",
"doctrine/dbal": "^3.6.5",
"dragonmantank/cron-expression": "^3.3.2",
"doctrine/dbal": "^3.6.6",
"dragonmantank/cron-expression": "^3.3.3",
"filament/filament": "^2.17.52",
"filament/spatie-laravel-settings-plugin": "^2.17.52",
"guzzlehttp/guzzle": "^7.7",
"guzzlehttp/guzzle": "^7.8",
"influxdata/influxdb-client-php": "^2.9",
"laravel-notification-channels/telegram": "^4.0",
"laravel/framework": "^10.18",
"laravel/sanctum": "^3.2.5",
"laravel/tinker": "^2.8.1",
"laravel/framework": "^10.21",
"laravel/sanctum": "^3.2.6",
"laravel/tinker": "^2.8.2",
"maatwebsite/excel": "^3.1.48",
"spatie/laravel-settings": "^2.8.3",
"squirephp/timezones-en": "^3.4.2"
},
"require-dev": {
"barryvdh/laravel-ide-helper": "^2.13",
"fakerphp/faker": "^1.23.0",
"laravel/pint": "^1.10.6",
"laravel/sail": "^1.23.2",
"laravel/pint": "^1.11.0",
"laravel/sail": "^1.24.0",
"mockery/mockery": "^1.6.6",
"nunomaduro/collision": "^7.8.1",
"phpunit/phpunit": "^10.3.1",
"spatie/laravel-ignition": "^2.2"
"phpunit/phpunit": "^10.3.2",
"spatie/laravel-ignition": "^2.3"
},
"autoload": {
"files": [
Expand Down
Loading