Skip to content

Commit df812dd

Browse files
committed
refactor: fix property.unusedType errors
1 parent bd60f50 commit df812dd

File tree

4 files changed

+4
-23
lines changed

4 files changed

+4
-23
lines changed

tests/system/HTTP/MessageTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
#[Group('Others')]
2626
final class MessageTest extends CIUnitTestCase
2727
{
28-
private ?Message $message;
28+
private Message $message;
2929

3030
protected function setUp(): void
3131
{

tests/system/HTTP/NegotiateTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
#[Group('Others')]
2626
final class NegotiateTest extends CIUnitTestCase
2727
{
28-
private ?IncomingRequest $request;
29-
private ?Negotiate $negotiate;
28+
private IncomingRequest $request;
29+
private Negotiate $negotiate;
3030

3131
protected function setUp(): void
3232
{

utils/phpstan-baseline/loader.neon

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# total 3760 errors
1+
# total 3757 errors
22
includes:
33
- argument.type.neon
44
- assign.propertyType.neon
@@ -34,7 +34,6 @@ includes:
3434
- property.protected.neon
3535
- property.readOnlyByPhpDocAssignOutOfClass.neon
3636
- property.readOnlyByPhpDocDefaultValue.neon
37-
- property.unusedType.neon
3837
- return.unusedType.neon
3938
- staticMethod.notFound.neon
4039
- ternary.shortNotAllowed.neon

utils/phpstan-baseline/property.unusedType.neon

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

0 commit comments

Comments
 (0)