Skip to content

Commit

Permalink
Merge pull request #31 from mkoprek/add_supoort_php8.1
Browse files Browse the repository at this point in the history
Add support for PHP 8.1.0
  • Loading branch information
Ocramius committed Dec 8, 2021
2 parents cf9f497 + 5830d84 commit 99acdfe
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 126 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ jobs:
fail-fast: false
matrix:
php-version:
- "7.3"
- "7.4"
- "8.0"
- "8.1"
deps-version:
- "lowest"
- "latest"
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
}
},
"require": {
"php": "^7.3 || ~8.0.0"
"php": "^7.4 || ~8.0.0 || ~8.1.0"
},
"require-dev": {
"doctrine/migrations": "^2.0 || ^3.0",
Expand Down
176 changes: 53 additions & 123 deletions composer.lock

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

2 changes: 1 addition & 1 deletion src/Check/Memcached.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public function check()
|| false === $stats[$authority]
) {
// Attempt a connection to make sure that the server is really down
if (! @$memcached->getLastDisconnectedServer($this->host, $this->port)) {
if (@$memcached->getLastDisconnectedServer() !== false) {
return new Failure(sprintf(
'No memcached server running at host %s on port %s',
$this->host,
Expand Down

0 comments on commit 99acdfe

Please sign in to comment.