Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit067e226

Browse files
Merge branch '5.1'
* 5.1: (33 commits) [Cache] $lifetime cannot be null [Serializer] minor cleanup fix merge Run PHP 8 as 7.4.99 Remove calls to deprecated ReflectionParameter::getClass(). [VarDumper] fix PHP 8 support Removed "services" prototype node from "custom_authenticator" Add php 8 to travis. [Cache] Accessing undefined constants raises an Error in php8 [Cache] allow DBAL v3 Skip Doctrine DBAL on php 8 until we have a compatible version. [DomCrawler] Catch expected ValueError. Made method signatures compatible with their corresponding traits. [ErrorHandler] Apply php8 fixes from Debug component. [DomCrawler] Catch expected ValueError. [Validator] Catch expected ValueError. [VarDumper] ReflectionFunction::isDisabled() is deprecated. [BrowserKit] Raw body with custom Content-Type header Revertsymfony/symfony#34986 Make ExpressionLanguageSyntax validator usable with annotation ...
2 parents69b020f +da25ce8 commit067e226

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

‎Tests/Adapter/MemcachedAdapterTest.php

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,14 @@ public function testOptions()
7171
*/
7272
publicfunctiontestBadOptions($name,$value)
7373
{
74-
$this->expectException('ErrorException');
75-
$this->expectExceptionMessage('constant(): Couldn\'t find constant Memcached::');
74+
if (\PHP_VERSION_ID <80000) {
75+
$this->expectException('ErrorException');
76+
$this->expectExceptionMessage('constant(): Couldn\'t find constant Memcached::');
77+
}else {
78+
$this->expectException('Error');
79+
$this->expectExceptionMessage('Undefined class constant\'Memcached::');
80+
}
81+
7682
MemcachedAdapter::createConnection([], [$name =>$value]);
7783
}
7884

‎composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@
3131
},
3232
"require-dev": {
3333
"cache/integration-tests":"dev-master",
34-
"doctrine/cache":"~1.6",
35-
"doctrine/dbal":"^2.10",
36-
"predis/predis":"~1.1",
34+
"doctrine/cache":"^1.6",
35+
"doctrine/dbal":"^2.10|^3.0",
36+
"predis/predis":"^1.1",
3737
"psr/simple-cache":"^1.0",
3838
"symfony/config":"^4.4|^5.0",
3939
"symfony/dependency-injection":"^4.4|^5.0",

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp