Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rule S3900: Arguments of public methods should be validated against null #164

Closed
fmallet opened this issue Mar 31, 2017 · 1 comment
Closed
Assignees
Labels
Type: New Feature This hasn't been here before.
Milestone

Comments

@fmallet
Copy link
Contributor

fmallet commented Mar 31, 2017

Implements RSPEC-3900 Arguments of public methods should be validated against null

Contributes to MMF-963

@fmallet fmallet added this to the 6.0 milestone Mar 31, 2017
@Evangelink Evangelink added the Type: New Feature This hasn't been here before. label Apr 3, 2017
@Evangelink Evangelink removed this from the 6.0 milestone Apr 10, 2017
@Evangelink
Copy link
Contributor

We need to discuss this rule because

  • if we decide to create a new rule we might have a lot of FP when developers will use third-party/helpers to handle the check to null.
  • if we decide to improve the detection of possible null dereference on the SE engine then we will probably also have a lot of FP because we don't have cross-file support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: New Feature This hasn't been here before.
Projects
None yet
Development

No branches or pull requests

3 participants