Matt Glaman
Matt Glaman
Can we have a test? I'm concerned here as field item list implements that interface
This could be very hard. Just like entity query access.
Well, I think we actually need to listen to calls of `setDefinition` and check the arguments. And even then, we may not have enough information. We may need to leverage...
The problem is that hooks are not directly invoked code. We would need to somehow bootstrap the hook registry and check if the hook is invoked. This is somewhere that...
Notes to explain the problem: ```php $hooks = ['search_api_results']; foreach ($this->tags as $tag) { $hooks[] = "search_api_results_$tag"; $event = new ProcessingResultsEvent($this->results); $this->getEventDispatcher()->dispatch("$event_base_name.$tag", $event); $this->results = $event->getResults(); } $description = 'This...
I tried an approach in #135 that didn't work because we could only error when the `deprecatedAlter` was invoked not by scanning each function.
Here is one idea that I did not consider previously: * Have a rule that scans defined functions * Drop the module name from the beginning of function name (using...
Alternatively, adding `phpstan/phpstan-phpunit` as a dependency would provide the stubs and might be an easier work around.
Maybe we'll keep this.
`FieldItemListPropertyReflection` is supposed to handle this. Maybe it stopped. I noticed this as well.