Skip to content

Commit

Permalink
Merge f3b7207 into b80c8ef
Browse files Browse the repository at this point in the history
  • Loading branch information
Kharhamel committed Dec 13, 2019
2 parents b80c8ef + f3b7207 commit 00e9f10
Show file tree
Hide file tree
Showing 108 changed files with 717 additions and 1,084 deletions.
4 changes: 2 additions & 2 deletions composer.json
Expand Up @@ -103,8 +103,8 @@
"php": ">=7.1"
},
"require-dev": {
"phpstan/phpstan": "^0.10.3",
"thecodingmachine/phpstan-strict-rules": "^0.10.3",
"phpstan/phpstan": "^0.12",
"thecodingmachine/phpstan-strict-rules": "^0.12",
"squizlabs/php_codesniffer": "^3.2"
},
"scripts": {
Expand Down
6 changes: 5 additions & 1 deletion generated/Exceptions/ApacheException.php
@@ -1,6 +1,10 @@
<?php
namespace Safe\Exceptions;

class ApacheException extends AbstractSafeException
class ApacheException extends \Exception implements SafeExceptionInterface
{
public static function createFromPhpError(): self
{
return new self(\json_last_error_msg(), \json_last_error());
}
}
6 changes: 5 additions & 1 deletion generated/Exceptions/ApcException.php
@@ -1,6 +1,10 @@
<?php
namespace Safe\Exceptions;

class ApcException extends AbstractSafeException
class ApcException extends \Exception implements SafeExceptionInterface
{
public static function createFromPhpError(): self
{
return new self(\json_last_error_msg(), \json_last_error());
}
}
6 changes: 5 additions & 1 deletion generated/Exceptions/ApcuException.php
@@ -1,6 +1,10 @@
<?php
namespace Safe\Exceptions;

class ApcuException extends AbstractSafeException
class ApcuException extends \Exception implements SafeExceptionInterface
{
public static function createFromPhpError(): self
{
return new self(\json_last_error_msg(), \json_last_error());
}
}
6 changes: 5 additions & 1 deletion generated/Exceptions/ArrayException.php
@@ -1,6 +1,10 @@
<?php
namespace Safe\Exceptions;

class ArrayException extends AbstractSafeException
class ArrayException extends \Exception implements SafeExceptionInterface
{
public static function createFromPhpError(): self
{
return new self(\json_last_error_msg(), \json_last_error());
}
}
6 changes: 5 additions & 1 deletion generated/Exceptions/Bzip2Exception.php
@@ -1,6 +1,10 @@
<?php
namespace Safe\Exceptions;

class Bzip2Exception extends AbstractSafeException
class Bzip2Exception extends \Exception implements SafeExceptionInterface
{
public static function createFromPhpError(): self
{
return new self(\json_last_error_msg(), \json_last_error());
}
}
6 changes: 5 additions & 1 deletion generated/Exceptions/ClassobjException.php
@@ -1,6 +1,10 @@
<?php
namespace Safe\Exceptions;

class ClassobjException extends AbstractSafeException
class ClassobjException extends \Exception implements SafeExceptionInterface
{
public static function createFromPhpError(): self
{
return new self(\json_last_error_msg(), \json_last_error());
}
}
6 changes: 5 additions & 1 deletion generated/Exceptions/ComException.php
@@ -1,6 +1,10 @@
<?php
namespace Safe\Exceptions;

class ComException extends AbstractSafeException
class ComException extends \Exception implements SafeExceptionInterface
{
public static function createFromPhpError(): self
{
return new self(\json_last_error_msg(), \json_last_error());
}
}
6 changes: 5 additions & 1 deletion generated/Exceptions/CubridException.php
@@ -1,6 +1,10 @@
<?php
namespace Safe\Exceptions;

class CubridException extends AbstractSafeException
class CubridException extends \Exception implements SafeExceptionInterface
{
public static function createFromPhpError(): self
{
return new self(\json_last_error_msg(), \json_last_error());
}
}
6 changes: 5 additions & 1 deletion generated/Exceptions/DatetimeException.php
@@ -1,6 +1,10 @@
<?php
namespace Safe\Exceptions;

class DatetimeException extends AbstractSafeException
class DatetimeException extends \Exception implements SafeExceptionInterface
{
public static function createFromPhpError(): self
{
return new self(\json_last_error_msg(), \json_last_error());
}
}
6 changes: 5 additions & 1 deletion generated/Exceptions/DirException.php
@@ -1,6 +1,10 @@
<?php
namespace Safe\Exceptions;

class DirException extends AbstractSafeException
class DirException extends \Exception implements SafeExceptionInterface
{
public static function createFromPhpError(): self
{
return new self(\json_last_error_msg(), \json_last_error());
}
}
6 changes: 5 additions & 1 deletion generated/Exceptions/EioException.php
@@ -1,6 +1,10 @@
<?php
namespace Safe\Exceptions;

class EioException extends AbstractSafeException
class EioException extends \Exception implements SafeExceptionInterface
{
public static function createFromPhpError(): self
{
return new self(\json_last_error_msg(), \json_last_error());
}
}
6 changes: 5 additions & 1 deletion generated/Exceptions/ErrorfuncException.php
@@ -1,6 +1,10 @@
<?php
namespace Safe\Exceptions;

class ErrorfuncException extends AbstractSafeException
class ErrorfuncException extends \Exception implements SafeExceptionInterface
{
public static function createFromPhpError(): self
{
return new self(\json_last_error_msg(), \json_last_error());
}
}
6 changes: 5 additions & 1 deletion generated/Exceptions/ExecException.php
@@ -1,6 +1,10 @@
<?php
namespace Safe\Exceptions;

class ExecException extends AbstractSafeException
class ExecException extends \Exception implements SafeExceptionInterface
{
public static function createFromPhpError(): self
{
return new self(\json_last_error_msg(), \json_last_error());
}
}
6 changes: 5 additions & 1 deletion generated/Exceptions/FileinfoException.php
@@ -1,6 +1,10 @@
<?php
namespace Safe\Exceptions;

class FileinfoException extends AbstractSafeException
class FileinfoException extends \Exception implements SafeExceptionInterface
{
public static function createFromPhpError(): self
{
return new self(\json_last_error_msg(), \json_last_error());
}
}
6 changes: 5 additions & 1 deletion generated/Exceptions/FilesystemException.php
@@ -1,6 +1,10 @@
<?php
namespace Safe\Exceptions;

class FilesystemException extends AbstractSafeException
class FilesystemException extends \Exception implements SafeExceptionInterface
{
public static function createFromPhpError(): self
{
return new self(\json_last_error_msg(), \json_last_error());
}
}
6 changes: 5 additions & 1 deletion generated/Exceptions/FilterException.php
@@ -1,6 +1,10 @@
<?php
namespace Safe\Exceptions;

class FilterException extends AbstractSafeException
class FilterException extends \Exception implements SafeExceptionInterface
{
public static function createFromPhpError(): self
{
return new self(\json_last_error_msg(), \json_last_error());
}
}
6 changes: 5 additions & 1 deletion generated/Exceptions/FpmException.php
@@ -1,6 +1,10 @@
<?php
namespace Safe\Exceptions;

class FpmException extends AbstractSafeException
class FpmException extends \Exception implements SafeExceptionInterface
{
public static function createFromPhpError(): self
{
return new self(\json_last_error_msg(), \json_last_error());
}
}
6 changes: 5 additions & 1 deletion generated/Exceptions/FtpException.php
@@ -1,6 +1,10 @@
<?php
namespace Safe\Exceptions;

class FtpException extends AbstractSafeException
class FtpException extends \Exception implements SafeExceptionInterface
{
public static function createFromPhpError(): self
{
return new self(\json_last_error_msg(), \json_last_error());
}
}
6 changes: 5 additions & 1 deletion generated/Exceptions/FunchandException.php
@@ -1,6 +1,10 @@
<?php
namespace Safe\Exceptions;

class FunchandException extends AbstractSafeException
class FunchandException extends \Exception implements SafeExceptionInterface
{
public static function createFromPhpError(): self
{
return new self(\json_last_error_msg(), \json_last_error());
}
}
6 changes: 5 additions & 1 deletion generated/Exceptions/GmpException.php
@@ -1,6 +1,10 @@
<?php
namespace Safe\Exceptions;

class GmpException extends AbstractSafeException
class GmpException extends \Exception implements SafeExceptionInterface
{
public static function createFromPhpError(): self
{
return new self(\json_last_error_msg(), \json_last_error());
}
}
6 changes: 5 additions & 1 deletion generated/Exceptions/GnupgException.php
@@ -1,6 +1,10 @@
<?php
namespace Safe\Exceptions;

class GnupgException extends AbstractSafeException
class GnupgException extends \Exception implements SafeExceptionInterface
{
public static function createFromPhpError(): self
{
return new self(\json_last_error_msg(), \json_last_error());
}
}
6 changes: 5 additions & 1 deletion generated/Exceptions/HashException.php
@@ -1,6 +1,10 @@
<?php
namespace Safe\Exceptions;

class HashException extends AbstractSafeException
class HashException extends \Exception implements SafeExceptionInterface
{
public static function createFromPhpError(): self
{
return new self(\json_last_error_msg(), \json_last_error());
}
}
6 changes: 5 additions & 1 deletion generated/Exceptions/IbaseException.php
@@ -1,6 +1,10 @@
<?php
namespace Safe\Exceptions;

class IbaseException extends AbstractSafeException
class IbaseException extends \Exception implements SafeExceptionInterface
{
public static function createFromPhpError(): self
{
return new self(\json_last_error_msg(), \json_last_error());
}
}
6 changes: 5 additions & 1 deletion generated/Exceptions/IbmDb2Exception.php
@@ -1,6 +1,10 @@
<?php
namespace Safe\Exceptions;

class IbmDb2Exception extends AbstractSafeException
class IbmDb2Exception extends \Exception implements SafeExceptionInterface
{
public static function createFromPhpError(): self
{
return new self(\json_last_error_msg(), \json_last_error());
}
}
6 changes: 5 additions & 1 deletion generated/Exceptions/IconvException.php
@@ -1,6 +1,10 @@
<?php
namespace Safe\Exceptions;

class IconvException extends AbstractSafeException
class IconvException extends \Exception implements SafeExceptionInterface
{
public static function createFromPhpError(): self
{
return new self(\json_last_error_msg(), \json_last_error());
}
}
6 changes: 5 additions & 1 deletion generated/Exceptions/ImageException.php
@@ -1,6 +1,10 @@
<?php
namespace Safe\Exceptions;

class ImageException extends AbstractSafeException
class ImageException extends \Exception implements SafeExceptionInterface
{
public static function createFromPhpError(): self
{
return new self(\json_last_error_msg(), \json_last_error());
}
}
6 changes: 5 additions & 1 deletion generated/Exceptions/ImapException.php
@@ -1,6 +1,10 @@
<?php
namespace Safe\Exceptions;

class ImapException extends AbstractSafeException
class ImapException extends \Exception implements SafeExceptionInterface
{
public static function createFromPhpError(): self
{
return new self(\json_last_error_msg(), \json_last_error());
}
}
6 changes: 5 additions & 1 deletion generated/Exceptions/InfoException.php
@@ -1,6 +1,10 @@
<?php
namespace Safe\Exceptions;

class InfoException extends AbstractSafeException
class InfoException extends \Exception implements SafeExceptionInterface
{
public static function createFromPhpError(): self
{
return new self(\json_last_error_msg(), \json_last_error());
}
}
6 changes: 5 additions & 1 deletion generated/Exceptions/IngresiiException.php
@@ -1,6 +1,10 @@
<?php
namespace Safe\Exceptions;

class IngresiiException extends AbstractSafeException
class IngresiiException extends \Exception implements SafeExceptionInterface
{
public static function createFromPhpError(): self
{
return new self(\json_last_error_msg(), \json_last_error());
}
}
6 changes: 5 additions & 1 deletion generated/Exceptions/InotifyException.php
@@ -1,6 +1,10 @@
<?php
namespace Safe\Exceptions;

class InotifyException extends AbstractSafeException
class InotifyException extends \Exception implements SafeExceptionInterface
{
public static function createFromPhpError(): self
{
return new self(\json_last_error_msg(), \json_last_error());
}
}
6 changes: 5 additions & 1 deletion generated/Exceptions/LdapException.php
@@ -1,6 +1,10 @@
<?php
namespace Safe\Exceptions;

class LdapException extends AbstractSafeException
class LdapException extends \Exception implements SafeExceptionInterface
{
public static function createFromPhpError(): self
{
return new self(\json_last_error_msg(), \json_last_error());
}
}
6 changes: 5 additions & 1 deletion generated/Exceptions/LibeventException.php
@@ -1,6 +1,10 @@
<?php
namespace Safe\Exceptions;

class LibeventException extends AbstractSafeException
class LibeventException extends \Exception implements SafeExceptionInterface
{
public static function createFromPhpError(): self
{
return new self(\json_last_error_msg(), \json_last_error());
}
}

0 comments on commit 00e9f10

Please sign in to comment.