From b59ad5811be75fc28fc2454e53c39bdc81d9c754 Mon Sep 17 00:00:00 2001 From: "Amir E. Aharoni" Date: Wed, 30 Sep 2015 10:55:19 +0300 Subject: [PATCH] Make lines short to pass phpcs in BagOStuffTest.php Bug: T102614 Change-Id: I125cf7ec294818ae4c7741acf24a40980448daa9 --- tests/phpunit/includes/objectcache/BagOStuffTest.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tests/phpunit/includes/objectcache/BagOStuffTest.php b/tests/phpunit/includes/objectcache/BagOStuffTest.php index cde7ed680e..dbccd28a20 100644 --- a/tests/phpunit/includes/objectcache/BagOStuffTest.php +++ b/tests/phpunit/includes/objectcache/BagOStuffTest.php @@ -143,8 +143,11 @@ class BagOStuffTest extends MediaWikiTestCase { $key1 = wfMemcKey( 'test1' ); $key2 = wfMemcKey( 'test2' ); - $key3 = wfMemcKey( 'will-%-encode' ); // internally, MemcachedBagOStuffs will encode to will-%25-encode - $key4 = wfMemcKey( 'flowdb:flow_ref:wiki:by-source:v3:Parser\'s_"broken"_+_(page)_&_grill:testwiki:1:4.7' ); + // internally, MemcachedBagOStuffs will encode to will-%25-encode + $key3 = wfMemcKey( 'will-%-encode' ); + $key4 = wfMemcKey( + 'flowdb:flow_ref:wiki:by-source:v3:Parser\'s_"broken"_+_(page)_&_grill:testwiki:1:4.7' + ); $this->cache->add( $key1, $value1 ); $this->cache->add( $key2, $value2 ); -- 2.20.1