AliSoftware / AliSoftware/OHHTTPStubs

Static Analysis results ran from XCode 9.4.1

Đang mở
#290 2 bình luận 1 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Objective-C
Star
5.1k
Fork
597
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Ran Static analysis on my project and saw some collateral information that I thought I'd pass on.
I realize this is older code but probably still applies.

- OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubs.m:46:1: Property of mutable type 'NSMutableArray' has 'copy' attribute; an immutable object will be stored instead

**Memory error Group**

- OHHTTPStubs/OHHTTPStubs/Sources/Mocktail/OHHTTPStubs+Mocktail.m:44:9: nil returned from a method that is expected to return a non-null value

- OHHTTPStubs/OHHTTPStubs/Sources/Mocktail/OHHTTPStubs+Mocktail.m:103:9: nil returned from a method that is expected to return a non-null value

- OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubsResponse.m:153:12: nil passed to a callee that requires a non-null 1st parameter

### New Issue Checklist

- [NO ] I have tried with the latest version of OHHTTPStubs
- [YES ] I have read the [README](https://github.com/AliSoftware/OHHTTPStubs/blob/master/README.md)
- [ N/A] I have read the [Using the right Swift Version of `OHHTTPStubs` for your project](https://github.com/AliSoftware/OHHTTPStubs#using-the-right-swift-version-of-ohhttpstubs-for-your-project) section
- [NO ] I have searched in the [existing issues](https://github.com/AliSoftware/OHHTTPStubs/issues?utf8=✓&q=is%3Aissue)
- [ N/A] I have read [the OHHTTPStubs wiki](https://github.com/AliSoftware/OHHTTPStubs/wiki) to see if there wasn't a detailed page talking about my issue

### Environment

- version of OHHTTPStubs: [LIB VERSION HERE]
- integration method you are using:
* [ ] Cocoapods
* [ ] Carthage
* [ ] submodule
* [X ] other (*Built into our Project from sources)
- version of the tool you use: [5.1.0]

There is no ill issue seen with OHTTPStubs. This is just FYI in case you wish to investigate.
I realize this is an older version. I can't update and try again.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.