Skip to content

Commit 126f135

Browse files
committed
inline ignore tooWideBool
1 parent d5d4591 commit 126f135

File tree

4 files changed

+3
-21
lines changed

4 files changed

+3
-21
lines changed

phpstan-baseline-dbal-4.neon

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -124,24 +124,6 @@ parameters:
124124
count: 1
125125
path: tests/Rules/Doctrine/ORM/EntityColumnRuleTest.php
126126

127-
-
128-
rawMessage: 'Method PHPStan\Rules\Doctrine\ORM\FakeTestingRamseyUuidType::requiresSQLCommentHint() never returns false so the return type can be changed to true.'
129-
identifier: return.tooWideBool
130-
count: 1
131-
path: tests/Rules/Doctrine/ORM/FakeTestingRamseyUuidType.php
132-
133-
-
134-
rawMessage: 'Method PHPStan\Rules\Doctrine\ORM\FakeTestingSymfonyUlidType::requiresSQLCommentHint() never returns false so the return type can be changed to true.'
135-
identifier: return.tooWideBool
136-
count: 1
137-
path: tests/Rules/Doctrine/ORM/FakeTestingSymfonyUlidType.php
138-
139-
-
140-
rawMessage: 'Method PHPStan\Rules\Doctrine\ORM\FakeTestingSymfonyUuidType::requiresSQLCommentHint() never returns false so the return type can be changed to true.'
141-
identifier: return.tooWideBool
142-
count: 1
143-
path: tests/Rules/Doctrine/ORM/FakeTestingSymfonyUuidType.php
144-
145127
-
146128
rawMessage: '''
147129
Call to method __construct() of deprecated class Doctrine\ORM\Mapping\Driver\AnnotationDriver:

tests/Rules/Doctrine/ORM/FakeTestingRamseyUuidType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public function getName(): string
5656
return self::NAME;
5757
}
5858

59-
public function requiresSQLCommentHint(AbstractPlatform $platform): bool
59+
public function requiresSQLCommentHint(AbstractPlatform $platform): bool // @phpstan-ignore return.tooWideBool
6060
{
6161
return true;
6262
}

tests/Rules/Doctrine/ORM/FakeTestingSymfonyUlidType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public function convertToDatabaseValue($value, AbstractPlatform $platform): ?str
100100
}
101101
}
102102

103-
public function requiresSQLCommentHint(AbstractPlatform $platform): bool
103+
public function requiresSQLCommentHint(AbstractPlatform $platform): bool // @phpstan-ignore return.tooWideBool
104104
{
105105
return true;
106106
}

tests/Rules/Doctrine/ORM/FakeTestingSymfonyUuidType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public function convertToDatabaseValue($value, AbstractPlatform $platform): ?str
100100
}
101101
}
102102

103-
public function requiresSQLCommentHint(AbstractPlatform $platform): bool
103+
public function requiresSQLCommentHint(AbstractPlatform $platform): bool // @phpstan-ignore return.tooWideBool
104104
{
105105
return true;
106106
}

0 commit comments

Comments
 (0)