Skip to content

Upgrade dependencies fix PHPCS #945

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,15 @@ 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.
### Removed
### Fixed
- Constraint errors in `/cleanup` command.
- Return correct objects for requests.
- PHPCS: static before visibility declaration.
### Security

## [0.55.1] - 2019-01-06
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
130 changes: 87 additions & 43 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions src/DB.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading