Closed (fixed)
Project:
Geofield
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
22 Jun 2020 at 10:13 UTC
Updated:
2 Aug 2020 at 22:44 UTC
Jump to comment: Most recent, Most recent file
As title
Recommended regex for searching: assert\w+\(.+instanceof.+\)
Example:
- $this->assertTrue($property instanceof StringInterface, 'Got the right wrapper fo the page.front property.');
+ $this->assertInstanceOf(StringInterface::class, $property, 'Got the right wrapper fo the page.front property.');
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | geofield_replace-instanceof-with-assertInstanceOf-3153777.patch | 920 bytes | gena.io |
Comments
Comment #2
gena.io commentedComment #3
gena.io commentedComment #5
itamair commented