diff options
author | Timo Tijhof <krinkle@fastmail.com> | 2022-02-16 17:43:43 +0000 |
---|---|---|
committer | Krinkle <krinkle@fastmail.com> | 2022-02-18 18:32:05 +0000 |
commit | 8d406bbcd69cb50b110bd3fb0d0c9878e3b0b3be (patch) | |
tree | 562870515abca9923702fbd4ff394a69d0c19667 /tests/phpunit/includes/media/WebPHandlerTest.php | |
parent | 38467129b8c14acded3c3a5528c51e8f4641f25f (diff) | |
download | mediawikicore-8d406bbcd69cb50b110bd3fb0d0c9878e3b0b3be.tar.gz mediawikicore-8d406bbcd69cb50b110bd3fb0d0c9878e3b0b3be.zip |
phpcs: Disable `Generic.Files.LineLength` for test files
There is a common and reasonable need for longer lines in tests.
The nudge for shorter lines doesn't seem valuable here. The natural
breaks will likely still fall in 80-100 given the enforced practice
for non-test code, e.g. whether through habit, or 80-100 column markers
in text editors, or the finite width of diff and code review
interfaces.
Change-Id: I879479e13551789a67624ce66f0946d2f185e6ee
Diffstat (limited to 'tests/phpunit/includes/media/WebPHandlerTest.php')
-rw-r--r-- | tests/phpunit/includes/media/WebPHandlerTest.php | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/phpunit/includes/media/WebPHandlerTest.php b/tests/phpunit/includes/media/WebPHandlerTest.php index dd773e422a8a..927174fb851d 100644 --- a/tests/phpunit/includes/media/WebPHandlerTest.php +++ b/tests/phpunit/includes/media/WebPHandlerTest.php @@ -26,7 +26,6 @@ class WebPHandlerTest extends MediaWikiIntegrationTestCase { } public function provideTestExtractMetaData() { - // phpcs:disable Generic.Files.LineLength return [ // Files from https://developers.google.com/speed/webp/gallery2 [ "\x52\x49\x46\x46\x90\x68\x01\x00\x57\x45\x42\x50\x56\x50\x38\x4C\x83\x68\x01\x00\x2F\x8F\x01\x4B\x10\x8D\x38\x6C\xDB\x46\x92\xE0\xE0\x82\x7B\x6C", |