From 3cade16f05769aae9c53118ba6c5e20e685000f2 Mon Sep 17 00:00:00 2001 From: Brent Shaffer Date: Fri, 10 Feb 2023 09:16:18 -0500 Subject: [PATCH] chore: clean up owlbot post-processing (#5856) --- owlbot.py | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/owlbot.py b/owlbot.py index 36e3f20..fabfe6a 100644 --- a/owlbot.py +++ b/owlbot.py @@ -32,23 +32,6 @@ php.owlbot_main(src=src, dest=dest) -# document and utilize apiEndpoint instead of serviceAddress -s.replace( - "**/Gapic/*GapicClient.php", - r"'serviceAddress' =>", - r"'apiEndpoint' =>") -s.replace( - "**/Gapic/*GapicClient.php", - r"@type string \$serviceAddress\n\s+\*\s+The address", - r"""@type string $serviceAddress - * **Deprecated**. This option will be removed in a future major release. Please - * utilize the `$apiEndpoint` option instead. - * @type string $apiEndpoint - * The address""") -s.replace( - "**/Gapic/*GapicClient.php", - r"\$transportConfig, and any \$serviceAddress", - r"$transportConfig, and any `$apiEndpoint`") ### [START] protoc backwards compatibility fixes @@ -60,12 +43,6 @@ */ private $""") -# prevent proto messages from being marked final -s.replace( - "src/**/V*/**/*.php", - r"final class", - r"class") - # Replace "Unwrapped" with "Value" for method names. s.replace( "src/**/V*/**/*.php",