Update website
This commit is contained in:
parent
0a686aeb9a
commit
c4ffa0f6ee
4360 changed files with 1727 additions and 718385 deletions
2
vendor/autoload.php
vendored
2
vendor/autoload.php
vendored
|
@ -22,4 +22,4 @@ if (PHP_VERSION_ID < 50600) {
|
|||
|
||||
require_once __DIR__ . '/composer/autoload_real.php';
|
||||
|
||||
return ComposerAutoloaderInitc94a8368bcea9853dd31683be0b15c06::getLoader();
|
||||
return ComposerAutoloaderInitecf73f43d2b62bd3c0232fbab805eceb::getLoader();
|
||||
|
|
2
vendor/composer/autoload_psr4.php
vendored
2
vendor/composer/autoload_psr4.php
vendored
|
@ -39,7 +39,7 @@ return array(
|
|||
'GuzzleHttp\\Promise\\' => array($vendorDir . '/guzzlehttp/promises/src'),
|
||||
'GuzzleHttp\\' => array($vendorDir . '/guzzlehttp/guzzle/src'),
|
||||
'Doctrine\\RST\\' => array($vendorDir . '/doctrine/rst-parser/lib'),
|
||||
'Doctrine\\Deprecations\\' => array($vendorDir . '/doctrine/deprecations/lib/Doctrine/Deprecations'),
|
||||
'Doctrine\\Deprecations\\' => array($vendorDir . '/doctrine/deprecations/src'),
|
||||
'Doctrine\\DBAL\\' => array($vendorDir . '/doctrine/dbal/src'),
|
||||
'Doctrine\\Common\\Cache\\' => array($vendorDir . '/doctrine/cache/lib/Doctrine/Common/Cache'),
|
||||
'Doctrine\\Common\\' => array($vendorDir . '/doctrine/event-manager/src'),
|
||||
|
|
10
vendor/composer/autoload_real.php
vendored
10
vendor/composer/autoload_real.php
vendored
|
@ -2,7 +2,7 @@
|
|||
|
||||
// autoload_real.php @generated by Composer
|
||||
|
||||
class ComposerAutoloaderInitc94a8368bcea9853dd31683be0b15c06
|
||||
class ComposerAutoloaderInitecf73f43d2b62bd3c0232fbab805eceb
|
||||
{
|
||||
private static $loader;
|
||||
|
||||
|
@ -24,16 +24,16 @@ class ComposerAutoloaderInitc94a8368bcea9853dd31683be0b15c06
|
|||
|
||||
require __DIR__ . '/platform_check.php';
|
||||
|
||||
spl_autoload_register(array('ComposerAutoloaderInitc94a8368bcea9853dd31683be0b15c06', 'loadClassLoader'), true, true);
|
||||
spl_autoload_register(array('ComposerAutoloaderInitecf73f43d2b62bd3c0232fbab805eceb', 'loadClassLoader'), true, true);
|
||||
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInitc94a8368bcea9853dd31683be0b15c06', 'loadClassLoader'));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInitecf73f43d2b62bd3c0232fbab805eceb', 'loadClassLoader'));
|
||||
|
||||
require __DIR__ . '/autoload_static.php';
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInitc94a8368bcea9853dd31683be0b15c06::getInitializer($loader));
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInitecf73f43d2b62bd3c0232fbab805eceb::getInitializer($loader));
|
||||
|
||||
$loader->register(true);
|
||||
|
||||
$filesToLoad = \Composer\Autoload\ComposerStaticInitc94a8368bcea9853dd31683be0b15c06::$files;
|
||||
$filesToLoad = \Composer\Autoload\ComposerStaticInitecf73f43d2b62bd3c0232fbab805eceb::$files;
|
||||
$requireFile = \Closure::bind(static function ($fileIdentifier, $file) {
|
||||
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
||||
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
|
||||
|
|
12
vendor/composer/autoload_static.php
vendored
12
vendor/composer/autoload_static.php
vendored
|
@ -4,7 +4,7 @@
|
|||
|
||||
namespace Composer\Autoload;
|
||||
|
||||
class ComposerStaticInitc94a8368bcea9853dd31683be0b15c06
|
||||
class ComposerStaticInitecf73f43d2b62bd3c0232fbab805eceb
|
||||
{
|
||||
public static $files = array (
|
||||
'a4a119a56e50fbb293281d9a48007e0e' => __DIR__ . '/..' . '/symfony/polyfill-php80/bootstrap.php',
|
||||
|
@ -222,7 +222,7 @@ class ComposerStaticInitc94a8368bcea9853dd31683be0b15c06
|
|||
),
|
||||
'Doctrine\\Deprecations\\' =>
|
||||
array (
|
||||
0 => __DIR__ . '/..' . '/doctrine/deprecations/lib/Doctrine/Deprecations',
|
||||
0 => __DIR__ . '/..' . '/doctrine/deprecations/src',
|
||||
),
|
||||
'Doctrine\\DBAL\\' =>
|
||||
array (
|
||||
|
@ -264,10 +264,10 @@ class ComposerStaticInitc94a8368bcea9853dd31683be0b15c06
|
|||
public static function getInitializer(ClassLoader $loader)
|
||||
{
|
||||
return \Closure::bind(function () use ($loader) {
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInitc94a8368bcea9853dd31683be0b15c06::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInitc94a8368bcea9853dd31683be0b15c06::$prefixDirsPsr4;
|
||||
$loader->prefixesPsr0 = ComposerStaticInitc94a8368bcea9853dd31683be0b15c06::$prefixesPsr0;
|
||||
$loader->classMap = ComposerStaticInitc94a8368bcea9853dd31683be0b15c06::$classMap;
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInitecf73f43d2b62bd3c0232fbab805eceb::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInitecf73f43d2b62bd3c0232fbab805eceb::$prefixDirsPsr4;
|
||||
$loader->prefixesPsr0 = ComposerStaticInitecf73f43d2b62bd3c0232fbab805eceb::$prefixesPsr0;
|
||||
$loader->classMap = ComposerStaticInitecf73f43d2b62bd3c0232fbab805eceb::$classMap;
|
||||
|
||||
}, null, ClassLoader::class);
|
||||
}
|
||||
|
|
250
vendor/composer/installed.json
vendored
250
vendor/composer/installed.json
vendored
|
@ -98,17 +98,17 @@
|
|||
},
|
||||
{
|
||||
"name": "doctrine/dbal",
|
||||
"version": "3.9.3",
|
||||
"version_normalized": "3.9.3.0",
|
||||
"version": "3.9.4",
|
||||
"version_normalized": "3.9.4.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/doctrine/dbal.git",
|
||||
"reference": "61446f07fcb522414d6cfd8b1c3e5f9e18c579ba"
|
||||
"reference": "ec16c82f20be1a7224e65ac67144a29199f87959"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/doctrine/dbal/zipball/61446f07fcb522414d6cfd8b1c3e5f9e18c579ba",
|
||||
"reference": "61446f07fcb522414d6cfd8b1c3e5f9e18c579ba",
|
||||
"url": "https://api.github.com/repos/doctrine/dbal/zipball/ec16c82f20be1a7224e65ac67144a29199f87959",
|
||||
"reference": "ec16c82f20be1a7224e65ac67144a29199f87959",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
@ -124,20 +124,18 @@
|
|||
"doctrine/coding-standard": "12.0.0",
|
||||
"fig/log-test": "^1",
|
||||
"jetbrains/phpstorm-stubs": "2023.1",
|
||||
"phpstan/phpstan": "1.12.6",
|
||||
"phpstan/phpstan-strict-rules": "^1.6",
|
||||
"phpunit/phpunit": "9.6.20",
|
||||
"psalm/plugin-phpunit": "0.18.4",
|
||||
"phpstan/phpstan": "2.1.1",
|
||||
"phpstan/phpstan-strict-rules": "^2",
|
||||
"phpunit/phpunit": "9.6.22",
|
||||
"slevomat/coding-standard": "8.13.1",
|
||||
"squizlabs/php_codesniffer": "3.10.2",
|
||||
"symfony/cache": "^5.4|^6.0|^7.0",
|
||||
"symfony/console": "^4.4|^5.4|^6.0|^7.0",
|
||||
"vimeo/psalm": "4.30.0"
|
||||
"symfony/console": "^4.4|^5.4|^6.0|^7.0"
|
||||
},
|
||||
"suggest": {
|
||||
"symfony/console": "For helpful console commands such as SQL execution and import of files."
|
||||
},
|
||||
"time": "2024-10-10T17:56:43+00:00",
|
||||
"time": "2025-01-16T08:28:55+00:00",
|
||||
"bin": [
|
||||
"bin/doctrine-dbal"
|
||||
],
|
||||
|
@ -194,7 +192,7 @@
|
|||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/doctrine/dbal/issues",
|
||||
"source": "https://github.com/doctrine/dbal/tree/3.9.3"
|
||||
"source": "https://github.com/doctrine/dbal/tree/3.9.4"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
|
@ -214,40 +212,38 @@
|
|||
},
|
||||
{
|
||||
"name": "doctrine/deprecations",
|
||||
"version": "1.1.3",
|
||||
"version_normalized": "1.1.3.0",
|
||||
"version": "1.1.4",
|
||||
"version_normalized": "1.1.4.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/doctrine/deprecations.git",
|
||||
"reference": "dfbaa3c2d2e9a9df1118213f3b8b0c597bb99fab"
|
||||
"reference": "31610dbb31faa98e6b5447b62340826f54fbc4e9"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/doctrine/deprecations/zipball/dfbaa3c2d2e9a9df1118213f3b8b0c597bb99fab",
|
||||
"reference": "dfbaa3c2d2e9a9df1118213f3b8b0c597bb99fab",
|
||||
"url": "https://api.github.com/repos/doctrine/deprecations/zipball/31610dbb31faa98e6b5447b62340826f54fbc4e9",
|
||||
"reference": "31610dbb31faa98e6b5447b62340826f54fbc4e9",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": "^7.1 || ^8.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"doctrine/coding-standard": "^9",
|
||||
"phpstan/phpstan": "1.4.10 || 1.10.15",
|
||||
"phpstan/phpstan-phpunit": "^1.0",
|
||||
"doctrine/coding-standard": "^9 || ^12",
|
||||
"phpstan/phpstan": "1.4.10 || 2.0.3",
|
||||
"phpstan/phpstan-phpunit": "^1.0 || ^2",
|
||||
"phpunit/phpunit": "^7.5 || ^8.5 || ^9.5",
|
||||
"psalm/plugin-phpunit": "0.18.4",
|
||||
"psr/log": "^1 || ^2 || ^3",
|
||||
"vimeo/psalm": "4.30.0 || 5.12.0"
|
||||
"psr/log": "^1 || ^2 || ^3"
|
||||
},
|
||||
"suggest": {
|
||||
"psr/log": "Allows logging deprecations via PSR-3 logger implementation"
|
||||
},
|
||||
"time": "2024-01-30T19:34:25+00:00",
|
||||
"time": "2024-12-07T21:18:45+00:00",
|
||||
"type": "library",
|
||||
"installation-source": "dist",
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Doctrine\\Deprecations\\": "lib/Doctrine/Deprecations"
|
||||
"Doctrine\\Deprecations\\": "src"
|
||||
}
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
|
@ -258,7 +254,7 @@
|
|||
"homepage": "https://www.doctrine-project.org/",
|
||||
"support": {
|
||||
"issues": "https://github.com/doctrine/deprecations/issues",
|
||||
"source": "https://github.com/doctrine/deprecations/tree/1.1.3"
|
||||
"source": "https://github.com/doctrine/deprecations/tree/1.1.4"
|
||||
},
|
||||
"install-path": "../doctrine/deprecations"
|
||||
},
|
||||
|
@ -826,37 +822,32 @@
|
|||
},
|
||||
{
|
||||
"name": "league/oauth2-client",
|
||||
"version": "2.7.0",
|
||||
"version_normalized": "2.7.0.0",
|
||||
"version": "2.8.0",
|
||||
"version_normalized": "2.8.0.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/thephpleague/oauth2-client.git",
|
||||
"reference": "160d6274b03562ebeb55ed18399281d8118b76c8"
|
||||
"reference": "3d5cf8d0543731dfb725ab30e4d7289891991e13"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/thephpleague/oauth2-client/zipball/160d6274b03562ebeb55ed18399281d8118b76c8",
|
||||
"reference": "160d6274b03562ebeb55ed18399281d8118b76c8",
|
||||
"url": "https://api.github.com/repos/thephpleague/oauth2-client/zipball/3d5cf8d0543731dfb725ab30e4d7289891991e13",
|
||||
"reference": "3d5cf8d0543731dfb725ab30e4d7289891991e13",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"guzzlehttp/guzzle": "^6.0 || ^7.0",
|
||||
"paragonie/random_compat": "^1 || ^2 || ^9.99",
|
||||
"php": "^5.6 || ^7.0 || ^8.0"
|
||||
"ext-json": "*",
|
||||
"guzzlehttp/guzzle": "^6.5.8 || ^7.4.5",
|
||||
"php": "^7.1 || >=8.0.0 <8.5.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"mockery/mockery": "^1.3.5",
|
||||
"php-parallel-lint/php-parallel-lint": "^1.3.1",
|
||||
"phpunit/phpunit": "^5.7 || ^6.0 || ^9.5",
|
||||
"squizlabs/php_codesniffer": "^2.3 || ^3.0"
|
||||
"php-parallel-lint/php-parallel-lint": "^1.4",
|
||||
"phpunit/phpunit": "^7 || ^8 || ^9 || ^10 || ^11",
|
||||
"squizlabs/php_codesniffer": "^3.11"
|
||||
},
|
||||
"time": "2023-04-16T18:19:15+00:00",
|
||||
"time": "2024-12-11T05:05:52+00:00",
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-2.x": "2.0.x-dev"
|
||||
}
|
||||
},
|
||||
"installation-source": "dist",
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
|
@ -893,7 +884,7 @@
|
|||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/thephpleague/oauth2-client/issues",
|
||||
"source": "https://github.com/thephpleague/oauth2-client/tree/2.7.0"
|
||||
"source": "https://github.com/thephpleague/oauth2-client/tree/2.8.0"
|
||||
},
|
||||
"install-path": "../league/oauth2-client"
|
||||
},
|
||||
|
@ -950,59 +941,6 @@
|
|||
},
|
||||
"install-path": "../mustache/mustache"
|
||||
},
|
||||
{
|
||||
"name": "paragonie/random_compat",
|
||||
"version": "v9.99.100",
|
||||
"version_normalized": "9.99.100.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/paragonie/random_compat.git",
|
||||
"reference": "996434e5492cb4c3edcb9168db6fbb1359ef965a"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/paragonie/random_compat/zipball/996434e5492cb4c3edcb9168db6fbb1359ef965a",
|
||||
"reference": "996434e5492cb4c3edcb9168db6fbb1359ef965a",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": ">= 7"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "4.*|5.*",
|
||||
"vimeo/psalm": "^1"
|
||||
},
|
||||
"suggest": {
|
||||
"ext-libsodium": "Provides a modern crypto API that can be used to generate random bytes."
|
||||
},
|
||||
"time": "2020-10-15T08:29:30+00:00",
|
||||
"type": "library",
|
||||
"installation-source": "dist",
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"MIT"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Paragon Initiative Enterprises",
|
||||
"email": "security@paragonie.com",
|
||||
"homepage": "https://paragonie.com"
|
||||
}
|
||||
],
|
||||
"description": "PHP 5.x polyfill for random_bytes() and random_int() from PHP 7",
|
||||
"keywords": [
|
||||
"csprng",
|
||||
"polyfill",
|
||||
"pseudorandom",
|
||||
"random"
|
||||
],
|
||||
"support": {
|
||||
"email": "info@paragonie.com",
|
||||
"issues": "https://github.com/paragonie/random_compat/issues",
|
||||
"source": "https://github.com/paragonie/random_compat"
|
||||
},
|
||||
"install-path": "../paragonie/random_compat"
|
||||
},
|
||||
{
|
||||
"name": "phpmailer/phpmailer",
|
||||
"version": "v6.9.3",
|
||||
|
@ -1523,31 +1461,31 @@
|
|||
},
|
||||
{
|
||||
"name": "symfony/deprecation-contracts",
|
||||
"version": "v2.5.3",
|
||||
"version_normalized": "2.5.3.0",
|
||||
"version": "v2.5.4",
|
||||
"version_normalized": "2.5.4.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/deprecation-contracts.git",
|
||||
"reference": "80d075412b557d41002320b96a096ca65aa2c98d"
|
||||
"reference": "605389f2a7e5625f273b53960dc46aeaf9c62918"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/80d075412b557d41002320b96a096ca65aa2c98d",
|
||||
"reference": "80d075412b557d41002320b96a096ca65aa2c98d",
|
||||
"url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/605389f2a7e5625f273b53960dc46aeaf9c62918",
|
||||
"reference": "605389f2a7e5625f273b53960dc46aeaf9c62918",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": ">=7.1"
|
||||
},
|
||||
"time": "2023-01-24T14:02:46+00:00",
|
||||
"time": "2024-09-25T14:11:13+00:00",
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"thanks": {
|
||||
"url": "https://github.com/symfony/contracts",
|
||||
"name": "symfony/contracts"
|
||||
},
|
||||
"branch-alias": {
|
||||
"dev-main": "2.5-dev"
|
||||
},
|
||||
"thanks": {
|
||||
"name": "symfony/contracts",
|
||||
"url": "https://github.com/symfony/contracts"
|
||||
}
|
||||
},
|
||||
"installation-source": "dist",
|
||||
|
@ -1573,7 +1511,7 @@
|
|||
"description": "A generic function and convention to trigger deprecation notices",
|
||||
"homepage": "https://symfony.com",
|
||||
"support": {
|
||||
"source": "https://github.com/symfony/deprecation-contracts/tree/v2.5.3"
|
||||
"source": "https://github.com/symfony/deprecation-contracts/tree/v2.5.4"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
|
@ -1803,24 +1741,24 @@
|
|||
},
|
||||
{
|
||||
"name": "symfony/http-client",
|
||||
"version": "v5.4.47",
|
||||
"version_normalized": "5.4.47.0",
|
||||
"version": "v5.4.49",
|
||||
"version_normalized": "5.4.49.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/http-client.git",
|
||||
"reference": "3b643b83f87e1765d2e9b1e946bb56ee0b4b7bde"
|
||||
"reference": "d77d8e212cde7b5c4a64142bf431522f19487c28"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/symfony/http-client/zipball/3b643b83f87e1765d2e9b1e946bb56ee0b4b7bde",
|
||||
"reference": "3b643b83f87e1765d2e9b1e946bb56ee0b4b7bde",
|
||||
"url": "https://api.github.com/repos/symfony/http-client/zipball/d77d8e212cde7b5c4a64142bf431522f19487c28",
|
||||
"reference": "d77d8e212cde7b5c4a64142bf431522f19487c28",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": ">=7.2.5",
|
||||
"psr/log": "^1|^2|^3",
|
||||
"symfony/deprecation-contracts": "^2.1|^3",
|
||||
"symfony/http-client-contracts": "^2.5.3",
|
||||
"symfony/http-client-contracts": "^2.5.4",
|
||||
"symfony/polyfill-php73": "^1.11",
|
||||
"symfony/polyfill-php80": "^1.16",
|
||||
"symfony/service-contracts": "^1.0|^2|^3"
|
||||
|
@ -1846,7 +1784,7 @@
|
|||
"symfony/process": "^4.4|^5.0|^6.0",
|
||||
"symfony/stopwatch": "^4.4|^5.0|^6.0"
|
||||
},
|
||||
"time": "2024-11-13T12:18:12+00:00",
|
||||
"time": "2024-11-28T08:37:04+00:00",
|
||||
"type": "library",
|
||||
"installation-source": "dist",
|
||||
"autoload": {
|
||||
|
@ -1877,7 +1815,7 @@
|
|||
"http"
|
||||
],
|
||||
"support": {
|
||||
"source": "https://github.com/symfony/http-client/tree/v5.4.47"
|
||||
"source": "https://github.com/symfony/http-client/tree/v5.4.49"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
|
@ -1897,17 +1835,17 @@
|
|||
},
|
||||
{
|
||||
"name": "symfony/http-client-contracts",
|
||||
"version": "v2.5.3",
|
||||
"version_normalized": "2.5.3.0",
|
||||
"version": "v2.5.5",
|
||||
"version_normalized": "2.5.5.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/http-client-contracts.git",
|
||||
"reference": "e5cc97c2b4a4db0ba26bebc154f1426e3fd1d2f1"
|
||||
"reference": "48ef1d0a082885877b664332b9427662065a360c"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/symfony/http-client-contracts/zipball/e5cc97c2b4a4db0ba26bebc154f1426e3fd1d2f1",
|
||||
"reference": "e5cc97c2b4a4db0ba26bebc154f1426e3fd1d2f1",
|
||||
"url": "https://api.github.com/repos/symfony/http-client-contracts/zipball/48ef1d0a082885877b664332b9427662065a360c",
|
||||
"reference": "48ef1d0a082885877b664332b9427662065a360c",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
@ -1916,15 +1854,15 @@
|
|||
"suggest": {
|
||||
"symfony/http-client-implementation": ""
|
||||
},
|
||||
"time": "2024-03-26T19:42:53+00:00",
|
||||
"time": "2024-11-28T08:37:04+00:00",
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"thanks": {
|
||||
"url": "https://github.com/symfony/contracts",
|
||||
"name": "symfony/contracts"
|
||||
},
|
||||
"branch-alias": {
|
||||
"dev-main": "2.5-dev"
|
||||
},
|
||||
"thanks": {
|
||||
"name": "symfony/contracts",
|
||||
"url": "https://github.com/symfony/contracts"
|
||||
}
|
||||
},
|
||||
"installation-source": "dist",
|
||||
|
@ -1958,7 +1896,7 @@
|
|||
"standards"
|
||||
],
|
||||
"support": {
|
||||
"source": "https://github.com/symfony/http-client-contracts/tree/v2.5.3"
|
||||
"source": "https://github.com/symfony/http-client-contracts/tree/v2.5.5"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
|
@ -2614,17 +2552,17 @@
|
|||
},
|
||||
{
|
||||
"name": "symfony/service-contracts",
|
||||
"version": "v2.5.3",
|
||||
"version_normalized": "2.5.3.0",
|
||||
"version": "v2.5.4",
|
||||
"version_normalized": "2.5.4.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/service-contracts.git",
|
||||
"reference": "a2329596ddc8fd568900e3fc76cba42489ecc7f3"
|
||||
"reference": "f37b419f7aea2e9abf10abd261832cace12e3300"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/symfony/service-contracts/zipball/a2329596ddc8fd568900e3fc76cba42489ecc7f3",
|
||||
"reference": "a2329596ddc8fd568900e3fc76cba42489ecc7f3",
|
||||
"url": "https://api.github.com/repos/symfony/service-contracts/zipball/f37b419f7aea2e9abf10abd261832cace12e3300",
|
||||
"reference": "f37b419f7aea2e9abf10abd261832cace12e3300",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
@ -2638,15 +2576,15 @@
|
|||
"suggest": {
|
||||
"symfony/service-implementation": ""
|
||||
},
|
||||
"time": "2023-04-21T15:04:16+00:00",
|
||||
"time": "2024-09-25T14:11:13+00:00",
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"thanks": {
|
||||
"url": "https://github.com/symfony/contracts",
|
||||
"name": "symfony/contracts"
|
||||
},
|
||||
"branch-alias": {
|
||||
"dev-main": "2.5-dev"
|
||||
},
|
||||
"thanks": {
|
||||
"name": "symfony/contracts",
|
||||
"url": "https://github.com/symfony/contracts"
|
||||
}
|
||||
},
|
||||
"installation-source": "dist",
|
||||
|
@ -2680,7 +2618,7 @@
|
|||
"standards"
|
||||
],
|
||||
"support": {
|
||||
"source": "https://github.com/symfony/service-contracts/tree/v2.5.3"
|
||||
"source": "https://github.com/symfony/service-contracts/tree/v2.5.4"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
|
@ -2789,17 +2727,17 @@
|
|||
},
|
||||
{
|
||||
"name": "symfony/translation-contracts",
|
||||
"version": "v2.5.3",
|
||||
"version_normalized": "2.5.3.0",
|
||||
"version": "v2.5.4",
|
||||
"version_normalized": "2.5.4.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/translation-contracts.git",
|
||||
"reference": "b0073a77ac0b7ea55131020e87b1e3af540f4664"
|
||||
"reference": "450d4172653f38818657022252f9d81be89ee9a8"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/symfony/translation-contracts/zipball/b0073a77ac0b7ea55131020e87b1e3af540f4664",
|
||||
"reference": "b0073a77ac0b7ea55131020e87b1e3af540f4664",
|
||||
"url": "https://api.github.com/repos/symfony/translation-contracts/zipball/450d4172653f38818657022252f9d81be89ee9a8",
|
||||
"reference": "450d4172653f38818657022252f9d81be89ee9a8",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
@ -2808,15 +2746,15 @@
|
|||
"suggest": {
|
||||
"symfony/translation-implementation": ""
|
||||
},
|
||||
"time": "2024-01-23T13:51:25+00:00",
|
||||
"time": "2024-09-25T14:11:13+00:00",
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"thanks": {
|
||||
"url": "https://github.com/symfony/contracts",
|
||||
"name": "symfony/contracts"
|
||||
},
|
||||
"branch-alias": {
|
||||
"dev-main": "2.5-dev"
|
||||
},
|
||||
"thanks": {
|
||||
"name": "symfony/contracts",
|
||||
"url": "https://github.com/symfony/contracts"
|
||||
}
|
||||
},
|
||||
"installation-source": "dist",
|
||||
|
@ -2850,7 +2788,7 @@
|
|||
"standards"
|
||||
],
|
||||
"support": {
|
||||
"source": "https://github.com/symfony/translation-contracts/tree/v2.5.3"
|
||||
"source": "https://github.com/symfony/translation-contracts/tree/v2.5.4"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
|
@ -2870,17 +2808,17 @@
|
|||
},
|
||||
{
|
||||
"name": "symfony/var-dumper",
|
||||
"version": "v5.4.47",
|
||||
"version_normalized": "5.4.47.0",
|
||||
"version": "v5.4.48",
|
||||
"version_normalized": "5.4.48.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/var-dumper.git",
|
||||
"reference": "e13e8dfa8eaab2b0536ef365beddc2af723a9ac0"
|
||||
"reference": "42f18f170aa86d612c3559cfb3bd11a375df32c8"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/symfony/var-dumper/zipball/e13e8dfa8eaab2b0536ef365beddc2af723a9ac0",
|
||||
"reference": "e13e8dfa8eaab2b0536ef365beddc2af723a9ac0",
|
||||
"url": "https://api.github.com/repos/symfony/var-dumper/zipball/42f18f170aa86d612c3559cfb3bd11a375df32c8",
|
||||
"reference": "42f18f170aa86d612c3559cfb3bd11a375df32c8",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
@ -2942,7 +2880,7 @@
|
|||
"dump"
|
||||
],
|
||||
"support": {
|
||||
"source": "https://github.com/symfony/var-dumper/tree/v5.4.47"
|
||||
"source": "https://github.com/symfony/var-dumper/tree/v5.4.48"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
|
|
67
vendor/composer/installed.php
vendored
67
vendor/composer/installed.php
vendored
|
@ -3,7 +3,7 @@
|
|||
'name' => 'lavaux/website',
|
||||
'pretty_version' => 'dev-main',
|
||||
'version' => 'dev-main',
|
||||
'reference' => 'c7a5031f23b0ec780720211274489d56d49ef91e',
|
||||
'reference' => 'd1086658662073694ca6df8d6d0736e05004c7b8',
|
||||
'type' => 'project',
|
||||
'install_path' => __DIR__ . '/../../',
|
||||
'aliases' => array(),
|
||||
|
@ -20,18 +20,18 @@
|
|||
'dev_requirement' => false,
|
||||
),
|
||||
'doctrine/dbal' => array(
|
||||
'pretty_version' => '3.9.3',
|
||||
'version' => '3.9.3.0',
|
||||
'reference' => '61446f07fcb522414d6cfd8b1c3e5f9e18c579ba',
|
||||
'pretty_version' => '3.9.4',
|
||||
'version' => '3.9.4.0',
|
||||
'reference' => 'ec16c82f20be1a7224e65ac67144a29199f87959',
|
||||
'type' => 'library',
|
||||
'install_path' => __DIR__ . '/../doctrine/dbal',
|
||||
'aliases' => array(),
|
||||
'dev_requirement' => false,
|
||||
),
|
||||
'doctrine/deprecations' => array(
|
||||
'pretty_version' => '1.1.3',
|
||||
'version' => '1.1.3.0',
|
||||
'reference' => 'dfbaa3c2d2e9a9df1118213f3b8b0c597bb99fab',
|
||||
'pretty_version' => '1.1.4',
|
||||
'version' => '1.1.4.0',
|
||||
'reference' => '31610dbb31faa98e6b5447b62340826f54fbc4e9',
|
||||
'type' => 'library',
|
||||
'install_path' => __DIR__ . '/../doctrine/deprecations',
|
||||
'aliases' => array(),
|
||||
|
@ -94,16 +94,16 @@
|
|||
'lavaux/website' => array(
|
||||
'pretty_version' => 'dev-main',
|
||||
'version' => 'dev-main',
|
||||
'reference' => 'c7a5031f23b0ec780720211274489d56d49ef91e',
|
||||
'reference' => 'd1086658662073694ca6df8d6d0736e05004c7b8',
|
||||
'type' => 'project',
|
||||
'install_path' => __DIR__ . '/../../',
|
||||
'aliases' => array(),
|
||||
'dev_requirement' => false,
|
||||
),
|
||||
'league/oauth2-client' => array(
|
||||
'pretty_version' => '2.7.0',
|
||||
'version' => '2.7.0.0',
|
||||
'reference' => '160d6274b03562ebeb55ed18399281d8118b76c8',
|
||||
'pretty_version' => '2.8.0',
|
||||
'version' => '2.8.0.0',
|
||||
'reference' => '3d5cf8d0543731dfb725ab30e4d7289891991e13',
|
||||
'type' => 'library',
|
||||
'install_path' => __DIR__ . '/../league/oauth2-client',
|
||||
'aliases' => array(),
|
||||
|
@ -118,15 +118,6 @@
|
|||
'aliases' => array(),
|
||||
'dev_requirement' => false,
|
||||
),
|
||||
'paragonie/random_compat' => array(
|
||||
'pretty_version' => 'v9.99.100',
|
||||
'version' => '9.99.100.0',
|
||||
'reference' => '996434e5492cb4c3edcb9168db6fbb1359ef965a',
|
||||
'type' => 'library',
|
||||
'install_path' => __DIR__ . '/../paragonie/random_compat',
|
||||
'aliases' => array(),
|
||||
'dev_requirement' => false,
|
||||
),
|
||||
'php-http/async-client-implementation' => array(
|
||||
'dev_requirement' => false,
|
||||
'provided' => array(
|
||||
|
@ -239,9 +230,9 @@
|
|||
'dev_requirement' => false,
|
||||
),
|
||||
'symfony/deprecation-contracts' => array(
|
||||
'pretty_version' => 'v2.5.3',
|
||||
'version' => '2.5.3.0',
|
||||
'reference' => '80d075412b557d41002320b96a096ca65aa2c98d',
|
||||
'pretty_version' => 'v2.5.4',
|
||||
'version' => '2.5.4.0',
|
||||
'reference' => '605389f2a7e5625f273b53960dc46aeaf9c62918',
|
||||
'type' => 'library',
|
||||
'install_path' => __DIR__ . '/../symfony/deprecation-contracts',
|
||||
'aliases' => array(),
|
||||
|
@ -275,18 +266,18 @@
|
|||
'dev_requirement' => false,
|
||||
),
|
||||
'symfony/http-client' => array(
|
||||
'pretty_version' => 'v5.4.47',
|
||||
'version' => '5.4.47.0',
|
||||
'reference' => '3b643b83f87e1765d2e9b1e946bb56ee0b4b7bde',
|
||||
'pretty_version' => 'v5.4.49',
|
||||
'version' => '5.4.49.0',
|
||||
'reference' => 'd77d8e212cde7b5c4a64142bf431522f19487c28',
|
||||
'type' => 'library',
|
||||
'install_path' => __DIR__ . '/../symfony/http-client',
|
||||
'aliases' => array(),
|
||||
'dev_requirement' => false,
|
||||
),
|
||||
'symfony/http-client-contracts' => array(
|
||||
'pretty_version' => 'v2.5.3',
|
||||
'version' => '2.5.3.0',
|
||||
'reference' => 'e5cc97c2b4a4db0ba26bebc154f1426e3fd1d2f1',
|
||||
'pretty_version' => 'v2.5.5',
|
||||
'version' => '2.5.5.0',
|
||||
'reference' => '48ef1d0a082885877b664332b9427662065a360c',
|
||||
'type' => 'library',
|
||||
'install_path' => __DIR__ . '/../symfony/http-client-contracts',
|
||||
'aliases' => array(),
|
||||
|
@ -371,9 +362,9 @@
|
|||
'dev_requirement' => false,
|
||||
),
|
||||
'symfony/service-contracts' => array(
|
||||
'pretty_version' => 'v2.5.3',
|
||||
'version' => '2.5.3.0',
|
||||
'reference' => 'a2329596ddc8fd568900e3fc76cba42489ecc7f3',
|
||||
'pretty_version' => 'v2.5.4',
|
||||
'version' => '2.5.4.0',
|
||||
'reference' => 'f37b419f7aea2e9abf10abd261832cace12e3300',
|
||||
'type' => 'library',
|
||||
'install_path' => __DIR__ . '/../symfony/service-contracts',
|
||||
'aliases' => array(),
|
||||
|
@ -389,18 +380,18 @@
|
|||
'dev_requirement' => false,
|
||||
),
|
||||
'symfony/translation-contracts' => array(
|
||||
'pretty_version' => 'v2.5.3',
|
||||
'version' => '2.5.3.0',
|
||||
'reference' => 'b0073a77ac0b7ea55131020e87b1e3af540f4664',
|
||||
'pretty_version' => 'v2.5.4',
|
||||
'version' => '2.5.4.0',
|
||||
'reference' => '450d4172653f38818657022252f9d81be89ee9a8',
|
||||
'type' => 'library',
|
||||
'install_path' => __DIR__ . '/../symfony/translation-contracts',
|
||||
'aliases' => array(),
|
||||
'dev_requirement' => false,
|
||||
),
|
||||
'symfony/var-dumper' => array(
|
||||
'pretty_version' => 'v5.4.47',
|
||||
'version' => '5.4.47.0',
|
||||
'reference' => 'e13e8dfa8eaab2b0536ef365beddc2af723a9ac0',
|
||||
'pretty_version' => 'v5.4.48',
|
||||
'version' => '5.4.48.0',
|
||||
'reference' => '42f18f170aa86d612c3559cfb3bd11a375df32c8',
|
||||
'type' => 'library',
|
||||
'install_path' => __DIR__ . '/../symfony/var-dumper',
|
||||
'aliases' => array(),
|
||||
|
|
29
vendor/doctrine/dbal/README.md
vendored
29
vendor/doctrine/dbal/README.md
vendored
|
@ -1,11 +1,10 @@
|
|||
# Doctrine DBAL
|
||||
|
||||
| [5.0-dev][5.0] | [4.3-dev][4.3] | [4.2][4.2] | [3.9][3.9] |
|
||||
|:---------------------------------------------------:|:---------------------------------------------------:|:---------------------------------------------------:|:---------------------------------------------------:|
|
||||
| [![GitHub Actions][GA 5.0 image]][GA 5.0] | [![GitHub Actions][GA 4.3 image]][GA 4.3] | [![GitHub Actions][GA 4.2 image]][GA 4.2] | [![GitHub Actions][GA 3.9 image]][GA 3.9] |
|
||||
| [![AppVeyor][AppVeyor 5.0 image]][AppVeyor 5.0] | [![AppVeyor][AppVeyor 4.3 image]][AppVeyor 4.3] | [![AppVeyor][AppVeyor 4.2 image]][AppVeyor 4.2] | [![AppVeyor][AppVeyor 3.9 image]][AppVeyor 3.9] |
|
||||
| [![Code Coverage][Coverage 5.0 image]][CodeCov 5.0] | [![Code Coverage][Coverage 4.3 image]][CodeCov 4.3] | [![Code Coverage][Coverage 4.2 image]][CodeCov 4.2] | [![Code Coverage][Coverage 3.9 image]][CodeCov 3.9] |
|
||||
| N/A | N/A | [![Type Coverage][TypeCov image]][TypeCov] | N/A |
|
||||
| [5.0-dev][5.0] | [4.3-dev][4.3] | [4.2][4.2] | [3.10][3.10] | [3.9][3.9] |
|
||||
|:---------------------------------------------------:|:---------------------------------------------------:|:---------------------------------------------------:|:-----------------------------------------------------:|:---------------------------------------------------:|
|
||||
| [![GitHub Actions][GA 5.0 image]][GA 5.0] | [![GitHub Actions][GA 4.3 image]][GA 4.3] | [![GitHub Actions][GA 4.2 image]][GA 4.2] | [![GitHub Actions][GA 3.10 image]][GA 3.10] | [![GitHub Actions][GA 3.9 image]][GA 3.9] |
|
||||
| [![AppVeyor][AppVeyor 5.0 image]][AppVeyor 5.0] | [![AppVeyor][AppVeyor 4.3 image]][AppVeyor 4.3] | [![AppVeyor][AppVeyor 4.2 image]][AppVeyor 4.2] | [![AppVeyor][AppVeyor 3.10 image]][AppVeyor 3.10] | [![AppVeyor][AppVeyor 3.9 image]][AppVeyor 3.9] |
|
||||
| [![Code Coverage][Coverage 5.0 image]][CodeCov 5.0] | [![Code Coverage][Coverage 4.3 image]][CodeCov 4.3] | [![Code Coverage][Coverage 4.2 image]][CodeCov 4.2] | [![Code Coverage][Coverage 3.10 image]][CodeCov 3.10] | [![Code Coverage][Coverage 3.9 image]][CodeCov 3.9] |
|
||||
|
||||
Powerful ***D***ata***B***ase ***A***bstraction ***L***ayer with many features for database schema introspection and schema management.
|
||||
|
||||
|
@ -21,7 +20,7 @@ Powerful ***D***ata***B***ase ***A***bstraction ***L***ayer with many features f
|
|||
[AppVeyor 5.0]: https://ci.appveyor.com/project/doctrine/dbal/branch/5.0.x
|
||||
[AppVeyor 5.0 image]: https://ci.appveyor.com/api/projects/status/i88kitq8qpbm0vie/branch/5.0.x?svg=true
|
||||
[GA 5.0]: https://github.com/doctrine/dbal/actions?query=workflow%3A%22Continuous+Integration%22+branch%3A5.0.x
|
||||
[GA 5.0 image]: https://github.com/doctrine/dbal/workflows/Continuous%20Integration/badge.svg?branch=5.0.x
|
||||
[GA 5.0 image]: https://github.com/doctrine/dbal/actions/workflows/continuous-integration.yml/badge.svg?branch=5.0.x
|
||||
|
||||
[Coverage 4.3 image]: https://codecov.io/gh/doctrine/dbal/branch/4.3.x/graph/badge.svg
|
||||
[4.3]: https://github.com/doctrine/dbal/tree/4.3.x
|
||||
|
@ -29,7 +28,7 @@ Powerful ***D***ata***B***ase ***A***bstraction ***L***ayer with many features f
|
|||
[AppVeyor 4.3]: https://ci.appveyor.com/project/doctrine/dbal/branch/4.3.x
|
||||
[AppVeyor 4.3 image]: https://ci.appveyor.com/api/projects/status/i88kitq8qpbm0vie/branch/4.3.x?svg=true
|
||||
[GA 4.3]: https://github.com/doctrine/dbal/actions?query=workflow%3A%22Continuous+Integration%22+branch%3A4.3.x
|
||||
[GA 4.3 image]: https://github.com/doctrine/dbal/workflows/Continuous%20Integration/badge.svg?branch=4.3.x
|
||||
[GA 4.3 image]: https://github.com/doctrine/dbal/actions/workflows/continuous-integration.yml/badge.svg?branch=4.3.x
|
||||
|
||||
[Coverage 4.2 image]: https://codecov.io/gh/doctrine/dbal/branch/4.2.x/graph/badge.svg
|
||||
[4.2]: https://github.com/doctrine/dbal/tree/4.2.x
|
||||
|
@ -37,9 +36,15 @@ Powerful ***D***ata***B***ase ***A***bstraction ***L***ayer with many features f
|
|||
[AppVeyor 4.2]: https://ci.appveyor.com/project/doctrine/dbal/branch/4.2.x
|
||||
[AppVeyor 4.2 image]: https://ci.appveyor.com/api/projects/status/i88kitq8qpbm0vie/branch/4.2.x?svg=true
|
||||
[GA 4.2]: https://github.com/doctrine/dbal/actions?query=workflow%3A%22Continuous+Integration%22+branch%3A4.2.x
|
||||
[GA 4.2 image]: https://github.com/doctrine/dbal/workflows/Continuous%20Integration/badge.svg?branch=4.2.x
|
||||
[TypeCov]: https://shepherd.dev/github/doctrine/dbal
|
||||
[TypeCov image]: https://shepherd.dev/github/doctrine/dbal/coverage.svg
|
||||
[GA 4.2 image]: https://github.com/doctrine/dbal/actions/workflows/continuous-integration.yml/badge.svg?branch=4.2.x
|
||||
|
||||
[Coverage 3.10 image]: https://codecov.io/gh/doctrine/dbal/branch/3.10.x/graph/badge.svg
|
||||
[3.10]: https://github.com/doctrine/dbal/tree/3.10.x
|
||||
[CodeCov 3.10]: https://codecov.io/gh/doctrine/dbal/branch/3.10.x
|
||||
[AppVeyor 3.10]: https://ci.appveyor.com/project/doctrine/dbal/branch/3.10.x
|
||||
[AppVeyor 3.10 image]: https://ci.appveyor.com/api/projects/status/i88kitq8qpbm0vie/branch/3.10.x?svg=true
|
||||
[GA 3.10]: https://github.com/doctrine/dbal/actions?query=workflow%3A%22Continuous+Integration%22+branch%3A3.10.x
|
||||
[GA 3.10 image]: https://github.com/doctrine/dbal/actions/workflows/continuous-integration.yml/badge.svg?branch=3.10.x
|
||||
|
||||
[Coverage 3.9 image]: https://codecov.io/gh/doctrine/dbal/branch/3.9.x/graph/badge.svg
|
||||
[3.9]: https://github.com/doctrine/dbal/tree/3.9.x
|
||||
|
@ -47,4 +52,4 @@ Powerful ***D***ata***B***ase ***A***bstraction ***L***ayer with many features f
|
|||
[AppVeyor 3.9]: https://ci.appveyor.com/project/doctrine/dbal/branch/3.9.x
|
||||
[AppVeyor 3.9 image]: https://ci.appveyor.com/api/projects/status/i88kitq8qpbm0vie/branch/3.9.x?svg=true
|
||||
[GA 3.9]: https://github.com/doctrine/dbal/actions?query=workflow%3A%22Continuous+Integration%22+branch%3A3.9.x
|
||||
[GA 3.9 image]: https://github.com/doctrine/dbal/workflows/Continuous%20Integration/badge.svg?branch=3.9.x
|
||||
[GA 3.9 image]: https://github.com/doctrine/dbal/actions/workflows/continuous-integration.yml/badge.svg?branch=3.9.x
|
||||
|
|
10
vendor/doctrine/dbal/composer.json
vendored
10
vendor/doctrine/dbal/composer.json
vendored
|
@ -43,15 +43,13 @@
|
|||
"doctrine/coding-standard": "12.0.0",
|
||||
"fig/log-test": "^1",
|
||||
"jetbrains/phpstorm-stubs": "2023.1",
|
||||
"phpstan/phpstan": "1.12.6",
|
||||
"phpstan/phpstan-strict-rules": "^1.6",
|
||||
"phpunit/phpunit": "9.6.20",
|
||||
"psalm/plugin-phpunit": "0.18.4",
|
||||
"phpstan/phpstan": "2.1.1",
|
||||
"phpstan/phpstan-strict-rules": "^2",
|
||||
"phpunit/phpunit": "9.6.22",
|
||||
"slevomat/coding-standard": "8.13.1",
|
||||
"squizlabs/php_codesniffer": "3.10.2",
|
||||
"symfony/cache": "^5.4|^6.0|^7.0",
|
||||
"symfony/console": "^4.4|^5.4|^6.0|^7.0",
|
||||
"vimeo/psalm": "4.30.0"
|
||||
"symfony/console": "^4.4|^5.4|^6.0|^7.0"
|
||||
},
|
||||
"suggest": {
|
||||
"symfony/console": "For helpful console commands such as SQL execution and import of files."
|
||||
|
|
829
vendor/doctrine/dbal/phpstan-baseline.neon
vendored
Normal file
829
vendor/doctrine/dbal/phpstan-baseline.neon
vendored
Normal file
|
@ -0,0 +1,829 @@
|
|||
parameters:
|
||||
ignoreErrors:
|
||||
-
|
||||
message: '#^@readonly property cannot have a default value\.$#'
|
||||
identifier: property.readOnlyByPhpDocDefaultValue
|
||||
count: 1
|
||||
path: src/Driver/AbstractException.php
|
||||
|
||||
-
|
||||
message: '#^Method Doctrine\\DBAL\\Driver\\OCI8\\Result\:\:fetchAllAssociative\(\) should return list\<array\<string, mixed\>\> but returns array\<mixed\>\.$#'
|
||||
identifier: return.type
|
||||
count: 1
|
||||
path: src/Driver/OCI8/Result.php
|
||||
|
||||
-
|
||||
message: '#^Method Doctrine\\DBAL\\Driver\\OCI8\\Result\:\:fetchAllNumeric\(\) should return list\<list\<mixed\>\> but returns array\<mixed\>\.$#'
|
||||
identifier: return.type
|
||||
count: 1
|
||||
path: src/Driver/OCI8/Result.php
|
||||
|
||||
-
|
||||
message: '#^@readonly property Doctrine\\DBAL\\Driver\\PDO\\PDOException\:\:\$sqlState is assigned outside of the constructor\.$#'
|
||||
identifier: property.readOnlyByPhpDocAssignNotInConstructor
|
||||
count: 1
|
||||
path: src/Driver/PDO/PDOException.php
|
||||
|
||||
-
|
||||
message: '#^@readonly property cannot have a default value\.$#'
|
||||
identifier: property.readOnlyByPhpDocDefaultValue
|
||||
count: 1
|
||||
path: src/Driver/PDO/PDOException.php
|
||||
|
||||
-
|
||||
message: '#^Method Doctrine\\DBAL\\Driver\\PDO\\Result\:\:fetchAll\(\) should return list\<mixed\> but returns array\.$#'
|
||||
identifier: return.type
|
||||
count: 1
|
||||
path: src/Driver/PDO/Result.php
|
||||
|
||||
-
|
||||
message: '#^Method Doctrine\\DBAL\\Driver\\PgSQL\\Result\:\:fetchAllAssociative\(\) should return list\<array\<string, mixed\>\> but returns array\<int, array\<string, mixed\>\>\.$#'
|
||||
identifier: return.type
|
||||
count: 1
|
||||
path: src/Driver/PgSQL/Result.php
|
||||
|
||||
-
|
||||
message: '#^Method Doctrine\\DBAL\\Driver\\PgSQL\\Result\:\:fetchAllNumeric\(\) should return list\<list\<mixed\>\> but returns array\<int, list\<mixed\>\>\.$#'
|
||||
identifier: return.type
|
||||
count: 1
|
||||
path: src/Driver/PgSQL/Result.php
|
||||
|
||||
-
|
||||
message: '#^Method Doctrine\\DBAL\\Driver\\PgSQL\\Result\:\:fetchFirstColumn\(\) should return list\<mixed\> but returns array\<int, bool\|float\|int\|string\|null\>\.$#'
|
||||
identifier: return.type
|
||||
count: 1
|
||||
path: src/Driver/PgSQL/Result.php
|
||||
|
||||
-
|
||||
message: '#^Method Doctrine\\DBAL\\Driver\\SQLite3\\Result\:\:fetchNumeric\(\) should return list\<mixed\>\|false but returns array\|false\.$#'
|
||||
identifier: return.type
|
||||
count: 1
|
||||
path: src/Driver/SQLite3/Result.php
|
||||
|
||||
-
|
||||
message: '#^Method Doctrine\\DBAL\\Platforms\\AbstractMySQLPlatform\:\:getAlterTableSQL\(\) should return list\<string\> but returns array\<mixed\>\.$#'
|
||||
identifier: return.type
|
||||
count: 1
|
||||
path: src/Platforms/AbstractMySQLPlatform.php
|
||||
|
||||
-
|
||||
message: '#^Parameter \#1 \$assets of method Doctrine\\DBAL\\Platforms\\AbstractMySQLPlatform\:\:indexAssetsByLowerCaseName\(\) expects list\<Doctrine\\DBAL\\Schema\\Index\>, array\<Doctrine\\DBAL\\Schema\\Index\> given\.$#'
|
||||
identifier: argument.type
|
||||
count: 1
|
||||
path: src/Platforms/AbstractMySQLPlatform.php
|
||||
|
||||
-
|
||||
message: '#^Method Doctrine\\DBAL\\Platforms\\AbstractPlatform\:\:buildCreateTableSQL\(\) should return list\<string\> but returns array\<string\>\.$#'
|
||||
identifier: return.type
|
||||
count: 2
|
||||
path: src/Platforms/AbstractPlatform.php
|
||||
|
||||
-
|
||||
message: '#^Method Doctrine\\DBAL\\Platforms\\DB2Platform\:\:getAlterTableSQL\(\) should return list\<string\> but returns array\<mixed\>\.$#'
|
||||
identifier: return.type
|
||||
count: 1
|
||||
path: src/Platforms/DB2Platform.php
|
||||
|
||||
-
|
||||
message: '#^Method Doctrine\\DBAL\\Platforms\\OraclePlatform\:\:getAlterTableSQL\(\) should return list\<string\> but returns array\<mixed\>\.$#'
|
||||
identifier: return.type
|
||||
count: 1
|
||||
path: src/Platforms/OraclePlatform.php
|
||||
|
||||
-
|
||||
message: '#^Method Doctrine\\DBAL\\Platforms\\PostgreSQLPlatform\:\:getAlterTableSQL\(\) should return list\<string\> but returns array\<mixed\>\.$#'
|
||||
identifier: return.type
|
||||
count: 1
|
||||
path: src/Platforms/PostgreSQLPlatform.php
|
||||
|
||||
-
|
||||
message: '#^Method Doctrine\\DBAL\\Platforms\\SQLServerPlatform\:\:getAlterTableSQL\(\) should return list\<string\> but returns array\<mixed\>\.$#'
|
||||
identifier: return.type
|
||||
count: 2
|
||||
path: src/Platforms/SQLServerPlatform.php
|
||||
|
||||
-
|
||||
message: '#^Method Doctrine\\DBAL\\Platforms\\SqlitePlatform\:\:getAlterTableSQL\(\) should return list\<string\> but returns array\<mixed\>\.$#'
|
||||
identifier: return.type
|
||||
count: 1
|
||||
path: src/Platforms/SqlitePlatform.php
|
||||
|
||||
-
|
||||
message: '#^Method Doctrine\\DBAL\\Platforms\\SqlitePlatform\:\:getAlterTableSQL\(\) should return list\<string\> but returns array\<string\>\.$#'
|
||||
identifier: return.type
|
||||
count: 1
|
||||
path: src/Platforms/SqlitePlatform.php
|
||||
|
||||
-
|
||||
message: '#^Parameter &\$knownAliases by\-ref type of method Doctrine\\DBAL\\Query\\QueryBuilder\:\:getSQLForJoins\(\) expects array\<string, true\>, non\-empty\-array\<true\> given\.$#'
|
||||
identifier: parameterByRef.type
|
||||
count: 1
|
||||
path: src/Query/QueryBuilder.php
|
||||
|
||||
-
|
||||
message: '#^Property Doctrine\\DBAL\\Query\\QueryBuilder\:\:\$params \(array\<int\<0, max\>\|string, mixed\>\) does not accept non\-empty\-array\<int\|string, mixed\>\.$#'
|
||||
identifier: assign.propertyType
|
||||
count: 1
|
||||
path: src/Query/QueryBuilder.php
|
||||
|
||||
-
|
||||
message: '#^Parameter \#1 \$sequences of method Doctrine\\DBAL\\SQL\\Builder\\DropSchemaObjectsSQLBuilder\:\:buildSequenceStatements\(\) expects list\<Doctrine\\DBAL\\Schema\\Sequence\>, array\<Doctrine\\DBAL\\Schema\\Sequence\> given\.$#'
|
||||
identifier: argument.type
|
||||
count: 1
|
||||
path: src/SQL/Builder/DropSchemaObjectsSQLBuilder.php
|
||||
|
||||
-
|
||||
message: '#^Parameter \#1 \$tables of method Doctrine\\DBAL\\SQL\\Builder\\DropSchemaObjectsSQLBuilder\:\:buildTableStatements\(\) expects list\<Doctrine\\DBAL\\Schema\\Table\>, array\<Doctrine\\DBAL\\Schema\\Table\> given\.$#'
|
||||
identifier: argument.type
|
||||
count: 1
|
||||
path: src/SQL/Builder/DropSchemaObjectsSQLBuilder.php
|
||||
|
||||
-
|
||||
message: '#^Method Doctrine\\DBAL\\Schema\\AbstractSchemaManager\:\:doListTableNames\(\) should return list\<string\> but returns array\<mixed\>\.$#'
|
||||
identifier: return.type
|
||||
count: 1
|
||||
path: src/Schema/AbstractSchemaManager.php
|
||||
|
||||
-
|
||||
message: '#^Template type T is declared as covariant, but occurs in invariant position in property Doctrine\\DBAL\\Schema\\AbstractSchemaManager\:\:\$_platform\.$#'
|
||||
identifier: generics.variance
|
||||
count: 1
|
||||
path: src/Schema/AbstractSchemaManager.php
|
||||
|
||||
-
|
||||
message: '#^Parameter \#1 \$tables of method Doctrine\\DBAL\\Platforms\\AbstractPlatform\:\:getDropTablesSQL\(\) expects list\<Doctrine\\DBAL\\Schema\\Table\>, array\<Doctrine\\DBAL\\Schema\\Table\> given\.$#'
|
||||
identifier: argument.type
|
||||
count: 1
|
||||
path: src/Schema/SchemaDiff.php
|
||||
|
||||
-
|
||||
message: '#^Method Doctrine\\DBAL\\Schema\\SqliteSchemaManager\:\:addDetailsToTableForeignKeyColumns\(\) should return list\<array\<string, mixed\>\> but returns array\<int\<0, max\>, array\<string, mixed\>\>\.$#'
|
||||
identifier: return.type
|
||||
count: 1
|
||||
path: src/Schema/SqliteSchemaManager.php
|
||||
|
||||
-
|
||||
message: '#^Method Doctrine\\DBAL\\Schema\\TableDiff\:\:getAddedForeignKeys\(\) should return list\<Doctrine\\DBAL\\Schema\\ForeignKeyConstraint\> but returns array\<Doctrine\\DBAL\\Schema\\ForeignKeyConstraint\>\.$#'
|
||||
identifier: return.type
|
||||
count: 1
|
||||
path: src/Schema/TableDiff.php
|
||||
|
||||
-
|
||||
message: '#^Method Doctrine\\DBAL\\Schema\\TableDiff\:\:getDroppedForeignKeys\(\) should return list\<Doctrine\\DBAL\\Schema\\ForeignKeyConstraint\|string\> but returns array\<Doctrine\\DBAL\\Schema\\ForeignKeyConstraint\|string\>\.$#'
|
||||
identifier: return.type
|
||||
count: 1
|
||||
path: src/Schema/TableDiff.php
|
||||
|
||||
-
|
||||
message: '#^Method Doctrine\\DBAL\\Schema\\TableDiff\:\:getModifiedForeignKeys\(\) should return list\<Doctrine\\DBAL\\Schema\\ForeignKeyConstraint\> but returns array\<Doctrine\\DBAL\\Schema\\ForeignKeyConstraint\>\.$#'
|
||||
identifier: return.type
|
||||
count: 1
|
||||
path: src/Schema/TableDiff.php
|
||||
|
||||
-
|
||||
message: '#^Parameter \#2 \$haystack of static method PHPUnit\\Framework\\Assert\:\:assertStringNotContainsString\(\) expects string, array\<mixed\>\|string given\.$#'
|
||||
identifier: argument.type
|
||||
count: 1
|
||||
path: tests/Cache/QueryCacheProfileTest.php
|
||||
|
||||
-
|
||||
message: '#^Parameter \#1 \$cache of method Doctrine\\DBAL\\Tests\\Connection\\CachedQueryTest\:\:assertCachedQueryIsExecutedOnceAndYieldsTheSameResult\(\) expects Doctrine\\Common\\Cache\\Cache\|Psr\\Cache\\CacheItemPoolInterface, Doctrine\\Common\\Cache\\ArrayCache given\.$#'
|
||||
identifier: argument.type
|
||||
count: 1
|
||||
path: tests/Connection/CachedQueryTest.php
|
||||
|
||||
-
|
||||
message: '#^Dynamic call to static method PHPUnit\\Framework\\Assert\:\:equalTo\(\)\.$#'
|
||||
identifier: staticMethod.dynamicCall
|
||||
count: 2
|
||||
path: tests/Connection/LoggingTest.php
|
||||
|
||||
-
|
||||
message: '#^Dynamic call to static method PHPUnit\\Framework\\TestCase\:\:once\(\)\.$#'
|
||||
identifier: staticMethod.dynamicCall
|
||||
count: 2
|
||||
path: tests/Connection/LoggingTest.php
|
||||
|
||||
-
|
||||
message: '#^Dead catch \- RuntimeException is never thrown in the try block\.$#'
|
||||
identifier: catch.neverThrown
|
||||
count: 1
|
||||
path: tests/ConnectionTest.php
|
||||
|
||||
-
|
||||
message: '#^Parameter \#1 \$params of class Doctrine\\DBAL\\Connection constructor expects array\{application_name\?\: string, charset\?\: string, dbname\?\: string, defaultTableOptions\?\: array\<string, mixed\>, default_dbname\?\: string, driver\?\: ''ibm_db2''\|''mysqli''\|''oci8''\|''pdo_mysql''\|''pdo_oci''\|''pdo_pgsql''\|''pdo_sqlite''\|''pdo_sqlsrv''\|''pgsql''\|''sqlite3''\|''sqlsrv'', driverClass\?\: class\-string\<Doctrine\\DBAL\\Driver\>, driverOptions\?\: array\<mixed\>, \.\.\.\}, array\{driver\: ''pdo_mysql'', host\: ''localhost'', user\: ''root'', password\: ''password'', port\: 1234, platform\: stdClass\} given\.$#'
|
||||
identifier: argument.type
|
||||
count: 1
|
||||
path: tests/ConnectionTest.php
|
||||
|
||||
-
|
||||
message: '#^Return type \(void\) of method Doctrine\\DBAL\\Connection@anonymous/tests/ConnectionTest\.php\:1079\:\:rollBack\(\) should be compatible with return type \(bool\) of method Doctrine\\DBAL\\Connection\:\:rollBack\(\)$#'
|
||||
identifier: method.childReturnType
|
||||
count: 1
|
||||
path: tests/ConnectionTest.php
|
||||
|
||||
-
|
||||
message: '#^Return type \(void\) of method Doctrine\\DBAL\\Connection@anonymous/tests/ConnectionTest\.php\:1103\:\:commit\(\) should be compatible with return type \(bool\) of method Doctrine\\DBAL\\Connection\:\:commit\(\)$#'
|
||||
identifier: method.childReturnType
|
||||
count: 1
|
||||
path: tests/ConnectionTest.php
|
||||
|
||||
-
|
||||
message: '#^Return type \(void\) of method Doctrine\\DBAL\\Connection@anonymous/tests/ConnectionTest\.php\:1103\:\:rollBack\(\) should be compatible with return type \(bool\) of method Doctrine\\DBAL\\Connection\:\:rollBack\(\)$#'
|
||||
identifier: method.childReturnType
|
||||
count: 1
|
||||
path: tests/ConnectionTest.php
|
||||
|
||||
-
|
||||
message: '#^Unreachable statement \- code above always terminates\.$#'
|
||||
identifier: deadCode.unreachable
|
||||
count: 1
|
||||
path: tests/ConnectionTest.php
|
||||
|
||||
-
|
||||
message: '#^Call to an undefined method Doctrine\\DBAL\\Driver\:\:createDatabasePlatformForVersion\(\)\.$#'
|
||||
identifier: method.notFound
|
||||
count: 1
|
||||
path: tests/Driver/AbstractDriverTestCase.php
|
||||
|
||||
-
|
||||
message: '#^Dynamic call to static method PHPUnit\\Framework\\Assert\:\:assertSame\(\)\.$#'
|
||||
identifier: staticMethod.dynamicCall
|
||||
count: 1
|
||||
path: tests/Driver/IBMDB2/DataSourceNameTest.php
|
||||
|
||||
-
|
||||
message: '#^Parameter \#1 \$params of method Doctrine\\DBAL\\Driver\\Mysqli\\Driver\:\:connect\(\) expects array\{application_name\?\: string, charset\?\: string, dbname\?\: string, defaultTableOptions\?\: array\<string, mixed\>, default_dbname\?\: string, driver\?\: ''ibm_db2''\|''mysqli''\|''oci8''\|''pdo_mysql''\|''pdo_oci''\|''pdo_pgsql''\|''pdo_sqlite''\|''pdo_sqlsrv''\|''pgsql''\|''sqlite3''\|''sqlsrv'', driverClass\?\: class\-string\<Doctrine\\DBAL\\Driver\>, driverOptions\?\: array\<mixed\>, \.\.\.\}, array\{persistent\: ''true''\} given\.$#'
|
||||
identifier: argument.type
|
||||
count: 1
|
||||
path: tests/Driver/Mysqli/ConnectionTest.php
|
||||
|
||||
-
|
||||
message: '#^Dynamic call to static method PHPUnit\\Framework\\Assert\:\:markTestSkipped\(\)\.$#'
|
||||
identifier: staticMethod.dynamicCall
|
||||
count: 1
|
||||
path: tests/Driver/PDO/PgSQL/DriverTest.php
|
||||
|
||||
-
|
||||
message: '#^Offset string might not exist on array\{application_name\?\: string, charset\?\: string, dbname\?\: string, defaultTableOptions\?\: array\<string, mixed\>, default_dbname\?\: string, driver\?\: ''ibm_db2''\|''mysqli''\|''oci8''\|''pdo_mysql''\|''pdo_oci''\|''pdo_pgsql''\|''pdo_sqlite''\|''pdo_sqlsrv''\|''pgsql''\|''sqlite3''\|''sqlsrv'', driverClass\?\: class\-string\<Doctrine\\DBAL\\Driver\>, driverOptions\?\: array\<mixed\>, \.\.\.\}\.$#'
|
||||
identifier: offsetAccess.notFound
|
||||
count: 2
|
||||
path: tests/DriverManagerTest.php
|
||||
|
||||
-
|
||||
message: '#^Parameter \#1 \$params of static method Doctrine\\DBAL\\DriverManager\:\:getConnection\(\) expects array\{application_name\?\: string, charset\?\: string, dbname\?\: string, defaultTableOptions\?\: array\<string, mixed\>, default_dbname\?\: string, driver\?\: ''ibm_db2''\|''mysqli''\|''oci8''\|''pdo_mysql''\|''pdo_oci''\|''pdo_pgsql''\|''pdo_sqlite''\|''pdo_sqlsrv''\|''pgsql''\|''sqlite3''\|''sqlsrv'', driverClass\?\: class\-string\<Doctrine\\DBAL\\Driver\>, driverOptions\?\: array\<mixed\>, \.\.\.\}, array\{driver\: ''invalid_driver''\} given\.$#'
|
||||
identifier: argument.type
|
||||
count: 1
|
||||
path: tests/DriverManagerTest.php
|
||||
|
||||
-
|
||||
message: '#^Parameter \#1 \$params of static method Doctrine\\DBAL\\DriverManager\:\:getConnection\(\) expects array\{application_name\?\: string, charset\?\: string, dbname\?\: string, defaultTableOptions\?\: array\<string, mixed\>, default_dbname\?\: string, driver\?\: ''ibm_db2''\|''mysqli''\|''oci8''\|''pdo_mysql''\|''pdo_oci''\|''pdo_pgsql''\|''pdo_sqlite''\|''pdo_sqlsrv''\|''pgsql''\|''sqlite3''\|''sqlsrv'', driverClass\?\: class\-string\<Doctrine\\DBAL\\Driver\>, driverOptions\?\: array\<mixed\>, \.\.\.\}, array\{driver\: ''pdo_sqlite'', memory\: true, wrapperClass\: ''stdClass''\} given\.$#'
|
||||
identifier: argument.type
|
||||
count: 1
|
||||
path: tests/DriverManagerTest.php
|
||||
|
||||
-
|
||||
message: '#^Parameter \#1 \$params of static method Doctrine\\DBAL\\DriverManager\:\:getConnection\(\) expects array\{application_name\?\: string, charset\?\: string, dbname\?\: string, defaultTableOptions\?\: array\<string, mixed\>, default_dbname\?\: string, driver\?\: ''ibm_db2''\|''mysqli''\|''oci8''\|''pdo_mysql''\|''pdo_oci''\|''pdo_pgsql''\|''pdo_sqlite''\|''pdo_sqlsrv''\|''pgsql''\|''sqlite3''\|''sqlsrv'', driverClass\?\: class\-string\<Doctrine\\DBAL\\Driver\>, driverOptions\?\: array\<mixed\>, \.\.\.\}, array\{driverClass\: ''stdClass''\} given\.$#'
|
||||
identifier: argument.type
|
||||
count: 1
|
||||
path: tests/DriverManagerTest.php
|
||||
|
||||
-
|
||||
message: '#^Dynamic call to static method PHPUnit\\Framework\\Assert\:\:markTestSkipped\(\)\.$#'
|
||||
identifier: staticMethod.dynamicCall
|
||||
count: 1
|
||||
path: tests/Functional/Connection/ConnectionLostTest.php
|
||||
|
||||
-
|
||||
message: '#^Unreachable statement \- code above always terminates\.$#'
|
||||
identifier: deadCode.unreachable
|
||||
count: 1
|
||||
path: tests/Functional/ConnectionTest.php
|
||||
|
||||
-
|
||||
message: '#^Dynamic call to static method PHPUnit\\Framework\\Assert\:\:assertNull\(\)\.$#'
|
||||
identifier: staticMethod.dynamicCall
|
||||
count: 1
|
||||
path: tests/Functional/Driver/DBAL6024Test.php
|
||||
|
||||
-
|
||||
message: '#^Dynamic call to static method PHPUnit\\Framework\\Assert\:\:assertEquals\(\)\.$#'
|
||||
identifier: staticMethod.dynamicCall
|
||||
count: 2
|
||||
path: tests/Functional/Driver/DBAL6044Test.php
|
||||
|
||||
-
|
||||
message: '#^Dynamic call to static method PHPUnit\\Framework\\Assert\:\:assertFalse\(\)\.$#'
|
||||
identifier: staticMethod.dynamicCall
|
||||
count: 1
|
||||
path: tests/Functional/Driver/DBAL6044Test.php
|
||||
|
||||
-
|
||||
message: '#^Dynamic call to static method PHPUnit\\Framework\\Assert\:\:assertTrue\(\)\.$#'
|
||||
identifier: staticMethod.dynamicCall
|
||||
count: 1
|
||||
path: tests/Functional/Driver/DBAL6044Test.php
|
||||
|
||||
-
|
||||
message: '#^Cannot access property \$affected_rows on mysqli_stmt\|false\.$#'
|
||||
identifier: property.nonObject
|
||||
count: 1
|
||||
path: tests/Functional/Driver/Mysqli/ResultTest.php
|
||||
|
||||
-
|
||||
message: '#^Cannot call method execute\(\) on mysqli_stmt\|false\.$#'
|
||||
identifier: method.nonObject
|
||||
count: 2
|
||||
path: tests/Functional/Driver/Mysqli/ResultTest.php
|
||||
|
||||
-
|
||||
message: '#^Parameter \#1 \$statement of class Doctrine\\DBAL\\Driver\\Mysqli\\Result constructor expects mysqli_stmt, mysqli_stmt\|false given\.$#'
|
||||
identifier: argument.type
|
||||
count: 2
|
||||
path: tests/Functional/Driver/Mysqli/ResultTest.php
|
||||
|
||||
-
|
||||
message: '#^Unreachable statement \- code above always terminates\.$#'
|
||||
identifier: deadCode.unreachable
|
||||
count: 1
|
||||
path: tests/Functional/Driver/Mysqli/ResultTest.php
|
||||
|
||||
-
|
||||
message: '#^Call to sprintf contains 0 placeholders, 1 value given\.$#'
|
||||
identifier: argument.sprintf
|
||||
count: 2
|
||||
path: tests/Functional/Driver/OCI8/ResultTest.php
|
||||
|
||||
-
|
||||
message: '#^Dynamic call to static method PHPUnit\\Framework\\Assert\:\:assertEquals\(\)\.$#'
|
||||
identifier: staticMethod.dynamicCall
|
||||
count: 1
|
||||
path: tests/Functional/Driver/OCI8/ResultTest.php
|
||||
|
||||
-
|
||||
message: '#^Cannot access offset ''name'' on array\{name\: string, passwd\: string, uid\: int, gid\: int, gecos\: string, dir\: string, shell\: string\}\|false\.$#'
|
||||
identifier: offsetAccess.nonOffsetAccessible
|
||||
count: 1
|
||||
path: tests/Functional/ExceptionTest.php
|
||||
|
||||
-
|
||||
message: '#^Dynamic call to static method PHPUnit\\Framework\\Assert\:\:assertEquals\(\)\.$#'
|
||||
identifier: staticMethod.dynamicCall
|
||||
count: 2
|
||||
path: tests/Functional/LegacyAPITest.php
|
||||
|
||||
-
|
||||
message: '#^Parameter \#1 \$mode of method Doctrine\\DBAL\\Result\:\:fetch\(\) expects 2\|3\|7, 1 given\.$#'
|
||||
identifier: argument.type
|
||||
count: 1
|
||||
path: tests/Functional/LegacyAPITest.php
|
||||
|
||||
-
|
||||
message: '#^Parameter \#1 \$mode of method Doctrine\\DBAL\\Result\:\:fetchAll\(\) expects 2\|3\|7, 1 given\.$#'
|
||||
identifier: argument.type
|
||||
count: 1
|
||||
path: tests/Functional/LegacyAPITest.php
|
||||
|
||||
-
|
||||
message: '#^Dynamic call to static method PHPUnit\\Framework\\Assert\:\:markTestSkipped\(\)\.$#'
|
||||
identifier: staticMethod.dynamicCall
|
||||
count: 1
|
||||
path: tests/Functional/ModifyLimitQueryTest.php
|
||||
|
||||
-
|
||||
message: '#^Dynamic call to static method PHPUnit\\Framework\\Assert\:\:assertTrue\(\)\.$#'
|
||||
identifier: staticMethod.dynamicCall
|
||||
count: 2
|
||||
path: tests/Functional/Platform/PlatformRestrictionsTest.php
|
||||
|
||||
-
|
||||
message: '#^Offset ''replica'' might not exist on array\{application_name\?\: string, charset\?\: string, dbname\?\: string, defaultTableOptions\?\: array\<string, mixed\>, default_dbname\?\: string, driver\?\: ''ibm_db2''\|''mysqli''\|''oci8''\|''pdo_mysql''\|''pdo_oci''\|''pdo_pgsql''\|''pdo_sqlite''\|''pdo_sqlsrv''\|''pgsql''\|''sqlite3''\|''sqlsrv'', driverClass\?\: class\-string\<Doctrine\\DBAL\\Driver\>, driverOptions\?\: array\<mixed\>, \.\.\.\}\.$#'
|
||||
identifier: offsetAccess.notFound
|
||||
count: 1
|
||||
path: tests/Functional/PrimaryReadReplicaConnectionTest.php
|
||||
|
||||
-
|
||||
message: '#^Instanceof between Doctrine\\DBAL\\Platforms\\MariaDBPlatform and Doctrine\\DBAL\\Platforms\\MariaDb1010Platform will always evaluate to false\.$#'
|
||||
identifier: instanceof.alwaysFalse
|
||||
count: 1
|
||||
path: tests/Functional/Query/QueryBuilderTest.php
|
||||
|
||||
-
|
||||
message: '#^PHPDoc tag @param for parameter \$expectedDefault with type mixed is not subtype of native type string\|null\.$#'
|
||||
identifier: parameter.phpDocType
|
||||
count: 2
|
||||
path: tests/Functional/Schema/DefaultValueTest.php
|
||||
|
||||
-
|
||||
message: '#^Only numeric types are allowed in \+, int\|null given on the left side\.$#'
|
||||
identifier: plus.leftNonNumeric
|
||||
count: 1
|
||||
path: tests/Functional/Schema/MySQL/ComparatorTest.php
|
||||
|
||||
-
|
||||
message: '#^Call to function array_filter\(\) requires parameter \#2 to be passed to avoid loose comparison semantics\.$#'
|
||||
identifier: arrayFilter.strict
|
||||
count: 1
|
||||
path: tests/Functional/Schema/MySQL/JsonCollationTest.php
|
||||
|
||||
-
|
||||
message: '#^Dynamic call to static method PHPUnit\\Framework\\Assert\:\:assertTrue\(\)\.$#'
|
||||
identifier: staticMethod.dynamicCall
|
||||
count: 3
|
||||
path: tests/Functional/Schema/MySQL/JsonCollationTest.php
|
||||
|
||||
-
|
||||
message: '#^Dynamic call to static method PHPUnit\\Framework\\Assert\:\:assertEquals\(\)\.$#'
|
||||
identifier: staticMethod.dynamicCall
|
||||
count: 1
|
||||
path: tests/Functional/Schema/PostgreSQL/SchemaTest.php
|
||||
|
||||
-
|
||||
message: '#^Dynamic call to static method PHPUnit\\Framework\\Assert\:\:assertNotFalse\(\)\.$#'
|
||||
identifier: staticMethod.dynamicCall
|
||||
count: 1
|
||||
path: tests/Functional/Schema/PostgreSQL/SchemaTest.php
|
||||
|
||||
-
|
||||
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertTrue\(\) with true and mixed will always evaluate to true\.$#'
|
||||
identifier: staticMethod.alreadyNarrowedType
|
||||
count: 2
|
||||
path: tests/Functional/Schema/PostgreSQLSchemaManagerTest.php
|
||||
|
||||
-
|
||||
message: '#^Cannot call method getForeignTableName\(\) on Doctrine\\DBAL\\Schema\\ForeignKeyConstraint\|null\.$#'
|
||||
identifier: method.nonObject
|
||||
count: 1
|
||||
path: tests/Functional/Schema/PostgreSQLSchemaManagerTest.php
|
||||
|
||||
-
|
||||
message: '#^Dynamic call to static method PHPUnit\\Framework\\Assert\:\:assertArrayHasKey\(\)\.$#'
|
||||
identifier: staticMethod.dynamicCall
|
||||
count: 2
|
||||
path: tests/Functional/Schema/PostgreSQLSchemaManagerTest.php
|
||||
|
||||
-
|
||||
message: '#^Dynamic call to static method PHPUnit\\Framework\\Assert\:\:assertCount\(\)\.$#'
|
||||
identifier: staticMethod.dynamicCall
|
||||
count: 2
|
||||
path: tests/Functional/Schema/PostgreSQLSchemaManagerTest.php
|
||||
|
||||
-
|
||||
message: '#^Dynamic call to static method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\)\.$#'
|
||||
identifier: staticMethod.dynamicCall
|
||||
count: 2
|
||||
path: tests/Functional/Schema/PostgreSQLSchemaManagerTest.php
|
||||
|
||||
-
|
||||
message: '#^Dynamic call to static method PHPUnit\\Framework\\Assert\:\:assertTrue\(\)\.$#'
|
||||
identifier: staticMethod.dynamicCall
|
||||
count: 4
|
||||
path: tests/Functional/Schema/PostgreSQLSchemaManagerTest.php
|
||||
|
||||
-
|
||||
message: '#^Cannot call method getColumns\(\) on Doctrine\\DBAL\\Schema\\Index\|false\.$#'
|
||||
identifier: method.nonObject
|
||||
count: 1
|
||||
path: tests/Functional/Schema/SQLServerSchemaManagerTest.php
|
||||
|
||||
-
|
||||
message: '#^Call to method Doctrine\\DBAL\\Schema\\AbstractAsset\:\:getName\(\) with incorrect case\: getname$#'
|
||||
identifier: method.nameCase
|
||||
count: 6
|
||||
path: tests/Functional/Schema/SchemaManagerFunctionalTestCase.php
|
||||
|
||||
-
|
||||
message: '#^Call to method Doctrine\\DBAL\\Schema\\Column\:\:getDefault\(\) with incorrect case\: getdefault$#'
|
||||
identifier: method.nameCase
|
||||
count: 6
|
||||
path: tests/Functional/Schema/SchemaManagerFunctionalTestCase.php
|
||||
|
||||
-
|
||||
message: '#^Call to method Doctrine\\DBAL\\Schema\\Column\:\:getFixed\(\) with incorrect case\: getfixed$#'
|
||||
identifier: method.nameCase
|
||||
count: 3
|
||||
path: tests/Functional/Schema/SchemaManagerFunctionalTestCase.php
|
||||
|
||||
-
|
||||
message: '#^Call to method Doctrine\\DBAL\\Schema\\Column\:\:getLength\(\) with incorrect case\: getlength$#'
|
||||
identifier: method.nameCase
|
||||
count: 2
|
||||
path: tests/Functional/Schema/SchemaManagerFunctionalTestCase.php
|
||||
|
||||
-
|
||||
message: '#^Call to method Doctrine\\DBAL\\Schema\\Column\:\:getNotnull\(\) with incorrect case\: getnotnull$#'
|
||||
identifier: method.nameCase
|
||||
count: 6
|
||||
path: tests/Functional/Schema/SchemaManagerFunctionalTestCase.php
|
||||
|
||||
-
|
||||
message: '#^Call to method Doctrine\\DBAL\\Schema\\Column\:\:getPrecision\(\) with incorrect case\: getprecision$#'
|
||||
identifier: method.nameCase
|
||||
count: 1
|
||||
path: tests/Functional/Schema/SchemaManagerFunctionalTestCase.php
|
||||
|
||||
-
|
||||
message: '#^Call to method Doctrine\\DBAL\\Schema\\Column\:\:getScale\(\) with incorrect case\: getscale$#'
|
||||
identifier: method.nameCase
|
||||
count: 1
|
||||
path: tests/Functional/Schema/SchemaManagerFunctionalTestCase.php
|
||||
|
||||
-
|
||||
message: '#^Call to method Doctrine\\DBAL\\Schema\\Column\:\:getType\(\) with incorrect case\: gettype$#'
|
||||
identifier: method.nameCase
|
||||
count: 6
|
||||
path: tests/Functional/Schema/SchemaManagerFunctionalTestCase.php
|
||||
|
||||
-
|
||||
message: '#^Call to method Doctrine\\DBAL\\Schema\\Column\:\:getUnsigned\(\) with incorrect case\: getunsigned$#'
|
||||
identifier: method.nameCase
|
||||
count: 2
|
||||
path: tests/Functional/Schema/SchemaManagerFunctionalTestCase.php
|
||||
|
||||
-
|
||||
message: '#^Cannot call method getColumns\(\) on Doctrine\\DBAL\\Schema\\ForeignKeyConstraint\|false\.$#'
|
||||
identifier: method.nonObject
|
||||
count: 2
|
||||
path: tests/Functional/Schema/SchemaManagerFunctionalTestCase.php
|
||||
|
||||
-
|
||||
message: '#^Cannot call method getForeignColumns\(\) on Doctrine\\DBAL\\Schema\\ForeignKeyConstraint\|false\.$#'
|
||||
identifier: method.nonObject
|
||||
count: 1
|
||||
path: tests/Functional/Schema/SchemaManagerFunctionalTestCase.php
|
||||
|
||||
-
|
||||
message: '#^Cannot call method getForeignTableName\(\) on Doctrine\\DBAL\\Schema\\ForeignKeyConstraint\|false\.$#'
|
||||
identifier: method.nonObject
|
||||
count: 1
|
||||
path: tests/Functional/Schema/SchemaManagerFunctionalTestCase.php
|
||||
|
||||
-
|
||||
message: '#^Cannot call method getName\(\) on Doctrine\\DBAL\\Schema\\Index\|false\.$#'
|
||||
identifier: method.nonObject
|
||||
count: 1
|
||||
path: tests/Functional/Schema/SchemaManagerFunctionalTestCase.php
|
||||
|
||||
-
|
||||
message: '#^Cannot call method isUnique\(\) on Doctrine\\DBAL\\Schema\\Index\|false\.$#'
|
||||
identifier: method.nonObject
|
||||
count: 1
|
||||
path: tests/Functional/Schema/SchemaManagerFunctionalTestCase.php
|
||||
|
||||
-
|
||||
message: '#^Cannot call method getForeignColumns\(\) on Doctrine\\DBAL\\Schema\\ForeignKeyConstraint\|null\.$#'
|
||||
identifier: method.nonObject
|
||||
count: 5
|
||||
path: tests/Functional/Schema/SqliteSchemaManagerTest.php
|
||||
|
||||
-
|
||||
message: '#^Cannot call method getForeignTableName\(\) on Doctrine\\DBAL\\Schema\\ForeignKeyConstraint\|null\.$#'
|
||||
identifier: method.nonObject
|
||||
count: 1
|
||||
path: tests/Functional/Schema/SqliteSchemaManagerTest.php
|
||||
|
||||
-
|
||||
message: '#^Cannot call method getLocalColumns\(\) on Doctrine\\DBAL\\Schema\\ForeignKeyConstraint\|null\.$#'
|
||||
identifier: method.nonObject
|
||||
count: 5
|
||||
path: tests/Functional/Schema/SqliteSchemaManagerTest.php
|
||||
|
||||
-
|
||||
message: '#^Cannot call method getName\(\) on Doctrine\\DBAL\\Schema\\ForeignKeyConstraint\|null\.$#'
|
||||
identifier: method.nonObject
|
||||
count: 4
|
||||
path: tests/Functional/Schema/SqliteSchemaManagerTest.php
|
||||
|
||||
-
|
||||
message: '#^Dynamic call to static method PHPUnit\\Framework\\Assert\:\:assertEquals\(\)\.$#'
|
||||
identifier: staticMethod.dynamicCall
|
||||
count: 2
|
||||
path: tests/Functional/StatementTest.php
|
||||
|
||||
-
|
||||
message: '#^Dynamic call to static method PHPUnit\\Framework\\Assert\:\:markTestSkipped\(\)\.$#'
|
||||
identifier: staticMethod.dynamicCall
|
||||
count: 1
|
||||
path: tests/Functional/TransactionTest.php
|
||||
|
||||
-
|
||||
message: '#^Method Doctrine\\DBAL\\Tests\\Functional\\Types\\JsonTest\:\:insert\(\) has parameter \$value with no value type specified in iterable type array\.$#'
|
||||
identifier: missingType.iterableValue
|
||||
count: 1
|
||||
path: tests/Functional/Types/JsonTest.php
|
||||
|
||||
-
|
||||
message: '#^Method Doctrine\\DBAL\\Tests\\Functional\\Types\\JsonTest\:\:select\(\) return type has no value type specified in iterable type array\.$#'
|
||||
identifier: missingType.iterableValue
|
||||
count: 1
|
||||
path: tests/Functional/Types/JsonTest.php
|
||||
|
||||
-
|
||||
message: '#^Method PHPUnit\\Framework\\MockObject\\Builder\\InvocationMocker\:\:with\(\) invoked with unpacked array with possibly string key, but it''s not allowed because of @no\-named\-arguments\.$#'
|
||||
identifier: argument.named
|
||||
count: 1
|
||||
path: tests/Logging/LoggerChainTest.php
|
||||
|
||||
-
|
||||
message: '#^Dynamic call to static method PHPUnit\\Framework\\Assert\:\:assertStringEndsNotWith\(\)\.$#'
|
||||
identifier: staticMethod.dynamicCall
|
||||
count: 1
|
||||
path: tests/Platforms/AbstractPlatformTestCase.php
|
||||
|
||||
-
|
||||
message: '#^Dynamic call to static method PHPUnit\\Framework\\Assert\:\:markTestSkipped\(\)\.$#'
|
||||
identifier: staticMethod.dynamicCall
|
||||
count: 1
|
||||
path: tests/Platforms/AbstractPlatformTestCase.php
|
||||
|
||||
-
|
||||
message: '#^Parameter \#1 \$value1 of method Doctrine\\DBAL\\Platforms\\AbstractPlatform\:\:getBitAndComparisonExpression\(\) expects string, int given\.$#'
|
||||
identifier: argument.type
|
||||
count: 1
|
||||
path: tests/Platforms/AbstractPlatformTestCase.php
|
||||
|
||||
-
|
||||
message: '#^Parameter \#1 \$value1 of method Doctrine\\DBAL\\Platforms\\AbstractPlatform\:\:getBitOrComparisonExpression\(\) expects string, int given\.$#'
|
||||
identifier: argument.type
|
||||
count: 1
|
||||
path: tests/Platforms/AbstractPlatformTestCase.php
|
||||
|
||||
-
|
||||
message: '#^Parameter \#1 \$value1 of method Doctrine\\DBAL\\Tests\\Platforms\\AbstractPlatformTestCase\<T of Doctrine\\DBAL\\Platforms\\AbstractPlatform\>\:\:getBitAndComparisonExpressionSql\(\) expects string, int given\.$#'
|
||||
identifier: argument.type
|
||||
count: 1
|
||||
path: tests/Platforms/AbstractPlatformTestCase.php
|
||||
|
||||
-
|
||||
message: '#^Parameter \#1 \$value1 of method Doctrine\\DBAL\\Tests\\Platforms\\AbstractPlatformTestCase\<T of Doctrine\\DBAL\\Platforms\\AbstractPlatform\>\:\:getBitOrComparisonExpressionSql\(\) expects string, int given\.$#'
|
||||
identifier: argument.type
|
||||
count: 1
|
||||
path: tests/Platforms/AbstractPlatformTestCase.php
|
||||
|
||||
-
|
||||
message: '#^Parameter \#2 \$limit of method Doctrine\\DBAL\\Platforms\\AbstractPlatform\:\:modifyLimitQuery\(\) expects int\|null, string given\.$#'
|
||||
identifier: argument.type
|
||||
count: 1
|
||||
path: tests/Platforms/AbstractPlatformTestCase.php
|
||||
|
||||
-
|
||||
message: '#^Parameter \#2 \$lockMode of method Doctrine\\DBAL\\Platforms\\AbstractPlatform\:\:appendLockHint\(\) expects 0\|1\|2\|4, 128 given\.$#'
|
||||
identifier: argument.type
|
||||
count: 1
|
||||
path: tests/Platforms/AbstractPlatformTestCase.php
|
||||
|
||||
-
|
||||
message: '#^Parameter \#2 \$value2 of method Doctrine\\DBAL\\Platforms\\AbstractPlatform\:\:getBitAndComparisonExpression\(\) expects string, int given\.$#'
|
||||
identifier: argument.type
|
||||
count: 1
|
||||
path: tests/Platforms/AbstractPlatformTestCase.php
|
||||
|
||||
-
|
||||
message: '#^Parameter \#2 \$value2 of method Doctrine\\DBAL\\Platforms\\AbstractPlatform\:\:getBitOrComparisonExpression\(\) expects string, int given\.$#'
|
||||
identifier: argument.type
|
||||
count: 1
|
||||
path: tests/Platforms/AbstractPlatformTestCase.php
|
||||
|
||||
-
|
||||
message: '#^Parameter \#2 \$value2 of method Doctrine\\DBAL\\Tests\\Platforms\\AbstractPlatformTestCase\<T of Doctrine\\DBAL\\Platforms\\AbstractPlatform\>\:\:getBitAndComparisonExpressionSql\(\) expects string, int given\.$#'
|
||||
identifier: argument.type
|
||||
count: 1
|
||||
path: tests/Platforms/AbstractPlatformTestCase.php
|
||||
|
||||
-
|
||||
message: '#^Parameter \#2 \$value2 of method Doctrine\\DBAL\\Tests\\Platforms\\AbstractPlatformTestCase\<T of Doctrine\\DBAL\\Platforms\\AbstractPlatform\>\:\:getBitOrComparisonExpressionSql\(\) expects string, int given\.$#'
|
||||
identifier: argument.type
|
||||
count: 1
|
||||
path: tests/Platforms/AbstractPlatformTestCase.php
|
||||
|
||||
-
|
||||
message: '#^Parameter \#3 \$offset of method Doctrine\\DBAL\\Platforms\\AbstractPlatform\:\:modifyLimitQuery\(\) expects int, string given\.$#'
|
||||
identifier: argument.type
|
||||
count: 1
|
||||
path: tests/Platforms/AbstractPlatformTestCase.php
|
||||
|
||||
-
|
||||
message: '#^Cannot access offset ''boolean'' on iterable\.$#'
|
||||
identifier: offsetAccess.nonOffsetAccessible
|
||||
count: 1
|
||||
path: tests/Platforms/DB2PlatformTest.php
|
||||
|
||||
-
|
||||
message: '#^Method Doctrine\\DBAL\\Tests\\Platforms\\DB2PlatformTest\:\:getIsCommentedDoctrineType\(\) should return array\<mixed\> but returns array\<mixed\>\|\(ArrayAccess&iterable\)\.$#'
|
||||
identifier: return.type
|
||||
count: 1
|
||||
path: tests/Platforms/DB2PlatformTest.php
|
||||
|
||||
-
|
||||
message: '#^Parameter \#3 \$message of static method PHPUnit\\Framework\\Assert\:\:assertEquals\(\) expects string, true given\.$#'
|
||||
identifier: argument.type
|
||||
count: 1
|
||||
path: tests/Platforms/DB2PlatformTest.php
|
||||
|
||||
-
|
||||
message: '#^Dynamic call to static method PHPUnit\\Framework\\Assert\:\:assertTrue\(\)\.$#'
|
||||
identifier: staticMethod.dynamicCall
|
||||
count: 1
|
||||
path: tests/Platforms/MySQL/MariaDbJsonComparatorTest.php
|
||||
|
||||
-
|
||||
message: '#^Dynamic call to static method Doctrine\\DBAL\\Platforms\\OraclePlatform\:\:assertValidIdentifier\(\)\.$#'
|
||||
identifier: staticMethod.dynamicCall
|
||||
count: 2
|
||||
path: tests/Platforms/OraclePlatformTest.php
|
||||
|
||||
-
|
||||
message: '#^Unreachable statement \- code above always terminates\.$#'
|
||||
identifier: deadCode.unreachable
|
||||
count: 1
|
||||
path: tests/Platforms/PostgreSQLPlatformTest.php
|
||||
|
||||
-
|
||||
message: '#^Dynamic call to static method PHPUnit\\Framework\\Assert\:\:markTestSkipped\(\)\.$#'
|
||||
identifier: staticMethod.dynamicCall
|
||||
count: 1
|
||||
path: tests/Platforms/SqlitePlatformTest.php
|
||||
|
||||
-
|
||||
message: '#^PHPDoc tag @return contains unresolvable type\.$#'
|
||||
identifier: return.unresolvableType
|
||||
count: 1
|
||||
path: tests/Portability/StatementTest.php
|
||||
|
||||
-
|
||||
message: '#^Return type of call to method PHPUnit\\Framework\\MockObject\\MockBuilder\<Doctrine\\DBAL\\Portability\\Connection\>\:\:getMock\(\) contains unresolvable type\.$#'
|
||||
identifier: method.unresolvableReturnType
|
||||
count: 1
|
||||
path: tests/Portability/StatementTest.php
|
||||
|
||||
-
|
||||
message: '#^Parameter \#2 \$y of method Doctrine\\DBAL\\Query\\Expression\\ExpressionBuilder\:\:in\(\) expects array\<string\>\|string, array\<int, int\> given\.$#'
|
||||
identifier: argument.type
|
||||
count: 1
|
||||
path: tests/Query/Expression/ExpressionBuilderTest.php
|
||||
|
||||
-
|
||||
message: '#^Parameter \#2 \$y of method Doctrine\\DBAL\\Query\\Expression\\ExpressionBuilder\:\:notIn\(\) expects array\<string\>\|string, array\<int, int\> given\.$#'
|
||||
identifier: argument.type
|
||||
count: 1
|
||||
path: tests/Query/Expression/ExpressionBuilderTest.php
|
||||
|
||||
-
|
||||
message: '#^Dynamic call to static method PHPUnit\\Framework\\TestCase\:\:any\(\)\.$#'
|
||||
identifier: staticMethod.dynamicCall
|
||||
count: 1
|
||||
path: tests/Query/QueryBuilderTest.php
|
||||
|
||||
-
|
||||
message: '#^Parameter \#1 \$precision of method Doctrine\\DBAL\\Schema\\Column\:\:setPrecision\(\) expects int, null given\.$#'
|
||||
identifier: argument.type
|
||||
count: 1
|
||||
path: tests/Schema/AbstractComparatorTestCase.php
|
||||
|
||||
-
|
||||
message: '#^Static call to instance method Doctrine\\DBAL\\Schema\\Comparator\:\:compareSchemas\(\)\.$#'
|
||||
identifier: method.staticCall
|
||||
count: 1
|
||||
path: tests/Schema/AbstractComparatorTestCase.php
|
||||
|
||||
-
|
||||
message: '#^Cannot call method getName\(\) on Doctrine\\DBAL\\Schema\\Index\|false\.$#'
|
||||
identifier: method.nonObject
|
||||
count: 1
|
||||
path: tests/Schema/SchemaTest.php
|
||||
|
||||
-
|
||||
message: '#^Dynamic call to static method PHPUnit\\Framework\\TestCase\:\:exactly\(\)\.$#'
|
||||
identifier: staticMethod.dynamicCall
|
||||
count: 3
|
||||
path: tests/Schema/SchemaTest.php
|
||||
|
||||
-
|
||||
message: '#^Parameter \#1 \$class of class ReflectionProperty constructor expects object\|string, Doctrine\\DBAL\\Schema\\ForeignKeyConstraint\|false given\.$#'
|
||||
identifier: argument.type
|
||||
count: 1
|
||||
path: tests/Schema/SchemaTest.php
|
||||
|
||||
-
|
||||
message: '#^Parameter \#1 \$object of method ReflectionProperty\:\:getValue\(\) expects object\|null, Doctrine\\DBAL\\Schema\\ForeignKeyConstraint\|false given\.$#'
|
||||
identifier: argument.type
|
||||
count: 1
|
||||
path: tests/Schema/SchemaTest.php
|
||||
|
||||
-
|
||||
message: '#^Cannot call method getColumns\(\) on Doctrine\\DBAL\\Schema\\Index\|false\.$#'
|
||||
identifier: method.nonObject
|
||||
count: 1
|
||||
path: tests/Schema/TableTest.php
|
||||
|
||||
-
|
||||
message: '#^Cannot call method getName\(\) on Doctrine\\DBAL\\Schema\\Index\|false\.$#'
|
||||
identifier: method.nonObject
|
||||
count: 2
|
||||
path: tests/Schema/TableTest.php
|
||||
|
||||
-
|
||||
message: '#^Dynamic call to static method PHPUnit\\Framework\\TestCase\:\:any\(\)\.$#'
|
||||
identifier: staticMethod.dynamicCall
|
||||
count: 1
|
||||
path: tests/Schema/Visitor/CreateSchemaSqlCollectorTest.php
|
|
@ -27,9 +27,9 @@ final class ArrayParameterType
|
|||
/**
|
||||
* @internal
|
||||
*
|
||||
* @psalm-param self::* $type
|
||||
* @phpstan-param self::* $type
|
||||
*
|
||||
* @psalm-return ParameterType::INTEGER|ParameterType::STRING|ParameterType::ASCII|ParameterType::BINARY
|
||||
* @phpstan-return ParameterType::INTEGER|ParameterType::STRING|ParameterType::ASCII|ParameterType::BINARY
|
||||
*/
|
||||
public static function toElementParameterType(int $type): int
|
||||
{
|
||||
|
|
|
@ -7,7 +7,6 @@ use LogicException;
|
|||
|
||||
use function sprintf;
|
||||
|
||||
/** @psalm-immutable */
|
||||
class MissingNamedParameter extends LogicException implements Exception
|
||||
{
|
||||
public static function new(string $name): self
|
||||
|
|
|
@ -7,11 +7,7 @@ use LogicException;
|
|||
|
||||
use function sprintf;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @psalm-immutable
|
||||
*/
|
||||
/** @internal */
|
||||
class MissingPositionalParameter extends LogicException implements Exception
|
||||
{
|
||||
public static function new(int $index): self
|
||||
|
|
|
@ -4,7 +4,6 @@ namespace Doctrine\DBAL\Cache;
|
|||
|
||||
use Doctrine\DBAL\Exception;
|
||||
|
||||
/** @psalm-immutable */
|
||||
class CacheException extends Exception
|
||||
{
|
||||
/** @return CacheException */
|
||||
|
|
71
vendor/doctrine/dbal/src/Connection.php
vendored
71
vendor/doctrine/dbal/src/Connection.php
vendored
|
@ -9,14 +9,19 @@ use Doctrine\DBAL\Cache\CacheException;
|
|||
use Doctrine\DBAL\Cache\QueryCacheProfile;
|
||||
use Doctrine\DBAL\Driver\API\ExceptionConverter;
|
||||
use Doctrine\DBAL\Driver\Connection as DriverConnection;
|
||||
use Doctrine\DBAL\Driver\Exception as TheDriverException;
|
||||
use Doctrine\DBAL\Driver\ServerInfoAwareConnection;
|
||||
use Doctrine\DBAL\Driver\Statement as DriverStatement;
|
||||
use Doctrine\DBAL\Event\TransactionBeginEventArgs;
|
||||
use Doctrine\DBAL\Event\TransactionCommitEventArgs;
|
||||
use Doctrine\DBAL\Event\TransactionRollBackEventArgs;
|
||||
use Doctrine\DBAL\Exception\ConnectionLost;
|
||||
use Doctrine\DBAL\Exception\DeadlockException;
|
||||
use Doctrine\DBAL\Exception\DriverException;
|
||||
use Doctrine\DBAL\Exception\ForeignKeyConstraintViolationException;
|
||||
use Doctrine\DBAL\Exception\InvalidArgumentException;
|
||||
use Doctrine\DBAL\Exception\TransactionRolledBack;
|
||||
use Doctrine\DBAL\Exception\UniqueConstraintViolationException;
|
||||
use Doctrine\DBAL\Platforms\AbstractPlatform;
|
||||
use Doctrine\DBAL\Query\Expression\ExpressionBuilder;
|
||||
use Doctrine\DBAL\Query\QueryBuilder;
|
||||
|
@ -48,8 +53,8 @@ use function sprintf;
|
|||
* A database abstraction-level connection that implements features like events, transaction isolation levels,
|
||||
* configuration, emulated transaction nesting, lazy connecting and more.
|
||||
*
|
||||
* @psalm-import-type Params from DriverManager
|
||||
* @psalm-consistent-constructor
|
||||
* @phpstan-import-type Params from DriverManager
|
||||
* @phpstan-consistent-constructor
|
||||
*/
|
||||
class Connection
|
||||
{
|
||||
|
@ -131,7 +136,7 @@ class Connection
|
|||
* The parameters used during creation of the Connection instance.
|
||||
*
|
||||
* @var array<string,mixed>
|
||||
* @psalm-var Params
|
||||
* @phpstan-var Params
|
||||
*/
|
||||
private array $params;
|
||||
|
||||
|
@ -175,7 +180,7 @@ class Connection
|
|||
* @param Driver $driver The driver to use.
|
||||
* @param Configuration|null $config The configuration, optional.
|
||||
* @param EventManager|null $eventManager The event manager, optional.
|
||||
* @psalm-param Params $params
|
||||
* @phpstan-param Params $params
|
||||
*
|
||||
* @throws Exception
|
||||
*/
|
||||
|
@ -239,7 +244,7 @@ class Connection
|
|||
* @internal
|
||||
*
|
||||
* @return array<string,mixed>
|
||||
* @psalm-return Params
|
||||
* @phpstan-return Params
|
||||
*/
|
||||
public function getParams()
|
||||
{
|
||||
|
@ -360,7 +365,7 @@ class Connection
|
|||
*
|
||||
* @throws Exception
|
||||
*
|
||||
* @psalm-assert !null $this->_conn
|
||||
* @phpstan-assert !null $this->_conn
|
||||
*/
|
||||
public function connect()
|
||||
{
|
||||
|
@ -1278,16 +1283,41 @@ class Connection
|
|||
public function transactional(Closure $func)
|
||||
{
|
||||
$this->beginTransaction();
|
||||
|
||||
$successful = false;
|
||||
|
||||
try {
|
||||
$res = $func($this);
|
||||
|
||||
$successful = true;
|
||||
} finally {
|
||||
if (! $successful) {
|
||||
$this->rollBack();
|
||||
}
|
||||
}
|
||||
|
||||
$shouldRollback = true;
|
||||
try {
|
||||
$this->commit();
|
||||
|
||||
return $res;
|
||||
} catch (Throwable $e) {
|
||||
$this->rollBack();
|
||||
$shouldRollback = false;
|
||||
} catch (TheDriverException $t) {
|
||||
$convertedException = $this->handleDriverException($t, null);
|
||||
$shouldRollback = ! (
|
||||
$convertedException instanceof TransactionRolledBack
|
||||
|| $convertedException instanceof UniqueConstraintViolationException
|
||||
|| $convertedException instanceof ForeignKeyConstraintViolationException
|
||||
|| $convertedException instanceof DeadlockException
|
||||
);
|
||||
|
||||
throw $e;
|
||||
throw $t;
|
||||
} finally {
|
||||
if ($shouldRollback) {
|
||||
$this->rollBack();
|
||||
}
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1419,12 +1449,21 @@ class Connection
|
|||
|
||||
$connection = $this->getWrappedConnection();
|
||||
|
||||
if ($this->transactionNestingLevel === 1) {
|
||||
$result = $this->doCommit($connection);
|
||||
} elseif ($this->nestTransactionsWithSavepoints) {
|
||||
$this->releaseSavepoint($this->_getNestedTransactionSavePointName());
|
||||
try {
|
||||
if ($this->transactionNestingLevel === 1) {
|
||||
$result = $this->doCommit($connection);
|
||||
} elseif ($this->nestTransactionsWithSavepoints) {
|
||||
$this->releaseSavepoint($this->_getNestedTransactionSavePointName());
|
||||
}
|
||||
} finally {
|
||||
$this->updateTransactionStateAfterCommit();
|
||||
}
|
||||
|
||||
return $result;
|
||||
}
|
||||
|
||||
private function updateTransactionStateAfterCommit(): void
|
||||
{
|
||||
--$this->transactionNestingLevel;
|
||||
|
||||
$eventManager = $this->getEventManager();
|
||||
|
@ -1441,12 +1480,10 @@ class Connection
|
|||
}
|
||||
|
||||
if ($this->autoCommit !== false || $this->transactionNestingLevel !== 0) {
|
||||
return $result;
|
||||
return;
|
||||
}
|
||||
|
||||
$this->beginTransaction();
|
||||
|
||||
return $result;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
namespace Doctrine\DBAL;
|
||||
|
||||
/** @psalm-immutable */
|
||||
class ConnectionException extends Exception
|
||||
{
|
||||
/** @return ConnectionException */
|
||||
|
|
|
@ -59,7 +59,7 @@ use function count;
|
|||
*
|
||||
* Instantiation through the DriverManager looks like:
|
||||
*
|
||||
* @psalm-import-type Params from DriverManager
|
||||
* @phpstan-import-type Params from DriverManager
|
||||
* @example
|
||||
*
|
||||
* $conn = DriverManager::getConnection(array(
|
||||
|
@ -98,7 +98,7 @@ class PrimaryReadReplicaConnection extends Connection
|
|||
* @internal The connection can be only instantiated by the driver manager.
|
||||
*
|
||||
* @param array<string,mixed> $params
|
||||
* @psalm-param Params $params
|
||||
* @phpstan-param Params $params
|
||||
*
|
||||
* @throws Exception
|
||||
* @throws InvalidArgumentException
|
||||
|
|
4
vendor/doctrine/dbal/src/Driver.php
vendored
4
vendor/doctrine/dbal/src/Driver.php
vendored
|
@ -13,7 +13,7 @@ use SensitiveParameter;
|
|||
* Driver interface.
|
||||
* Interface that all DBAL drivers must implement.
|
||||
*
|
||||
* @psalm-import-type Params from DriverManager
|
||||
* @phpstan-import-type Params from DriverManager
|
||||
*/
|
||||
interface Driver
|
||||
{
|
||||
|
@ -21,7 +21,7 @@ interface Driver
|
|||
* Attempts to create a connection with the database.
|
||||
*
|
||||
* @param array<string, mixed> $params All connection parameters.
|
||||
* @psalm-param Params $params All connection parameters.
|
||||
* @phpstan-param Params $params All connection parameters.
|
||||
*
|
||||
* @return DriverConnection The database connection.
|
||||
*
|
||||
|
|
|
@ -6,6 +6,8 @@ namespace Doctrine\DBAL\Driver\API\OCI;
|
|||
|
||||
use Doctrine\DBAL\Driver\API\ExceptionConverter as ExceptionConverterInterface;
|
||||
use Doctrine\DBAL\Driver\Exception;
|
||||
use Doctrine\DBAL\Driver\OCI8\Exception\Error;
|
||||
use Doctrine\DBAL\Driver\PDO\PDOException;
|
||||
use Doctrine\DBAL\Exception\ConnectionException;
|
||||
use Doctrine\DBAL\Exception\DatabaseDoesNotExist;
|
||||
use Doctrine\DBAL\Exception\DatabaseObjectNotFoundException;
|
||||
|
@ -17,16 +19,30 @@ use Doctrine\DBAL\Exception\NotNullConstraintViolationException;
|
|||
use Doctrine\DBAL\Exception\SyntaxErrorException;
|
||||
use Doctrine\DBAL\Exception\TableExistsException;
|
||||
use Doctrine\DBAL\Exception\TableNotFoundException;
|
||||
use Doctrine\DBAL\Exception\TransactionRolledBack;
|
||||
use Doctrine\DBAL\Exception\UniqueConstraintViolationException;
|
||||
use Doctrine\DBAL\Query;
|
||||
|
||||
use function explode;
|
||||
use function str_replace;
|
||||
|
||||
/** @internal */
|
||||
final class ExceptionConverter implements ExceptionConverterInterface
|
||||
{
|
||||
/** @link http://www.dba-oracle.com/t_error_code_list.htm */
|
||||
public function convert(Exception $exception, ?Query $query): DriverException
|
||||
{
|
||||
switch ($exception->getCode()) {
|
||||
/** @phpstan-var int|'HY000' $code */ // @phpstan-ignore varTag.type
|
||||
$code = $exception->getCode();
|
||||
// @phpstan-ignore property.notFound, property.notFound
|
||||
if ($code === 'HY000' && isset($exception->errorInfo[1], $exception->errorInfo[2])) {
|
||||
$errorInfo = $exception->errorInfo;
|
||||
$exception = new PDOException($errorInfo[2], $errorInfo[1]);
|
||||
$exception->errorInfo = $errorInfo;
|
||||
$code = $exception->getCode();
|
||||
}
|
||||
|
||||
switch ($code) {
|
||||
case 1:
|
||||
case 2299:
|
||||
case 38911:
|
||||
|
@ -58,6 +74,22 @@ final class ExceptionConverter implements ExceptionConverterInterface
|
|||
case 1918:
|
||||
return new DatabaseDoesNotExist($exception, $query);
|
||||
|
||||
case 2091:
|
||||
//ORA-02091: transaction rolled back
|
||||
//ORA-00001: unique constraint (DOCTRINE.GH3423_UNIQUE) violated
|
||||
[, $causeError] = explode("\n", $exception->getMessage(), 2);
|
||||
|
||||
[$causeCode] = explode(': ', $causeError, 2);
|
||||
$code = (int) str_replace('ORA-', '', $causeCode);
|
||||
|
||||
if ($exception instanceof PDOException) {
|
||||
$why = $this->convert(new PDOException($causeError, $code, $exception), $query);
|
||||
} else {
|
||||
$why = $this->convert(new Error($causeError, null, $code, $exception), $query);
|
||||
}
|
||||
|
||||
return new TransactionRolledBack($why, $query);
|
||||
|
||||
case 2289:
|
||||
case 2443:
|
||||
case 4080:
|
||||
|
|
|
@ -11,8 +11,6 @@ use Throwable;
|
|||
* Base implementation of the {@see Exception} interface.
|
||||
*
|
||||
* @internal
|
||||
*
|
||||
* @psalm-immutable
|
||||
*/
|
||||
abstract class AbstractException extends BaseException implements Exception
|
||||
{
|
||||
|
|
|
@ -6,11 +6,7 @@ namespace Doctrine\DBAL\Driver\AbstractSQLServerDriver\Exception;
|
|||
|
||||
use Doctrine\DBAL\Driver\AbstractException;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @psalm-immutable
|
||||
*/
|
||||
/** @internal */
|
||||
final class PortWithoutHost extends AbstractException
|
||||
{
|
||||
public static function new(): self
|
||||
|
|
|
@ -6,7 +6,6 @@ namespace Doctrine\DBAL\Driver;
|
|||
|
||||
use Throwable;
|
||||
|
||||
/** @psalm-immutable */
|
||||
interface Exception extends Throwable
|
||||
{
|
||||
/**
|
||||
|
|
|
@ -8,11 +8,7 @@ use Doctrine\DBAL\Driver\AbstractException;
|
|||
|
||||
use function sprintf;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @psalm-immutable
|
||||
*/
|
||||
/** @internal */
|
||||
final class UnknownParameterType extends AbstractException
|
||||
{
|
||||
/** @param mixed $type */
|
||||
|
|
|
@ -6,14 +6,10 @@ namespace Doctrine\DBAL\Driver\IBMDB2\Exception;
|
|||
|
||||
use Doctrine\DBAL\Driver\AbstractException;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @psalm-immutable
|
||||
*/
|
||||
/** @internal */
|
||||
final class CannotCopyStreamToStream extends AbstractException
|
||||
{
|
||||
/** @psalm-param array{message: string}|null $error */
|
||||
/** @param array{message: string}|null $error */
|
||||
public static function new(?array $error): self
|
||||
{
|
||||
$message = 'Could not copy source stream to temporary file';
|
||||
|
|
|
@ -6,14 +6,10 @@ namespace Doctrine\DBAL\Driver\IBMDB2\Exception;
|
|||
|
||||
use Doctrine\DBAL\Driver\AbstractException;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @psalm-immutable
|
||||
*/
|
||||
/** @internal */
|
||||
final class CannotCreateTemporaryFile extends AbstractException
|
||||
{
|
||||
/** @psalm-param array{message: string}|null $error */
|
||||
/** @param array{message: string}|null $error */
|
||||
public static function new(?array $error): self
|
||||
{
|
||||
$message = 'Could not create temporary file';
|
||||
|
|
|
@ -9,11 +9,7 @@ use Doctrine\DBAL\Driver\AbstractException;
|
|||
use function db2_conn_error;
|
||||
use function db2_conn_errormsg;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @psalm-immutable
|
||||
*/
|
||||
/** @internal */
|
||||
final class ConnectionError extends AbstractException
|
||||
{
|
||||
/** @param resource $connection */
|
||||
|
|
|
@ -9,11 +9,7 @@ use Doctrine\DBAL\Driver\AbstractException;
|
|||
use function db2_conn_error;
|
||||
use function db2_conn_errormsg;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @psalm-immutable
|
||||
*/
|
||||
/** @internal */
|
||||
final class ConnectionFailed extends AbstractException
|
||||
{
|
||||
public static function new(): self
|
||||
|
|
|
@ -8,11 +8,7 @@ use Doctrine\DBAL\Driver\AbstractException;
|
|||
|
||||
use function preg_match;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @psalm-immutable
|
||||
*/
|
||||
/** @internal */
|
||||
final class Factory
|
||||
{
|
||||
/**
|
||||
|
|
|
@ -6,14 +6,10 @@ namespace Doctrine\DBAL\Driver\IBMDB2\Exception;
|
|||
|
||||
use Doctrine\DBAL\Driver\AbstractException;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @psalm-immutable
|
||||
*/
|
||||
/** @internal */
|
||||
final class PrepareFailed extends AbstractException
|
||||
{
|
||||
/** @psalm-param array{message: string}|null $error */
|
||||
/** @param array{message: string}|null $error */
|
||||
public static function new(?array $error): self
|
||||
{
|
||||
if ($error === null) {
|
||||
|
|
|
@ -9,11 +9,7 @@ use Doctrine\DBAL\Driver\AbstractException;
|
|||
use function db2_stmt_error;
|
||||
use function db2_stmt_errormsg;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @psalm-immutable
|
||||
*/
|
||||
/** @internal */
|
||||
final class StatementError extends AbstractException
|
||||
{
|
||||
/** @param resource|null $statement */
|
||||
|
|
|
@ -9,11 +9,7 @@ use mysqli;
|
|||
use mysqli_sql_exception;
|
||||
use ReflectionProperty;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @psalm-immutable
|
||||
*/
|
||||
/** @internal */
|
||||
final class ConnectionError extends AbstractException
|
||||
{
|
||||
public static function new(mysqli $connection): self
|
||||
|
|
|
@ -11,11 +11,7 @@ use ReflectionProperty;
|
|||
|
||||
use function assert;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @psalm-immutable
|
||||
*/
|
||||
/** @internal */
|
||||
final class ConnectionFailed extends AbstractException
|
||||
{
|
||||
public static function new(mysqli $connection): self
|
||||
|
|
|
@ -8,11 +8,7 @@ use Doctrine\DBAL\Driver\AbstractException;
|
|||
|
||||
use function sprintf;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @psalm-immutable
|
||||
*/
|
||||
/** @internal */
|
||||
final class FailedReadingStreamOffset extends AbstractException
|
||||
{
|
||||
public static function new(int $parameter): self
|
||||
|
|
|
@ -6,11 +6,7 @@ namespace Doctrine\DBAL\Driver\Mysqli\Exception;
|
|||
|
||||
use Doctrine\DBAL\Driver\AbstractException;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @psalm-immutable
|
||||
*/
|
||||
/** @internal */
|
||||
final class HostRequired extends AbstractException
|
||||
{
|
||||
public static function forPersistentConnection(): self
|
||||
|
|
|
@ -11,11 +11,7 @@ use ReflectionProperty;
|
|||
|
||||
use function sprintf;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @psalm-immutable
|
||||
*/
|
||||
/** @internal */
|
||||
final class InvalidCharset extends AbstractException
|
||||
{
|
||||
public static function fromCharset(mysqli $connection, string $charset): self
|
||||
|
|
|
@ -8,11 +8,7 @@ use Doctrine\DBAL\Driver\AbstractException;
|
|||
|
||||
use function sprintf;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @psalm-immutable
|
||||
*/
|
||||
/** @internal */
|
||||
final class InvalidOption extends AbstractException
|
||||
{
|
||||
/** @param mixed $value */
|
||||
|
|
|
@ -8,11 +8,7 @@ use Doctrine\DBAL\Driver\AbstractException;
|
|||
|
||||
use function sprintf;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @psalm-immutable
|
||||
*/
|
||||
/** @internal */
|
||||
final class NonStreamResourceUsedAsLargeObject extends AbstractException
|
||||
{
|
||||
public static function new(int $parameter): self
|
||||
|
|
|
@ -9,11 +9,7 @@ use mysqli_sql_exception;
|
|||
use mysqli_stmt;
|
||||
use ReflectionProperty;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @psalm-immutable
|
||||
*/
|
||||
/** @internal */
|
||||
final class StatementError extends AbstractException
|
||||
{
|
||||
public static function new(mysqli_stmt $statement): self
|
||||
|
|
|
@ -20,6 +20,15 @@ final class Result implements ResultInterface
|
|||
{
|
||||
private mysqli_stmt $statement;
|
||||
|
||||
/**
|
||||
* Maintains a reference to the Statement that generated this result. This ensures that the lifetime of the
|
||||
* Statement is managed in conjunction with its associated results, so they are destroyed together
|
||||
* at the appropriate time {@see Statement::__destruct()}.
|
||||
*
|
||||
* @phpstan-ignore property.onlyWritten
|
||||
*/
|
||||
private ?Statement $statementReference = null;
|
||||
|
||||
/**
|
||||
* Whether the statement result has columns. The property should be used only after the result metadata
|
||||
* has been fetched ({@see $metadataFetched}). Otherwise, the property value is undetermined.
|
||||
|
@ -42,9 +51,12 @@ final class Result implements ResultInterface
|
|||
*
|
||||
* @throws Exception
|
||||
*/
|
||||
public function __construct(mysqli_stmt $statement)
|
||||
{
|
||||
$this->statement = $statement;
|
||||
public function __construct(
|
||||
mysqli_stmt $statement,
|
||||
?Statement $statementReference = null
|
||||
) {
|
||||
$this->statement = $statement;
|
||||
$this->statementReference = $statementReference;
|
||||
|
||||
$meta = $statement->result_metadata();
|
||||
|
||||
|
|
|
@ -61,12 +61,17 @@ final class Statement implements StatementInterface
|
|||
$this->boundValues = array_fill(1, $paramCount, null);
|
||||
}
|
||||
|
||||
public function __destruct()
|
||||
{
|
||||
@$this->stmt->close();
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated Use {@see bindValue()} instead.
|
||||
*
|
||||
* {@inheritDoc}
|
||||
*
|
||||
* @psalm-assert ParameterType::* $type
|
||||
* @phpstan-assert ParameterType::* $type
|
||||
*/
|
||||
public function bindParam($param, &$variable, $type = ParameterType::STRING, $length = null): bool
|
||||
{
|
||||
|
@ -101,7 +106,7 @@ final class Statement implements StatementInterface
|
|||
/**
|
||||
* {@inheritDoc}
|
||||
*
|
||||
* @psalm-assert ParameterType::* $type
|
||||
* @phpstan-assert ParameterType::* $type
|
||||
*/
|
||||
public function bindValue($param, $value, $type = ParameterType::STRING): bool
|
||||
{
|
||||
|
@ -159,7 +164,7 @@ final class Statement implements StatementInterface
|
|||
throw StatementError::new($this->stmt);
|
||||
}
|
||||
|
||||
return new Result($this->stmt);
|
||||
return new Result($this->stmt, $this);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -142,7 +142,7 @@ final class Connection implements ServerInfoAwareConnection
|
|||
|
||||
public function commit(): bool
|
||||
{
|
||||
if (! oci_commit($this->connection)) {
|
||||
if (! @oci_commit($this->connection)) {
|
||||
throw Error::new($this->connection);
|
||||
}
|
||||
|
||||
|
|
|
@ -9,11 +9,7 @@ use Doctrine\DBAL\Driver\AbstractException;
|
|||
use function assert;
|
||||
use function oci_error;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @psalm-immutable
|
||||
*/
|
||||
/** @internal */
|
||||
final class ConnectionFailed extends AbstractException
|
||||
{
|
||||
public static function new(): self
|
||||
|
|
|
@ -9,11 +9,7 @@ use Doctrine\DBAL\Driver\AbstractException;
|
|||
use function assert;
|
||||
use function oci_error;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @psalm-immutable
|
||||
*/
|
||||
/** @internal */
|
||||
final class Error extends AbstractException
|
||||
{
|
||||
/** @param resource $resource */
|
||||
|
|
|
@ -6,11 +6,7 @@ namespace Doctrine\DBAL\Driver\OCI8\Exception;
|
|||
|
||||
use Doctrine\DBAL\Driver\AbstractException;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @psalm-immutable
|
||||
*/
|
||||
/** @internal */
|
||||
final class InvalidConfiguration extends AbstractException
|
||||
{
|
||||
public static function forPersistentAndExclusive(): self
|
||||
|
|
|
@ -8,11 +8,7 @@ use Doctrine\DBAL\Driver\AbstractException;
|
|||
|
||||
use function sprintf;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @psalm-immutable
|
||||
*/
|
||||
/** @internal */
|
||||
final class NonTerminatedStringLiteral extends AbstractException
|
||||
{
|
||||
public static function new(int $offset): self
|
||||
|
|
|
@ -6,11 +6,7 @@ namespace Doctrine\DBAL\Driver\OCI8\Exception;
|
|||
|
||||
use Doctrine\DBAL\Driver\AbstractException;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @psalm-immutable
|
||||
*/
|
||||
/** @internal */
|
||||
final class SequenceDoesNotExist extends AbstractException
|
||||
{
|
||||
public static function new(): self
|
||||
|
|
|
@ -8,11 +8,7 @@ use Doctrine\DBAL\Driver\AbstractException;
|
|||
|
||||
use function sprintf;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @psalm-immutable
|
||||
*/
|
||||
/** @internal */
|
||||
final class UnknownParameterIndex extends AbstractException
|
||||
{
|
||||
public static function new(int $index): self
|
||||
|
|
|
@ -82,7 +82,7 @@ final class Connection implements ServerInfoAwareConnection
|
|||
*
|
||||
* @throws UnknownParameterType
|
||||
*
|
||||
* @psalm-assert ParameterType::* $type
|
||||
* @phpstan-assert ParameterType::* $type
|
||||
*/
|
||||
public function quote($value, $type = ParameterType::STRING)
|
||||
{
|
||||
|
|
|
@ -7,11 +7,7 @@ namespace Doctrine\DBAL\Driver\PDO;
|
|||
use Doctrine\DBAL\Driver\AbstractException;
|
||||
use PDOException;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @psalm-immutable
|
||||
*/
|
||||
/** @internal */
|
||||
final class Exception extends AbstractException
|
||||
{
|
||||
public static function new(PDOException $exception): self
|
||||
|
|
|
@ -6,11 +6,7 @@ namespace Doctrine\DBAL\Driver\PDO;
|
|||
|
||||
use Doctrine\DBAL\Driver\Exception as DriverException;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @psalm-immutable
|
||||
*/
|
||||
/** @internal */
|
||||
final class PDOException extends \PDOException implements DriverException
|
||||
{
|
||||
private ?string $sqlState = null;
|
||||
|
|
|
@ -24,11 +24,11 @@ final class ParameterTypeMap
|
|||
/**
|
||||
* Converts DBAL parameter type to PDO parameter type
|
||||
*
|
||||
* @psalm-return PDO::PARAM_*
|
||||
* @phpstan-return PDO::PARAM_*
|
||||
*
|
||||
* @throws UnknownParameterType
|
||||
*
|
||||
* @psalm-assert ParameterType::* $type
|
||||
* @phpstan-assert ParameterType::* $type
|
||||
*/
|
||||
public static function convertParamType(int $type): int
|
||||
{
|
||||
|
|
|
@ -91,7 +91,7 @@ final class Result implements ResultInterface
|
|||
}
|
||||
|
||||
/**
|
||||
* @psalm-param PDO::FETCH_* $mode
|
||||
* @phpstan-param PDO::FETCH_* $mode
|
||||
*
|
||||
* @return mixed
|
||||
*
|
||||
|
@ -107,7 +107,7 @@ final class Result implements ResultInterface
|
|||
}
|
||||
|
||||
/**
|
||||
* @psalm-param PDO::FETCH_* $mode
|
||||
* @phpstan-param PDO::FETCH_* $mode
|
||||
*
|
||||
* @return list<mixed>
|
||||
*
|
||||
|
|
|
@ -36,7 +36,7 @@ final class Statement extends AbstractStatementMiddleware
|
|||
*
|
||||
* @throws UnknownParameterType
|
||||
*
|
||||
* @psalm-assert ParameterType::* $type
|
||||
* @phpstan-assert ParameterType::* $type
|
||||
*/
|
||||
public function bindParam(
|
||||
$param,
|
||||
|
@ -91,7 +91,7 @@ final class Statement extends AbstractStatementMiddleware
|
|||
*
|
||||
* {@inheritDoc}
|
||||
*
|
||||
* @psalm-assert ParameterType::* $type
|
||||
* @phpstan-assert ParameterType::* $type
|
||||
*/
|
||||
public function bindValue($param, $value, $type = ParameterType::STRING): bool
|
||||
{
|
||||
|
|
|
@ -29,7 +29,7 @@ final class Statement implements StatementInterface
|
|||
*
|
||||
* @throws UnknownParameterType
|
||||
*
|
||||
* @psalm-assert ParameterType::* $type
|
||||
* @phpstan-assert ParameterType::* $type
|
||||
*/
|
||||
public function bindValue($param, $value, $type = ParameterType::STRING)
|
||||
{
|
||||
|
@ -64,7 +64,7 @@ final class Statement implements StatementInterface
|
|||
*
|
||||
* @throws UnknownParameterType
|
||||
*
|
||||
* @psalm-assert ParameterType::* $type
|
||||
* @phpstan-assert ParameterType::* $type
|
||||
*/
|
||||
public function bindParam(
|
||||
$param,
|
||||
|
|
|
@ -10,11 +10,7 @@ use function pg_result_error_field;
|
|||
use const PGSQL_DIAG_MESSAGE_PRIMARY;
|
||||
use const PGSQL_DIAG_SQLSTATE;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @psalm-immutable
|
||||
*/
|
||||
/** @internal */
|
||||
final class Exception extends AbstractException
|
||||
{
|
||||
/** @param PgSqlResult|resource $result */
|
||||
|
|
|
@ -9,7 +9,6 @@ use UnexpectedValueException;
|
|||
|
||||
use function sprintf;
|
||||
|
||||
/** @psalm-immutable */
|
||||
final class UnexpectedValue extends UnexpectedValueException implements Exception
|
||||
{
|
||||
public static function new(string $value, string $type): self
|
||||
|
|
|
@ -6,7 +6,6 @@ use Doctrine\DBAL\Driver\AbstractException;
|
|||
|
||||
use function sprintf;
|
||||
|
||||
/** @psalm-immutable */
|
||||
final class UnknownParameter extends AbstractException
|
||||
{
|
||||
public static function new(string $param): self
|
||||
|
|
|
@ -40,7 +40,7 @@ final class Statement implements StatementInterface
|
|||
/** @var array<int, mixed> */
|
||||
private array $parameters = [];
|
||||
|
||||
/** @psalm-var array<int, int> */
|
||||
/** @var array<int, int> */
|
||||
private array $parameterTypes = [];
|
||||
|
||||
/**
|
||||
|
|
|
@ -11,11 +11,7 @@ use function sqlsrv_errors;
|
|||
|
||||
use const SQLSRV_ERR_ERRORS;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @psalm-immutable
|
||||
*/
|
||||
/** @internal */
|
||||
final class Error extends AbstractException
|
||||
{
|
||||
public static function new(): self
|
||||
|
|
|
@ -4,11 +4,7 @@ namespace Doctrine\DBAL\Driver\SQLite3;
|
|||
|
||||
use Doctrine\DBAL\Driver\AbstractException;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @psalm-immutable
|
||||
*/
|
||||
/** @internal */
|
||||
final class Exception extends AbstractException
|
||||
{
|
||||
public static function new(\Exception $exception): self
|
||||
|
|
|
@ -45,7 +45,7 @@ final class Statement implements StatementInterface
|
|||
*
|
||||
* {@inheritDoc}
|
||||
*
|
||||
* @psalm-assert ParameterType::* $type
|
||||
* @phpstan-assert ParameterType::* $type
|
||||
*/
|
||||
public function bindValue($param, $value, $type = ParameterType::STRING): bool
|
||||
{
|
||||
|
@ -66,7 +66,7 @@ final class Statement implements StatementInterface
|
|||
*
|
||||
* {@inheritDoc}
|
||||
*
|
||||
* @psalm-assert ParameterType::* $type
|
||||
* @phpstan-assert ParameterType::* $type
|
||||
*/
|
||||
public function bindParam($param, &$variable, $type = ParameterType::STRING, $length = null): bool
|
||||
{
|
||||
|
@ -121,9 +121,9 @@ final class Statement implements StatementInterface
|
|||
}
|
||||
|
||||
/**
|
||||
* @psalm-return value-of<self::PARAM_TYPE_MAP>
|
||||
* @phpstan-return value-of<self::PARAM_TYPE_MAP>
|
||||
*
|
||||
* @psalm-assert ParameterType::* $type
|
||||
* @phpstan-assert ParameterType::* $type
|
||||
*/
|
||||
private function convertParamType(int $type): int
|
||||
{
|
||||
|
|
20
vendor/doctrine/dbal/src/DriverManager.php
vendored
20
vendor/doctrine/dbal/src/DriverManager.php
vendored
|
@ -22,7 +22,7 @@ use function is_a;
|
|||
/**
|
||||
* Factory for creating {@see Connection} instances.
|
||||
*
|
||||
* @psalm-type OverrideParams = array{
|
||||
* @phpstan-type OverrideParams = array{
|
||||
* application_name?: string,
|
||||
* charset?: string,
|
||||
* dbname?: string,
|
||||
|
@ -41,7 +41,7 @@ use function is_a;
|
|||
* user?: string,
|
||||
* unix_socket?: string,
|
||||
* }
|
||||
* @psalm-type Params = array{
|
||||
* @phpstan-type Params = array{
|
||||
* application_name?: string,
|
||||
* charset?: string,
|
||||
* dbname?: string,
|
||||
|
@ -98,7 +98,7 @@ final class DriverManager
|
|||
* @deprecated Use actual driver names instead.
|
||||
*
|
||||
* @var array<string, string>
|
||||
* @psalm-var array<string, key-of<self::DRIVER_MAP>>
|
||||
* @phpstan-var array<string, key-of<self::DRIVER_MAP>>
|
||||
*/
|
||||
private static array $driverSchemeAliases = [
|
||||
'db2' => 'ibm_db2',
|
||||
|
@ -153,9 +153,9 @@ final class DriverManager
|
|||
*
|
||||
* @param Configuration|null $config The configuration to use.
|
||||
* @param EventManager|null $eventManager The event manager to use.
|
||||
* @psalm-param Params $params
|
||||
* @phpstan-param Params $params
|
||||
*
|
||||
* @psalm-return ($params is array{wrapperClass: class-string<T>} ? T : Connection)
|
||||
* @phpstan-return ($params is array{wrapperClass: class-string<T>} ? T : Connection)
|
||||
*
|
||||
* @throws Exception
|
||||
*
|
||||
|
@ -201,7 +201,7 @@ final class DriverManager
|
|||
* Returns the list of supported drivers.
|
||||
*
|
||||
* @return string[]
|
||||
* @psalm-return list<key-of<self::DRIVER_MAP>>
|
||||
* @phpstan-return list<key-of<self::DRIVER_MAP>>
|
||||
*/
|
||||
public static function getAvailableDrivers(): array
|
||||
{
|
||||
|
@ -211,8 +211,8 @@ final class DriverManager
|
|||
/**
|
||||
* @throws Exception
|
||||
*
|
||||
* @psalm-assert key-of<self::DRIVER_MAP>|null $driver
|
||||
* @psalm-assert class-string<Driver>|null $driverClass
|
||||
* @phpstan-assert key-of<self::DRIVER_MAP>|null $driver
|
||||
* @phpstan-assert class-string<Driver>|null $driverClass
|
||||
*/
|
||||
private static function createDriver(?string $driver, ?string $driverClass): Driver
|
||||
{
|
||||
|
@ -238,11 +238,11 @@ final class DriverManager
|
|||
* updated list of parameters.
|
||||
*
|
||||
* @param mixed[] $params The list of parameters.
|
||||
* @psalm-param Params $params
|
||||
* @phpstan-param Params $params
|
||||
*
|
||||
* @return mixed[] A modified list of parameters with info from a database
|
||||
* URL extracted into indidivual parameter parts.
|
||||
* @psalm-return Params
|
||||
* @phpstan-return Params
|
||||
*
|
||||
* @throws Exception
|
||||
*/
|
||||
|
|
|
@ -4,7 +4,6 @@ namespace Doctrine\DBAL\Event;
|
|||
|
||||
use Doctrine\DBAL\Platforms\AbstractPlatform;
|
||||
use Doctrine\DBAL\Schema\Table;
|
||||
use InvalidArgumentException;
|
||||
|
||||
/**
|
||||
* Event Arguments used when the SQL query for dropping tables are generated inside {@see AbstractPlatform}.
|
||||
|
@ -21,11 +20,7 @@ class SchemaDropTableEventArgs extends SchemaEventArgs
|
|||
/** @var string|null */
|
||||
private $sql;
|
||||
|
||||
/**
|
||||
* @param string|Table $table
|
||||
*
|
||||
* @throws InvalidArgumentException
|
||||
*/
|
||||
/** @param string|Table $table */
|
||||
public function __construct($table, AbstractPlatform $platform)
|
||||
{
|
||||
$this->table = $table;
|
||||
|
|
1
vendor/doctrine/dbal/src/Exception.php
vendored
1
vendor/doctrine/dbal/src/Exception.php
vendored
|
@ -13,7 +13,6 @@ use function is_object;
|
|||
use function spl_object_hash;
|
||||
use function sprintf;
|
||||
|
||||
/** @psalm-immutable */
|
||||
class Exception extends \Exception
|
||||
{
|
||||
public static function notSupported(string $method): self
|
||||
|
|
|
@ -4,8 +4,6 @@ namespace Doctrine\DBAL\Exception;
|
|||
|
||||
/**
|
||||
* Base class for all connection related errors detected in the driver.
|
||||
*
|
||||
* @psalm-immutable
|
||||
*/
|
||||
class ConnectionException extends DriverException
|
||||
{
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
namespace Doctrine\DBAL\Exception;
|
||||
|
||||
/** @psalm-immutable */
|
||||
final class ConnectionLost extends ConnectionException
|
||||
{
|
||||
}
|
||||
|
|
|
@ -4,8 +4,6 @@ namespace Doctrine\DBAL\Exception;
|
|||
|
||||
/**
|
||||
* Base class for all constraint violation related errors detected in the driver.
|
||||
*
|
||||
* @psalm-immutable
|
||||
*/
|
||||
class ConstraintViolationException extends ServerException
|
||||
{
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
namespace Doctrine\DBAL\Exception;
|
||||
|
||||
/** @psalm-immutable */
|
||||
class DatabaseDoesNotExist extends DatabaseObjectNotFoundException
|
||||
{
|
||||
}
|
||||
|
|
|
@ -8,8 +8,6 @@ namespace Doctrine\DBAL\Exception;
|
|||
* A database object is considered any asset that can be created in a database
|
||||
* such as schemas, tables, views, sequences, triggers, constraints, indexes,
|
||||
* functions, stored procedures etc.
|
||||
*
|
||||
* @psalm-immutable
|
||||
*/
|
||||
class DatabaseObjectExistsException extends ServerException
|
||||
{
|
||||
|
|
|
@ -8,8 +8,6 @@ namespace Doctrine\DBAL\Exception;
|
|||
* A database object is considered any asset that can be created in a database
|
||||
* such as schemas, tables, views, sequences, triggers, constraints, indexes,
|
||||
* functions, stored procedures etc.
|
||||
*
|
||||
* @psalm-immutable
|
||||
*/
|
||||
class DatabaseObjectNotFoundException extends ServerException
|
||||
{
|
||||
|
|
|
@ -8,7 +8,6 @@ use Doctrine\DBAL\Exception;
|
|||
|
||||
use function sprintf;
|
||||
|
||||
/** @psalm-immutable */
|
||||
class DatabaseRequired extends Exception
|
||||
{
|
||||
public static function new(string $methodName): self
|
||||
|
|
|
@ -4,8 +4,6 @@ namespace Doctrine\DBAL\Exception;
|
|||
|
||||
/**
|
||||
* Exception for a deadlock error of a transaction detected in the driver.
|
||||
*
|
||||
* @psalm-immutable
|
||||
*/
|
||||
class DeadlockException extends ServerException implements RetryableException
|
||||
{
|
||||
|
|
|
@ -10,8 +10,6 @@ use function assert;
|
|||
|
||||
/**
|
||||
* Base class for all errors detected in the driver.
|
||||
*
|
||||
* @psalm-immutable
|
||||
*/
|
||||
class DriverException extends Exception implements TheDriverException
|
||||
{
|
||||
|
|
|
@ -4,8 +4,6 @@ namespace Doctrine\DBAL\Exception;
|
|||
|
||||
/**
|
||||
* Exception for a foreign key constraint violation detected in the driver.
|
||||
*
|
||||
* @psalm-immutable
|
||||
*/
|
||||
class ForeignKeyConstraintViolationException extends ConstraintViolationException
|
||||
{
|
||||
|
|
|
@ -6,8 +6,6 @@ use Doctrine\DBAL\Exception;
|
|||
|
||||
/**
|
||||
* Exception to be thrown when invalid arguments are passed to any DBAL API
|
||||
*
|
||||
* @psalm-immutable
|
||||
*/
|
||||
class InvalidArgumentException extends Exception
|
||||
{
|
||||
|
|
|
@ -4,8 +4,6 @@ namespace Doctrine\DBAL\Exception;
|
|||
|
||||
/**
|
||||
* Exception for an invalid specified field name in a statement detected in the driver.
|
||||
*
|
||||
* @psalm-immutable
|
||||
*/
|
||||
class InvalidFieldNameException extends ServerException
|
||||
{
|
||||
|
|
|
@ -6,7 +6,6 @@ use Doctrine\DBAL\Exception;
|
|||
|
||||
use function sprintf;
|
||||
|
||||
/** @psalm-immutable */
|
||||
class InvalidLockMode extends Exception
|
||||
{
|
||||
public static function fromLockMode(int $lockMode): self
|
||||
|
|
|
@ -4,8 +4,6 @@ namespace Doctrine\DBAL\Exception;
|
|||
|
||||
/**
|
||||
* Exception for a lock wait timeout error of a transaction detected in the driver.
|
||||
*
|
||||
* @psalm-immutable
|
||||
*/
|
||||
class LockWaitTimeoutException extends ServerException implements RetryableException
|
||||
{
|
||||
|
|
|
@ -4,7 +4,6 @@ namespace Doctrine\DBAL\Exception;
|
|||
|
||||
use InvalidArgumentException;
|
||||
|
||||
/** @psalm-immutable */
|
||||
class MalformedDsnException extends InvalidArgumentException
|
||||
{
|
||||
public static function new(): self
|
||||
|
|
|
@ -6,11 +6,7 @@ use Doctrine\DBAL\Exception;
|
|||
|
||||
use function sprintf;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @psalm-immutable
|
||||
*/
|
||||
/** @internal */
|
||||
final class NoKeyValue extends Exception
|
||||
{
|
||||
public static function fromColumnCount(int $columnCount): self
|
||||
|
|
|
@ -4,8 +4,6 @@ namespace Doctrine\DBAL\Exception;
|
|||
|
||||
/**
|
||||
* Exception for a non-unique/ambiguous specified field name in a statement detected in the driver.
|
||||
*
|
||||
* @psalm-immutable
|
||||
*/
|
||||
class NonUniqueFieldNameException extends ServerException
|
||||
{
|
||||
|
|
|
@ -4,8 +4,6 @@ namespace Doctrine\DBAL\Exception;
|
|||
|
||||
/**
|
||||
* Exception for a NOT NULL constraint violation detected in the driver.
|
||||
*
|
||||
* @psalm-immutable
|
||||
*/
|
||||
class NotNullConstraintViolationException extends ConstraintViolationException
|
||||
{
|
||||
|
|
|
@ -4,8 +4,6 @@ namespace Doctrine\DBAL\Exception;
|
|||
|
||||
/**
|
||||
* Exception for a write operation attempt on a read-only database element detected in the driver.
|
||||
*
|
||||
* @psalm-immutable
|
||||
*/
|
||||
class ReadOnlyException extends ServerException
|
||||
{
|
||||
|
|
|
@ -6,8 +6,6 @@ use Throwable;
|
|||
|
||||
/**
|
||||
* Marker interface for all exceptions where retrying the transaction makes sense.
|
||||
*
|
||||
* @psalm-immutable
|
||||
*/
|
||||
interface RetryableException extends Throwable
|
||||
{
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
namespace Doctrine\DBAL\Exception;
|
||||
|
||||
/** @psalm-immutable */
|
||||
class SchemaDoesNotExist extends DatabaseObjectNotFoundException
|
||||
{
|
||||
}
|
||||
|
|
|
@ -4,8 +4,6 @@ namespace Doctrine\DBAL\Exception;
|
|||
|
||||
/**
|
||||
* Base class for all server related errors detected in the driver.
|
||||
*
|
||||
* @psalm-immutable
|
||||
*/
|
||||
class ServerException extends DriverException
|
||||
{
|
||||
|
|
|
@ -4,8 +4,6 @@ namespace Doctrine\DBAL\Exception;
|
|||
|
||||
/**
|
||||
* Exception for a syntax error in a statement detected in the driver.
|
||||
*
|
||||
* @psalm-immutable
|
||||
*/
|
||||
class SyntaxErrorException extends ServerException
|
||||
{
|
||||
|
|
|
@ -4,8 +4,6 @@ namespace Doctrine\DBAL\Exception;
|
|||
|
||||
/**
|
||||
* Exception for an already existing table referenced in a statement detected in the driver.
|
||||
*
|
||||
* @psalm-immutable
|
||||
*/
|
||||
class TableExistsException extends DatabaseObjectExistsException
|
||||
{
|
||||
|
|
|
@ -4,8 +4,6 @@ namespace Doctrine\DBAL\Exception;
|
|||
|
||||
/**
|
||||
* Exception for an unknown table referenced in a statement detected in the driver.
|
||||
*
|
||||
* @psalm-immutable
|
||||
*/
|
||||
class TableNotFoundException extends DatabaseObjectNotFoundException
|
||||
{
|
||||
|
|
7
vendor/doctrine/dbal/src/Exception/TransactionRolledBack.php
vendored
Normal file
7
vendor/doctrine/dbal/src/Exception/TransactionRolledBack.php
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
<?php
|
||||
|
||||
namespace Doctrine\DBAL\Exception;
|
||||
|
||||
class TransactionRolledBack extends DriverException
|
||||
{
|
||||
}
|
|
@ -4,8 +4,6 @@ namespace Doctrine\DBAL\Exception;
|
|||
|
||||
/**
|
||||
* Exception for a unique constraint violation detected in the driver.
|
||||
*
|
||||
* @psalm-immutable
|
||||
*/
|
||||
class UniqueConstraintViolationException extends ConstraintViolationException
|
||||
{
|
||||
|
|
|
@ -1794,7 +1794,7 @@ abstract class AbstractPlatform
|
|||
*
|
||||
* @param string $fromClause The FROM clause to append the hint for the given lock mode to
|
||||
* @param int $lockMode One of the Doctrine\DBAL\LockMode::* constants
|
||||
* @psalm-param LockMode::* $lockMode
|
||||
* @phpstan-param LockMode::* $lockMode
|
||||
*/
|
||||
public function appendLockHint(string $fromClause, int $lockMode): string
|
||||
{
|
||||
|
@ -2053,7 +2053,7 @@ abstract class AbstractPlatform
|
|||
* on this platform.
|
||||
*
|
||||
* @param int $createFlags
|
||||
* @psalm-param int-mask-of<self::CREATE_*> $createFlags
|
||||
* @phpstan-param int-mask-of<self::CREATE_*> $createFlags
|
||||
*
|
||||
* @return list<string> The list of SQL statements.
|
||||
*
|
||||
|
@ -2226,7 +2226,7 @@ abstract class AbstractPlatform
|
|||
}
|
||||
|
||||
/**
|
||||
* @param list<Table> $tables
|
||||
* @param Table[] $tables
|
||||
*
|
||||
* @return list<string>
|
||||
*
|
||||
|
@ -4564,7 +4564,7 @@ abstract class AbstractPlatform
|
|||
* @deprecated Implement {@see createReservedKeywordsList()} instead.
|
||||
*
|
||||
* @return string
|
||||
* @psalm-return class-string<KeywordList>
|
||||
* @phpstan-return class-string<KeywordList>
|
||||
*
|
||||
* @throws Exception If not supported on this platform.
|
||||
*/
|
||||
|
|
|
@ -9,7 +9,7 @@ use function strtoupper;
|
|||
/**
|
||||
* Abstract interface for a SQL reserved keyword dictionary.
|
||||
*
|
||||
* @psalm-consistent-constructor
|
||||
* @phpstan-consistent-constructor
|
||||
*/
|
||||
abstract class KeywordList
|
||||
{
|
||||
|
|
|
@ -1025,7 +1025,7 @@ class SqlitePlatform extends AbstractPlatform
|
|||
* {@inheritDoc}
|
||||
*
|
||||
* @param int|null $createFlags
|
||||
* @psalm-param int-mask-of<AbstractPlatform::CREATE_*>|null $createFlags
|
||||
* @phpstan-param int-mask-of<AbstractPlatform::CREATE_*>|null $createFlags
|
||||
*/
|
||||
public function getCreateTableSQL(Table $table, $createFlags = null)
|
||||
{
|
||||
|
|
|
@ -151,7 +151,7 @@ final class Converter
|
|||
* @param T $value
|
||||
*
|
||||
* @return T|string
|
||||
* @psalm-return (T is string ? string : T)
|
||||
* @phpstan-return (T is string ? string : T)
|
||||
*
|
||||
* @template T
|
||||
*/
|
||||
|
@ -228,7 +228,7 @@ final class Converter
|
|||
return /**
|
||||
* @param T $value
|
||||
*
|
||||
* @psalm-return (T is false ? false : T)
|
||||
* @phpstan-return (T is false ? false : T)
|
||||
*
|
||||
* @template T
|
||||
*/
|
||||
|
|
4
vendor/doctrine/dbal/src/Query.php
vendored
4
vendor/doctrine/dbal/src/Query.php
vendored
|
@ -8,8 +8,6 @@ use Doctrine\DBAL\Types\Type;
|
|||
|
||||
/**
|
||||
* An SQL query together with its bound parameters.
|
||||
*
|
||||
* @psalm-immutable
|
||||
*/
|
||||
final class Query
|
||||
{
|
||||
|
@ -35,8 +33,6 @@ final class Query
|
|||
/**
|
||||
* @param array<mixed> $params
|
||||
* @param array<Type|int|string|null> $types
|
||||
*
|
||||
* @psalm-suppress ImpurePropertyAssignment
|
||||
*/
|
||||
public function __construct(string $sql, array $params, array $types)
|
||||
{
|
||||
|
|
|
@ -149,7 +149,7 @@ class CompositeExpression implements Countable
|
|||
* Retrieves the amount of expressions on composite expression.
|
||||
*
|
||||
* @return int
|
||||
* @psalm-return int<0, max>
|
||||
* @phpstan-return int<0, max>
|
||||
*/
|
||||
#[ReturnTypeWillChange]
|
||||
public function count()
|
||||
|
|
|
@ -113,14 +113,14 @@ class QueryBuilder
|
|||
/**
|
||||
* The type of query this is. Can be select, update or delete.
|
||||
*
|
||||
* @psalm-var self::SELECT|self::DELETE|self::UPDATE|self::INSERT
|
||||
* @phpstan-var self::SELECT|self::DELETE|self::UPDATE|self::INSERT
|
||||
*/
|
||||
private int $type = self::SELECT;
|
||||
|
||||
/**
|
||||
* The state of the query object. Can be dirty or clean.
|
||||
*
|
||||
* @psalm-var self::STATE_*
|
||||
* @phpstan-var self::STATE_*
|
||||
*/
|
||||
private int $state = self::STATE_CLEAN;
|
||||
|
||||
|
@ -219,7 +219,7 @@ class QueryBuilder
|
|||
* @deprecated The builder state is an internal concern.
|
||||
*
|
||||
* @return int Either QueryBuilder::STATE_DIRTY or QueryBuilder::STATE_CLEAN.
|
||||
* @psalm-return self::STATE_*
|
||||
* @phpstan-return self::STATE_*
|
||||
*/
|
||||
public function getState()
|
||||
{
|
||||
|
|
|
@ -6,7 +6,6 @@ use Doctrine\DBAL\Exception;
|
|||
|
||||
use function implode;
|
||||
|
||||
/** @psalm-immutable */
|
||||
class QueryException extends Exception
|
||||
{
|
||||
/**
|
||||
|
|
4
vendor/doctrine/dbal/src/Result.php
vendored
4
vendor/doctrine/dbal/src/Result.php
vendored
|
@ -264,7 +264,7 @@ class Result
|
|||
*
|
||||
* @deprecated Use {@see fetchNumeric()}, {@see fetchAssociative()} or {@see fetchOne()} instead.
|
||||
*
|
||||
* @psalm-param FetchMode::* $mode
|
||||
* @phpstan-param FetchMode::* $mode
|
||||
*
|
||||
* @return mixed
|
||||
*
|
||||
|
@ -303,7 +303,7 @@ class Result
|
|||
*
|
||||
* @deprecated Use {@see fetchAllNumeric()}, {@see fetchAllAssociative()} or {@see fetchFirstColumn()} instead.
|
||||
*
|
||||
* @psalm-param FetchMode::* $mode
|
||||
* @phpstan-param FetchMode::* $mode
|
||||
*
|
||||
* @return list<mixed>
|
||||
*
|
||||
|
|
|
@ -34,7 +34,7 @@ final class CreateSchemaObjectsSQLBuilder
|
|||
}
|
||||
|
||||
/**
|
||||
* @param list<string> $namespaces
|
||||
* @param string[] $namespaces
|
||||
*
|
||||
* @return list<string>
|
||||
*
|
||||
|
@ -54,7 +54,7 @@ final class CreateSchemaObjectsSQLBuilder
|
|||
}
|
||||
|
||||
/**
|
||||
* @param list<Table> $tables
|
||||
* @param Table[] $tables
|
||||
*
|
||||
* @return list<string>
|
||||
*
|
||||
|
@ -66,7 +66,7 @@ final class CreateSchemaObjectsSQLBuilder
|
|||
}
|
||||
|
||||
/**
|
||||
* @param list<Sequence> $sequences
|
||||
* @param Sequence[] $sequences
|
||||
*
|
||||
* @return list<string>
|
||||
*
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue