chore: update CI4 + shield + other php and js packages

This commit is contained in:
Yassine Doghri 2024-01-01 22:54:59 +00:00
parent 222e02a2af
commit 6f8217e1a6
21 changed files with 1808 additions and 1659 deletions

View File

@ -29,8 +29,7 @@ class App extends BaseConfig
* 'http://accounts.example.com/': * 'http://accounts.example.com/':
* ['media.example.com', 'accounts.example.com'] * ['media.example.com', 'accounts.example.com']
* *
* @var string[] * @var list<string>
* @phpstan-var list<string>
*/ */
public array $allowedHostnames = []; public array $allowedHostnames = [];

View File

@ -41,8 +41,7 @@ class Autoload extends AutoloadConfig
* 'App' => APPPATH * 'App' => APPPATH
* ]; * ];
* *
* @var array<string, array<int, string>|string> * @var array<string, list<string>|string>
* @phpstan-var array<string, string|list<string>>
*/ */
public $psr4 = [ public $psr4 = [
APP_NAMESPACE => APPPATH, APP_NAMESPACE => APPPATH,
@ -100,8 +99,7 @@ class Autoload extends AutoloadConfig
* '/path/to/my/file.php', * '/path/to/my/file.php',
* ]; * ];
* *
* @var string[] * @var list<string>
* @phpstan-var list<string>
*/ */
public $files = [APPPATH . 'Libraries/ViewComponents/Helpers/view_components_helper.php']; public $files = [APPPATH . 'Libraries/ViewComponents/Helpers/view_components_helper.php'];
@ -114,8 +112,7 @@ class Autoload extends AutoloadConfig
* 'form', * 'form',
* ]; * ];
* *
* @var string[] * @var list<string>
* @phpstan-var list<string>
*/ */
public $helpers = ['auth', 'setting']; public $helpers = ['auth', 'setting'];
} }

View File

@ -12,7 +12,7 @@ declare(strict_types=1);
* *
* If you set 'display_errors' to '1', CI4's detailed error report will show. * If you set 'display_errors' to '1', CI4's detailed error report will show.
*/ */
error_reporting(-1); error_reporting(E_ALL);
ini_set('display_errors', '1'); ini_set('display_errors', '1');
/** /**

View File

@ -16,7 +16,7 @@ declare(strict_types=1);
* make sure they don't make it to production. And save us hours of * make sure they don't make it to production. And save us hours of
* painful debugging. * painful debugging.
*/ */
error_reporting(-1); error_reporting(E_ALL);
ini_set('display_errors', '1'); ini_set('display_errors', '1');
/** /**

View File

@ -4,6 +4,7 @@ declare(strict_types=1);
namespace Config; namespace Config;
use CodeIgniter\Cache\CacheInterface;
use CodeIgniter\Cache\Handlers\DummyHandler; use CodeIgniter\Cache\Handlers\DummyHandler;
use CodeIgniter\Cache\Handlers\FileHandler; use CodeIgniter\Cache\Handlers\FileHandler;
use CodeIgniter\Cache\Handlers\MemcachedHandler; use CodeIgniter\Cache\Handlers\MemcachedHandler;
@ -159,7 +160,7 @@ class Cache extends BaseConfig
* This is an array of cache engine alias' and class names. Only engines * This is an array of cache engine alias' and class names. Only engines
* that are listed here are allowed to be used. * that are listed here are allowed to be used.
* *
* @var array<string, string> * @var array<string, class-string<CacheInterface>>
*/ */
public array $validHandlers = [ public array $validHandlers = [
'dummy' => DummyHandler::class, 'dummy' => DummyHandler::class,

View File

@ -30,7 +30,7 @@ class Email extends BaseConfig
public string $mailPath = '/usr/sbin/sendmail'; public string $mailPath = '/usr/sbin/sendmail';
/** /**
* SMTP Server Address * SMTP Server Hostname
*/ */
public string $SMTPHost = ''; public string $SMTPHost = '';

View File

@ -18,9 +18,8 @@ class Filters extends BaseConfig
/** /**
* Configures aliases for Filter classes to make reading things nicer and simpler. * Configures aliases for Filter classes to make reading things nicer and simpler.
* *
* @var array<string, array<int, string>|string> [filter_name => classname] * @var array<string, class-string|list<class-string>> [filter_name => classname]
* or [filter_name => [classname1, classname2, ...]] * or [filter_name => [classname1, classname2, ...]]
* @phpstan-var array<string, class-string|list<class-string>>
*/ */
public array $aliases = [ public array $aliases = [
'csrf' => CSRF::class, 'csrf' => CSRF::class,
@ -34,8 +33,7 @@ class Filters extends BaseConfig
/** /**
* List of filter aliases that are always applied before and after every request. * List of filter aliases that are always applied before and after every request.
* *
* @var array<string, array<string, array<string, string>>>|array<string, array<string>> * @var array<string, array<string, array<string, string>>>|array<string, list<string>>
* @phpstan-var array<string, list<string>>|array<string, array<string, array<string, string>>>
*/ */
public array $globals = [ public array $globals = [
'before' => [ 'before' => [

View File

@ -5,7 +5,10 @@ declare(strict_types=1);
namespace Config; namespace Config;
use CodeIgniter\Config\BaseConfig; use CodeIgniter\Config\BaseConfig;
use Kint\Parser\ConstructablePluginInterface;
use Kint\Renderer\AbstractRenderer; use Kint\Renderer\AbstractRenderer;
use Kint\Renderer\Rich\TabPluginInterface;
use Kint\Renderer\Rich\ValuePluginInterface;
/** /**
* -------------------------------------------------------------------------- * --------------------------------------------------------------------------
@ -26,9 +29,9 @@ class Kint extends BaseConfig
*/ */
/** /**
* @var string[] * @var list<class-string<ConstructablePluginInterface>|ConstructablePluginInterface>|null
*/ */
public array $plugins = []; public ?array $plugins = [];
public int $maxDepth = 6; public int $maxDepth = 6;
@ -49,14 +52,14 @@ class Kint extends BaseConfig
public int $richSort = AbstractRenderer::SORT_FULL; public int $richSort = AbstractRenderer::SORT_FULL;
/** /**
* @var string[] * @var array<string, class-string<ValuePluginInterface>>|null
*/ */
public array $richObjectPlugins = []; public ?array $richObjectPlugins = [];
/** /**
* @var string[] * @var array<string, class-string<TabPluginInterface>>|null
*/ */
public array $richTabPlugins = []; public ?array $richTabPlugins = [];
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------

View File

@ -60,7 +60,7 @@ class Modules extends BaseModules
* ], * ],
* ] * ]
* *
* @var array{only?:string[], exclude?:string[]} * @var array{only?: list<string>, exclude?: list<string>}
*/ */
public $composerPackages = []; public $composerPackages = [];
@ -74,7 +74,7 @@ class Modules extends BaseModules
* *
* If it is not listed, only the base application elements will be used. * If it is not listed, only the base application elements will be used.
* *
* @var string[] * @var list<string>
*/ */
public $aliases = ['events', 'filters', 'registrars', 'routes', 'services']; public $aliases = ['events', 'filters', 'registrars', 'routes', 'services'];
} }

View File

@ -19,7 +19,7 @@ class Publisher extends BasePublisher
* to directories not in this list will result in a PublisherException. Files that do no fit the pattern will cause * to directories not in this list will result in a PublisherException. Files that do no fit the pattern will cause
* copy/merge to fail. * copy/merge to fail.
* *
* @var array<string,string> * @var array<string, string>
*/ */
public $restrictions = [ public $restrictions = [
ROOTPATH => '*', ROOTPATH => '*',

View File

@ -21,7 +21,7 @@ class Session extends BaseConfig
* - `CodeIgniter\Session\Handlers\MemcachedHandler` * - `CodeIgniter\Session\Handlers\MemcachedHandler`
* - `CodeIgniter\Session\Handlers\RedisHandler` * - `CodeIgniter\Session\Handlers\RedisHandler`
* *
* @phpstan-var class-string<BaseHandler> * @var class-string<BaseHandler>
*/ */
public string $driver = FileHandler::class; public string $driver = FileHandler::class;

View File

@ -218,6 +218,7 @@ class EpisodeModel extends UuidModel
/** @var LazyUuidFromString $uuid */ /** @var LazyUuidFromString $uuid */
$uuid = $this->uuid->{$this->uuidVersion}(); $uuid = $this->uuid->{$this->uuidVersion}();
// @phpstan-ignore-next-line
if (! $this->update($episodeId, [ if (! $this->update($episodeId, [
'preview_id' => $uuid, 'preview_id' => $uuid,
])) { ])) {

View File

@ -84,7 +84,7 @@ class PlatformModel extends Model
string $label, string $label,
string $homeUrl, string $homeUrl,
string $submitUrl = null string $submitUrl = null
): int | false { ): bool {
$data = [ $data = [
'slug' => $slug, 'slug' => $slug,
'type' => $type, 'type' => $type,

View File

@ -5,17 +5,26 @@ declare(strict_types=1);
use CodeIgniter\CLI\CLI; use CodeIgniter\CLI\CLI;
// The main Exception // The main Exception
CLI::newLine();
CLI::write('[' . get_class($exception) . ']', 'light_gray', 'red'); CLI::write('[' . get_class($exception) . ']', 'light_gray', 'red');
CLI::newLine();
CLI::write($message); CLI::write($message);
CLI::newLine();
CLI::write('at ' . CLI::color(clean_path($exception->getFile()) . ':' . $exception->getLine(), 'green')); CLI::write('at ' . CLI::color(clean_path($exception->getFile()) . ':' . $exception->getLine(), 'green'));
CLI::newLine(); CLI::newLine();
$last = $exception;
while ($prevException = $last->getPrevious()) {
$last = $prevException;
CLI::write(' Caused by:');
CLI::write(' [' . get_class($prevException) . ']', 'red');
CLI::write(' ' . $prevException->getMessage());
CLI::write(' at ' . CLI::color(clean_path($prevException->getFile()) . ':' . $prevException->getLine(), 'green'));
CLI::newLine();
}
// The backtrace // The backtrace
if (defined('SHOW_DEBUG_BACKTRACE') && SHOW_DEBUG_BACKTRACE) { if (defined('SHOW_DEBUG_BACKTRACE') && SHOW_DEBUG_BACKTRACE) {
$backtraces = $exception->getTrace(); $backtraces = $last->getTrace();
if ($backtraces) { if ($backtraces) {
CLI::write('Backtrace:', 'green'); CLI::write('Backtrace:', 'green');

View File

@ -47,6 +47,29 @@ $errorId = uniqid('error', true);
<?php endif; ?> <?php endif; ?>
</div> </div>
<div class="container">
<?php
$last = $exception;
while ($prevException = $last->getPrevious()) {
$last = $prevException;
?>
<pre>
Caused by:
<?= esc(get_class($prevException)), esc($prevException->getCode() ? ' #' . $prevException->getCode() : '') ?>
<?= nl2br(esc($prevException->getMessage())) ?>
<a href="https://www.duckduckgo.com/?q=<?= urlencode(get_class($prevException) . ' ' . preg_replace('#\'.*\'|".*"#Us', '', $prevException->getMessage())) ?>"
rel="noreferrer" target="_blank">search &rarr;</a>
<?= esc(clean_path($prevException->getFile()) . ':' . $prevException->getLine()) ?>
</pre>
<?php
}
?>
</div>
<?php if (defined('SHOW_DEBUG_BACKTRACE') && SHOW_DEBUG_BACKTRACE) : ?> <?php if (defined('SHOW_DEBUG_BACKTRACE') && SHOW_DEBUG_BACKTRACE) : ?>
<div class="container"> <div class="container">
@ -72,11 +95,11 @@ $errorId = uniqid('error', true);
<!-- Trace info --> <!-- Trace info -->
<?php if (isset($row['file']) && is_file($row['file'])) : ?> <?php if (isset($row['file']) && is_file($row['file'])) : ?>
<?php <?php
if (isset($row['function']) && in_array($row['function'], ['include', 'include_once', 'require', 'require_once'], true)) { if (isset($row['function']) && in_array($row['function'], ['include', 'include_once', 'require', 'require_once'], true)) {
echo esc($row['function'] . ' ' . clean_path($row['file'])); echo esc($row['function'] . ' ' . clean_path($row['file']));
} else { } else {
echo esc(clean_path($row['file']) . ' : ' . $row['line']); echo esc(clean_path($row['file']) . ' : ' . $row['line']);
} }
?> ?>
<?php else : ?> <?php else : ?>
{PHP internal code} {PHP internal code}

View File

@ -9,12 +9,12 @@
"php": "^8.1", "php": "^8.1",
"adaures/ipcat-php": "^v1.0.0", "adaures/ipcat-php": "^v1.0.0",
"adaures/podcast-persons-taxonomy": "^v1.0.1", "adaures/podcast-persons-taxonomy": "^v1.0.1",
"aws/aws-sdk-php": "^3.294.4", "aws/aws-sdk-php": "^3.295.3",
"chrisjean/php-ico": "^1.0.4", "chrisjean/php-ico": "^1.0.4",
"cocur/slugify": "^v4.5.1", "cocur/slugify": "^v4.5.1",
"codeigniter4/framework": "v4.4.3", "codeigniter4/framework": "v4.4.4",
"codeigniter4/settings": "v2.1.2", "codeigniter4/settings": "v2.1.2",
"codeigniter4/shield": "v1.0.0-beta.8", "codeigniter4/shield": "v1.0.0",
"codeigniter4/tasks": "dev-develop", "codeigniter4/tasks": "dev-develop",
"geoip2/geoip2": "v3.0.0", "geoip2/geoip2": "v3.0.0",
"james-heinrich/getid3": "^2.0.0-beta5", "james-heinrich/getid3": "^2.0.0-beta5",
@ -24,7 +24,7 @@
"michalsn/codeigniter4-uuid": "v1.0.2", "michalsn/codeigniter4-uuid": "v1.0.2",
"mpratt/embera": "^2.0.36", "mpratt/embera": "^2.0.36",
"opawg/user-agents-v2-php": "dev-main", "opawg/user-agents-v2-php": "dev-main",
"phpseclib/phpseclib": "~2.0.45", "phpseclib/phpseclib": "~2.0.46",
"vlucas/phpdotenv": "v5.6.0", "vlucas/phpdotenv": "v5.6.0",
"whichbrowser/parser": "^v2.1.7", "whichbrowser/parser": "^v2.1.7",
"yassinedoghri/podcast-feed": "dev-main" "yassinedoghri/podcast-feed": "dev-main"
@ -35,7 +35,7 @@
"mikey179/vfsstream": "^v1.6.11", "mikey179/vfsstream": "^v1.6.11",
"phpstan/extension-installer": "^1.3.1", "phpstan/extension-installer": "^1.3.1",
"phpstan/phpstan": "^1.10.50", "phpstan/phpstan": "^1.10.50",
"phpunit/phpunit": "^10.5.3", "phpunit/phpunit": "^10.5.5",
"rector/rector": "^0.18.13", "rector/rector": "^0.18.13",
"symplify/coding-standard": "^12.0.7", "symplify/coding-standard": "^12.0.7",
"symplify/easy-coding-standard": "^12.0.13" "symplify/easy-coding-standard": "^12.0.13"

119
composer.lock generated
View File

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "2127030d8f3ed9c557e03a6ea20f11e2", "content-hash": "69ff48ebf4e599995465a1839dc6001c",
"packages": [ "packages": [
{ {
"name": "adaures/ipcat-php", "name": "adaures/ipcat-php",
@ -120,16 +120,16 @@
}, },
{ {
"name": "aws/aws-sdk-php", "name": "aws/aws-sdk-php",
"version": "3.294.4", "version": "3.295.3",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/aws/aws-sdk-php.git", "url": "https://github.com/aws/aws-sdk-php.git",
"reference": "4f59bf50aa445fc3ec0b10648b205dd2465e9bec" "reference": "3346f60c6c5075453f90f703693f764dad76a3a8"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/4f59bf50aa445fc3ec0b10648b205dd2465e9bec", "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/3346f60c6c5075453f90f703693f764dad76a3a8",
"reference": "4f59bf50aa445fc3ec0b10648b205dd2465e9bec", "reference": "3346f60c6c5075453f90f703693f764dad76a3a8",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -205,9 +205,9 @@
"support": { "support": {
"forum": "https://forums.aws.amazon.com/forum.jspa?forumID=80", "forum": "https://forums.aws.amazon.com/forum.jspa?forumID=80",
"issues": "https://github.com/aws/aws-sdk-php/issues", "issues": "https://github.com/aws/aws-sdk-php/issues",
"source": "https://github.com/aws/aws-sdk-php/tree/3.294.4" "source": "https://github.com/aws/aws-sdk-php/tree/3.295.3"
}, },
"time": "2023-12-20T19:21:19+00:00" "time": "2023-12-28T19:32:33+00:00"
}, },
{ {
"name": "brick/math", "name": "brick/math",
@ -373,16 +373,16 @@
}, },
{ {
"name": "codeigniter4/framework", "name": "codeigniter4/framework",
"version": "v4.4.3", "version": "v4.4.4",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/codeigniter4/framework.git", "url": "https://github.com/codeigniter4/framework.git",
"reference": "a0339851ed3fa122a4a0e7930c62a1463e0cb257" "reference": "7c170c4e6bde1b879ee67a8a5457c06cfc3ad07a"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/codeigniter4/framework/zipball/a0339851ed3fa122a4a0e7930c62a1463e0cb257", "url": "https://api.github.com/repos/codeigniter4/framework/zipball/7c170c4e6bde1b879ee67a8a5457c06cfc3ad07a",
"reference": "a0339851ed3fa122a4a0e7930c62a1463e0cb257", "reference": "7c170c4e6bde1b879ee67a8a5457c06cfc3ad07a",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -396,7 +396,7 @@
"require-dev": { "require-dev": {
"codeigniter/coding-standard": "^1.5", "codeigniter/coding-standard": "^1.5",
"fakerphp/faker": "^1.9", "fakerphp/faker": "^1.9",
"friendsofphp/php-cs-fixer": "3.13.0", "friendsofphp/php-cs-fixer": "~3.41.0",
"kint-php/kint": "^5.0.4", "kint-php/kint": "^5.0.4",
"mikey179/vfsstream": "^1.6", "mikey179/vfsstream": "^1.6",
"nexusphp/cs-config": "^3.6", "nexusphp/cs-config": "^3.6",
@ -419,6 +419,7 @@
"ext-readline": "Improves CLI::input() usability", "ext-readline": "Improves CLI::input() usability",
"ext-redis": "If you use Cache class RedisHandler", "ext-redis": "If you use Cache class RedisHandler",
"ext-simplexml": "If you format XML", "ext-simplexml": "If you format XML",
"ext-sodium": "If you use Encryption SodiumHandler",
"ext-sqlite3": "If you use SQLite3", "ext-sqlite3": "If you use SQLite3",
"ext-sqlsrv": "If you use SQL Server", "ext-sqlsrv": "If you use SQL Server",
"ext-xdebug": "If you use CIUnitTestCase::assertHeaderEmitted()" "ext-xdebug": "If you use CIUnitTestCase::assertHeaderEmitted()"
@ -439,7 +440,7 @@
"slack": "https://codeigniterchat.slack.com", "slack": "https://codeigniterchat.slack.com",
"source": "https://github.com/codeigniter4/CodeIgniter4" "source": "https://github.com/codeigniter4/CodeIgniter4"
}, },
"time": "2023-10-26T22:45:01+00:00" "time": "2023-12-28T10:37:53+00:00"
}, },
{ {
"name": "codeigniter4/settings", "name": "codeigniter4/settings",
@ -490,16 +491,16 @@
}, },
{ {
"name": "codeigniter4/shield", "name": "codeigniter4/shield",
"version": "v1.0.0-beta.8", "version": "v1.0.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/codeigniter4/shield.git", "url": "https://github.com/codeigniter4/shield.git",
"reference": "434e5a0e550d24199dc4f04033a872e8d3d847d7" "reference": "7be6b60250158ade521a6f0fdb15ece02254d09a"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/codeigniter4/shield/zipball/434e5a0e550d24199dc4f04033a872e8d3d847d7", "url": "https://api.github.com/repos/codeigniter4/shield/zipball/7be6b60250158ade521a6f0fdb15ece02254d09a",
"reference": "434e5a0e550d24199dc4f04033a872e8d3d847d7", "reference": "7be6b60250158ade521a6f0fdb15ece02254d09a",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -518,7 +519,7 @@
"mockery/mockery": "^1.0", "mockery/mockery": "^1.0",
"phpstan/extension-installer": "^1.3", "phpstan/extension-installer": "^1.3",
"phpstan/phpstan-strict-rules": "^1.5", "phpstan/phpstan-strict-rules": "^1.5",
"rector/rector": "0.18.10" "rector/rector": "0.18.13"
}, },
"suggest": { "suggest": {
"ext-curl": "Required to use the password validation rule via PwnedValidator class.", "ext-curl": "Required to use the password validation rule via PwnedValidator class.",
@ -555,7 +556,7 @@
"slack": "https://codeigniterchat.slack.com", "slack": "https://codeigniterchat.slack.com",
"source": "https://github.com/codeigniter4/shield" "source": "https://github.com/codeigniter4/shield"
}, },
"time": "2023-11-22T23:56:12+00:00" "time": "2023-12-27T06:55:58+00:00"
}, },
{ {
"name": "codeigniter4/tasks", "name": "codeigniter4/tasks",
@ -563,12 +564,12 @@
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/codeigniter4/tasks.git", "url": "https://github.com/codeigniter4/tasks.git",
"reference": "f9a94eb7a4817ea74fa0c193626671922d1ac5fc" "reference": "429a51a2a99ad68c82b6583f5c4ad0de8ad88e46"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/codeigniter4/tasks/zipball/f9a94eb7a4817ea74fa0c193626671922d1ac5fc", "url": "https://api.github.com/repos/codeigniter4/tasks/zipball/429a51a2a99ad68c82b6583f5c4ad0de8ad88e46",
"reference": "f9a94eb7a4817ea74fa0c193626671922d1ac5fc", "reference": "429a51a2a99ad68c82b6583f5c4ad0de8ad88e46",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -579,7 +580,7 @@
"require-dev": { "require-dev": {
"codeigniter4/devkit": "^1.0", "codeigniter4/devkit": "^1.0",
"codeigniter4/framework": "^4.1", "codeigniter4/framework": "^4.1",
"rector/rector": "0.18.12" "rector/rector": "0.18.13"
}, },
"default-branch": true, "default-branch": true,
"type": "library", "type": "library",
@ -637,7 +638,7 @@
"source": "https://github.com/codeigniter4/tasks/tree/develop", "source": "https://github.com/codeigniter4/tasks/tree/develop",
"issues": "https://github.com/codeigniter4/tasks/issues" "issues": "https://github.com/codeigniter4/tasks/issues"
}, },
"time": "2023-12-17T16:05:01+00:00" "time": "2023-12-22T18:29:10+00:00"
}, },
{ {
"name": "composer/ca-bundle", "name": "composer/ca-bundle",
@ -2165,16 +2166,16 @@
}, },
{ {
"name": "phpseclib/phpseclib", "name": "phpseclib/phpseclib",
"version": "2.0.45", "version": "2.0.46",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/phpseclib/phpseclib.git", "url": "https://github.com/phpseclib/phpseclib.git",
"reference": "28d8f438a0064c9de80857e3270d071495544640" "reference": "498e67a0c82bd5791fda9b0dd0f4ec8e8aebb02d"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/phpseclib/phpseclib/zipball/28d8f438a0064c9de80857e3270d071495544640", "url": "https://api.github.com/repos/phpseclib/phpseclib/zipball/498e67a0c82bd5791fda9b0dd0f4ec8e8aebb02d",
"reference": "28d8f438a0064c9de80857e3270d071495544640", "reference": "498e67a0c82bd5791fda9b0dd0f4ec8e8aebb02d",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -2251,7 +2252,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/phpseclib/phpseclib/issues", "issues": "https://github.com/phpseclib/phpseclib/issues",
"source": "https://github.com/phpseclib/phpseclib/tree/2.0.45" "source": "https://github.com/phpseclib/phpseclib/tree/2.0.46"
}, },
"funding": [ "funding": [
{ {
@ -2267,7 +2268,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2023-09-15T20:55:47+00:00" "time": "2023-12-29T01:52:43+00:00"
}, },
{ {
"name": "psr/cache", "name": "psr/cache",
@ -3622,16 +3623,16 @@
}, },
{ {
"name": "friendsofphp/php-cs-fixer", "name": "friendsofphp/php-cs-fixer",
"version": "v3.41.1", "version": "v3.43.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer.git", "url": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer.git",
"reference": "8b6ae8dcbaf23f09680643ab832a4a3a260265f6" "reference": "91c0b47216aa43b09656b4d99aa9dade2f3ad8fc"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/8b6ae8dcbaf23f09680643ab832a4a3a260265f6", "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/91c0b47216aa43b09656b4d99aa9dade2f3ad8fc",
"reference": "8b6ae8dcbaf23f09680643ab832a4a3a260265f6", "reference": "91c0b47216aa43b09656b4d99aa9dade2f3ad8fc",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -3661,8 +3662,7 @@
"php-cs-fixer/accessible-object": "^1.1", "php-cs-fixer/accessible-object": "^1.1",
"php-cs-fixer/phpunit-constraint-isidenticalstring": "^1.4", "php-cs-fixer/phpunit-constraint-isidenticalstring": "^1.4",
"php-cs-fixer/phpunit-constraint-xmlmatchesxsd": "^1.4", "php-cs-fixer/phpunit-constraint-xmlmatchesxsd": "^1.4",
"phpunit/phpunit": "^9.6", "phpunit/phpunit": "^9.6 || ^10.5.5",
"symfony/phpunit-bridge": "^6.3.8 || ^7.0",
"symfony/yaml": "^5.4 || ^6.0 || ^7.0" "symfony/yaml": "^5.4 || ^6.0 || ^7.0"
}, },
"suggest": { "suggest": {
@ -3697,7 +3697,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues", "issues": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues",
"source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.41.1" "source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.43.1"
}, },
"funding": [ "funding": [
{ {
@ -3705,7 +3705,7 @@
"type": "github" "type": "github"
} }
], ],
"time": "2023-12-10T19:59:27+00:00" "time": "2023-12-29T09:42:16+00:00"
}, },
{ {
"name": "mikey179/vfsstream", "name": "mikey179/vfsstream",
@ -4341,16 +4341,16 @@
}, },
{ {
"name": "phpunit/phpunit", "name": "phpunit/phpunit",
"version": "10.5.3", "version": "10.5.5",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/sebastianbergmann/phpunit.git", "url": "https://github.com/sebastianbergmann/phpunit.git",
"reference": "6fce887c71076a73f32fd3e0774a6833fc5c7f19" "reference": "ed21115d505b4b4f7dc7b5651464e19a2c7f7856"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/6fce887c71076a73f32fd3e0774a6833fc5c7f19", "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/ed21115d505b4b4f7dc7b5651464e19a2c7f7856",
"reference": "6fce887c71076a73f32fd3e0774a6833fc5c7f19", "reference": "ed21115d505b4b4f7dc7b5651464e19a2c7f7856",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -4410,7 +4410,7 @@
"support": { "support": {
"issues": "https://github.com/sebastianbergmann/phpunit/issues", "issues": "https://github.com/sebastianbergmann/phpunit/issues",
"security": "https://github.com/sebastianbergmann/phpunit/security/policy", "security": "https://github.com/sebastianbergmann/phpunit/security/policy",
"source": "https://github.com/sebastianbergmann/phpunit/tree/10.5.3" "source": "https://github.com/sebastianbergmann/phpunit/tree/10.5.5"
}, },
"funding": [ "funding": [
{ {
@ -4426,7 +4426,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2023-12-13T07:25:23+00:00" "time": "2023-12-27T15:13:52+00:00"
}, },
{ {
"name": "psr/container", "name": "psr/container",
@ -4804,16 +4804,16 @@
}, },
{ {
"name": "sebastian/diff", "name": "sebastian/diff",
"version": "5.0.3", "version": "5.1.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/sebastianbergmann/diff.git", "url": "https://github.com/sebastianbergmann/diff.git",
"reference": "912dc2fbe3e3c1e7873313cc801b100b6c68c87b" "reference": "fbf413a49e54f6b9b17e12d900ac7f6101591b7f"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/912dc2fbe3e3c1e7873313cc801b100b6c68c87b", "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/fbf413a49e54f6b9b17e12d900ac7f6101591b7f",
"reference": "912dc2fbe3e3c1e7873313cc801b100b6c68c87b", "reference": "fbf413a49e54f6b9b17e12d900ac7f6101591b7f",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -4826,7 +4826,7 @@
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-main": "5.0-dev" "dev-main": "5.1-dev"
} }
}, },
"autoload": { "autoload": {
@ -4850,7 +4850,7 @@
"support": { "support": {
"issues": "https://github.com/sebastianbergmann/diff/issues", "issues": "https://github.com/sebastianbergmann/diff/issues",
"security": "https://github.com/sebastianbergmann/diff/security/policy", "security": "https://github.com/sebastianbergmann/diff/security/policy",
"source": "https://github.com/sebastianbergmann/diff/tree/5.0.3" "source": "https://github.com/sebastianbergmann/diff/tree/5.1.0"
}, },
"funding": [ "funding": [
{ {
@ -4858,7 +4858,7 @@
"type": "github" "type": "github"
} }
], ],
"time": "2023-05-01T07:48:21+00:00" "time": "2023-12-22T10:55:06+00:00"
}, },
{ {
"name": "sebastian/environment", "name": "sebastian/environment",
@ -6218,21 +6218,21 @@
}, },
{ {
"name": "symfony/service-contracts", "name": "symfony/service-contracts",
"version": "v3.4.0", "version": "v3.4.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/service-contracts.git", "url": "https://github.com/symfony/service-contracts.git",
"reference": "b3313c2dbffaf71c8de2934e2ea56ed2291a3838" "reference": "fe07cbc8d837f60caf7018068e350cc5163681a0"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/service-contracts/zipball/b3313c2dbffaf71c8de2934e2ea56ed2291a3838", "url": "https://api.github.com/repos/symfony/service-contracts/zipball/fe07cbc8d837f60caf7018068e350cc5163681a0",
"reference": "b3313c2dbffaf71c8de2934e2ea56ed2291a3838", "reference": "fe07cbc8d837f60caf7018068e350cc5163681a0",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=8.1", "php": ">=8.1",
"psr/container": "^2.0" "psr/container": "^1.1|^2.0"
}, },
"conflict": { "conflict": {
"ext-psr": "<1.1|>=2" "ext-psr": "<1.1|>=2"
@ -6276,7 +6276,7 @@
"standards" "standards"
], ],
"support": { "support": {
"source": "https://github.com/symfony/service-contracts/tree/v3.4.0" "source": "https://github.com/symfony/service-contracts/tree/v3.4.1"
}, },
"funding": [ "funding": [
{ {
@ -6292,7 +6292,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2023-07-30T20:28:31+00:00" "time": "2023-12-26T14:02:43+00:00"
}, },
{ {
"name": "symfony/stopwatch", "name": "symfony/stopwatch",
@ -6640,7 +6640,6 @@
"aliases": [], "aliases": [],
"minimum-stability": "stable", "minimum-stability": "stable",
"stability-flags": { "stability-flags": {
"codeigniter4/shield": 10,
"codeigniter4/tasks": 20, "codeigniter4/tasks": 20,
"james-heinrich/getid3": 10, "james-heinrich/getid3": 10,
"opawg/user-agents-v2-php": 20, "opawg/user-agents-v2-php": 20,
@ -6652,5 +6651,5 @@
"php": "^8.1" "php": "^8.1"
}, },
"platform-dev": [], "platform-dev": [],
"plugin-api-version": "2.6.0" "plugin-api-version": "2.3.0"
} }

2
env
View File

@ -140,4 +140,4 @@
# CURLRequest # CURLRequest
#-------------------------------------------------------------------- #--------------------------------------------------------------------
# curlrequest.shareOptions = true # curlrequest.shareOptions = false

View File

@ -30,11 +30,11 @@
"dependencies": { "dependencies": {
"@amcharts/amcharts4": "^4.10.38", "@amcharts/amcharts4": "^4.10.38",
"@amcharts/amcharts4-geodata": "^4.1.28", "@amcharts/amcharts4-geodata": "^4.1.28",
"@codemirror/commands": "^6.3.2", "@codemirror/commands": "^6.3.3",
"@codemirror/lang-xml": "^6.0.2", "@codemirror/lang-xml": "^6.0.2",
"@codemirror/language": "^6.9.3", "@codemirror/language": "^6.10.0",
"@codemirror/state": "^6.3.3", "@codemirror/state": "^6.4.0",
"@codemirror/view": "^6.22.3", "@codemirror/view": "^6.23.0",
"@floating-ui/dom": "^1.5.3", "@floating-ui/dom": "^1.5.3",
"@github/clipboard-copy-element": "^1.3.0", "@github/clipboard-copy-element": "^1.3.0",
"@github/hotkey": "^3.1.0", "@github/hotkey": "^3.1.0",
@ -49,7 +49,7 @@
"leaflet.markercluster": "^1.5.3", "leaflet.markercluster": "^1.5.3",
"lit": "^3.1.0", "lit": "^3.1.0",
"marked": "^11.1.0", "marked": "^11.1.0",
"wavesurfer.js": "^7.5.3", "wavesurfer.js": "^7.6.0",
"xml-formatter": "^3.6.0" "xml-formatter": "^3.6.0"
}, },
"devDependencies": { "devDependencies": {
@ -63,8 +63,8 @@
"@tailwindcss/forms": "^0.5.7", "@tailwindcss/forms": "^0.5.7",
"@tailwindcss/typography": "^0.5.10", "@tailwindcss/typography": "^0.5.10",
"@types/leaflet": "^1.9.8", "@types/leaflet": "^1.9.8",
"@typescript-eslint/eslint-plugin": "^6.15.0", "@typescript-eslint/eslint-plugin": "^6.16.0",
"@typescript-eslint/parser": "^6.15.0", "@typescript-eslint/parser": "^6.16.0",
"all-contributors-cli": "^6.26.1", "all-contributors-cli": "^6.26.1",
"commitizen": "^4.3.0", "commitizen": "^4.3.0",
"cross-env": "^7.0.3", "cross-env": "^7.0.3",
@ -84,8 +84,8 @@
"prettier": "2.8.8", "prettier": "2.8.8",
"prettier-plugin-organize-imports": "^3.2.4", "prettier-plugin-organize-imports": "^3.2.4",
"semantic-release": "^22.0.12", "semantic-release": "^22.0.12",
"stylelint": "^16.0.2", "stylelint": "^16.1.0",
"stylelint-config-standard": "^35.0.0", "stylelint-config-standard": "^36.0.0",
"svgo": "^3.1.0", "svgo": "^3.1.0",
"tailwindcss": "^3.4.0", "tailwindcss": "^3.4.0",
"typescript": "^5.3.3", "typescript": "^5.3.3",

File diff suppressed because it is too large Load Diff

2
spark
View File

@ -39,7 +39,7 @@ if (version_compare(PHP_VERSION, $minPhpVersion, '<')) {
} }
// We want errors to be shown when using it from the CLI. // We want errors to be shown when using it from the CLI.
error_reporting(-1); error_reporting(E_ALL);
ini_set('display_errors', '1'); ini_set('display_errors', '1');
/** /**