Skip to content

Fix regression where be and beIdenticalTo matchers stopped matching against AnyObject protocols #408

Fix regression where be and beIdenticalTo matchers stopped matching against AnyObject protocols

Fix regression where be and beIdenticalTo matchers stopped matching against AnyObject protocols #408

Triggered via pull request December 13, 2024 23:32
Status Success
Total duration 42s
Artifacts

swiftlint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint: Sources/Nimble/Requirement.swift#L18
Large Tuple Violation: Tuples should have at most 2 members (large_tuple)
lint: Sources/Nimble/Requirement.swift#L19
Large Tuple Violation: Tuples should have at most 2 members (large_tuple)
lint: Sources/Nimble/Requirement.swift#L38
Large Tuple Violation: Tuples should have at most 2 members (large_tuple)
lint: Sources/Nimble/Requirement.swift#L55
Large Tuple Violation: Tuples should have at most 2 members (large_tuple)
lint: Sources/Nimble/Requirement.swift#L40
Redundant Void Return Violation: Returning Void in a function declaration is redundant (redundant_void_return)
lint: Sources/Nimble/DSL+Require.swift#L260
Line Length Violation: Line should be 160 characters or less; currently it has 169 characters (line_length)
lint: Sources/Nimble/DSL+Require.swift#L280
Line Length Violation: Line should be 160 characters or less; currently it has 169 characters (line_length)
lint: Sources/Nimble/DSL+Wait.swift#L45
Function Body Length Violation: Function body should span 50 lines or less excluding comments and whitespace: currently spans 51 lines (function_body_length)
lint: Sources/Nimble/DSL+Wait.swift#L54
Redundant Void Return Violation: Returning Void in a function declaration is redundant (redundant_void_return)
lint: Sources/Nimble/Matchers/MatchError.swift#L62
Prefer Type Checking Violation: Prefer `a is X` to `a as? X != nil` (prefer_type_checking)