Skip to content

Commit 18e3986

Browse files
committed
final touch: avoid regenerate baseline, fix instead
1 parent b5ade99 commit 18e3986

3 files changed

Lines changed: 3 additions & 11 deletions

File tree

‎tests/system/Helpers/TextHelperTest.php‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,8 @@ public function testIncrementString(): void
161161
$this->assertSame('my-test_1', increment_string('my-test'));
162162
$this->assertSame('my-test-1', increment_string('my-test', '-'));
163163
$this->assertSame('file_5', increment_string('file_4'));
164-
$this->assertSame('file-5', increment_string('file-4', '-'));
164+
$incremented = increment_string('file-4', '-');
165+
$this->assertSame('file-5', $incremented);
165166
$this->assertSame('file-5', increment_string('file-4', '-'));
166167
$this->assertSame('file-1', increment_string('file', '-', 1));
167168
$this->assertSame('124', increment_string('123', ''));

‎utils/phpstan-baseline/loader.neon‎

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

33
includes:
44
- arguments.count.neon
55
- assign.propertyType.neon
66
- deadCode.unreachable.neon
77
- function.resultUnused.neon
8-
- method.alreadyNarrowedType.neon
98
- method.childReturnType.neon
109
- property.defaultValue.neon
1110
- property.phpDocType.neon

‎utils/phpstan-baseline/method.alreadyNarrowedType.neon‎

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)