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 55e33d35c708d0..ac56e27c062090 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 07ee6f4ab3c59b..e4daa7fd64f3e4 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 2c8c8a6e61980b..d0958f29a802be 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 f91c72c1d3d616..cea8cf77301dd5 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 34fd1057e24a40..8f0c13b350b4d4 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 c46c3f7f7b5df9..0e85e4f03cfa84 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 4590a6fbea20e7..130081d09b7264 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 4da431dc36ffa3..c6b96b8e4b0176 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 831c7b182cb7fb..fe9fd98c6c20b0 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 ed95893148a00a..8c5bd9fa6242cf 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 5b52bbdfa0d33f..53282e6462c1d9 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 6007fe428c32cb..bdd73962c719d6 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 e3f18dee966d0d..c7813a931fd7eb 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 fc801129f625cf..b8310b09d17c78 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 7c53a56db592d5..9f662242a00943 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 cc619a4ecd99a7..83b4a89a575a6f 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 7f38faf5d1caab..aba64fe2987dac 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 af49bc3be279bd..903f36de9cee65 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 0d90ec4d84f43b..54e33e0659dc28 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 5c1bbebb32f890..b390b0d289ef4d 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 1f9bfacd8a07ba..a2b51bf0bf7678 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 6e245c5ba66c14..d83e8c70639768 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 04032fcdede29e..c1864bbeac7043 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 99e19343263008..063ce0a668ef1f 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 afc4c7cd20e777..937865b917cd5d 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 a53242ecd9d10e..57dc38e92243e9 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 481209d68aee9c..f8d96fcbd0e8d7 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 d9957d1f020e4d..bd4f487568bc93 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 29575a9b5edc94..98532260259ea7 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 8310d9932d0b94..4753ddccf762fb 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 18da9b5891efc4..61d6fe2b0ef738 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 58ceeab2cf78fe..c2bf1f5ce303c8 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 {