More changes
This commit is contained in:
parent
f311c59ade
commit
b2dbc01193
5 changed files with 46 additions and 0 deletions
6
.idea/php.xml
generated
6
.idea/php.xml
generated
|
@ -9,6 +9,12 @@
|
|||
<component name="PHPCodeSnifferOptionsConfiguration">
|
||||
<option name="transferred" value="true" />
|
||||
</component>
|
||||
<component name="PhpIncludePathManager">
|
||||
<include_path>
|
||||
<path value="/usr/share/php" />
|
||||
<path value="/etc/ncc" />
|
||||
</include_path>
|
||||
</component>
|
||||
<component name="PhpProjectSharedConfiguration" php_language_level="8.2" />
|
||||
<component name="PhpStanOptionsConfiguration">
|
||||
<option name="transferred" value="true" />
|
||||
|
|
2
.idea/tgbot.iml
generated
2
.idea/tgbot.iml
generated
|
@ -3,6 +3,8 @@
|
|||
<component name="NewModuleRootManager">
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/tests" isTestSource="true" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/build" />
|
||||
</content>
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
|
|
8
src/TgBotLib/Classes/Utilities.php
Normal file
8
src/TgBotLib/Classes/Utilities.php
Normal file
|
@ -0,0 +1,8 @@
|
|||
<?php
|
||||
|
||||
namespace TgBotLib\Classes;
|
||||
|
||||
class Utilities
|
||||
{
|
||||
|
||||
}
|
8
src/TgBotLib/Classes/Validate.php
Normal file
8
src/TgBotLib/Classes/Validate.php
Normal file
|
@ -0,0 +1,8 @@
|
|||
<?php
|
||||
|
||||
namespace TgBotLib\Classes;
|
||||
|
||||
class Validate
|
||||
{
|
||||
|
||||
}
|
22
src/TgBotLib/Exceptions/RequestException.php
Normal file
22
src/TgBotLib/Exceptions/RequestException.php
Normal file
|
@ -0,0 +1,22 @@
|
|||
|
||||
<?php
|
||||
|
||||
namespace TgBotLib\Exceptions;
|
||||
|
||||
use Exception;
|
||||
use Throwable;
|
||||
|
||||
class RequestException extends Exception
|
||||
{
|
||||
/**
|
||||
* Public Constructor
|
||||
*
|
||||
* @param string $message
|
||||
* @param int $code
|
||||
* @param Throwable|null $previous
|
||||
*/
|
||||
public function __construct(string $message = "", int $code = 0, ?Throwable $previous = null)
|
||||
{
|
||||
parent::__construct($message, $code, $previous);
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue