mirror of
https://github.com/linuxserver/Heimdall.git
synced 2026-08-07 07:16:13 +00:00
8a622545ff
- laravel/framework ^12.0 -> ^13.0 (installed 13.19.0) - laravel/tinker ^2.9 -> ^3.0 (installed 3.0.2, pulls psysh >=0.12.19) - phpunit/phpunit ^11.0 -> ^12.0 (installed 12.5.31) - Symfony components move to 8.x (supported by L13); symfony/yaml stays on patched 7.4.14 via its direct ^7.0 constraint - league/commonmark auto-bumped to 2.8.2 (patched) - No application/config code changes required; the fluent validateCsrfTokens(except: ...) config still resolves under L13 composer audit: No security vulnerability advisories found. Full suite green: 59 tests, 128 assertions (1 skipped).
68 lines
1.1 KiB
PHP
68 lines
1.1 KiB
PHP
<?php
|
|
|
|
namespace Illuminate\Cache;
|
|
|
|
class NoLock extends Lock
|
|
{
|
|
/**
|
|
* Attempt to acquire the lock.
|
|
*
|
|
* @return bool
|
|
*/
|
|
public function acquire()
|
|
{
|
|
return true;
|
|
}
|
|
|
|
/**
|
|
* Attempt to refresh the lock for the given number of seconds.
|
|
*
|
|
* @param int|null $seconds
|
|
* @return bool
|
|
*/
|
|
public function refresh($seconds = null)
|
|
{
|
|
return true;
|
|
}
|
|
|
|
/**
|
|
* Release the lock.
|
|
*
|
|
* @return bool
|
|
*/
|
|
public function release()
|
|
{
|
|
return true;
|
|
}
|
|
|
|
/**
|
|
* Releases this lock in disregard of ownership.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function forceRelease()
|
|
{
|
|
//
|
|
}
|
|
|
|
/**
|
|
* Determine if the lock is currently held by any process.
|
|
*
|
|
* @return bool
|
|
*/
|
|
public function isLocked(): bool
|
|
{
|
|
return false;
|
|
}
|
|
|
|
/**
|
|
* Returns the owner value written into the driver for this lock.
|
|
*
|
|
* @return mixed
|
|
*/
|
|
protected function getCurrentOwner()
|
|
{
|
|
return $this->owner;
|
|
}
|
|
}
|