Upgrade dependencies and fix PHPCS errors.

parent a87a9e68
......@@ -9,6 +9,7 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c
- Allow passing absolute file path for InputFile fields, instead of `Request::encodeFile($path)`.
### Changed
- All Message field types dynamically search for an existing Command class that can handle them.
- Upgrade dependencies.
### Deprecated
- Botan.io service has been discontinued.
- Most built-in System Commands will be handled by GenericmessageCommand by default in a future release and will require a custom implementation.
......@@ -16,6 +17,7 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c
### Fixed
- Constraint errors in `/cleanup` command.
- Return correct objects for requests.
- PHPCS: static before visibility declaration.
### Security
## [0.55.1] - 2019-01-06
......
......@@ -28,12 +28,12 @@
"ext-curl": "*",
"ext-json": "*",
"ext-mbstring": "*",
"monolog/monolog": "^1.23",
"monolog/monolog": "^1.24",
"guzzlehttp/guzzle": "^6.3"
},
"require-dev": {
"phpunit/phpunit": "^4.8|^5.7|^6.5|^7.4",
"squizlabs/php_codesniffer": "^3.3"
"phpunit/phpunit": "^4.8|^5.7|^6.5|^7.4|^8.1",
"squizlabs/php_codesniffer": "^3.4"
},
"autoload": {
"psr-4": {
......
This diff is collapsed.
......@@ -31,28 +31,28 @@ class DB
*
* @var array
*/
static protected $mysql_credentials = [];
protected static $mysql_credentials = [];
/**
* PDO object
*
* @var PDO
*/
static protected $pdo;
protected static $pdo;
/**
* Table prefix
*
* @var string
*/
static protected $table_prefix;
protected static $table_prefix;
/**
* Telegram class object
*
* @var Telegram
*/
static protected $telegram;
protected static $telegram;
/**
* Initialize
......
......@@ -22,42 +22,42 @@ class TelegramLog
*
* @var \Monolog\Logger
*/
static protected $monolog;
protected static $monolog;
/**
* Monolog instance for update
*
* @var \Monolog\Logger
*/
static protected $monolog_update;
protected static $monolog_update;
/**
* Path for error log
*
* @var string
*/
static protected $error_log_path;
protected static $error_log_path;
/**
* Path for debug log
*
* @var string
*/
static protected $debug_log_path;
protected static $debug_log_path;
/**
* Path for update log
*
* @var string
*/
static protected $update_log_path;
protected static $update_log_path;
/**
* Temporary stream handle for debug log
*
* @var resource|null
*/
static protected $debug_log_temp_stream_handle;
protected static $debug_log_temp_stream_handle;
/**
* Initialize Monolog Logger instance, optionally passing an existing one
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment