Skip to content

Commit f828431

Browse files
authored
Dependency updates (alexjustesen#298)
1 parent 1e093aa commit f828431

File tree

6 files changed

+55
-309
lines changed

6 files changed

+55
-309
lines changed

_ide_helper.php

Lines changed: 36 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -4183,75 +4183,76 @@ public static function macroCall($method, $parameters)
41834183
return $instance->macroCall($method, $parameters);
41844184
}
41854185
/**
4186-
* Remove all items from the cache.
4186+
* Get a lock instance.
41874187
*
4188-
* @return bool
4188+
* @param string $name
4189+
* @param int $seconds
4190+
* @param string|null $owner
4191+
* @return \Illuminate\Contracts\Cache\Lock
41894192
* @static
41904193
*/
4191-
public static function flush()
4194+
public static function lock($name, $seconds = 0, $owner = null)
41924195
{
4193-
/** @var \Illuminate\Cache\FileStore $instance */
4194-
return $instance->flush();
4196+
/** @var \Illuminate\Cache\DatabaseStore $instance */
4197+
return $instance->lock($name, $seconds, $owner);
41954198
}
41964199
/**
4197-
* Get the Filesystem instance.
4200+
* Restore a lock instance using the owner identifier.
41984201
*
4199-
* @return \Illuminate\Filesystem\Filesystem
4202+
* @param string $name
4203+
* @param string $owner
4204+
* @return \Illuminate\Contracts\Cache\Lock
42004205
* @static
42014206
*/
4202-
public static function getFilesystem()
4207+
public static function restoreLock($name, $owner)
42034208
{
4204-
/** @var \Illuminate\Cache\FileStore $instance */
4205-
return $instance->getFilesystem();
4209+
/** @var \Illuminate\Cache\DatabaseStore $instance */
4210+
return $instance->restoreLock($name, $owner);
42064211
}
42074212
/**
4208-
* Get the working directory of the cache.
4213+
* Remove all items from the cache.
42094214
*
4210-
* @return string
4215+
* @return bool
42114216
* @static
42124217
*/
4213-
public static function getDirectory()
4218+
public static function flush()
42144219
{
4215-
/** @var \Illuminate\Cache\FileStore $instance */
4216-
return $instance->getDirectory();
4220+
/** @var \Illuminate\Cache\DatabaseStore $instance */
4221+
return $instance->flush();
42174222
}
42184223
/**
4219-
* Get the cache key prefix.
4224+
* Get the underlying database connection.
42204225
*
4221-
* @return string
4226+
* @return \Illuminate\Database\MySqlConnection
42224227
* @static
42234228
*/
4224-
public static function getPrefix()
4229+
public static function getConnection()
42254230
{
4226-
/** @var \Illuminate\Cache\FileStore $instance */
4227-
return $instance->getPrefix();
4231+
/** @var \Illuminate\Cache\DatabaseStore $instance */
4232+
return $instance->getConnection();
42284233
}
42294234
/**
4230-
* Get a lock instance.
4235+
* Specify the name of the connection that should be used to manage locks.
42314236
*
4232-
* @param string $name
4233-
* @param int $seconds
4234-
* @param string|null $owner
4235-
* @return \Illuminate\Contracts\Cache\Lock
4237+
* @param \Illuminate\Database\ConnectionInterface $connection
4238+
* @return \Illuminate\Cache\DatabaseStore
42364239
* @static
42374240
*/
4238-
public static function lock($name, $seconds = 0, $owner = null)
4241+
public static function setLockConnection($connection)
42394242
{
4240-
/** @var \Illuminate\Cache\FileStore $instance */
4241-
return $instance->lock($name, $seconds, $owner);
4243+
/** @var \Illuminate\Cache\DatabaseStore $instance */
4244+
return $instance->setLockConnection($connection);
42424245
}
42434246
/**
4244-
* Restore a lock instance using the owner identifier.
4247+
* Get the cache key prefix.
42454248
*
4246-
* @param string $name
4247-
* @param string $owner
4248-
* @return \Illuminate\Contracts\Cache\Lock
4249+
* @return string
42494250
* @static
42504251
*/
4251-
public static function restoreLock($name, $owner)
4252+
public static function getPrefix()
42524253
{
4253-
/** @var \Illuminate\Cache\FileStore $instance */
4254-
return $instance->restoreLock($name, $owner);
4254+
/** @var \Illuminate\Cache\DatabaseStore $instance */
4255+
return $instance->getPrefix();
42554256
}
42564257

42574258
}

app/Filament/Pages/Logs.php

Lines changed: 0 additions & 10 deletions
This file was deleted.

app/Providers/FilamentServiceProvider.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,11 @@
22

33
namespace App\Providers;
44

5-
use App\Models\User;
65
use App\Settings\GeneralSettings;
76
use Filament\Facades\Filament;
87
use Filament\Navigation\NavigationItem;
98
use FilamentVersions\Facades\FilamentVersions;
109
use Illuminate\Support\ServiceProvider;
11-
use RyanChandler\FilamentLog\Logs;
1210

1311
class FilamentServiceProvider extends ServiceProvider
1412
{
@@ -29,10 +27,6 @@ public function register()
2927
*/
3028
public function boot()
3129
{
32-
Logs::can(function (User $user) {
33-
return true;
34-
});
35-
3630
try {
3731
config(['filament.brand' => app(GeneralSettings::class)->site_name ?? env('APP_NAME')]);
3832
} catch (\Throwable $th) {

composer.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
"license": "MIT",
77
"require": {
88
"php": "^8.0.2",
9-
"amvisor/filament-failed-jobs": "^0.6.0",
109
"awcodes/filament-versions": "^1.0",
1110
"doctrine/dbal": "^3.4",
1211
"dragonmantank/cron-expression": "^3.3",
@@ -17,7 +16,6 @@
1716
"laravel/framework": "^9.19",
1817
"laravel/sanctum": "^3.0",
1918
"laravel/tinker": "^2.7",
20-
"ryangjchandler/filament-log": "^0.2.0",
2119
"spatie/laravel-settings": "^2.4",
2220
"squirephp/timezones-en": "^3.3"
2321
},

0 commit comments

Comments
 (0)