From 35d107a64d33f2107d04528e8e12956b4e721178 Mon Sep 17 00:00:00 2001 From: Brent Shaffer Date: Tue, 8 Nov 2016 13:02:36 -0800 Subject: [PATCH 1/3] updates php-cs-fixer for 2.0 --- .php_cs | 17 ------------ .php_cs.dist | 35 ++++++++++++++++++++++++ datastore/api/src/functions/concepts.php | 2 +- 3 files changed, 36 insertions(+), 18 deletions(-) delete mode 100644 .php_cs create mode 100644 .php_cs.dist diff --git a/.php_cs b/.php_cs deleted file mode 100644 index 3cd1a16a01..0000000000 --- a/.php_cs +++ /dev/null @@ -1,17 +0,0 @@ -in(__DIR__) -; - -return Symfony\CS\Config\Config::create() - ->level(Symfony\CS\FixerInterface::PSR2_LEVEL) - ->fixers([ - 'concat_with_spaces', - 'unused_use', - 'trailing_spaces', - 'indentation', - '-psr0' - ]) - ->finder($finder) -; diff --git a/.php_cs.dist b/.php_cs.dist new file mode 100644 index 0000000000..7fbd54d3a5 --- /dev/null +++ b/.php_cs.dist @@ -0,0 +1,35 @@ +setRules([ + '@PSR2' => true, + 'concat_space' => ['spacing' => 'one'], + 'header_comment' => [ + 'header' => $header, + 'separate' => 'none', + ], + 'no_unused_imports' => true, + ]) + ->setFinder( + PhpCsFixer\Finder::create() + ->notPath('appengine/wordpress/src/files/flexible/wp-config.php') + ->notPath('appengine/wordpress/src/files/standard/wp-config.php') + ->in(__DIR__) + ) +; diff --git a/datastore/api/src/functions/concepts.php b/datastore/api/src/functions/concepts.php index d809bae6a0..e897e4839e 100644 --- a/datastore/api/src/functions/concepts.php +++ b/datastore/api/src/functions/concepts.php @@ -733,7 +733,7 @@ function unindexed_property_query(DatastoreClient $datastore) // [START unindexed_property_query] $query = $datastore->query() ->kind('Task') - ->filter('description', '=', 'A task description.'); + ->filter('description', '=', 'A task description.'); // [END unindexed_property_query] return $query; } From 67cabc25d0be914d80fe071f91cbf7aac39eced6 Mon Sep 17 00:00:00 2001 From: Brent Shaffer Date: Tue, 6 Dec 2016 16:53:48 -0800 Subject: [PATCH 2/3] fixes mailgun tests --- appengine/standard/mailgun/app.php | 24 ++++++++++++------- appengine/standard/mailgun/index.php | 2 +- appengine/standard/mailgun/test/bootstrap.php | 16 ++++++++++++- .../standard/mailgun/test/mailgunTest.php | 16 ++++++++----- 4 files changed, 42 insertions(+), 16 deletions(-) diff --git a/appengine/standard/mailgun/app.php b/appengine/standard/mailgun/app.php index dd81169340..3031e3d197 100644 --- a/appengine/standard/mailgun/app.php +++ b/appengine/standard/mailgun/app.php @@ -1,6 +1,6 @@ sendMessage($mailgunDomain, array( + $postData = array( 'from' => sprintf('Example Sender ', $mailgunDomain), 'to' => $recipient, - 'cc' => $cc, - 'bcc' => $bcc, 'subject' => 'Hello', 'text' => 'Testing some Mailgun awesomeness!', 'html' => 'HTML version of the body', - ), array( + ); + + if ($cc) { + $postData['cc'] = $cc; + } + + if ($bcc) { + $postData['bcc'] = $bcc; + } + + // Make the call to the client. + $result = $mailgunClient->sendMessage($mailgunDomain, $postData, array( 'attachment' => array($fileAttachment, $fileAttachment), )); # [END complex_message] diff --git a/appengine/standard/mailgun/index.php b/appengine/standard/mailgun/index.php index 02b05de69f..1fc2c34391 100644 --- a/appengine/standard/mailgun/index.php +++ b/appengine/standard/mailgun/index.php @@ -1,6 +1,6 @@ recipient = getenv('MAILGUN_RECIPIENT'); - if (empty($mailgunDomain) || empty($mailgunApiKey)) { - $this->markTestSkipped('set the MAILGUN_DOMAIN and MAILGUN_APIKEY environment variables'); + if (empty($mailgunDomain) || empty($mailgunApiKey) || empty($this->recipient)) { + $this->markTestSkipped('set the MAILGUN_DOMAIN, MAILGUN_APIKEY ' . + 'and MAILGUN_RECIPIENT environment variables'); } $app['mailgun.domain'] = $mailgunDomain; @@ -58,7 +62,7 @@ public function testSimpleEmail() $client = $this->createClient(); $crawler = $client->request('POST', '/', [ - 'recipient' => 'fake@example.com', + 'recipient' => $this->recipient, 'submit' => 'simple', ]); @@ -72,7 +76,7 @@ public function testComplexEmail() $client = $this->createClient(); $crawler = $client->request('POST', '/', [ - 'recipient' => 'fake@example.com', + 'recipient' => $this->recipient, 'submit' => 'complex', ]); From 6d999fe22d9d800fc31bc1ad4ffb5d67e65360ec Mon Sep 17 00:00:00 2001 From: Brent Shaffer Date: Tue, 6 Dec 2016 16:53:58 -0800 Subject: [PATCH 3/3] standardizes all comment headers --- .php_cs.dist | 20 ------------------- appengine/flexible/analytics/app.php | 2 +- appengine/flexible/analytics/web/index.php | 2 +- appengine/flexible/cloudsql/app.php | 2 +- appengine/flexible/cloudsql/index.php | 2 +- appengine/flexible/datastore/app.php | 2 +- appengine/flexible/datastore/index.php | 2 +- .../flexible/drupal8/tests/bootstrap.php | 16 ++++++++++++++- .../flexible/laravel/tests/bootstrap.php | 16 ++++++++++++++- appengine/flexible/mailgun/app.php | 2 +- appengine/flexible/mailgun/index.php | 2 +- appengine/flexible/mailgun/test/bootstrap.php | 16 ++++++++++++++- appengine/flexible/mailjet/app.php | 2 +- appengine/flexible/mailjet/index.php | 2 +- appengine/flexible/mailjet/test/bootstrap.php | 16 ++++++++++++++- appengine/flexible/memcache/app.php | 2 +- appengine/flexible/memcache/web/index.php | 2 +- appengine/flexible/sendgrid/app.php | 2 +- appengine/flexible/sendgrid/index.php | 2 +- .../flexible/sendgrid/test/LocalTest.php | 4 ++-- .../flexible/sendgrid/test/bootstrap.php | 16 ++++++++++++++- appengine/flexible/staticcontent/app.php | 2 +- .../flexible/staticcontent/web/index.php | 2 +- .../flexible/symfony/tests/bootstrap.php | 16 ++++++++++++++- appengine/flexible/twilio/app.php | 4 ++-- appengine/flexible/twilio/index.php | 2 +- appengine/flexible/twilio/test/TwilioTest.php | 4 ++-- appengine/flexible/twilio/test/bootstrap.php | 16 ++++++++++++++- appengine/standard/cloudsql/app.php | 2 +- appengine/standard/cloudsql/index.php | 2 +- .../standard/cloudsql/test/bootstrap.php | 16 ++++++++++++++- .../standard/cloudsql/test/cloudsqlTest.php | 4 ++-- appengine/standard/http/app.php | 2 +- appengine/standard/http/index.php | 2 +- appengine/standard/http/test/bootstrap.php | 4 ++-- appengine/standard/http/test/httpTest.php | 4 ++-- appengine/standard/logging/syslog.php | 2 +- appengine/standard/logging/test/bootstrap.php | 16 ++++++++++++++- .../standard/logging/test/loggingTest.php | 4 ++-- .../logging/test/mocks/AppLogLine.php | 4 ++-- .../standard/logging/test/mocks/Functions.php | 4 ++-- .../logging/test/mocks/LogService.php | 4 ++-- .../logging/test/mocks/RequestLog.php | 4 ++-- appengine/standard/logging/timeout.php | 2 +- .../standard/mail/handle_bounced_email.php | 2 +- .../standard/mail/handle_incoming_email.php | 2 +- appengine/standard/mail/index.php | 2 +- appengine/standard/mail/test/bootstrap.php | 4 ++-- appengine/standard/mail/test/mailTest.php | 4 ++-- .../standard/mail/test/mocks/Message.php | 4 ++-- appengine/standard/mailjet/app.php | 2 +- appengine/standard/mailjet/index.php | 2 +- appengine/standard/mailjet/test/bootstrap.php | 16 ++++++++++++++- .../standard/mailjet/test/mailjetTest.php | 4 ++-- appengine/standard/memcache/app.php | 2 +- appengine/standard/memcache/index.php | 2 +- .../modules/tests/unit/ModulesApiTest.php | 4 ++-- .../modules/tests/unit/mocks/Functions.php | 4 ++-- .../tests/unit/mocks/ModulesService.php | 4 ++-- appengine/standard/storage/app.php | 2 +- appengine/standard/storage/index.php | 2 +- appengine/standard/storage/test/bootstrap.php | 16 ++++++++++++++- .../test/mocks/CloudStorageStreamWrapper.php | 4 ++-- .../storage/test/mocks/CloudStorageTools.php | 4 ++-- .../standard/storage/test/storageTest.php | 4 ++-- .../taskqueue/tests/unit/TaskQueueTest.php | 4 ++-- appengine/standard/twilio/app.php | 4 ++-- appengine/standard/twilio/index.php | 2 +- appengine/standard/twilio/test/bootstrap.php | 4 ++-- appengine/standard/twilio/test/twilioTest.php | 4 ++-- appengine/standard/users/app.php | 2 +- appengine/standard/users/index.php | 2 +- .../users/tests/unit/UsersApiTest.php | 4 ++-- .../standard/users/tests/unit/mocks/User.php | 4 ++-- .../users/tests/unit/mocks/UserService.php | 4 ++-- bigquery/api/bigquery.php | 16 ++++++++++++++- bigquery/api/src/BrowseTableCommand.php | 4 ++-- bigquery/api/src/CopyTableCommand.php | 4 ++-- bigquery/api/src/DatasetsCommand.php | 4 ++-- bigquery/api/src/ExportCommand.php | 4 ++-- bigquery/api/src/ImportCommand.php | 4 ++-- bigquery/api/src/ProjectIdTrait.php | 4 ++-- bigquery/api/src/ProjectsCommand.php | 4 ++-- bigquery/api/src/QueryCommand.php | 4 ++-- bigquery/api/src/SchemaCommand.php | 4 ++-- bigquery/api/src/TablesCommand.php | 4 ++-- .../api/src/functions/bigquery_client.php | 16 ++++++++++++++- bigquery/api/src/functions/browse_table.php | 4 ++-- bigquery/api/src/functions/copy_table.php | 4 ++-- bigquery/api/src/functions/create_dataset.php | 4 ++-- bigquery/api/src/functions/create_table.php | 4 ++-- bigquery/api/src/functions/delete_table.php | 4 ++-- bigquery/api/src/functions/export_table.php | 4 ++-- .../api/src/functions/import_from_file.php | 4 ++-- .../api/src/functions/import_from_storage.php | 4 ++-- bigquery/api/src/functions/insert_sql.php | 4 ++-- bigquery/api/src/functions/list_datasets.php | 4 ++-- bigquery/api/src/functions/list_projects.php | 4 ++-- bigquery/api/src/functions/list_tables.php | 4 ++-- bigquery/api/src/functions/run_query.php | 4 ++-- .../api/src/functions/run_query_as_job.php | 4 ++-- bigquery/api/src/functions/stream_row.php | 4 ++-- bigquery/api/test/BrowseTableCommandTest.php | 4 ++-- bigquery/api/test/CopyTableCommandTest.php | 4 ++-- bigquery/api/test/DatasetsCommandTest.php | 4 ++-- bigquery/api/test/ExportCommandTest.php | 4 ++-- bigquery/api/test/FunctionsTest.php | 4 ++-- bigquery/api/test/ImportCommandTest.php | 4 ++-- bigquery/api/test/ProjectsCommandTest.php | 4 ++-- bigquery/api/test/QueryCommandTest.php | 4 ++-- bigquery/api/test/SchemaCommandTest.php | 4 ++-- bigquery/api/test/TablesCommandTest.php | 4 ++-- bigquery/api/test/bootstrap.php | 16 ++++++++++++++- bigquery/quickstart/quickstart.php | 16 ++++++++++++++- bigquery/quickstart/test/bootstrap.php | 16 ++++++++++++++- bigquery/quickstart/test/quickstartTest.php | 4 ++-- bigquery/shakespeare/shakespeare.php | 4 ++-- bigquery/shakespeare/test/bootstrap.php | 16 ++++++++++++++- bigquery/shakespeare/test/shakespeareTest.php | 4 ++-- compute/logging/index.php | 16 ++++++++++++++- compute/logging/test/bootstrap.php | 16 ++++++++++++++- compute/logging/test/loggingTest.php | 4 ++-- compute/logging/test/mocks/FluentLogger.php | 16 ++++++++++++++- datastore/api/src/functions/concepts.php | 4 ++-- datastore/api/test/ConceptsTest.php | 4 ++-- datastore/api/test/bootstrap.php | 4 ++-- datastore/quickstart/quickstart.php | 16 ++++++++++++++- datastore/quickstart/test/bootstrap.php | 16 ++++++++++++++- datastore/quickstart/test/quickstartTest.php | 4 ++-- datastore/tutorial/src/CreateTaskCommand.php | 4 ++-- datastore/tutorial/src/DeleteTaskCommand.php | 4 ++-- datastore/tutorial/src/ListTasksCommand.php | 4 ++-- .../tutorial/src/MarkTaskDoneCommand.php | 4 ++-- datastore/tutorial/src/functions.php | 4 ++-- datastore/tutorial/test/CommandSystemTest.php | 4 ++-- datastore/tutorial/test/FunctionsTest.php | 4 ++-- datastore/tutorial/test/bootstrap.php | 4 ++-- .../getting-started/EndpointsCommand.php | 2 +- endpoints/getting-started/app.php | 2 +- endpoints/getting-started/index.php | 2 +- .../test/EndpointsCommandTest.php | 4 ++-- endpoints/getting-started/test/LocalTest.php | 4 ++-- endpoints/getting-started/test/bootstrap.php | 16 ++++++++++++++- language/api/language.php | 16 ++++++++++++++- language/api/src/AllCommand.php | 4 ++-- language/api/src/EntitiesCommand.php | 4 ++-- language/api/src/SentimentCommand.php | 4 ++-- language/api/src/SyntaxCommand.php | 4 ++-- language/api/src/functions/analyze_all.php | 6 +++--- .../src/functions/analyze_all_from_file.php | 6 +++--- .../api/src/functions/analyze_entities.php | 6 +++--- .../functions/analyze_entities_from_file.php | 6 +++--- .../api/src/functions/analyze_sentiment.php | 6 +++--- .../functions/analyze_sentiment_from_file.php | 6 +++--- language/api/src/functions/analyze_syntax.php | 6 +++--- .../functions/analyze_syntax_from_file.php | 6 +++--- .../src/functions/annotation_to_string.php | 4 ++-- language/api/test/AllCommandTest.php | 4 ++-- language/api/test/EntitiesCommandTest.php | 4 ++-- language/api/test/SentimentCommandTest.php | 4 ++-- language/api/test/SyntaxCommandTest.php | 4 ++-- language/api/test/bootstrap.php | 16 ++++++++++++++- language/quickstart/quickstart.php | 16 ++++++++++++++- language/quickstart/test/bootstrap.php | 16 ++++++++++++++- language/quickstart/test/quickstartTest.php | 4 ++-- logging/api/src/BaseCommand.php | 4 ++-- logging/api/src/CreateSinkCommand.php | 4 ++-- logging/api/src/DeleteLoggerCommand.php | 4 ++-- logging/api/src/DeleteSinkCommand.php | 4 ++-- logging/api/src/ListEntriesCommand.php | 4 ++-- logging/api/src/ListSinksCommand.php | 4 ++-- logging/api/src/UpdateSinkCommand.php | 4 ++-- logging/api/src/WriteCommand.php | 4 ++-- .../api/src/functions/log_entry_functions.php | 4 ++-- logging/api/src/functions/sink_functions.php | 4 ++-- logging/api/test/CreateSinkCommandTest.php | 4 ++-- logging/api/test/DeleteLoggerCommandTest.php | 4 ++-- logging/api/test/DeleteSinkCommandTest.php | 4 ++-- logging/api/test/ListEntriesCommandTest.php | 4 ++-- logging/api/test/ListSinksCommandTest.php | 4 ++-- logging/api/test/UpdateSinkCommandTest.php | 4 ++-- logging/api/test/WriteCommandTest.php | 4 ++-- logging/api/test/bootstrap.php | 16 ++++++++++++++- logging/quickstart/quickstart.php | 16 ++++++++++++++- logging/quickstart/test/bootstrap.php | 16 ++++++++++++++- logging/quickstart/test/quickstartTest.php | 4 ++-- pubsub/app/app.php | 6 +++--- pubsub/app/index.php | 6 +++--- pubsub/app/test/appTest.php | 6 +++--- pubsub/app/test/bootstrap.php | 16 ++++++++++++++- pubsub/cli/pubsub.php | 16 ++++++++++++++- pubsub/cli/src/IamCommand.php | 4 ++-- pubsub/cli/src/ProjectIdTrait.php | 4 ++-- pubsub/cli/src/SubscriptionCommand.php | 4 ++-- pubsub/cli/src/TopicCommand.php | 4 ++-- .../functions/create_push_subscription.php | 4 ++-- .../cli/src/functions/create_subscription.php | 4 ++-- pubsub/cli/src/functions/create_topic.php | 4 ++-- .../cli/src/functions/delete_subscription.php | 4 ++-- pubsub/cli/src/functions/delete_topic.php | 4 ++-- .../src/functions/get_subscription_policy.php | 4 ++-- pubsub/cli/src/functions/get_topic_policy.php | 4 ++-- .../cli/src/functions/list_subscriptions.php | 4 ++-- pubsub/cli/src/functions/list_topics.php | 4 ++-- pubsub/cli/src/functions/publish_message.php | 4 ++-- pubsub/cli/src/functions/pubsub_client.php | 4 ++-- pubsub/cli/src/functions/pull_messages.php | 4 ++-- .../src/functions/set_subscription_policy.php | 4 ++-- pubsub/cli/src/functions/set_topic_policy.php | 4 ++-- .../test_subscription_permissions.php | 4 ++-- .../src/functions/test_topic_permissions.php | 4 ++-- pubsub/cli/test/FunctionsTest.php | 4 ++-- pubsub/cli/test/IamCommandTest.php | 4 ++-- pubsub/cli/test/SubscriptionCommandTest.php | 4 ++-- pubsub/cli/test/TopicCommandTest.php | 4 ++-- pubsub/cli/test/bootstrap.php | 16 ++++++++++++++- pubsub/quickstart/quickstart.php | 16 ++++++++++++++- pubsub/quickstart/test/bootstrap.php | 16 ++++++++++++++- pubsub/quickstart/test/quickstartTest.php | 4 ++-- speech/api/speech.php | 16 ++++++++++++++- speech/api/src/TranscribeCommand.php | 4 ++-- .../api/src/functions/base64_encode_audio.php | 16 ++++++++++++++- speech/api/src/functions/transcribe_async.php | 4 ++-- speech/api/src/functions/transcribe_sync.php | 4 ++-- speech/api/test/FunctionsTest.php | 4 ++-- speech/api/test/TranscribeCommandTest.php | 4 ++-- speech/api/test/bootstrap.php | 16 ++++++++++++++- speech/quickstart/quickstart.php | 16 ++++++++++++++- speech/quickstart/test/bootstrap.php | 16 ++++++++++++++- speech/quickstart/test/quickstartTest.php | 4 ++-- storage/api/src/BucketAclCommand.php | 4 ++-- storage/api/src/BucketDefaultAclCommand.php | 4 ++-- storage/api/src/BucketsCommand.php | 4 ++-- storage/api/src/EncryptionCommand.php | 4 ++-- storage/api/src/ObjectAclCommand.php | 4 ++-- storage/api/src/ObjectsCommand.php | 4 ++-- storage/api/src/functions/add_bucket_acl.php | 4 ++-- .../src/functions/add_bucket_default_acl.php | 4 ++-- storage/api/src/functions/add_object_acl.php | 4 ++-- storage/api/src/functions/copy_object.php | 4 ++-- storage/api/src/functions/create_bucket.php | 4 ++-- storage/api/src/functions/delete_bucket.php | 4 ++-- .../api/src/functions/delete_bucket_acl.php | 4 ++-- .../functions/delete_bucket_default_acl.php | 4 ++-- storage/api/src/functions/delete_object.php | 4 ++-- .../api/src/functions/delete_object_acl.php | 4 ++-- .../functions/download_encrypted_object.php | 4 ++-- storage/api/src/functions/download_object.php | 4 ++-- .../src/functions/generate_encryption_key.php | 4 ++-- storage/api/src/functions/get_bucket_acl.php | 4 ++-- .../functions/get_bucket_acl_for_entity.php | 4 ++-- .../src/functions/get_bucket_default_acl.php | 4 ++-- .../get_bucket_default_acl_for_entity.php | 4 ++-- storage/api/src/functions/get_object_acl.php | 4 ++-- .../functions/get_object_acl_for_entity.php | 4 ++-- storage/api/src/functions/list_buckets.php | 4 ++-- storage/api/src/functions/list_objects.php | 4 ++-- .../functions/list_objects_with_prefix.php | 4 ++-- storage/api/src/functions/make_public.php | 4 ++-- storage/api/src/functions/move_object.php | 4 ++-- storage/api/src/functions/object_metadata.php | 4 ++-- .../src/functions/rotate_encryption_key.php | 4 ++-- .../src/functions/upload_encrypted_object.php | 4 ++-- storage/api/src/functions/upload_object.php | 4 ++-- storage/api/storage.php | 16 ++++++++++++++- storage/api/test/BucketAclCommandTest.php | 4 ++-- .../api/test/BucketDefaultAclCommandTest.php | 4 ++-- storage/api/test/BucketsCommandTest.php | 4 ++-- storage/api/test/EncryptionCommandTest.php | 4 ++-- storage/api/test/ObjectAclCommandTest.php | 4 ++-- storage/api/test/ObjectsCommandTest.php | 4 ++-- storage/api/test/bootstrap.php | 16 ++++++++++++++- storage/quickstart/quickstart.php | 16 ++++++++++++++- storage/quickstart/test/bootstrap.php | 16 ++++++++++++++- storage/quickstart/test/quickstartTest.php | 4 ++-- translate/api/src/DetectLanguageCommand.php | 6 +++--- translate/api/src/ListCodesCommand.php | 6 +++--- translate/api/src/ListLanguagesCommand.php | 6 +++--- translate/api/src/TranslateCommand.php | 6 +++--- .../api/src/snippets/detect_language.php | 6 +++--- translate/api/src/snippets/list_codes.php | 6 +++--- translate/api/src/snippets/list_languages.php | 6 +++--- translate/api/src/snippets/translate.php | 6 +++--- translate/api/test/CommandTest.php | 6 +++--- translate/api/test/bootstrap.php | 16 ++++++++++++++- translate/api/translate.php | 16 ++++++++++++++- translate/quickstart/quickstart.php | 16 ++++++++++++++- translate/quickstart/test/bootstrap.php | 16 ++++++++++++++- translate/quickstart/test/quickstartTest.php | 4 ++-- vision/api/src/DetectFaceCommand.php | 6 +++--- vision/api/src/DetectImagePropertyCommand.php | 6 +++--- vision/api/src/DetectLabelCommand.php | 6 +++--- vision/api/src/DetectLandmarkCommand.php | 6 +++--- vision/api/src/DetectLogoCommand.php | 6 +++--- vision/api/src/DetectSafeSearchCommand.php | 6 +++--- vision/api/src/DetectTextCommand.php | 6 +++--- vision/api/src/snippets/detect_face.php | 6 +++--- .../src/snippets/detect_image_property.php | 6 +++--- vision/api/src/snippets/detect_label.php | 6 +++--- vision/api/src/snippets/detect_landmark.php | 6 +++--- vision/api/src/snippets/detect_logo.php | 6 +++--- .../api/src/snippets/detect_safe_search.php | 6 +++--- vision/api/src/snippets/detect_text.php | 6 +++--- vision/api/test/CommandTest.php | 6 +++--- vision/api/test/bootstrap.php | 16 ++++++++++++++- vision/api/vision.php | 4 ++-- vision/quickstart/quickstart.php | 16 ++++++++++++++- vision/quickstart/test/bootstrap.php | 16 ++++++++++++++- vision/quickstart/test/quickstartTest.php | 4 ++-- 309 files changed, 1276 insertions(+), 582 deletions(-) diff --git a/.php_cs.dist b/.php_cs.dist index 7fbd54d3a5..f52c9327a2 100644 --- a/.php_cs.dist +++ b/.php_cs.dist @@ -1,29 +1,9 @@ setRules([ '@PSR2' => true, 'concat_space' => ['spacing' => 'one'], - 'header_comment' => [ - 'header' => $header, - 'separate' => 'none', - ], 'no_unused_imports' => true, ]) ->setFinder( diff --git a/appengine/flexible/analytics/app.php b/appengine/flexible/analytics/app.php index 4b2084585b..441edce334 100644 --- a/appengine/flexible/analytics/app.php +++ b/appengine/flexible/analytics/app.php @@ -1,6 +1,6 @@