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/SVGReaderTest.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/SVGReaderTest.php')
-rw-r--r-- | tests/phpunit/includes/media/SVGReaderTest.php | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/phpunit/includes/media/SVGReaderTest.php b/tests/phpunit/includes/media/SVGReaderTest.php index ed0fa16f5f5c..1170520a1be3 100644 --- a/tests/phpunit/includes/media/SVGReaderTest.php +++ b/tests/phpunit/includes/media/SVGReaderTest.php @@ -146,7 +146,6 @@ class SVGReaderTest extends \MediaWikiIntegrationTestCase { public static function provideSvgFilesWithXMLMetadata() { $base = __DIR__ . '/../../data/media'; - // phpcs:disable Generic.Files.LineLength $metadata = '<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <ns4:Work xmlns:ns4="http://creativecommons.org/ns#" rdf:about=""> <ns5:format xmlns:ns5="http://purl.org/dc/elements/1.1/">image/svg+xml</ns5:format> |