Skip to content

Commit 7805b2a

Browse files
authored
Merge pull request #945 from noplanman/upgrade_dependencies_fix_phpcs
Upgrade dependencies fix PHPCS
2 parents a87a9e6 + ef84e68 commit 7805b2a

File tree

5 files changed

+102
-56
lines changed

5 files changed

+102
-56
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,15 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c
99
- Allow passing absolute file path for InputFile fields, instead of `Request::encodeFile($path)`.
1010
### Changed
1111
- All Message field types dynamically search for an existing Command class that can handle them.
12+
- Upgrade dependencies.
1213
### Deprecated
1314
- Botan.io service has been discontinued.
1415
- Most built-in System Commands will be handled by GenericmessageCommand by default in a future release and will require a custom implementation.
1516
### Removed
1617
### Fixed
1718
- Constraint errors in `/cleanup` command.
1819
- Return correct objects for requests.
20+
- PHPCS: static before visibility declaration.
1921
### Security
2022

2123
## [0.55.1] - 2019-01-06

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@
2828
"ext-curl": "*",
2929
"ext-json": "*",
3030
"ext-mbstring": "*",
31-
"monolog/monolog": "^1.23",
31+
"monolog/monolog": "^1.24",
3232
"guzzlehttp/guzzle": "^6.3"
3333
},
3434
"require-dev": {
35-
"phpunit/phpunit": "^4.8|^5.7|^6.5|^7.4",
36-
"squizlabs/php_codesniffer": "^3.3"
35+
"phpunit/phpunit": "^4.8|^5.7|^6.5|^7.4|^8.1",
36+
"squizlabs/php_codesniffer": "^3.4"
3737
},
3838
"autoload": {
3939
"psr-4": {

composer.lock

Lines changed: 87 additions & 43 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/DB.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,28 +31,28 @@ class DB
3131
*
3232
* @var array
3333
*/
34-
static protected $mysql_credentials = [];
34+
protected static $mysql_credentials = [];
3535

3636
/**
3737
* PDO object
3838
*
3939
* @var PDO
4040
*/
41-
static protected $pdo;
41+
protected static $pdo;
4242

4343
/**
4444
* Table prefix
4545
*
4646
* @var string
4747
*/
48-
static protected $table_prefix;
48+
protected static $table_prefix;
4949

5050
/**
5151
* Telegram class object
5252
*
5353
* @var Telegram
5454
*/
55-
static protected $telegram;
55+
protected static $telegram;
5656

5757
/**
5858
* Initialize

0 commit comments

Comments
 (0)