File tree Expand file tree Collapse file tree 2 files changed +12
-6
lines changed
Reports/Model/Resource/Report Expand file tree Collapse file tree 2 files changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -132,7 +132,8 @@ public function testInitReport(string $modelClass = ''): void
132
132
public function testGetReportFull (): void
133
133
{
134
134
static ::markTestSkipped (self ::SKIP_INCOMPLETE_MESSAGE );
135
- $ this ->assertInstanceOf (Mage_Reports_Model_Report::class, self ::$ subject ->getReportFull (1 , 1 ));
135
+ /** @phpstan-ignore deadCode.unreachable */
136
+ static ::assertInstanceOf (Mage_Reports_Model_Report::class, self ::$ subject ->getReportFull (1 , 1 ));
136
137
}
137
138
138
139
/**
@@ -141,7 +142,8 @@ public function testGetReportFull(): void
141
142
public function testGetReport (): void
142
143
{
143
144
static ::markTestSkipped (self ::SKIP_INCOMPLETE_MESSAGE );
144
- $ this ->assertInstanceOf (Mage_Reports_Model_Report::class, self ::$ subject ->getReport (1 , 1 ));
145
+ /** @phpstan-ignore deadCode.unreachable */
146
+ static ::assertInstanceOf (Mage_Reports_Model_Report::class, self ::$ subject ->getReport (1 , 1 ));
145
147
}
146
148
147
149
/**
@@ -150,6 +152,7 @@ public function testGetReport(): void
150
152
public function testTimeShift (): void
151
153
{
152
154
static ::markTestSkipped (self ::SKIP_INCOMPLETE_MESSAGE );
153
- $ this ->assertSame (self ::$ subject ->timeShift ('' ));
155
+ /** @phpstan-ignore deadCode.unreachable */
156
+ static ::assertSame (self ::$ subject ->timeShift ('' ));
154
157
}
155
158
}
Original file line number Diff line number Diff line change @@ -72,7 +72,8 @@ public function testGetCalculator(): void
72
72
public function testGetProductPrice (): void
73
73
{
74
74
static ::markTestSkipped ();
75
- $ this ->assertSame ('' , self ::$ subject ->getProductPrice ());
75
+ /** @phpstan-ignore deadCode.unreachable */
76
+ static ::assertSame ('' , self ::$ subject ->getProductPrice ());
76
77
}
77
78
78
79
/**
@@ -130,7 +131,8 @@ public function testNeedPriceConversion(): void
130
131
public function testGetPriceFormat (): void
131
132
{
132
133
static ::markTestSkipped ();
133
- $ this ->assertSame ('' , self ::$ subject ->getPriceFormat ());
134
+ /** @phpstan-ignore deadCode.unreachable */
135
+ static ::assertSame ('' , self ::$ subject ->getPriceFormat ());
134
136
}
135
137
136
138
/**
@@ -162,7 +164,8 @@ public function testGetAllRatesByProductClass(): void
162
164
public function testGetPrice (): void
163
165
{
164
166
static ::markTestSkipped ();
165
- $ this ->assertFalse (self ::$ subject ->getPrice ());
167
+ /** @phpstan-ignore deadCode.unreachable */
168
+ static ::assertFalse (self ::$ subject ->getPrice ());
166
169
}
167
170
168
171
/**
You can’t perform that action at this time.
0 commit comments