Feature request
Drupal maintains several hook related attributes for BC management. LegacyHook, LegacyRequirementsHook and LegacyModuleImplementsAlter. They were added in different minor versions and D12 is now removing the first again.
Managing this in phpstan is tedious because depending on the core version, either either complains that it doesn't exist (yet or not anymore) or it complains that ignoring said problem is a problem because it does exist.
Would it be possible to just completely skip these attributes and ignore them and whether or not they exist or not?
Feature request
Drupal maintains several hook related attributes for BC management. LegacyHook, LegacyRequirementsHook and LegacyModuleImplementsAlter. They were added in different minor versions and D12 is now removing the first again.
Managing this in phpstan is tedious because depending on the core version, either either complains that it doesn't exist (yet or not anymore) or it complains that ignoring said problem is a problem because it does exist.
Would it be possible to just completely skip these attributes and ignore them and whether or not they exist or not?