Skip to content
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

Upgrade PHPUnit and PHPCS #1008

Merged
merged 8 commits into from
Oct 24, 2019
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
.DS_Store
.idea
.phpintel
.phpunit.result.cache

# Composer
/composer.phar
Expand Down
6 changes: 2 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,15 @@ cache:
- $HOME/.composer/cache

php:
- 7.4snapshot
- 7.3
- 7.2
- 7.1
- 7.0
- 5.6
- 5.5
- nightly
- hhvm

matrix:
allow_failures:
- php: 7.4snapshot
- php: nightly
- php: hhvm
fast_finish: true
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,14 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c
- Static boolean property `SystemCommand::$execute_deprecated` (must be assigned before handling the request) to try and execute any deprecated system command.
### Changed
- Small readme and code fixes / simplifications.
- Upgrade PHPUnit to 8.x and PHPCS to 3.5. For tests now minimum PHP version is 7.2.
### Deprecated
### Removed
- Service message system commands, which are now handled by `GenericmessageCommand`.
### Fixed
- Boolean value for Polls gets saved correctly in MySQL DB.
- Correctly use `Request::answerInlineQuery` in `InlineQuery::answer`.
- PSR-12 incompatibilities in the codebase.
### Security

## [0.60.0] - 2019-08-16
Expand Down
5 changes: 3 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,9 @@
"guzzlehttp/guzzle": "^6.3"
},
"require-dev": {
"phpunit/phpunit": "^4.8|^5.7|^6.5|^7.5|^8.1",
"squizlabs/php_codesniffer": "^3.4"
"phpunit/phpunit": "^8.4",
"squizlabs/php_codesniffer": "^3.4",
"dms/phpunit-arraysubset-asserts": "^0.1.0"
},
"autoload": {
"psr-4": {
Expand Down