Skip to content

Commit 16409f3

Browse files
committed
ci: ignore phpstan issues
1 parent 65137d2 commit 16409f3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/Metadata/Tests/Extractor/PropertyMetadataCompatibilityTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,11 +110,11 @@ private function buildApiProperty(): ApiProperty
110110

111111
foreach (self::FIXTURES as $parameter => $value) {
112112
if (method_exists($this, 'with'.ucfirst($parameter))) {
113-
$value = $this->{'with'.ucfirst($parameter)}($value, self::FIXTURES);
113+
$value = $this->{'with'.ucfirst($parameter)}($value, self::FIXTURES); // @phpstan-ignore-line
114114
}
115115

116116
if (method_exists($property, 'with'.ucfirst($parameter))) {
117-
$property = $property->{'with'.ucfirst($parameter)}($value, self::FIXTURES);
117+
$property = $property->{'with'.ucfirst($parameter)}($value, self::FIXTURES); // @phpstan-ignore-line
118118
continue;
119119
}
120120

src/Metadata/Tests/Extractor/ResourceMetadataCompatibilityTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -572,11 +572,11 @@ private function buildApiResources(): array
572572

573573
foreach ($fixtures as $parameter => $value) {
574574
if (method_exists($this, 'with'.ucfirst($parameter))) {
575-
$value = $this->{'with'.ucfirst($parameter)}($value, $fixtures);
575+
$value = $this->{'with'.ucfirst($parameter)}($value, $fixtures); // @phpstan-ignore-line
576576
}
577577

578578
if (method_exists($resource, 'with'.ucfirst($parameter))) {
579-
$resource = $resource->{'with'.ucfirst($parameter)}($value, $fixtures);
579+
$resource = $resource->{'with'.ucfirst($parameter)}($value, $fixtures); // @phpstan-ignore-line
580580
continue;
581581
}
582582

0 commit comments

Comments
 (0)