More changes

This commit is contained in:
Netkas 2023-02-14 20:57:15 -05:00
parent f311c59ade
commit b2dbc01193
5 changed files with 46 additions and 0 deletions

6
.idea/php.xml generated
View file

@ -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
View file

@ -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" />

View file

@ -0,0 +1,8 @@
<?php
namespace TgBotLib\Classes;
class Utilities
{
}

View file

@ -0,0 +1,8 @@
<?php
namespace TgBotLib\Classes;
class Validate
{
}

View 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);
}
}