There is at least one abstract method in this class. Maybe declare it as abstract, or implement the remaining methods: current, getInnerIterator, key, next, rewind, valid
Loading history...
5
class MyRecursiveIterator implements RecursiveIterator {}
There is at least one abstract method in this class. Maybe declare it as abstract, or implement the remaining methods: current, getChildren, hasChildren, key, next, rewind, valid
Loading history...
6
class MySeekableIterator implements SeekableIterator {}
There is at least one abstract method in this class. Maybe declare it as abstract, or implement the remaining methods: current, key, next, rewind, seek, valid
There is at least one abstract method in this class. Maybe declare it as abstract, or implement the remaining methods: close, destroy, gc, open, read, write
Loading history...
15
16
class MyMultiple implements SplSubject, JsonSerializable, Countable {}
The type MyMultiple has been defined more than once; this definition is ignored, only the first definition in Tests/sniff-examples/internal_interfaces.php (L7-7) is considered.
This check looks for classes that have been defined more than once.
If you can, we would recommend to use standard object-oriented programming
techniques. For example, to avoid multiple types, it might make sense to create a
common interface, and then multiple, different implementations for that interface.
This also has the side-effect of providing you with better IDE auto-completion,
static analysis and also better OPCode caching from PHP.
The type MyUppercase has been defined more than once; this definition is ignored, only the first definition in Tests/sniff-examples/internal_interfaces.php (L9-9) is considered.
This check looks for classes that have been defined more than once.
If you can, we would recommend to use standard object-oriented programming
techniques. For example, to avoid multiple types, it might make sense to create a
common interface, and then multiple, different implementations for that interface.
This also has the side-effect of providing you with better IDE auto-completion,
static analysis and also better OPCode caching from PHP.
There is at least one abstract method in this class. Maybe declare it as abstract, or implement the remaining methods: __wakeup, diff, format, getOffset, getTimestamp, getTimezone
The type MyLowercase has been defined more than once; this definition is ignored, only the first definition in Tests/sniff-examples/internal_interfaces.php (L10-10) is considered.
This check looks for classes that have been defined more than once.
If you can, we would recommend to use standard object-oriented programming
techniques. For example, to avoid multiple types, it might make sense to create a
common interface, and then multiple, different implementations for that interface.
This also has the side-effect of providing you with better IDE auto-completion,
static analysis and also better OPCode caching from PHP.
There is at least one abstract method in this class. Maybe declare it as abstract, or implement the remaining methods: __wakeup, diff, format, getOffset, getTimestamp, getTimezone