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/unit/includes/utils/MWCryptHashTest.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/unit/includes/utils/MWCryptHashTest.php')
-rw-r--r-- | tests/phpunit/unit/includes/utils/MWCryptHashTest.php | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/phpunit/unit/includes/utils/MWCryptHashTest.php b/tests/phpunit/unit/includes/utils/MWCryptHashTest.php index 3a9f48cbb51a..58c8b16f16f1 100644 --- a/tests/phpunit/unit/includes/utils/MWCryptHashTest.php +++ b/tests/phpunit/unit/includes/utils/MWCryptHashTest.php @@ -22,7 +22,6 @@ class MWCryptHashTest extends MediaWikiUnitTestCase { } $data = 'foobar'; - // phpcs:ignore Generic.Files.LineLength $hash = '9923afaec3a86f865bb231a588f453f84e8151a2deb4109aebc6de4284be5bebcff4fab82a7e51d920237340a043736e9d13bab196006dcca0fe65314d68eab9'; $this->assertEquals( @@ -44,7 +43,6 @@ class MWCryptHashTest extends MediaWikiUnitTestCase { $data = 'foobar'; $key = 'secret'; - // phpcs:ignore Generic.Files.LineLength $hash = 'ddc94177b2020e55ce2049199fd9cc6327f416ff6dc621cc34cb43d9bec61d73372b4790c0e24957f565ecaf2d42821e6303619093e99cbe14a3b9250bda5f81'; $this->assertEquals( |