You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit cc9cb2f
Browse filesBrowse the repository at this point in the historyBrowse files
Register conditionally enabled rules with attributes
Adds the optional enabledBy parameter to RegisteredRule and
RegisteredCollector. It accepts a boolean parameter reference and only
adds the rule or collector tag when that parameter is enabled.
This moves PHPStan's 22 conditionally registered rules out of
conditionalTags and service definitions and onto the rule classes. The
five conditional restricted-usage extension tags remain in NEON because
they are not rules or collectors.
Amp-Thread-ID: https://ampcode.com/threads/T-01a19219-8e6c-730d-9b2f-3ac8a4a98fcc
0 commit comments