-
-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #164 from Kharhamel/phpstanGenerator12
Phpstan generator12
- Loading branch information
Showing
110 changed files
with
726 additions
and
1,089 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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()); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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()); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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()); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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()); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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()); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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()); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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()); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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()); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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()); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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()); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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()); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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()); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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()); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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()); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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()); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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()); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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()); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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()); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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()); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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()); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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()); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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()); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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()); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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()); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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()); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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()); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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()); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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()); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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()); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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()); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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()); | ||
} | ||
} |
Oops, something went wrong.