@@ -245,7 +245,7 @@ public function testGetterUTC(): void
245245 $ this ->assertSame (8 , $ diff ->getDays ());
246246 $ this ->assertSame (8 , $ diff ->days );
247247 $ this ->assertSame (-8 , (int ) round ($ diff ->getDays (true )));
248- $ this ->assertNull ($ diff ->nonsense );
248+ $ this ->assertNull ($ diff ->nonsense ); // @phpstan-ignore property.notFound
249249 }
250250
251251 public function testGetterDST (): void
@@ -259,23 +259,23 @@ public function testGetterDST(): void
259259
260260 // The raw value does not take Daylight Saving Time into account.
261261 $ this ->assertSame (-8 , (int ) round ($ diff ->getDays (true )));
262- $ this ->assertNull ($ diff ->nonsense );
262+ $ this ->assertNull ($ diff ->nonsense ); // @phpstan-ignore property.notFound
263263 }
264264
265265 public function testMagicIssetTrue (): void
266266 {
267267 $ current = Time::parse ('March 10, 2017 ' , 'America/Chicago ' );
268268 $ diff = $ current ->difference ('March 18, 2017 ' , 'America/Chicago ' );
269269
270- $ this ->assertTrue (isset ($ diff ->days ));
271- $ this ->assertFalse (isset ($ diff ->nonsense ));
270+ $ this ->assertTrue (isset ($ diff ->days )); // @phpstan-ignore isset.property
271+ $ this ->assertFalse (isset ($ diff ->nonsense )); // @phpstan-ignore property.notFound
272272 }
273273
274274 public function testMagicIssetFalse (): void
275275 {
276276 $ current = Time::parse ('March 10, 2017 ' , 'America/Chicago ' );
277277 $ diff = $ current ->difference ('March 18, 2017 ' , 'America/Chicago ' );
278278
279- $ this ->assertFalse (isset ($ diff ->nonsense ));
279+ $ this ->assertFalse (isset ($ diff ->nonsense )); // @phpstan-ignore property.notFound
280280 }
281281}
0 commit comments