upgrade idiorm to php8.1-patched version (aaronpk/idiorm)

This commit is contained in:
Andrew Dolgov
2022-07-12 22:26:21 +03:00
parent 4b61618920
commit 80d3db1dcf
189 changed files with 17077 additions and 12739 deletions

View File

@@ -1,7 +1,7 @@
<?php
namespace Safe\Exceptions;
class PdfException extends \ErrorException implements SafeExceptionInterface
class GettextException extends \ErrorException implements SafeExceptionInterface
{
public static function createFromPhpError(): self
{

View File

@@ -1,11 +0,0 @@
<?php
namespace Safe\Exceptions;
class IngresiiException extends \ErrorException implements SafeExceptionInterface
{
public static function createFromPhpError(): self
{
$error = error_get_last();
return new self($error['message'] ?? 'An error occured', 0, $error['type'] ?? 1);
}
}

View File

@@ -1,11 +0,0 @@
<?php
namespace Safe\Exceptions;
class MsqlException extends \ErrorException implements SafeExceptionInterface
{
public static function createFromPhpError(): self
{
$error = error_get_last();
return new self($error['message'] ?? 'An error occured', 0, $error['type'] ?? 1);
}
}

View File

@@ -1,11 +0,0 @@
<?php
namespace Safe\Exceptions;
class MysqliException extends \ErrorException implements SafeExceptionInterface
{
public static function createFromPhpError(): self
{
$error = error_get_last();
return new self($error['message'] ?? 'An error occured', 0, $error['type'] ?? 1);
}
}

View File

@@ -1,11 +0,0 @@
<?php
namespace Safe\Exceptions;
class MysqlndMsException extends \ErrorException implements SafeExceptionInterface
{
public static function createFromPhpError(): self
{
$error = error_get_last();
return new self($error['message'] ?? 'An error occured', 0, $error['type'] ?? 1);
}
}

View File

@@ -1,11 +0,0 @@
<?php
namespace Safe\Exceptions;
class MysqlndQcException extends \ErrorException implements SafeExceptionInterface
{
public static function createFromPhpError(): self
{
$error = error_get_last();
return new self($error['message'] ?? 'An error occured', 0, $error['type'] ?? 1);
}
}

View File

@@ -1,11 +0,0 @@
<?php
namespace Safe\Exceptions;
class PasswordException extends \ErrorException implements SafeExceptionInterface
{
public static function createFromPhpError(): self
{
$error = error_get_last();
return new self($error['message'] ?? 'An error occured', 0, $error['type'] ?? 1);
}
}

View File

@@ -1,11 +0,0 @@
<?php
namespace Safe\Exceptions;
class SimplexmlException extends \ErrorException implements SafeExceptionInterface
{
public static function createFromPhpError(): self
{
$error = error_get_last();
return new self($error['message'] ?? 'An error occured', 0, $error['type'] ?? 1);
}
}