From dd9110b80d454cdf12fabba9db60403b36e235b8 Mon Sep 17 00:00:00 2001 From: Dave Kwon Date: Fri, 7 Mar 2025 17:27:36 -0800 Subject: [PATCH] Update OSS copyright header Summary: Update OSS copyright header Reviewed By: bigfootjon Differential Revision: D70817682 fbshipit-source-id: 842287e286cc97905cdfea283fabbb5e285abe28 --- .../src/thrift/lib/hack/src/IThriftWrapper.php | 17 ++++++++++++++++- .../lib/hack/src/ResponseAndClientSink.php | 17 ++++++++++++++++- .../thrift/lib/hack/src/ResponseAndStream.php | 17 ++++++++++++++++- .../hack/src/TContextPropV2ServerHandler.php | 17 ++++++++++++++++- .../hack/src/ThriftBacktraceEventHandler.php | 17 ++++++++++++++++- .../lib/hack/src/ThriftContextPropHandler.php | 17 ++++++++++++++++- .../src/ThriftContextPropServerEventHandler.php | 17 ++++++++++++++++- .../lib/hack/src/ThriftContextPropState.php | 17 ++++++++++++++++- .../lib/hack/src/ThriftControllerHitLogger.php | 17 ++++++++++++++++- .../lib/hack/src/ThriftImmutableWrapper.php | 17 ++++++++++++++++- .../lib/hack/src/ThriftPolicyEnforcer.php | 17 ++++++++++++++++- .../thrift/lib/hack/src/ThriftResultUtil.php | 17 ++++++++++++++++- .../src/ThriftStreamingSerializationHelpers.php | 17 ++++++++++++++++- .../ThriftBacktraceEventHandlerTest.php | 17 ++++++++++++++++- .../__tests__/ThriftContextPropHandlerTest.php | 17 ++++++++++++++++- .../ThriftContextPropServerEventHandlerTest.php | 17 ++++++++++++++++- .../__tests__/ThriftContextPropStateTest.php | 17 ++++++++++++++++- .../__tests__/ThriftImmutableWrapperTest.php | 17 ++++++++++++++++- .../src/__tests__/ThriftPolicyEnforcerTest.php | 17 ++++++++++++++++- .../thrift/lib/hack/src/conformance/LazyAny.php | 17 ++++++++++++++++- .../lib/hack/src/conformance/ThriftLazyAny.php | 17 ++++++++++++++++- .../src/conformance/ThriftTypeInfoCache.php | 17 ++++++++++++++++- .../hack/src/conformance/ThriftTypeRegistry.php | 17 ++++++++++++++++- .../src/conformance/ThriftTypeStructAdapter.php | 17 ++++++++++++++++- .../ThriftTypeUriHashPrefixCache.php | 17 ++++++++++++++++- .../src/conformance/ThriftUniversalName.php | 17 ++++++++++++++++- .../src/conformance/__tests__/LazyAnyTest.php | 17 ++++++++++++++++- .../conformance/__tests__/LazyAnyTestBase.php | 17 ++++++++++++++++- .../__tests__/ThriftTypeStructAdapterTest.php | 17 ++++++++++++++++- .../__tests__/ThriftUniversalNameTest.php | 17 ++++++++++++++++- .../thrift_any/ThriftLazyAnyTest.thrift | 17 +++++++++++++++++ .../thrift_any/ThriftLazyAnyTestBase.php | 17 ++++++++++++++++- .../__tests__/thrift_any/ThriftLazyAnyTests.php | 17 ++++++++++++++++- .../contextprop/ExperimentIdContextHandler.php | 17 ++++++++++++++++- .../hack/src/contextprop/IContextHandler.php | 17 ++++++++++++++++- .../ImmutableThriftContextPropState.php | 17 ++++++++++++++++- .../ImmutableThriftFrameworkMetadata.php | 17 ++++++++++++++++- ...mutableThriftFrameworkMetadataOnResponse.php | 17 ++++++++++++++++- .../src/contextprop/ProductIdContextHandler.php | 17 ++++++++++++++++- .../contextprop/TContextPropV2ClientHandler.php | 17 ++++++++++++++++- .../contextprop/ThriftContextPropHandlers.php | 17 ++++++++++++++++- .../ThriftFrameworkMetadataUtils.php | 17 ++++++++++++++++- .../UpdateUniverseContextHandler.php | 17 ++++++++++++++++- .../ExperimentIdContextHandlerTest.php | 17 ++++++++++++++++- .../__tests__/ProductIdContextHandlerTest.php | 17 ++++++++++++++++- .../UpdateUniverseContextHandlerTest.php | 17 ++++++++++++++++- .../src/protocol/__tests__/AdapterTest.thrift | 17 +++++++++++++++++ .../src/protocol/__tests__/CompactTest.thrift | 17 +++++++++++++++++ .../protocol/__tests__/FieldWrapperTest.thrift | 17 +++++++++++++++++ .../src/protocol/__tests__/ProtocolTest.thrift | 17 +++++++++++++++++ .../protocol/__tests__/SerializationTest.php | 17 ++++++++++++++++- .../__tests__/TSimpleJSONProtocolTest.thrift | 17 +++++++++++++++++ .../TypeAndStructWrapperAnnotationTest.thrift | 17 +++++++++++++++++ .../TypeAndStructWrapperConstantsTest.thrift | 17 +++++++++++++++++ .../__tests__/TypeAndStructWrapperTest.thrift | 17 +++++++++++++++++ .../TypeAndStructWrapperTestModule.thrift | 17 +++++++++++++++++ .../wrappers/TypeAndStructTestWrappers.php | 17 ++++++++++++++++- .../hack/src/transport/TChunkedMemoryBuffer.php | 17 ++++++++++++++++- .../hack/src/transport/TWritePropsTransport.php | 17 ++++++++++++++++- .../__tests__/TChunkedMemoryBufferTest.php | 17 ++++++++++++++++- .../src/transport/__tests__/TFileStreamTest.php | 17 ++++++++++++++++- 61 files changed, 986 insertions(+), 51 deletions(-) diff --git a/third-party/thrift/src/thrift/lib/hack/src/IThriftWrapper.php b/third-party/thrift/src/thrift/lib/hack/src/IThriftWrapper.php index 55e33d35c708d..ac56e27c06209 100644 --- a/third-party/thrift/src/thrift/lib/hack/src/IThriftWrapper.php +++ b/third-party/thrift/src/thrift/lib/hack/src/IThriftWrapper.php @@ -1,5 +1,20 @@ > // @oss-disable class ResponseAndStream { diff --git a/third-party/thrift/src/thrift/lib/hack/src/TContextPropV2ServerHandler.php b/third-party/thrift/src/thrift/lib/hack/src/TContextPropV2ServerHandler.php index 07ee6f4ab3c59..e4daa7fd64f3e 100644 --- a/third-party/thrift/src/thrift/lib/hack/src/TContextPropV2ServerHandler.php +++ b/third-party/thrift/src/thrift/lib/hack/src/TContextPropV2ServerHandler.php @@ -1,5 +1,20 @@ string, diff --git a/third-party/thrift/src/thrift/lib/hack/src/ThriftBacktraceEventHandler.php b/third-party/thrift/src/thrift/lib/hack/src/ThriftBacktraceEventHandler.php index 2c8c8a6e61980..d0958f29a802b 100644 --- a/third-party/thrift/src/thrift/lib/hack/src/ThriftBacktraceEventHandler.php +++ b/third-party/thrift/src/thrift/lib/hack/src/ThriftBacktraceEventHandler.php @@ -1,5 +1,20 @@ > final class ThriftControllerHitLogger { diff --git a/third-party/thrift/src/thrift/lib/hack/src/ThriftImmutableWrapper.php b/third-party/thrift/src/thrift/lib/hack/src/ThriftImmutableWrapper.php index f91c72c1d3d61..cea8cf77301dd 100644 --- a/third-party/thrift/src/thrift/lib/hack/src/ThriftImmutableWrapper.php +++ b/third-party/thrift/src/thrift/lib/hack/src/ThriftImmutableWrapper.php @@ -1,5 +1,20 @@ > final class BacktraceClientEventHandlerTest extends WWWTest { diff --git a/third-party/thrift/src/thrift/lib/hack/src/__tests__/ThriftContextPropHandlerTest.php b/third-party/thrift/src/thrift/lib/hack/src/__tests__/ThriftContextPropHandlerTest.php index 34fd1057e24a4..8f0c13b350b4d 100644 --- a/third-party/thrift/src/thrift/lib/hack/src/__tests__/ThriftContextPropHandlerTest.php +++ b/third-party/thrift/src/thrift/lib/hack/src/__tests__/ThriftContextPropHandlerTest.php @@ -1,5 +1,20 @@ > final class ThriftContextPropHandlerTest extends WWWTest { diff --git a/third-party/thrift/src/thrift/lib/hack/src/__tests__/ThriftContextPropServerEventHandlerTest.php b/third-party/thrift/src/thrift/lib/hack/src/__tests__/ThriftContextPropServerEventHandlerTest.php index c46c3f7f7b5df..0e85e4f03cfa8 100644 --- a/third-party/thrift/src/thrift/lib/hack/src/__tests__/ThriftContextPropServerEventHandlerTest.php +++ b/third-party/thrift/src/thrift/lib/hack/src/__tests__/ThriftContextPropServerEventHandlerTest.php @@ -1,5 +1,20 @@ > final class ThriftContextPropServerEventHandlerTest extends WWWTest { diff --git a/third-party/thrift/src/thrift/lib/hack/src/__tests__/ThriftContextPropStateTest.php b/third-party/thrift/src/thrift/lib/hack/src/__tests__/ThriftContextPropStateTest.php index 4590a6fbea20e..130081d09b726 100644 --- a/third-party/thrift/src/thrift/lib/hack/src/__tests__/ThriftContextPropStateTest.php +++ b/third-party/thrift/src/thrift/lib/hack/src/__tests__/ThriftContextPropStateTest.php @@ -1,5 +1,20 @@ > final class ThriftContextPropStateTest extends WWWTest { diff --git a/third-party/thrift/src/thrift/lib/hack/src/__tests__/ThriftImmutableWrapperTest.php b/third-party/thrift/src/thrift/lib/hack/src/__tests__/ThriftImmutableWrapperTest.php index 4da431dc36ffa..c6b96b8e4b017 100644 --- a/third-party/thrift/src/thrift/lib/hack/src/__tests__/ThriftImmutableWrapperTest.php +++ b/third-party/thrift/src/thrift/lib/hack/src/__tests__/ThriftImmutableWrapperTest.php @@ -1,5 +1,20 @@ > final class ThriftImmutableWrapperTest extends WWWTest { diff --git a/third-party/thrift/src/thrift/lib/hack/src/__tests__/ThriftPolicyEnforcerTest.php b/third-party/thrift/src/thrift/lib/hack/src/__tests__/ThriftPolicyEnforcerTest.php index 831c7b182cb7f..fe9fd98c6c20b 100644 --- a/third-party/thrift/src/thrift/lib/hack/src/__tests__/ThriftPolicyEnforcerTest.php +++ b/third-party/thrift/src/thrift/lib/hack/src/__tests__/ThriftPolicyEnforcerTest.php @@ -1,5 +1,20 @@ > diff --git a/third-party/thrift/src/thrift/lib/hack/src/conformance/LazyAny.php b/third-party/thrift/src/thrift/lib/hack/src/conformance/LazyAny.php index ed95893148a00..8c5bd9fa6242c 100644 --- a/third-party/thrift/src/thrift/lib/hack/src/conformance/LazyAny.php +++ b/third-party/thrift/src/thrift/lib/hack/src/conformance/LazyAny.php @@ -1,5 +1,20 @@ ; diff --git a/third-party/thrift/src/thrift/lib/hack/src/conformance/ThriftLazyAny.php b/third-party/thrift/src/thrift/lib/hack/src/conformance/ThriftLazyAny.php index 5b52bbdfa0d33..53282e6462c1d 100644 --- a/third-party/thrift/src/thrift/lib/hack/src/conformance/ThriftLazyAny.php +++ b/third-party/thrift/src/thrift/lib/hack/src/conformance/ThriftLazyAny.php @@ -1,5 +1,20 @@ > final class ThriftTypeInfoCache diff --git a/third-party/thrift/src/thrift/lib/hack/src/conformance/ThriftTypeRegistry.php b/third-party/thrift/src/thrift/lib/hack/src/conformance/ThriftTypeRegistry.php index 6007fe428c32c..bdd73962c719d 100644 --- a/third-party/thrift/src/thrift/lib/hack/src/conformance/ThriftTypeRegistry.php +++ b/third-party/thrift/src/thrift/lib/hack/src/conformance/ThriftTypeRegistry.php @@ -1,5 +1,20 @@ $cls)[]: bool { diff --git a/third-party/thrift/src/thrift/lib/hack/src/conformance/ThriftTypeStructAdapter.php b/third-party/thrift/src/thrift/lib/hack/src/conformance/ThriftTypeStructAdapter.php index e3f18dee966d0..c7813a931fd7e 100644 --- a/third-party/thrift/src/thrift/lib/hack/src/conformance/ThriftTypeStructAdapter.php +++ b/third-party/thrift/src/thrift/lib/hack/src/conformance/ThriftTypeStructAdapter.php @@ -1,5 +1,20 @@ > final class ThriftTypeUriHashPrefixCache diff --git a/third-party/thrift/src/thrift/lib/hack/src/conformance/ThriftUniversalName.php b/third-party/thrift/src/thrift/lib/hack/src/conformance/ThriftUniversalName.php index fc801129f625c..b8310b09d17c7 100644 --- a/third-party/thrift/src/thrift/lib/hack/src/conformance/ThriftUniversalName.php +++ b/third-party/thrift/src/thrift/lib/hack/src/conformance/ThriftUniversalName.php @@ -1,5 +1,20 @@ > final class LazyAnyTest extends LazyAnyTestBase { diff --git a/third-party/thrift/src/thrift/lib/hack/src/conformance/__tests__/LazyAnyTestBase.php b/third-party/thrift/src/thrift/lib/hack/src/conformance/__tests__/LazyAnyTestBase.php index 7c53a56db592d..9f662242a0094 100644 --- a/third-party/thrift/src/thrift/lib/hack/src/conformance/__tests__/LazyAnyTestBase.php +++ b/third-party/thrift/src/thrift/lib/hack/src/conformance/__tests__/LazyAnyTestBase.php @@ -1,5 +1,20 @@ > abstract class LazyAnyTestBase extends WWWTest { diff --git a/third-party/thrift/src/thrift/lib/hack/src/conformance/__tests__/ThriftTypeStructAdapterTest.php b/third-party/thrift/src/thrift/lib/hack/src/conformance/__tests__/ThriftTypeStructAdapterTest.php index cc619a4ecd99a..83b4a89a575a6 100644 --- a/third-party/thrift/src/thrift/lib/hack/src/conformance/__tests__/ThriftTypeStructAdapterTest.php +++ b/third-party/thrift/src/thrift/lib/hack/src/conformance/__tests__/ThriftTypeStructAdapterTest.php @@ -1,5 +1,20 @@ > final class ThriftTypeStructAdapterTest extends WWWTest { diff --git a/third-party/thrift/src/thrift/lib/hack/src/conformance/__tests__/ThriftUniversalNameTest.php b/third-party/thrift/src/thrift/lib/hack/src/conformance/__tests__/ThriftUniversalNameTest.php index 7f38faf5d1caa..aba64fe2987da 100644 --- a/third-party/thrift/src/thrift/lib/hack/src/conformance/__tests__/ThriftUniversalNameTest.php +++ b/third-party/thrift/src/thrift/lib/hack/src/conformance/__tests__/ThriftUniversalNameTest.php @@ -1,5 +1,20 @@ > final class ThriftUniversalNameTest extends WWWTest { diff --git a/third-party/thrift/src/thrift/lib/hack/src/conformance/__tests__/thrift_any/ThriftLazyAnyTest.thrift b/third-party/thrift/src/thrift/lib/hack/src/conformance/__tests__/thrift_any/ThriftLazyAnyTest.thrift index af49bc3be279b..903f36de9cee6 100644 --- a/third-party/thrift/src/thrift/lib/hack/src/conformance/__tests__/thrift_any/ThriftLazyAnyTest.thrift +++ b/third-party/thrift/src/thrift/lib/hack/src/conformance/__tests__/thrift_any/ThriftLazyAnyTest.thrift @@ -1,3 +1,20 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + include "thrift/lib/thrift/any.thrift" include "thrift/annotation/hack.thrift" diff --git a/third-party/thrift/src/thrift/lib/hack/src/conformance/__tests__/thrift_any/ThriftLazyAnyTestBase.php b/third-party/thrift/src/thrift/lib/hack/src/conformance/__tests__/thrift_any/ThriftLazyAnyTestBase.php index 0d90ec4d84f43..54e33e0659dc2 100644 --- a/third-party/thrift/src/thrift/lib/hack/src/conformance/__tests__/thrift_any/ThriftLazyAnyTestBase.php +++ b/third-party/thrift/src/thrift/lib/hack/src/conformance/__tests__/thrift_any/ThriftLazyAnyTestBase.php @@ -1,5 +1,20 @@ > abstract class ThriftLazyAnyTestBase extends WWWTest { diff --git a/third-party/thrift/src/thrift/lib/hack/src/conformance/__tests__/thrift_any/ThriftLazyAnyTests.php b/third-party/thrift/src/thrift/lib/hack/src/conformance/__tests__/thrift_any/ThriftLazyAnyTests.php index 5c1bbebb32f89..b390b0d289ef4 100644 --- a/third-party/thrift/src/thrift/lib/hack/src/conformance/__tests__/thrift_any/ThriftLazyAnyTests.php +++ b/third-party/thrift/src/thrift/lib/hack/src/conformance/__tests__/thrift_any/ThriftLazyAnyTests.php @@ -1,5 +1,20 @@ > final class ThriftLazyAnyTestForStruct diff --git a/third-party/thrift/src/thrift/lib/hack/src/contextprop/ExperimentIdContextHandler.php b/third-party/thrift/src/thrift/lib/hack/src/contextprop/ExperimentIdContextHandler.php index 1f9bfacd8a07b..a2b51bf0bf767 100644 --- a/third-party/thrift/src/thrift/lib/hack/src/contextprop/ExperimentIdContextHandler.php +++ b/third-party/thrift/src/thrift/lib/hack/src/contextprop/ExperimentIdContextHandler.php @@ -1,5 +1,20 @@ string, diff --git a/third-party/thrift/src/thrift/lib/hack/src/contextprop/ThriftContextPropHandlers.php b/third-party/thrift/src/thrift/lib/hack/src/contextprop/ThriftContextPropHandlers.php index 6e245c5ba66c1..d83e8c7063976 100644 --- a/third-party/thrift/src/thrift/lib/hack/src/contextprop/ThriftContextPropHandlers.php +++ b/third-party/thrift/src/thrift/lib/hack/src/contextprop/ThriftContextPropHandlers.php @@ -1,5 +1,20 @@ > final class ExperimentIdContextHandlerTest extends WWWTest { diff --git a/third-party/thrift/src/thrift/lib/hack/src/contextprop/__tests__/ProductIdContextHandlerTest.php b/third-party/thrift/src/thrift/lib/hack/src/contextprop/__tests__/ProductIdContextHandlerTest.php index 04032fcdede29..c1864bbeac704 100644 --- a/third-party/thrift/src/thrift/lib/hack/src/contextprop/__tests__/ProductIdContextHandlerTest.php +++ b/third-party/thrift/src/thrift/lib/hack/src/contextprop/__tests__/ProductIdContextHandlerTest.php @@ -1,5 +1,20 @@ > final class ProductIdContextHandlerTest extends WWWTest { diff --git a/third-party/thrift/src/thrift/lib/hack/src/contextprop/__tests__/UpdateUniverseContextHandlerTest.php b/third-party/thrift/src/thrift/lib/hack/src/contextprop/__tests__/UpdateUniverseContextHandlerTest.php index 99e1934326300..063ce0a668ef1 100644 --- a/third-party/thrift/src/thrift/lib/hack/src/contextprop/__tests__/UpdateUniverseContextHandlerTest.php +++ b/third-party/thrift/src/thrift/lib/hack/src/contextprop/__tests__/UpdateUniverseContextHandlerTest.php @@ -1,5 +1,20 @@ > final class UpdateUniverseContextHandlerTest diff --git a/third-party/thrift/src/thrift/lib/hack/src/protocol/__tests__/AdapterTest.thrift b/third-party/thrift/src/thrift/lib/hack/src/protocol/__tests__/AdapterTest.thrift index afc4c7cd20e77..937865b917cd5 100644 --- a/third-party/thrift/src/thrift/lib/hack/src/protocol/__tests__/AdapterTest.thrift +++ b/third-party/thrift/src/thrift/lib/hack/src/protocol/__tests__/AdapterTest.thrift @@ -1,3 +1,20 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package "meta.com/thrift/adapter_test" namespace hack AdapterTest diff --git a/third-party/thrift/src/thrift/lib/hack/src/protocol/__tests__/CompactTest.thrift b/third-party/thrift/src/thrift/lib/hack/src/protocol/__tests__/CompactTest.thrift index a53242ecd9d10..57dc38e92243e 100644 --- a/third-party/thrift/src/thrift/lib/hack/src/protocol/__tests__/CompactTest.thrift +++ b/third-party/thrift/src/thrift/lib/hack/src/protocol/__tests__/CompactTest.thrift @@ -1,3 +1,20 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + include "thrift/annotation/thrift.thrift" package "meta.com/thrift/core/protocol/_tests_/compact_test" diff --git a/third-party/thrift/src/thrift/lib/hack/src/protocol/__tests__/FieldWrapperTest.thrift b/third-party/thrift/src/thrift/lib/hack/src/protocol/__tests__/FieldWrapperTest.thrift index 481209d68aee9..f8d96fcbd0e8d 100644 --- a/third-party/thrift/src/thrift/lib/hack/src/protocol/__tests__/FieldWrapperTest.thrift +++ b/third-party/thrift/src/thrift/lib/hack/src/protocol/__tests__/FieldWrapperTest.thrift @@ -1,3 +1,20 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + include "thrift/annotation/hack.thrift" include "thrift/annotation/scope.thrift" diff --git a/third-party/thrift/src/thrift/lib/hack/src/protocol/__tests__/ProtocolTest.thrift b/third-party/thrift/src/thrift/lib/hack/src/protocol/__tests__/ProtocolTest.thrift index d9957d1f020e4..bd4f487568bc9 100644 --- a/third-party/thrift/src/thrift/lib/hack/src/protocol/__tests__/ProtocolTest.thrift +++ b/third-party/thrift/src/thrift/lib/hack/src/protocol/__tests__/ProtocolTest.thrift @@ -1,3 +1,20 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + include "thrift/annotation/thrift.thrift" package "meta.com/thrift/core/protocol/_tests_/protocol_test" diff --git a/third-party/thrift/src/thrift/lib/hack/src/protocol/__tests__/SerializationTest.php b/third-party/thrift/src/thrift/lib/hack/src/protocol/__tests__/SerializationTest.php index 29575a9b5edc9..98532260259ea 100644 --- a/third-party/thrift/src/thrift/lib/hack/src/protocol/__tests__/SerializationTest.php +++ b/third-party/thrift/src/thrift/lib/hack/src/protocol/__tests__/SerializationTest.php @@ -1,5 +1,20 @@ extends \IThriftTypeWrapper { diff --git a/third-party/thrift/src/thrift/lib/hack/src/transport/TChunkedMemoryBuffer.php b/third-party/thrift/src/thrift/lib/hack/src/transport/TChunkedMemoryBuffer.php index 8310d9932d0b9..4753ddccf762f 100644 --- a/third-party/thrift/src/thrift/lib/hack/src/transport/TChunkedMemoryBuffer.php +++ b/third-party/thrift/src/thrift/lib/hack/src/transport/TChunkedMemoryBuffer.php @@ -1,5 +1,20 @@ > diff --git a/third-party/thrift/src/thrift/lib/hack/src/transport/__tests__/TChunkedMemoryBufferTest.php b/third-party/thrift/src/thrift/lib/hack/src/transport/__tests__/TChunkedMemoryBufferTest.php index 18da9b5891efc..61d6fe2b0ef73 100644 --- a/third-party/thrift/src/thrift/lib/hack/src/transport/__tests__/TChunkedMemoryBufferTest.php +++ b/third-party/thrift/src/thrift/lib/hack/src/transport/__tests__/TChunkedMemoryBufferTest.php @@ -1,5 +1,20 @@ > final class TChunkedMemoryBufferTest extends WWWTest { diff --git a/third-party/thrift/src/thrift/lib/hack/src/transport/__tests__/TFileStreamTest.php b/third-party/thrift/src/thrift/lib/hack/src/transport/__tests__/TFileStreamTest.php index 58ceeab2cf78f..c2bf1f5ce303c 100644 --- a/third-party/thrift/src/thrift/lib/hack/src/transport/__tests__/TFileStreamTest.php +++ b/third-party/thrift/src/thrift/lib/hack/src/transport/__tests__/TFileStreamTest.php @@ -1,5 +1,20 @@ > final class TFileStreamTest extends WWWTest {