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
A task listed several times in the outputs of a task is executed once per occurrence, silently #414
A task listed several times in the outputs (or the error_outputs) of a task, e.g. outputs: [d, d], is executed once per occurrence, without any warning. It is most likely a configuration mistake (e.g. after a copy-paste), and it doubles the side effects of the task (written lines, API calls…).
Fix: deprecate it in 5.7 (the behaviour is kept until then), throw an exception in v6.0.
The other part of the audit point (the options of a task that does not declare any are ignored) is not handled: a task implementing TaskInterface directly may read its options itself ($state->getTaskConfiguration()->getOption()), so they cannot be detected as unused.
Found during the audit v3 (audit-v3-angles.md#175).
Activity
#414 - Deprecate listing a task several times in the outputs or the e…
Merge pull request #415 from cleverage/414