File tree Expand file tree Collapse file tree
Sources/XcodeProject/Archiving Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ whitelist_rules :
3+ - array_init
4+ - block_based_kvo
5+ - closing_brace
6+ - closure_parameter_position
7+ - closure_spacing
8+ - colon
9+ - comma
10+ - control_statement
11+ - custom_rules
12+ - discarded_notification_center_observer
13+ - discouraged_direct_init
14+ - dynamic_inline
15+ - empty_enum_arguments
16+ - empty_parameters
17+ - empty_parentheses_with_trailing_closure
18+ - explicit_init
19+ - implicit_getter
20+ - is_disjoint
21+ - joined_default_parameter
22+ - leading_whitespace
23+ - legacy_cggeometry_functions
24+ - legacy_constant
25+ - legacy_constructor
26+ - legacy_nsgeometry_functions
27+ - mark
28+ - multiline_parameters
29+ - nimble_operator
30+ - opening_brace
31+ - operator_usage_whitespace
32+ - overridden_super_call
33+ - private_action
34+ - private_over_fileprivate
35+ - private_unit_test
36+ - prohibited_super_call
37+ - protocol_property_accessors_order
38+ - quick_discouraged_call
39+ - quick_discouraged_focused_test
40+ - quick_discouraged_pending_test
41+ - redundant_discardable_let
42+ - redundant_nil_coalescing
43+ - redundant_string_enum_value
44+ - redundant_void_return
45+ - required_enum_case
46+ - return_arrow_whitespace
47+ - single_test_class
48+ - statement_position
49+ - switch_case_alignment
50+ - trailing_newline
51+ - trailing_semicolon
52+ - unneeded_break_in_switch
53+ - unused_enumerated
54+ - unused_optional_binding
55+ - valid_ibinspectable
56+ - vertical_whitespace
57+ - void_return
58+ - weak_delegate
59+ - yoda_condition
Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ final class ObjectVisitor {
144144 private var objectMap : [ PBXGlobalID : PBXObject ] = [ : ]
145145 private var visited = Set < PBXGlobalID > ( )
146146
147- func visit( object: PBXObject ? , where predicate: @escaping ( _ object: PBXObject ) -> Bool = { _ in return true } ) {
147+ func visit( object: PBXObject ? , where predicate: @escaping ( _ object: PBXObject ) -> Bool = { _ in return true } ) {
148148 guard let object = object else { return }
149149 guard !visited. contains ( object. globalID) else { return }
150150 if predicate ( object) {
You can’t perform that action at this time.
0 commit comments