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

Improve syntactic_sugar message to be type-specific #1804

Merged
merged 2 commits into from
Aug 27, 2017
Merged

Improve syntactic_sugar message to be type-specific #1804

merged 2 commits into from
Aug 27, 2017

Conversation

marcelofabri
Copy link
Collaborator

Fixes #1803

@SwiftLintBot
Copy link

SwiftLintBot commented Aug 27, 2017

79 Warnings
⚠️ This PR may need tests.
⚠️ This PR introduced a violation in Aerial: /Users/distiller/SwiftLint/osscheck/Aerial/Aerial/Source/Models/ManifestLoader.swift:103:82: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int>. (syntactic_sugar)
⚠️ This PR introduced a violation in Aerial: /Users/distiller/SwiftLint/osscheck/Aerial/Aerial/Source/Models/ManifestLoader.swift:106:50: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int>. (syntactic_sugar)
⚠️ This PR introduced a violation in Firefox: /Users/distiller/SwiftLint/osscheck/Firefox/Client/Frontend/Browser/BrowserViewController.swift:939:61: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [String: Int] instead of Dictionary<String, Int>. (syntactic_sugar)
⚠️ This PR introduced a violation in Firefox: /Users/distiller/SwiftLint/osscheck/Firefox/Client/Frontend/Reader/ReaderMode.swift:269:39: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [String: Int] instead of Dictionary<String, Int>. (syntactic_sugar)
⚠️ This PR introduced a violation in Firefox: /Users/distiller/SwiftLint/osscheck/Firefox/Providers/PocketFeed.swift:29:33: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int>. (syntactic_sugar)
⚠️ This PR introduced a violation in Firefox: /Users/distiller/SwiftLint/osscheck/Firefox/Providers/PocketFeed.swift:88:49: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int>. (syntactic_sugar)
⚠️ This PR introduced a violation in Firefox: /Users/distiller/SwiftLint/osscheck/Firefox/Providers/PocketFeed.swift:89:33: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int>. (syntactic_sugar)
⚠️ This PR introduced a violation in Firefox: /Users/distiller/SwiftLint/osscheck/Firefox/Providers/PocketFeed.swift:96:106: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int>. (syntactic_sugar)
⚠️ This PR introduced a violation in Firefox: /Users/distiller/SwiftLint/osscheck/Firefox/Providers/PocketFeed.swift:106:50: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int>. (syntactic_sugar)
⚠️ This PR introduced a violation in Firefox: /Users/distiller/SwiftLint/osscheck/Firefox/Storage/Logins.swift:401:22: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int>. (syntactic_sugar)
⚠️ This PR introduced a violation in Firefox: /Users/distiller/SwiftLint/osscheck/Firefox/Storage/SQL/BrowserSchema.swift:1273:23: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int>. (syntactic_sugar)
⚠️ This PR introduced a violation in Firefox: /Users/distiller/SwiftLint/osscheck/Firefox/Storage/SuggestedSites.swift:27:64: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int>. (syntactic_sugar)
⚠️ This PR introduced a violation in Firefox: /Users/distiller/SwiftLint/osscheck/Firefox/Storage/SQL/SQLiteBookmarksSyncing.swift:381:13: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int>. (syntactic_sugar)
⚠️ This PR introduced a violation in Firefox: /Users/distiller/SwiftLint/osscheck/Firefox/Sync/Synchronizers/TabsSynchronizer.swift:194:35: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [String: Int] instead of Dictionary<String, Int>. (syntactic_sugar)
⚠️ This PR introduced a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/private/StdlibCollectionUnittest/CheckRangeReplaceableSliceType.swift:96:37: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int>. (syntactic_sugar)
⚠️ This PR introduced a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/private/StdlibCollectionUnittest/CheckRangeReplaceableSliceType.swift:130:37: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int>. (syntactic_sugar)
⚠️ This PR introduced a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/private/StdlibCollectionUnittest/CheckRangeReplaceableSliceType.swift:241:37: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int>. (syntactic_sugar)
⚠️ This PR introduced a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/private/StdlibCollectionUnittest/CheckRangeReplaceableSliceType.swift:275:37: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int>. (syntactic_sugar)
⚠️ This PR introduced a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/private/StdlibCollectionUnittest/CheckRangeReplaceableCollectionType.swift:817:33: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int>. (syntactic_sugar)
⚠️ This PR introduced a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/private/StdlibCollectionUnittest/CheckRangeReplaceableCollectionType.swift:840:33: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int>. (syntactic_sugar)
⚠️ This PR introduced a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/private/SwiftReflectionTest/SwiftReflectionTest.swift:417:16: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. Int? instead of Optional<Int>. (syntactic_sugar)
⚠️ This PR introduced a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/public/core/ArrayCast.swift:21:27: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int>. (syntactic_sugar)
⚠️ This PR introduced a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/public/core/ArrayCast.swift:22:34: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int>. (syntactic_sugar)
⚠️ This PR introduced a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/public/core/ArrayCast.swift:31:13: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int>. (syntactic_sugar)
⚠️ This PR introduced a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/public/core/ArrayCast.swift:32:6: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int>. (syntactic_sugar)
⚠️ This PR introduced a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/public/core/ArrayCast.swift:64:27: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int>. (syntactic_sugar)
⚠️ This PR introduced a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/public/core/ArrayCast.swift:65:34: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int>. (syntactic_sugar)
⚠️ This PR introduced a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/public/core/ArrayCast.swift:67:18: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int>. (syntactic_sugar)
⚠️ This PR introduced a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/public/core/BridgeObjectiveC.swift:580:33: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. Int? instead of Optional<Int>. (syntactic_sugar)
⚠️ This PR introduced a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/public/core/Builtin.swift:280:31: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. Int? instead of Optional<Int>. (syntactic_sugar)
⚠️ This PR introduced a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/public/core/ImplicitlyUnwrappedOptional.swift:25:13: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. Int! instead of ImplicitlyUnwrappedOptional<Int>. (syntactic_sugar)
⚠️ This PR introduced a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/public/core/ImplicitlyUnwrappedOptional.swift:88:19: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. Int! instead of ImplicitlyUnwrappedOptional<Int>. (syntactic_sugar)
⚠️ This PR introduced a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/public/core/ImplicitlyUnwrappedOptional.swift:95:19: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. Int! instead of ImplicitlyUnwrappedOptional<Int>. (syntactic_sugar)
⚠️ This PR introduced a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/public/core/ImplicitlyUnwrappedOptional.swift:108:17: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. Int! instead of ImplicitlyUnwrappedOptional<Int>. (syntactic_sugar)
⚠️ This PR introduced a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/public/core/ImplicitlyUnwrappedOptional.swift:124:17: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. Int! instead of ImplicitlyUnwrappedOptional<Int>. (syntactic_sugar)
⚠️ This PR introduced a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/public/core/ImplicitlyUnwrappedOptional.swift:130:32: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. Int! instead of ImplicitlyUnwrappedOptional<Int>. (syntactic_sugar)
⚠️ This PR introduced a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/public/core/ImplicitlyUnwrappedOptional.swift:131:17: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. Int! instead of ImplicitlyUnwrappedOptional<Int>. (syntactic_sugar)
⚠️ This PR introduced a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/public/core/Optional.swift:122:13: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. Int? instead of Optional<Int>. (syntactic_sugar)
⚠️ This PR introduced a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/public/core/Optional.swift:681:27: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. Int? instead of Optional<Int>. (syntactic_sugar)
⚠️ This PR introduced a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/public/core/Optional.swift:685:44: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. Int? instead of Optional<Int>. (syntactic_sugar)
⚠️ This PR introduced a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/public/core/Optional.swift:714:19: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. Int? instead of Optional<Int>. (syntactic_sugar)
⚠️ This PR introduced a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/public/core/Optional.swift:731:19: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. Int? instead of Optional<Int>. (syntactic_sugar)
⚠️ This PR introduced a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/public/core/Optional.swift:753:10: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. Int? instead of Optional<Int>. (syntactic_sugar)
⚠️ This PR introduced a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/public/core/KeyPath.swift:1050:31: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. Int? instead of Optional<Int>. (syntactic_sugar)
⚠️ This PR introduced a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/public/core/KeyPath.swift:1845:15: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. Int? instead of Optional<Int>. (syntactic_sugar)
⚠️ This PR introduced a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/public/core/StringCharacterView.swift:446:23: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int>. (syntactic_sugar)
⚠️ This PR introduced a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/public/core/StringCharacterView.swift:589:23: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int>. (syntactic_sugar)
⚠️ This PR introduced a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/public/SDK/Foundation/IndexPath.swift:68:35: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int>. (syntactic_sugar)
⚠️ This PR introduced a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/public/SDK/Foundation/IndexPath.swift:297:39: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int>. (syntactic_sugar)
⚠️ This PR introduced a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/public/SDK/Foundation/IndexPath.swift:552:26: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int>. (syntactic_sugar)
⚠️ This PR introduced a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/public/SDK/Foundation/IndexPath.swift:581:42: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int>. (syntactic_sugar)
⚠️ This PR introduced a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/public/SDK/Foundation/IndexPath.swift:598:36: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int>. (syntactic_sugar)
⚠️ This PR introduced a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/public/SDK/Foundation/IndexPath.swift:696:27: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int>. (syntactic_sugar)
⚠️ This PR introduced a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/public/SDK/Foundation/Data.swift:951:24: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int>. (syntactic_sugar)
⚠️ This PR introduced a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/public/SDK/Foundation/Data.swift:1088:24: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int>. (syntactic_sugar)
⚠️ This PR introduced a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/public/SDK/Foundation/NSSet.swift:173:31: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. Int? instead of Optional<Int>. (syntactic_sugar)
⚠️ This PR introduced a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/public/SDK/Foundation/NSSet.swift:174:34: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. Int? instead of Optional<Int>. (syntactic_sugar)
⚠️ This PR introduced a violation in WordPress: /Users/distiller/SwiftLint/osscheck/WordPress/WordPress/Classes/Extensions/Notifications/NotificationBlock+Interface.swift:216:47: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [String: Int] instead of Dictionary<String, Int>. (syntactic_sugar)
⚠️ This PR introduced a violation in WordPress: /Users/distiller/SwiftLint/osscheck/WordPress/WordPress/Classes/Extensions/Notifications/NotificationBlock+Interface.swift:217:50: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [String: Int] instead of Dictionary<String, Int>. (syntactic_sugar)
⚠️ This PR introduced a violation in WordPress: /Users/distiller/SwiftLint/osscheck/WordPress/WordPress/Classes/Extensions/Notifications/NotificationBlock+Interface.swift:218:53: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [String: Int] instead of Dictionary<String, Int>. (syntactic_sugar)
⚠️ This PR introduced a violation in WordPress: /Users/distiller/SwiftLint/osscheck/WordPress/WordPress/Classes/Extensions/Notifications/NotificationBlock+Interface.swift:219:55: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [String: Int] instead of Dictionary<String, Int>. (syntactic_sugar)
⚠️ This PR introduced a violation in WordPress: /Users/distiller/SwiftLint/osscheck/WordPress/WordPress/Classes/Extensions/Notifications/NotificationBlock+Interface.swift:224:51: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [String: Int] instead of Dictionary<String, Int>. (syntactic_sugar)
⚠️ This PR introduced a violation in WordPress: /Users/distiller/SwiftLint/osscheck/WordPress/WordPress/Classes/Extensions/Notifications/NotificationBlock+Interface.swift:225:54: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [String: Int] instead of Dictionary<String, Int>. (syntactic_sugar)
⚠️ This PR introduced a violation in WordPress: /Users/distiller/SwiftLint/osscheck/WordPress/WordPress/Classes/Extensions/Notifications/NotificationBlock+Interface.swift:226:57: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [String: Int] instead of Dictionary<String, Int>. (syntactic_sugar)
⚠️ This PR introduced a violation in WordPress: /Users/distiller/SwiftLint/osscheck/WordPress/WordPress/Classes/Extensions/Notifications/NotificationBlock+Interface.swift:230:51: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [String: Int] instead of Dictionary<String, Int>. (syntactic_sugar)
⚠️ This PR introduced a violation in WordPress: /Users/distiller/SwiftLint/osscheck/WordPress/WordPress/Classes/Extensions/Notifications/NotificationBlock+Interface.swift:234:60: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [String: Int] instead of Dictionary<String, Int>. (syntactic_sugar)
⚠️ This PR introduced a violation in WordPress: /Users/distiller/SwiftLint/osscheck/WordPress/WordPress/Classes/Extensions/Notifications/NotificationBlock+Interface.swift:235:51: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [String: Int] instead of Dictionary<String, Int>. (syntactic_sugar)
⚠️ This PR introduced a violation in WordPress: /Users/distiller/SwiftLint/osscheck/WordPress/WordPress/Classes/Extensions/Notifications/NotificationBlock+Interface.swift:236:54: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [String: Int] instead of Dictionary<String, Int>. (syntactic_sugar)
⚠️ This PR introduced a violation in WordPress: /Users/distiller/SwiftLint/osscheck/WordPress/WordPress/Classes/Extensions/Notifications/NotificationBlock+Interface.swift:240:45: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [String: Int] instead of Dictionary<String, Int>. (syntactic_sugar)
⚠️ This PR introduced a violation in WordPress: /Users/distiller/SwiftLint/osscheck/WordPress/WordPress/Classes/Extensions/Notifications/NotificationBlock+Interface.swift:241:48: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [String: Int] instead of Dictionary<String, Int>. (syntactic_sugar)
⚠️ This PR introduced a violation in WordPress: /Users/distiller/SwiftLint/osscheck/WordPress/WordPress/Classes/Extensions/Notifications/NotificationBlock+Interface.swift:242:51: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [String: Int] instead of Dictionary<String, Int>. (syntactic_sugar)
⚠️ This PR introduced a violation in WordPress: /Users/distiller/SwiftLint/osscheck/WordPress/WordPress/Classes/Extensions/Notifications/NotificationBlock+Interface.swift:243:53: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [String: Int] instead of Dictionary<String, Int>. (syntactic_sugar)
⚠️ This PR introduced a violation in WordPress: /Users/distiller/SwiftLint/osscheck/WordPress/WordPress/Classes/Services/NotificationSettingsService.swift:172:22: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int>. (syntactic_sugar)
⚠️ This PR introduced a violation in WordPress: /Users/distiller/SwiftLint/osscheck/WordPress/WordPress/Classes/Utility/Analytics/WPAppAnalytics+Media.swift:8:55: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [String: Int] instead of Dictionary<String, Int>. (syntactic_sugar)
⚠️ This PR introduced a violation in WordPress: /Users/distiller/SwiftLint/osscheck/WordPress/WordPress/Classes/Utility/Media/MediaFileManager.swift:135:95: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [String: Int] instead of Dictionary<String, Int>. (syntactic_sugar)
⚠️ This PR introduced a violation in WordPress: /Users/distiller/SwiftLint/osscheck/WordPress/WordPress/Classes/ViewRelated/Plans/PlanListRow.swift:64:93: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [String: Int] instead of Dictionary<String, Int>. (syntactic_sugar)
⚠️ This PR introduced a violation in WordPress: /Users/distiller/SwiftLint/osscheck/WordPress/WordPress/Classes/ViewRelated/Plans/PlanListRow.swift:65:100: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [String: Int] instead of Dictionary<String, Int>. (syntactic_sugar)
⚠️ This PR introduced a violation in WordPress: /Users/distiller/SwiftLint/osscheck/WordPress/WordPress/WordPressTest/TestUtilities/JSONLoader.swift:5:39: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [String: Int] instead of Dictionary<String, Int>. (syntactic_sugar)
90 Messages
📖 This PR fixed a violation in Aerial: /Users/distiller/SwiftLint/osscheck/Aerial/Aerial/Source/Models/ManifestLoader.swift:103:82: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> (syntactic_sugar)
📖 This PR fixed a violation in Aerial: /Users/distiller/SwiftLint/osscheck/Aerial/Aerial/Source/Models/ManifestLoader.swift:106:50: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> (syntactic_sugar)
📖 Linting Aerial with this PR took 0.37s vs 0.34s on master (8% slower)
📖 Linting Alamofire with this PR took 2.39s vs 2.39s on master (0% slower)
📖 This PR fixed a violation in Firefox: /Users/distiller/SwiftLint/osscheck/Firefox/Client/Frontend/Browser/BrowserViewController.swift:939:61: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> (syntactic_sugar)
📖 This PR fixed a violation in Firefox: /Users/distiller/SwiftLint/osscheck/Firefox/Client/Frontend/Reader/ReaderMode.swift:269:39: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> (syntactic_sugar)
📖 This PR fixed a violation in Firefox: /Users/distiller/SwiftLint/osscheck/Firefox/Providers/PocketFeed.swift:29:33: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> (syntactic_sugar)
📖 This PR fixed a violation in Firefox: /Users/distiller/SwiftLint/osscheck/Firefox/Providers/PocketFeed.swift:88:49: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> (syntactic_sugar)
📖 This PR fixed a violation in Firefox: /Users/distiller/SwiftLint/osscheck/Firefox/Providers/PocketFeed.swift:89:33: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> (syntactic_sugar)
📖 This PR fixed a violation in Firefox: /Users/distiller/SwiftLint/osscheck/Firefox/Providers/PocketFeed.swift:96:106: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> (syntactic_sugar)
📖 This PR fixed a violation in Firefox: /Users/distiller/SwiftLint/osscheck/Firefox/Providers/PocketFeed.swift:106:50: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> (syntactic_sugar)
📖 This PR fixed a violation in Firefox: /Users/distiller/SwiftLint/osscheck/Firefox/Storage/Logins.swift:401:22: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> (syntactic_sugar)
📖 This PR fixed a violation in Firefox: /Users/distiller/SwiftLint/osscheck/Firefox/Storage/SQL/BrowserSchema.swift:1273:23: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> (syntactic_sugar)
📖 This PR fixed a violation in Firefox: /Users/distiller/SwiftLint/osscheck/Firefox/Storage/SuggestedSites.swift:27:64: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> (syntactic_sugar)
📖 This PR fixed a violation in Firefox: /Users/distiller/SwiftLint/osscheck/Firefox/Storage/SQL/SQLiteBookmarksSyncing.swift:381:13: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> (syntactic_sugar)
📖 This PR fixed a violation in Firefox: /Users/distiller/SwiftLint/osscheck/Firefox/Sync/Synchronizers/TabsSynchronizer.swift:194:35: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> (syntactic_sugar)
📖 Linting Firefox with this PR took 10.18s vs 10.37s on master (1% faster)
📖 Linting Kickstarter with this PR took 15.66s vs 15.66s on master (0% slower)
📖 Linting Moya with this PR took 1.14s vs 1.17s on master (2% faster)
📖 Linting Nimble with this PR took 1.39s vs 1.39s on master (0% slower)
📖 Linting Quick with this PR took 0.45s vs 0.46s on master (2% faster)
📖 Linting Realm with this PR took 2.17s vs 2.18s on master (0% faster)
📖 Linting SourceKitten with this PR took 0.84s vs 0.86s on master (2% faster)
📖 Linting Sourcery with this PR took 3.66s vs 3.71s on master (1% faster)
📖 This PR fixed a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/private/StdlibCollectionUnittest/CheckRangeReplaceableSliceType.swift:96:37: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> (syntactic_sugar)
📖 This PR fixed a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/private/StdlibCollectionUnittest/CheckRangeReplaceableSliceType.swift:130:37: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> (syntactic_sugar)
📖 This PR fixed a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/private/StdlibCollectionUnittest/CheckRangeReplaceableSliceType.swift:241:37: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> (syntactic_sugar)
📖 This PR fixed a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/private/StdlibCollectionUnittest/CheckRangeReplaceableSliceType.swift:275:37: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> (syntactic_sugar)
📖 This PR fixed a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/private/StdlibCollectionUnittest/CheckRangeReplaceableCollectionType.swift:817:33: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> (syntactic_sugar)
📖 This PR fixed a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/private/StdlibCollectionUnittest/CheckRangeReplaceableCollectionType.swift:840:33: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> (syntactic_sugar)
📖 This PR fixed a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/private/SwiftReflectionTest/SwiftReflectionTest.swift:417:16: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> (syntactic_sugar)
📖 This PR fixed a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/public/core/ArrayCast.swift:21:27: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> (syntactic_sugar)
📖 This PR fixed a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/public/core/ArrayCast.swift:22:34: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> (syntactic_sugar)
📖 This PR fixed a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/public/core/ArrayCast.swift:31:13: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> (syntactic_sugar)
📖 This PR fixed a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/public/core/ArrayCast.swift:32:6: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> (syntactic_sugar)
📖 This PR fixed a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/public/core/ArrayCast.swift:64:27: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> (syntactic_sugar)
📖 This PR fixed a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/public/core/ArrayCast.swift:65:34: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> (syntactic_sugar)
📖 This PR fixed a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/public/core/ArrayCast.swift:67:18: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> (syntactic_sugar)
📖 This PR fixed a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/public/core/BridgeObjectiveC.swift:580:33: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> (syntactic_sugar)
📖 This PR fixed a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/public/core/Builtin.swift:280:31: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> (syntactic_sugar)
📖 This PR fixed a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/public/core/ImplicitlyUnwrappedOptional.swift:25:13: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> (syntactic_sugar)
📖 This PR fixed a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/public/core/ImplicitlyUnwrappedOptional.swift:88:19: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> (syntactic_sugar)
📖 This PR fixed a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/public/core/ImplicitlyUnwrappedOptional.swift:95:19: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> (syntactic_sugar)
📖 This PR fixed a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/public/core/ImplicitlyUnwrappedOptional.swift:108:17: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> (syntactic_sugar)
📖 This PR fixed a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/public/core/ImplicitlyUnwrappedOptional.swift:124:17: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> (syntactic_sugar)
📖 This PR fixed a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/public/core/ImplicitlyUnwrappedOptional.swift:130:32: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> (syntactic_sugar)
📖 This PR fixed a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/public/core/ImplicitlyUnwrappedOptional.swift:131:17: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> (syntactic_sugar)
📖 This PR fixed a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/public/core/Optional.swift:122:13: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> (syntactic_sugar)
📖 This PR fixed a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/public/core/Optional.swift:681:27: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> (syntactic_sugar)
📖 This PR fixed a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/public/core/Optional.swift:685:44: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> (syntactic_sugar)
📖 This PR fixed a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/public/core/Optional.swift:714:19: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> (syntactic_sugar)
📖 This PR fixed a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/public/core/Optional.swift:731:19: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> (syntactic_sugar)
📖 This PR fixed a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/public/core/Optional.swift:753:10: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> (syntactic_sugar)
📖 This PR fixed a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/public/core/KeyPath.swift:1050:31: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> (syntactic_sugar)
📖 This PR fixed a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/public/core/KeyPath.swift:1845:15: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> (syntactic_sugar)
📖 This PR fixed a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/public/core/StringCharacterView.swift:446:23: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> (syntactic_sugar)
📖 This PR fixed a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/public/core/StringCharacterView.swift:589:23: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> (syntactic_sugar)
📖 This PR fixed a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/public/SDK/Foundation/IndexPath.swift:68:35: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> (syntactic_sugar)
📖 This PR fixed a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/public/SDK/Foundation/IndexPath.swift:297:39: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> (syntactic_sugar)
📖 This PR fixed a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/public/SDK/Foundation/IndexPath.swift:552:26: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> (syntactic_sugar)
📖 This PR fixed a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/public/SDK/Foundation/IndexPath.swift:581:42: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> (syntactic_sugar)
📖 This PR fixed a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/public/SDK/Foundation/IndexPath.swift:598:36: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> (syntactic_sugar)
📖 This PR fixed a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/public/SDK/Foundation/IndexPath.swift:696:27: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> (syntactic_sugar)
📖 This PR fixed a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/public/SDK/Foundation/Data.swift:951:24: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> (syntactic_sugar)
📖 This PR fixed a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/public/SDK/Foundation/Data.swift:1088:24: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> (syntactic_sugar)
📖 This PR fixed a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/public/SDK/Foundation/NSSet.swift:173:31: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> (syntactic_sugar)
📖 This PR fixed a violation in Swift: /Users/distiller/SwiftLint/osscheck/Swift/stdlib/public/SDK/Foundation/NSSet.swift:174:34: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> (syntactic_sugar)
📖 Linting Swift with this PR took 10.01s vs 10.08s on master (0% faster)
📖 This PR fixed a violation in WordPress: /Users/distiller/SwiftLint/osscheck/WordPress/WordPress/Classes/Extensions/Notifications/NotificationBlock+Interface.swift:216:47: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> (syntactic_sugar)
📖 This PR fixed a violation in WordPress: /Users/distiller/SwiftLint/osscheck/WordPress/WordPress/Classes/Extensions/Notifications/NotificationBlock+Interface.swift:217:50: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> (syntactic_sugar)
📖 This PR fixed a violation in WordPress: /Users/distiller/SwiftLint/osscheck/WordPress/WordPress/Classes/Extensions/Notifications/NotificationBlock+Interface.swift:218:53: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> (syntactic_sugar)
📖 This PR fixed a violation in WordPress: /Users/distiller/SwiftLint/osscheck/WordPress/WordPress/Classes/Extensions/Notifications/NotificationBlock+Interface.swift:219:55: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> (syntactic_sugar)
📖 This PR fixed a violation in WordPress: /Users/distiller/SwiftLint/osscheck/WordPress/WordPress/Classes/Extensions/Notifications/NotificationBlock+Interface.swift:224:51: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> (syntactic_sugar)
📖 This PR fixed a violation in WordPress: /Users/distiller/SwiftLint/osscheck/WordPress/WordPress/Classes/Extensions/Notifications/NotificationBlock+Interface.swift:225:54: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> (syntactic_sugar)
📖 This PR fixed a violation in WordPress: /Users/distiller/SwiftLint/osscheck/WordPress/WordPress/Classes/Extensions/Notifications/NotificationBlock+Interface.swift:226:57: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> (syntactic_sugar)
📖 This PR fixed a violation in WordPress: /Users/distiller/SwiftLint/osscheck/WordPress/WordPress/Classes/Extensions/Notifications/NotificationBlock+Interface.swift:230:51: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> (syntactic_sugar)
📖 This PR fixed a violation in WordPress: /Users/distiller/SwiftLint/osscheck/WordPress/WordPress/Classes/Extensions/Notifications/NotificationBlock+Interface.swift:234:60: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> (syntactic_sugar)
📖 This PR fixed a violation in WordPress: /Users/distiller/SwiftLint/osscheck/WordPress/WordPress/Classes/Extensions/Notifications/NotificationBlock+Interface.swift:235:51: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> (syntactic_sugar)
📖 This PR fixed a violation in WordPress: /Users/distiller/SwiftLint/osscheck/WordPress/WordPress/Classes/Extensions/Notifications/NotificationBlock+Interface.swift:236:54: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> (syntactic_sugar)
📖 This PR fixed a violation in WordPress: /Users/distiller/SwiftLint/osscheck/WordPress/WordPress/Classes/Extensions/Notifications/NotificationBlock+Interface.swift:240:45: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> (syntactic_sugar)
📖 This PR fixed a violation in WordPress: /Users/distiller/SwiftLint/osscheck/WordPress/WordPress/Classes/Extensions/Notifications/NotificationBlock+Interface.swift:241:48: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> (syntactic_sugar)
📖 This PR fixed a violation in WordPress: /Users/distiller/SwiftLint/osscheck/WordPress/WordPress/Classes/Extensions/Notifications/NotificationBlock+Interface.swift:242:51: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> (syntactic_sugar)
📖 This PR fixed a violation in WordPress: /Users/distiller/SwiftLint/osscheck/WordPress/WordPress/Classes/Extensions/Notifications/NotificationBlock+Interface.swift:243:53: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> (syntactic_sugar)
📖 This PR fixed a violation in WordPress: /Users/distiller/SwiftLint/osscheck/WordPress/WordPress/Classes/Services/NotificationSettingsService.swift:172:22: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> (syntactic_sugar)
📖 This PR fixed a violation in WordPress: /Users/distiller/SwiftLint/osscheck/WordPress/WordPress/Classes/Utility/Analytics/WPAppAnalytics+Media.swift:8:55: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> (syntactic_sugar)
📖 This PR fixed a violation in WordPress: /Users/distiller/SwiftLint/osscheck/WordPress/WordPress/Classes/Utility/Media/MediaFileManager.swift:135:95: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> (syntactic_sugar)
📖 This PR fixed a violation in WordPress: /Users/distiller/SwiftLint/osscheck/WordPress/WordPress/Classes/ViewRelated/Plans/PlanListRow.swift:64:93: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> (syntactic_sugar)
📖 This PR fixed a violation in WordPress: /Users/distiller/SwiftLint/osscheck/WordPress/WordPress/Classes/ViewRelated/Plans/PlanListRow.swift:65:100: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> (syntactic_sugar)
📖 This PR fixed a violation in WordPress: /Users/distiller/SwiftLint/osscheck/WordPress/WordPress/WordPressTest/TestUtilities/JSONLoader.swift:5:39: warning: Syntactic Sugar Violation: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> (syntactic_sugar)
📖 Linting WordPress with this PR took 9.31s vs 9.29s on master (0% slower)

Generated by 🚫 Danger

@codecov-io
Copy link

codecov-io commented Aug 27, 2017

Codecov Report

Merging #1804 into master will increase coverage by <.01%.
The diff coverage is 89.47%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1804      +/-   ##
==========================================
+ Coverage   88.24%   88.24%   +<.01%     
==========================================
  Files         226      226              
  Lines       11141    11178      +37     
==========================================
+ Hits         9831     9864      +33     
- Misses       1310     1314       +4
Impacted Files Coverage Δ
.../SwiftLintFramework/Rules/SyntacticSugarRule.swift 91.17% <89.47%> (-2.38%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 03676c9...b635d1f. Read the comment docs.

@marcelofabri marcelofabri merged commit 3b004e1 into realm:master Aug 27, 2017
@marcelofabri marcelofabri deleted the fix-1803 branch August 27, 2017 23:18
@freak4pc
Copy link
Contributor

Awesome job here @marcelofabri ! Very elegant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants