It seems like the GitHub access token used for retrieving details about this repository from
GitHub became invalid. This might prevent certain types of inspections from being run (in
particular,
everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
It seems like you call parent on a different method (valid() instead of rewind()). Are you sure this is correct? If so, you might want to change this to $this->valid().
This check looks for a call to a parent method whose name is different than
the method from which it is called.
It seems like you call parent on a different method (next() instead of rewind()). Are you sure this is correct? If so, you might want to change this to $this->next().
This check looks for a call to a parent method whose name is different than
the method from which it is called.
It seems like you call parent on a different method (valid() instead of next()). Are you sure this is correct? If so, you might want to change this to $this->valid().
This check looks for a call to a parent method whose name is different than
the method from which it is called.
In PHP it is possible to write to properties without declaring them. For example, the following is perfectly valid PHP code:
Generally, it is a good practice to explictly declare properties to avoid accidental typos and provide IDE auto-completion: