Skip to content

Commit 0b78aed

Browse files
authored
Release v0.11.18 (alexjustesen#694)
1 parent ea8a039 commit 0b78aed

File tree

6 files changed

+368
-252
lines changed

6 files changed

+368
-252
lines changed

.github/workflows/lint.yml

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,12 @@
11
name: Lint
22
on:
33
- push
4-
- workflow_dispatch
54
jobs:
6-
lint:
7-
name: Lint
5+
duster:
86
runs-on: ubuntu-latest
97
steps:
10-
- name: Checkout
11-
uses: actions/checkout@v3
12-
- name: Setup PHP
13-
uses: shivammathur/setup-php@v2
8+
- uses: actions/checkout@v3
9+
- name: "duster"
10+
uses: tighten/duster-action@v2
1411
with:
15-
php-version: '8.1'
16-
tools: phplint, laravel/pint
17-
- name: Check syntax
18-
run: phplint .
19-
- name: Check code style
20-
run: pint --test -v
12+
args: lint --using=pint

_ide_helper.php

Lines changed: 68 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
/**
66
* A helper file for Laravel, to provide autocomplete information to your IDE
7-
* Generated for Laravel 10.18.0.
7+
* Generated for Laravel 10.21.0.
88
*
99
* This file should not be included in your code, only analyzed by your IDE!
1010
*
@@ -3651,6 +3651,18 @@ public static function recordPendingBatch($pendingBatch)
36513651
{
36523652
/** @var \Illuminate\Support\Testing\Fakes\BusFake $instance */
36533653
return $instance->recordPendingBatch($pendingBatch);
3654+
}
3655+
/**
3656+
* Specify if commands should be serialized and restored when being batched.
3657+
*
3658+
* @param bool $serializeAndRestore
3659+
* @return \Illuminate\Support\Testing\Fakes\BusFake
3660+
* @static
3661+
*/
3662+
public static function serializeAndRestore($serializeAndRestore = true)
3663+
{
3664+
/** @var \Illuminate\Support\Testing\Fakes\BusFake $instance */
3665+
return $instance->serializeAndRestore($serializeAndRestore);
36543666
}
36553667

36563668
}
@@ -10385,6 +10397,18 @@ public static function pushedJobs()
1038510397
{
1038610398
/** @var \Illuminate\Support\Testing\Fakes\QueueFake $instance */
1038710399
return $instance->pushedJobs();
10400+
}
10401+
/**
10402+
* Specify if jobs should be serialized and restored when being "pushed" to the queue.
10403+
*
10404+
* @param bool $serializeAndRestore
10405+
* @return \Illuminate\Support\Testing\Fakes\QueueFake
10406+
* @static
10407+
*/
10408+
public static function serializeAndRestore($serializeAndRestore = true)
10409+
{
10410+
/** @var \Illuminate\Support\Testing\Fakes\QueueFake $instance */
10411+
return $instance->serializeAndRestore($serializeAndRestore);
1038810412
}
1038910413
/**
1039010414
* Get the connection name for the queue.
@@ -11311,7 +11335,7 @@ public static function get($key, $default = null)
1131111335
*
1131211336
* @param string|null $key
1131311337
* @param mixed $default
11314-
* @return \Symfony\Component\HttpFoundation\ParameterBag|mixed
11338+
* @return \Symfony\Component\HttpFoundation\InputBag|mixed
1131511339
* @static
1131611340
*/
1131711341
public static function json($key = null, $default = null)
@@ -11473,7 +11497,7 @@ public static function fingerprint()
1147311497
/**
1147411498
* Set the JSON payload for the request.
1147511499
*
11476-
* @param \Symfony\Component\HttpFoundation\ParameterBag $json
11500+
* @param \Symfony\Component\HttpFoundation\InputBag $json
1147711501
* @return \Illuminate\Http\Request
1147811502
* @static
1147911503
*/
@@ -16878,6 +16902,18 @@ public static function withKeyResolver($keyResolver)
1687816902
{
1687916903
/** @var \Illuminate\Routing\UrlGenerator $instance */
1688016904
return $instance->withKeyResolver($keyResolver);
16905+
}
16906+
/**
16907+
* Set the callback that should be used to attempt to resolve missing named routes.
16908+
*
16909+
* @param callable $missingNamedRouteResolver
16910+
* @return \Illuminate\Routing\UrlGenerator
16911+
* @static
16912+
*/
16913+
public static function resolveMissingNamedRoutesUsing($missingNamedRouteResolver)
16914+
{
16915+
/** @var \Illuminate\Routing\UrlGenerator $instance */
16916+
return $instance->resolveMissingNamedRoutesUsing($missingNamedRouteResolver);
1688116917
}
1688216918
/**
1688316919
* Get the root controller namespace.
@@ -21490,7 +21526,7 @@ public static function firstOrNew($attributes = [], $values = [])
2149021526
}
2149121527

2149221528
/**
21493-
* Get the first record matching the attributes or create it.
21529+
* Get the first record matching the attributes. If the record is not found, create it.
2149421530
*
2149521531
* @param array $attributes
2149621532
* @param array $values
@@ -21503,6 +21539,20 @@ public static function firstOrCreate($attributes = [], $values = [])
2150321539
return $instance->firstOrCreate($attributes, $values);
2150421540
}
2150521541

21542+
/**
21543+
* Attempt to create the record. If a unique constraint violation occurs, attempt to find the matching record.
21544+
*
21545+
* @param array $attributes
21546+
* @param array $values
21547+
* @return \Illuminate\Database\Eloquent\Model|static
21548+
* @static
21549+
*/
21550+
public static function createOrFirst($attributes = [], $values = [])
21551+
{
21552+
/** @var \Illuminate\Database\Eloquent\Builder $instance */
21553+
return $instance->createOrFirst($attributes, $values);
21554+
}
21555+
2150621556
/**
2150721557
* Create or update a record matching the attributes, and fill it with values.
2150821558
*
@@ -21861,6 +21911,20 @@ public static function withCasts($casts)
2186121911
return $instance->withCasts($casts);
2186221912
}
2186321913

21914+
/**
21915+
* Execute the given Closure within a transaction savepoint if needed.
21916+
*
21917+
* @template TModelValue
21918+
* @param \Closure(): TModelValue $scope
21919+
* @return \Illuminate\Database\Eloquent\TModelValue
21920+
* @static
21921+
*/
21922+
public static function withSavepointIfNeeded($scope)
21923+
{
21924+
/** @var \Illuminate\Database\Eloquent\Builder $instance */
21925+
return $instance->withSavepointIfNeeded($scope);
21926+
}
21927+
2186421928
/**
2186521929
* Get the underlying query builder instance.
2186621930
*

composer.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,29 +11,29 @@
1111
"php": "^8.1",
1212
"awcodes/filament-versions": "^1.1.1",
1313
"chrisullyott/php-filesize": "^4.2.1",
14-
"doctrine/dbal": "^3.6.5",
15-
"dragonmantank/cron-expression": "^3.3.2",
14+
"doctrine/dbal": "^3.6.6",
15+
"dragonmantank/cron-expression": "^3.3.3",
1616
"filament/filament": "^2.17.52",
1717
"filament/spatie-laravel-settings-plugin": "^2.17.52",
18-
"guzzlehttp/guzzle": "^7.7",
18+
"guzzlehttp/guzzle": "^7.8",
1919
"influxdata/influxdb-client-php": "^2.9",
2020
"laravel-notification-channels/telegram": "^4.0",
21-
"laravel/framework": "^10.18",
22-
"laravel/sanctum": "^3.2.5",
23-
"laravel/tinker": "^2.8.1",
21+
"laravel/framework": "^10.21",
22+
"laravel/sanctum": "^3.2.6",
23+
"laravel/tinker": "^2.8.2",
2424
"maatwebsite/excel": "^3.1.48",
2525
"spatie/laravel-settings": "^2.8.3",
2626
"squirephp/timezones-en": "^3.4.2"
2727
},
2828
"require-dev": {
2929
"barryvdh/laravel-ide-helper": "^2.13",
3030
"fakerphp/faker": "^1.23.0",
31-
"laravel/pint": "^1.10.6",
32-
"laravel/sail": "^1.23.2",
31+
"laravel/pint": "^1.11.0",
32+
"laravel/sail": "^1.24.0",
3333
"mockery/mockery": "^1.6.6",
3434
"nunomaduro/collision": "^7.8.1",
35-
"phpunit/phpunit": "^10.3.1",
36-
"spatie/laravel-ignition": "^2.2"
35+
"phpunit/phpunit": "^10.3.2",
36+
"spatie/laravel-ignition": "^2.3"
3737
},
3838
"autoload": {
3939
"files": [

0 commit comments

Comments
 (0)