Skip to content

Commit b5ade99

Browse files
committed
chore: regenerate baseline for on purpose test
1 parent 6057b7d commit b5ade99

3 files changed

Lines changed: 11 additions & 1 deletion

File tree

‎tests/system/Helpers/TextHelperTest.php‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ public function testIncrementString(): void
162162
$this->assertSame('my-test-1', increment_string('my-test', '-'));
163163
$this->assertSame('file_5', increment_string('file_4'));
164164
$this->assertSame('file-5', increment_string('file-4', '-'));
165+
$this->assertSame('file-5', increment_string('file-4', '-'));
165166
$this->assertSame('file-1', increment_string('file', '-', 1));
166167
$this->assertSame('124', increment_string('123', ''));
167168
}

‎utils/phpstan-baseline/loader.neon‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
# total 12 errors
1+
# total 13 errors
22

33
includes:
44
- arguments.count.neon
55
- assign.propertyType.neon
66
- deadCode.unreachable.neon
77
- function.resultUnused.neon
8+
- method.alreadyNarrowedType.neon
89
- method.childReturnType.neon
910
- property.defaultValue.neon
1011
- property.phpDocType.neon
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# total 1 error
2+
3+
parameters:
4+
ignoreErrors:
5+
-
6+
message: '#^Call to method PHPUnit\\Framework\\Assert\:\:assertSame\(\) with ''file\-5'' and ''file\-5'' will always evaluate to true\.$#'
7+
count: 1
8+
path: ../../tests/system/Helpers/TextHelperTest.php

0 commit comments

Comments
 (0)