diff --git a/Example/KnitExample/ContentView.swift b/Example/KnitExample/ContentView.swift index 693a6ae..c2473b9 100644 --- a/Example/KnitExample/ContentView.swift +++ b/Example/KnitExample/ContentView.swift @@ -1,4 +1,6 @@ -// Copyright © Square, Inc. All rights reserved. +// +// Copyright © Block, Inc. All rights reserved. +// import SwiftUI diff --git a/Example/KnitExample/KnitExampleApp.swift b/Example/KnitExample/KnitExampleApp.swift index 6f03c94..1a2ba07 100644 --- a/Example/KnitExample/KnitExampleApp.swift +++ b/Example/KnitExample/KnitExampleApp.swift @@ -1,4 +1,6 @@ -// Copyright © Square, Inc. All rights reserved. +// +// Copyright © Block, Inc. All rights reserved. +// import SwiftUI import Knit diff --git a/Example/KnitExample/KnitExampleAssembly.swift b/Example/KnitExample/KnitExampleAssembly.swift index 9dc136f..6ad797d 100644 --- a/Example/KnitExample/KnitExampleAssembly.swift +++ b/Example/KnitExample/KnitExampleAssembly.swift @@ -1,4 +1,6 @@ -// Copyright © Square, Inc. All rights reserved. +// +// Copyright © Block, Inc. All rights reserved. +// import Foundation import Knit diff --git a/Example/KnitExample/KnitExampleUserAssembly.swift b/Example/KnitExample/KnitExampleUserAssembly.swift index b7caff1..68784e1 100644 --- a/Example/KnitExample/KnitExampleUserAssembly.swift +++ b/Example/KnitExample/KnitExampleUserAssembly.swift @@ -1,4 +1,6 @@ -// Copyright © Square, Inc. All rights reserved. +// +// Copyright © Block, Inc. All rights reserved. +// import Foundation import Knit diff --git a/Example/KnitExampleTests/TestModuleAssembler.swift b/Example/KnitExampleTests/TestModuleAssembler.swift index f9056f5..fdb743b 100644 --- a/Example/KnitExampleTests/TestModuleAssembler.swift +++ b/Example/KnitExampleTests/TestModuleAssembler.swift @@ -1,4 +1,6 @@ -// Copyright © Square, Inc. All rights reserved. +// +// Copyright © Block, Inc. All rights reserved. +// import Foundation import Knit diff --git a/Sources/Knit/Module/DependencyBuilder.swift b/Sources/Knit/Module/DependencyBuilder.swift index 4b4e0a1..5b348cd 100644 --- a/Sources/Knit/Module/DependencyBuilder.swift +++ b/Sources/Knit/Module/DependencyBuilder.swift @@ -1,5 +1,5 @@ // -// Copyright © Square, Inc. All rights reserved. +// Copyright © Block, Inc. All rights reserved. // import Foundation diff --git a/Sources/Knit/Module/ModuleAssembler.swift b/Sources/Knit/Module/ModuleAssembler.swift index f7822c5..8517448 100644 --- a/Sources/Knit/Module/ModuleAssembler.swift +++ b/Sources/Knit/Module/ModuleAssembler.swift @@ -1,5 +1,5 @@ // -// Copyright © Square, Inc. All rights reserved. +// Copyright © Block, Inc. All rights reserved. // /// ModuleAssembler wraps the Swinject Assembler to resolves the full tree of module dependencies. diff --git a/Sources/Knit/Module/ModuleAssembly.swift b/Sources/Knit/Module/ModuleAssembly.swift index 8551e38..4863638 100644 --- a/Sources/Knit/Module/ModuleAssembly.swift +++ b/Sources/Knit/Module/ModuleAssembly.swift @@ -1,5 +1,5 @@ // -// Copyright © Square, Inc. All rights reserved. +// Copyright © Block, Inc. All rights reserved. // import Foundation diff --git a/Sources/Knit/ServiceCollection/Resolver+ServiceCollection.swift b/Sources/Knit/ServiceCollection/Resolver+ServiceCollection.swift index 4e7038f..1130bb4 100644 --- a/Sources/Knit/ServiceCollection/Resolver+ServiceCollection.swift +++ b/Sources/Knit/ServiceCollection/Resolver+ServiceCollection.swift @@ -1,3 +1,6 @@ +// +// Copyright © Block, Inc. All rights reserved. +// extension Resolver { diff --git a/Sources/Knit/ServiceCollection/ServiceCollection.swift b/Sources/Knit/ServiceCollection/ServiceCollection.swift index 7b5a0a3..f034b4d 100644 --- a/Sources/Knit/ServiceCollection/ServiceCollection.swift +++ b/Sources/Knit/ServiceCollection/ServiceCollection.swift @@ -1,3 +1,6 @@ +// +// Copyright © Block, Inc. All rights reserved. +// /// Represents the aggregate of all services registered using ``Container/registerIntoCollection(_:factory:)`` /// or ``Container/autoregisterIntoCollection(_:initializer:)``. diff --git a/Sources/Knit/ServiceCollection/ServiceCollector.swift b/Sources/Knit/ServiceCollection/ServiceCollector.swift index d714be3..707e7bf 100644 --- a/Sources/Knit/ServiceCollection/ServiceCollector.swift +++ b/Sources/Knit/ServiceCollection/ServiceCollector.swift @@ -1,3 +1,7 @@ +// +// Copyright © Block, Inc. All rights reserved. +// + import Foundation import Swinject diff --git a/Sources/Knit/WeakResolver.swift b/Sources/Knit/WeakResolver.swift index ee122e0..6515a8e 100644 --- a/Sources/Knit/WeakResolver.swift +++ b/Sources/Knit/WeakResolver.swift @@ -1,5 +1,5 @@ // -// Copyright © Square, Inc. All rights reserved. +// Copyright © Block, Inc. All rights reserved. // import Swinject diff --git a/Sources/KnitCodeGen/AssemblyParsing.swift b/Sources/KnitCodeGen/AssemblyParsing.swift index 6cacc63..1dbfdd7 100644 --- a/Sources/KnitCodeGen/AssemblyParsing.swift +++ b/Sources/KnitCodeGen/AssemblyParsing.swift @@ -1,3 +1,7 @@ +// +// Copyright © Block, Inc. All rights reserved. +// + import Foundation import SwiftSyntax import SwiftParser diff --git a/Sources/KnitCodeGen/Configuration.swift b/Sources/KnitCodeGen/Configuration.swift index fef27e9..5596a8c 100644 --- a/Sources/KnitCodeGen/Configuration.swift +++ b/Sources/KnitCodeGen/Configuration.swift @@ -1,3 +1,7 @@ +// +// Copyright © Block, Inc. All rights reserved. +// + import Foundation import SwiftSyntax diff --git a/Sources/KnitCodeGen/ConfigurationSet.swift b/Sources/KnitCodeGen/ConfigurationSet.swift index 81ba565..5d20dd0 100644 --- a/Sources/KnitCodeGen/ConfigurationSet.swift +++ b/Sources/KnitCodeGen/ConfigurationSet.swift @@ -1,3 +1,7 @@ +// +// Copyright © Block, Inc. All rights reserved. +// + import Foundation import SwiftSyntax import SwiftSyntaxBuilder diff --git a/Sources/KnitCodeGen/FunctionCallRegistrationParsing.swift b/Sources/KnitCodeGen/FunctionCallRegistrationParsing.swift index df9aab1..5597806 100644 --- a/Sources/KnitCodeGen/FunctionCallRegistrationParsing.swift +++ b/Sources/KnitCodeGen/FunctionCallRegistrationParsing.swift @@ -1,5 +1,5 @@ // -// Copyright © Square, Inc. All rights reserved. +// Copyright © Block, Inc. All rights reserved. // import Foundation diff --git a/Sources/KnitCodeGen/HeaderSourceFile.swift b/Sources/KnitCodeGen/HeaderSourceFile.swift index 979c89f..4e854b0 100644 --- a/Sources/KnitCodeGen/HeaderSourceFile.swift +++ b/Sources/KnitCodeGen/HeaderSourceFile.swift @@ -1,4 +1,6 @@ -// Copyright © Square, Inc. All rights reserved. +// +// Copyright © Block, Inc. All rights reserved. +// import Foundation import SwiftSyntax diff --git a/Sources/KnitCodeGen/KnitDirectives.swift b/Sources/KnitCodeGen/KnitDirectives.swift index 08a5259..d1b3e58 100644 --- a/Sources/KnitCodeGen/KnitDirectives.swift +++ b/Sources/KnitCodeGen/KnitDirectives.swift @@ -1,4 +1,6 @@ -// Copyright © Square, Inc. All rights reserved. +// +// Copyright © Block, Inc. All rights reserved. +// import Foundation import SwiftSyntax diff --git a/Sources/KnitCodeGen/ModuleAssemblyExtensionSourceFile.swift b/Sources/KnitCodeGen/ModuleAssemblyExtensionSourceFile.swift index 2242a1b..1ce1a93 100644 --- a/Sources/KnitCodeGen/ModuleAssemblyExtensionSourceFile.swift +++ b/Sources/KnitCodeGen/ModuleAssemblyExtensionSourceFile.swift @@ -1,8 +1,5 @@ // -// ModuleAssemblyExtensionSourceFile.swift -// -// -// Created by Brad Fol on 8/4/23. +// Copyright © Block, Inc. All rights reserved. // import SwiftSyntax diff --git a/Sources/KnitCodeGen/ModuleImport.swift b/Sources/KnitCodeGen/ModuleImport.swift index a9c6049..d404456 100644 --- a/Sources/KnitCodeGen/ModuleImport.swift +++ b/Sources/KnitCodeGen/ModuleImport.swift @@ -1,4 +1,6 @@ -// Copyright © Square, Inc. All rights reserved. +// +// Copyright © Block, Inc. All rights reserved. +// import Foundation import SwiftSyntax diff --git a/Sources/KnitCodeGen/NamedRegistrationGroup.swift b/Sources/KnitCodeGen/NamedRegistrationGroup.swift index a499c5d..bc113ca 100644 --- a/Sources/KnitCodeGen/NamedRegistrationGroup.swift +++ b/Sources/KnitCodeGen/NamedRegistrationGroup.swift @@ -1,4 +1,6 @@ -// Copyright © Square, Inc. All rights reserved. +// +// Copyright © Block, Inc. All rights reserved. +// import Foundation diff --git a/Sources/KnitCodeGen/Registration.swift b/Sources/KnitCodeGen/Registration.swift index ac8204c..894f4d0 100644 --- a/Sources/KnitCodeGen/Registration.swift +++ b/Sources/KnitCodeGen/Registration.swift @@ -1,3 +1,7 @@ +// +// Copyright © Block, Inc. All rights reserved. +// + import SwiftSyntax public struct Registration: Equatable, Codable { diff --git a/Sources/KnitCodeGen/RegistrationIntoCollection.swift b/Sources/KnitCodeGen/RegistrationIntoCollection.swift index d55fb83..e603b20 100644 --- a/Sources/KnitCodeGen/RegistrationIntoCollection.swift +++ b/Sources/KnitCodeGen/RegistrationIntoCollection.swift @@ -1,3 +1,6 @@ +// +// Copyright © Block, Inc. All rights reserved. +// /// Represents a single concrete factory registered into a collection /// A separate instance will be created for each call to `{auto}registerIntoCollection` diff --git a/Sources/KnitCodeGen/SourceFileSyntax+Write.swift b/Sources/KnitCodeGen/SourceFileSyntax+Write.swift index 5338bd8..bb0d3d5 100644 --- a/Sources/KnitCodeGen/SourceFileSyntax+Write.swift +++ b/Sources/KnitCodeGen/SourceFileSyntax+Write.swift @@ -1,8 +1,5 @@ // -// SourceFileSyntax+Write.swift -// -// -// Created by Brad Fol on 8/4/23. +// Copyright © Block, Inc. All rights reserved. // import Foundation diff --git a/Sources/KnitCodeGen/SyntaxError.swift b/Sources/KnitCodeGen/SyntaxError.swift index 0b1e417..1c252df 100644 --- a/Sources/KnitCodeGen/SyntaxError.swift +++ b/Sources/KnitCodeGen/SyntaxError.swift @@ -1,4 +1,6 @@ -// Copyright © Square, Inc. All rights reserved. +// +// Copyright © Block, Inc. All rights reserved. +// import Foundation import SwiftSyntax diff --git a/Sources/KnitCodeGen/TriviaProvider.swift b/Sources/KnitCodeGen/TriviaProvider.swift index 181de14..48a551d 100644 --- a/Sources/KnitCodeGen/TriviaProvider.swift +++ b/Sources/KnitCodeGen/TriviaProvider.swift @@ -1,5 +1,5 @@ // -// Copyright © Square, Inc. All rights reserved. +// Copyright © Block, Inc. All rights reserved. // import Foundation diff --git a/Sources/KnitCodeGen/TypeNamer.swift b/Sources/KnitCodeGen/TypeNamer.swift index 654d523..46fcb0b 100644 --- a/Sources/KnitCodeGen/TypeNamer.swift +++ b/Sources/KnitCodeGen/TypeNamer.swift @@ -1,5 +1,6 @@ -// Created by Alexander skorulis on 6/7/2023. -// Copyright © Square, Inc. All rights reserved. +// +// Copyright © Block, Inc. All rights reserved. +// import Foundation diff --git a/Sources/KnitCodeGen/TypeSafetySourceFile.swift b/Sources/KnitCodeGen/TypeSafetySourceFile.swift index 56b14c5..46a0bc5 100644 --- a/Sources/KnitCodeGen/TypeSafetySourceFile.swift +++ b/Sources/KnitCodeGen/TypeSafetySourceFile.swift @@ -1,3 +1,7 @@ +// +// Copyright © Block, Inc. All rights reserved. +// + import Foundation import SwiftSyntax import SwiftSyntaxBuilder diff --git a/Sources/KnitCodeGen/UnitTestSourceFile.swift b/Sources/KnitCodeGen/UnitTestSourceFile.swift index f210bda..b07dd2f 100644 --- a/Sources/KnitCodeGen/UnitTestSourceFile.swift +++ b/Sources/KnitCodeGen/UnitTestSourceFile.swift @@ -1,3 +1,7 @@ +// +// Copyright © Block, Inc. All rights reserved. +// + import SwiftSyntax import SwiftSyntaxBuilder diff --git a/Sources/KnitCommand/GenCommand.swift b/Sources/KnitCommand/GenCommand.swift index a37b3b1..a462e29 100644 --- a/Sources/KnitCommand/GenCommand.swift +++ b/Sources/KnitCommand/GenCommand.swift @@ -1,8 +1,5 @@ // -// GenCommand.swift -// -// -// Created by Brad Fol on 8/4/23. +// Copyright © Block, Inc. All rights reserved. // import ArgumentParser diff --git a/Sources/KnitCommand/KnitCommand.swift b/Sources/KnitCommand/KnitCommand.swift index c462e49..af93ac4 100644 --- a/Sources/KnitCommand/KnitCommand.swift +++ b/Sources/KnitCommand/KnitCommand.swift @@ -1,3 +1,7 @@ +// +// Copyright © Block, Inc. All rights reserved. +// + import ArgumentParser @main diff --git a/Sources/KnitCommand/ModuleDependenciesCommand.swift b/Sources/KnitCommand/ModuleDependenciesCommand.swift index d144eab..ee42708 100644 --- a/Sources/KnitCommand/ModuleDependenciesCommand.swift +++ b/Sources/KnitCommand/ModuleDependenciesCommand.swift @@ -1,8 +1,5 @@ // -// ModuleDependenciesCommand.swift -// -// -// Created by Brad Fol on 8/4/23. +// Copyright © Block, Inc. All rights reserved. // import ArgumentParser diff --git a/Tests/KnitCodeGenTests/AssemblyParsingTests.swift b/Tests/KnitCodeGenTests/AssemblyParsingTests.swift index 99b2a4d..9f1f0cf 100644 --- a/Tests/KnitCodeGenTests/AssemblyParsingTests.swift +++ b/Tests/KnitCodeGenTests/AssemblyParsingTests.swift @@ -1,5 +1,5 @@ // -// Copyright © Square, Inc. All rights reserved. +// Copyright © Block, Inc. All rights reserved. // @testable import KnitCodeGen diff --git a/Tests/KnitCodeGenTests/ConfigurationSetTests.swift b/Tests/KnitCodeGenTests/ConfigurationSetTests.swift index 5fe512c..15b31da 100644 --- a/Tests/KnitCodeGenTests/ConfigurationSetTests.swift +++ b/Tests/KnitCodeGenTests/ConfigurationSetTests.swift @@ -1,4 +1,6 @@ -// Created by Alexander skorulis on 8/8/2023. +// +// Copyright © Block, Inc. All rights reserved. +// @testable import KnitCodeGen import XCTest diff --git a/Tests/KnitCodeGenTests/HeaderSourceFileTests.swift b/Tests/KnitCodeGenTests/HeaderSourceFileTests.swift index 2c2c02a..7523e97 100644 --- a/Tests/KnitCodeGenTests/HeaderSourceFileTests.swift +++ b/Tests/KnitCodeGenTests/HeaderSourceFileTests.swift @@ -1,4 +1,6 @@ -// Copyright © Square, Inc. All rights reserved. +// +// Copyright © Block, Inc. All rights reserved. +// @testable import KnitCodeGen import SwiftSyntax diff --git a/Tests/KnitCodeGenTests/KnitDirectivesTests.swift b/Tests/KnitCodeGenTests/KnitDirectivesTests.swift index a4ae487..a98dd72 100644 --- a/Tests/KnitCodeGenTests/KnitDirectivesTests.swift +++ b/Tests/KnitCodeGenTests/KnitDirectivesTests.swift @@ -1,4 +1,6 @@ -// Created by Alexander skorulis on 28/7/2023. +// +// Copyright © Block, Inc. All rights reserved. +// @testable import KnitCodeGen import SwiftSyntax diff --git a/Tests/KnitCodeGenTests/ModuleAssemblyExtensionSourceFileTests.swift b/Tests/KnitCodeGenTests/ModuleAssemblyExtensionSourceFileTests.swift index 76bc077..629aef8 100644 --- a/Tests/KnitCodeGenTests/ModuleAssemblyExtensionSourceFileTests.swift +++ b/Tests/KnitCodeGenTests/ModuleAssemblyExtensionSourceFileTests.swift @@ -1,8 +1,5 @@ // -// ModuleAssemblyExtensionSourceFileTests.swift -// -// -// Created by Brad Fol on 8/7/23. +// Copyright © Block, Inc. All rights reserved. // @testable import KnitCodeGen diff --git a/Tests/KnitCodeGenTests/NamedRegistrationGroupTests.swift b/Tests/KnitCodeGenTests/NamedRegistrationGroupTests.swift index f4e1af8..91277d1 100644 --- a/Tests/KnitCodeGenTests/NamedRegistrationGroupTests.swift +++ b/Tests/KnitCodeGenTests/NamedRegistrationGroupTests.swift @@ -1,4 +1,6 @@ -// Copyright © Square, Inc. All rights reserved. +// +// Copyright © Block, Inc. All rights reserved. +// @testable import KnitCodeGen import Foundation diff --git a/Tests/KnitCodeGenTests/RegistrationParsingTests.swift b/Tests/KnitCodeGenTests/RegistrationParsingTests.swift index b9aae66..64bb0a8 100644 --- a/Tests/KnitCodeGenTests/RegistrationParsingTests.swift +++ b/Tests/KnitCodeGenTests/RegistrationParsingTests.swift @@ -1,5 +1,5 @@ // -// Copyright © Square, Inc. All rights reserved. +// Copyright © Block, Inc. All rights reserved. // @testable import KnitCodeGen diff --git a/Tests/KnitCodeGenTests/TypeNamerTests.swift b/Tests/KnitCodeGenTests/TypeNamerTests.swift index 0a4fd80..0d6b230 100644 --- a/Tests/KnitCodeGenTests/TypeNamerTests.swift +++ b/Tests/KnitCodeGenTests/TypeNamerTests.swift @@ -1,4 +1,6 @@ -// Copyright © Square, Inc. All rights reserved. +// +// Copyright © Block, Inc. All rights reserved. +// import Foundation @testable import KnitCodeGen diff --git a/Tests/KnitCodeGenTests/TypeSafetySourceFileTests.swift b/Tests/KnitCodeGenTests/TypeSafetySourceFileTests.swift index b97617e..bc7d75d 100644 --- a/Tests/KnitCodeGenTests/TypeSafetySourceFileTests.swift +++ b/Tests/KnitCodeGenTests/TypeSafetySourceFileTests.swift @@ -1,4 +1,6 @@ -// Copyright © Square, Inc. All rights reserved. +// +// Copyright © Block, Inc. All rights reserved. +// @testable import KnitCodeGen import Foundation diff --git a/Tests/KnitCodeGenTests/UnitTestSourceFileTests.swift b/Tests/KnitCodeGenTests/UnitTestSourceFileTests.swift index ce2c4f5..a705c7e 100644 --- a/Tests/KnitCodeGenTests/UnitTestSourceFileTests.swift +++ b/Tests/KnitCodeGenTests/UnitTestSourceFileTests.swift @@ -1,4 +1,6 @@ -// Copyright © Square, Inc. All rights reserved. +// +// Copyright © Block, Inc. All rights reserved. +// @testable import KnitCodeGen import Foundation diff --git a/Tests/KnitTests/DependencyBuilderTests.swift b/Tests/KnitTests/DependencyBuilderTests.swift index 9f19731..4c4633c 100644 --- a/Tests/KnitTests/DependencyBuilderTests.swift +++ b/Tests/KnitTests/DependencyBuilderTests.swift @@ -1,5 +1,5 @@ // -// Copyright © Square, Inc. All rights reserved. +// Copyright © Block, Inc. All rights reserved. // @testable import Knit diff --git a/Tests/KnitTests/ModuleAssemblerTests.swift b/Tests/KnitTests/ModuleAssemblerTests.swift index 08fabb2..7c09d82 100644 --- a/Tests/KnitTests/ModuleAssemblerTests.swift +++ b/Tests/KnitTests/ModuleAssemblerTests.swift @@ -1,5 +1,5 @@ // -// Copyright © Square, Inc. All rights reserved. +// Copyright © Block, Inc. All rights reserved. // @testable import Knit diff --git a/Tests/KnitTests/ModuleAssemblyOverrideTests.swift b/Tests/KnitTests/ModuleAssemblyOverrideTests.swift index 337ca1e..64a7c9f 100644 --- a/Tests/KnitTests/ModuleAssemblyOverrideTests.swift +++ b/Tests/KnitTests/ModuleAssemblyOverrideTests.swift @@ -1,5 +1,5 @@ // -// Copyright © Square, Inc. All rights reserved. +// Copyright © Block, Inc. All rights reserved. // @testable import Knit diff --git a/Tests/KnitTests/ServiceCollectorTests.swift b/Tests/KnitTests/ServiceCollectorTests.swift index 3a1f5ed..bc2c5a1 100644 --- a/Tests/KnitTests/ServiceCollectorTests.swift +++ b/Tests/KnitTests/ServiceCollectorTests.swift @@ -1,3 +1,7 @@ +// +// Copyright © Block, Inc. All rights reserved. +// + import Knit import XCTest diff --git a/Tests/KnitTests/TestResolver.swift b/Tests/KnitTests/TestResolver.swift index 94aeb26..801da3a 100644 --- a/Tests/KnitTests/TestResolver.swift +++ b/Tests/KnitTests/TestResolver.swift @@ -1,5 +1,5 @@ // -// Copyright © Square, Inc. All rights reserved. +// Copyright © Block, Inc. All rights reserved. // @testable import Knit diff --git a/Tests/KnitTests/WeakResolverTests.swift b/Tests/KnitTests/WeakResolverTests.swift index df4dc13..d2a5877 100644 --- a/Tests/KnitTests/WeakResolverTests.swift +++ b/Tests/KnitTests/WeakResolverTests.swift @@ -1,5 +1,5 @@ // -// Copyright © Square, Inc. All rights reserved. +// Copyright © Block, Inc. All rights reserved. // import Knit