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 }}
This repository was archived by the owner on Feb 24, 2021. It is now read-only.
Repository navigation
This repository was archived by the owner on Feb 24, 2021. It is now read-only.
Add PSSA test for [CmdletBinding()] attribute on every Function. #305
Reserved Parameters such as Verbose, Debug, etc. are already added to the function at runtime so don't redefine them. Add the CmdletBinding attribute to include the reserved parameters in your function.
Use the CmdletBinding Attribute on Every Function
The CmdletBinding attribute adds the reserved parameters to your function which is always preferable.
This issue has been automatically marked as stale because it has not had activity from the community in the last 30 days. It will be closed if no further activity occurs within 10 days. If the issue is labelled with any of the work labels (e.g bug, enhancement, documentation, or tests) then the issue will not auto-close.
Activity
stale commentedon Nov 24, 2018
This issue has been automatically marked as stale because it has not had activity from the community in the last 30 days. It will be closed if no further activity occurs within 10 days. If the issue is labelled with any of the work labels (e.g bug, enhancement, documentation, or tests) then the issue will not auto-close.
johlju commentedon Dec 7, 2018
I'm all for this. Daniel Scott-Raynsford (@PlagueHO) can you please label this issue as enhancement so it is not labeled as stale?
PlagueHO commentedon Dec 7, 2018
Missed this sorry! Johan Ljunggren (@johlju) - done! We need to get your maintainer privileges back in here!
johlju commentedon Dec 8, 2018
Daniel Scott-Raynsford (@PlagueHO) I will request that from Katie, as soon as I have cached up with the back log of mentions and reviews etc. :)