Download project

This commit is contained in:
Roman Pyrih
2024-11-20 09:09:44 +01:00
parent 547a138d6a
commit 5ff041757f
40737 changed files with 7766183 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
<?php
namespace PrestaShop\Module\PsAccounts\Vendor;
\class_exists(\PrestaShop\Module\PsAccounts\Vendor\Lcobucci\JWT\Token\Plain::class, \false) || \class_alias(\PrestaShop\Module\PsAccounts\Vendor\Lcobucci\JWT\Token::class, \PrestaShop\Module\PsAccounts\Vendor\Lcobucci\JWT\Token\Plain::class);
\class_exists(\PrestaShop\Module\PsAccounts\Vendor\Lcobucci\JWT\Token\Signature::class, \false) || \class_alias(\PrestaShop\Module\PsAccounts\Vendor\Lcobucci\JWT\Signature::class, \PrestaShop\Module\PsAccounts\Vendor\Lcobucci\JWT\Token\Signature::class);

View File

@@ -0,0 +1,11 @@
<?php
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
header("Location: ../");
exit;

View File

@@ -0,0 +1,9 @@
<?php
namespace PrestaShop\Module\PsAccounts\Vendor;
if (\PHP_VERSION_ID < 70300 && !\class_exists('JsonException')) {
class JsonException extends \Exception
{
}
}

View File

@@ -0,0 +1,59 @@
<?php
namespace PrestaShop\Module\PsAccounts\Vendor\Lcobucci\Clock;
use DateTimeImmutable;
use DateTimeZone;
use function interface_exists;
if (!interface_exists(Clock::class)) {
interface Clock
{
/** @return DateTimeImmutable */
public function now();
}
final class FrozenClock implements Clock
{
/** @var DateTimeImmutable */
private $now;
public function __construct(DateTimeImmutable $now)
{
$this->now = $now;
}
/** @return self */
public static function fromUTC()
{
return new self(new DateTimeImmutable('now', new DateTimeZone('UTC')));
}
public function setTo(DateTimeImmutable $now)
{
$this->now = $now;
}
public function now()
{
return $this->now;
}
}
final class SystemClock implements Clock
{
/** @var DateTimeZone */
private $timezone;
public function __construct(DateTimeZone $timezone)
{
$this->timezone = $timezone;
}
/** @return self */
public static function fromUTC()
{
return new self(new DateTimeZone('UTC'));
}
/** @return self */
public static function fromSystemTimezone()
{
return new self(new DateTimeZone(\date_default_timezone_get()));
}
public function now()
{
return new DateTimeImmutable('now', $this->timezone);
}
}
}