Dulma Churchill
3da5908728
[linters] Remove unavailable api class false positives and turn it on
...
Summary:
This is a check for when an unavailable class is being allocated.
This diff also adds a check for the context to remove false positives: If the class is not available but the method calls are wrapped in a check whether the class is available, then don't report.
Reviewed By: jvillard
Differential Revision: D5631191
fbshipit-source-id: 2082dfe
7 years ago
Dulma Churchill
7c384669eb
[linters] Add a new linter UNAVAILABLE_CLASS_IN_SUPPORTED_IOS_SDK for checking unavailable classes in supported ios sdk
...
Reviewed By: akotulski
Differential Revision: D5381931
fbshipit-source-id: 13e36df
7 years ago
Dulma Churchill
144e062684
[linters] Take instancesRespondToSelector into account to avoid FPs
...
Reviewed By: akotulski
Differential Revision: D5380878
fbshipit-source-id: cf6f803
8 years ago
Dulma Churchill
72802024b3
[linters] Fix unavailable api check to take the avaiability attribute into account when it's not the first one in the list.
...
Reviewed By: martinoluca
Differential Revision: D5292444
fbshipit-source-id: 620a855
8 years ago
Dulma Churchill
6c82e82444
[linters] Fix one more unavailable api false positive
...
Reviewed By: akotulski
Differential Revision: D4578891
fbshipit-source-id: c6443a1
8 years ago
Dulma Churchill
3fb6e4dea7
[tests] Fixing the renaming issue with the lint tests
...
Reviewed By: martinoluca
Differential Revision: D4565163
fbshipit-source-id: 2be82f2
8 years ago