From 35681de5fcc27e7df05d0f75dbd268c81b50e41c Mon Sep 17 00:00:00 2001 From: Dima Shevtsov Date: Thu, 21 Nov 2024 16:02:33 -0600 Subject: [PATCH 1/3] Update the copyright in code samples --- .../phpstorm/add-code-inspections.md | 4 +- src/pages/coding-standards/docblock.md | 36 ++++++++--------- .../coding-standards/technical-guidelines.md | 32 +++++++-------- .../build/dependency-injection-file.md | 4 +- .../development/cache/page/private-content.md | 1 - .../development/cache/page/public-content.md | 16 ++++---- .../development/cache/partial/cache-type.md | 8 ++-- .../development/components/add-admin-grid.md | 32 +++++++-------- .../development/components/add-attributes.md | 16 ++++---- .../development/components/api-concepts.md | 12 +++--- .../development/components/attributes.md | 4 +- .../development/components/catalog-rules.md | 4 +- .../components/declarative-schema/patches.md | 4 +- .../components/dependency-injection.md | 4 +- .../components/events-and-observers/index.md | 12 +++--- src/pages/development/components/factories.md | 4 +- .../message-queues/bulk-operations-example.md | 8 ++-- src/pages/development/components/plugins.md | 40 +++++++++---------- .../development/components/variable-pool.md | 4 +- .../web-api/request-processor-pool.md | 4 +- .../prepare/extension-lifecycle.md | 36 ++++++++--------- .../tutorials/admin/create-admin-page.md | 8 ++-- .../backend/convert-serialized-data.md | 8 ++-- src/pages/tutorials/backend/copy-fieldsets.md | 4 +- 24 files changed, 152 insertions(+), 153 deletions(-) diff --git a/src/pages/best-practices/phpstorm/add-code-inspections.md b/src/pages/best-practices/phpstorm/add-code-inspections.md index 64c708a61..b699584a6 100644 --- a/src/pages/best-practices/phpstorm/add-code-inspections.md +++ b/src/pages/best-practices/phpstorm/add-code-inspections.md @@ -80,8 +80,8 @@ Implement `InvalidDependencyInjectionTypeInspection` inspection that extends `Xm ```java /* - * Copyright © Magento, Inc. All rights reserved. - * See COPYING.txt for license details. + * Copyright Adobe + * All rights reserved. */ package com.magento.idea.magento2plugin.inspections.xml; diff --git a/src/pages/coding-standards/docblock.md b/src/pages/coding-standards/docblock.md index a3da5e85e..cacc9bd1d 100644 --- a/src/pages/coding-standards/docblock.md +++ b/src/pages/coding-standards/docblock.md @@ -130,8 +130,8 @@ Use the following templates for the license notice and copyright blocks: ```php ``` @@ -163,8 +163,8 @@ interface MetadataObjectInterface ```javascript /** - * Copyright © Magento, Inc. All rights reserved. - * See COPYING.txt for license details. + * Copyright Adobe + * All rights reserved. */ ``` @@ -207,8 +207,8 @@ There are two solutions possible: ```php diff --git a/src/pages/development/components/web-api/request-processor-pool.md b/src/pages/development/components/web-api/request-processor-pool.md index 6f29bc185..39a4852c2 100644 --- a/src/pages/development/components/web-api/request-processor-pool.md +++ b/src/pages/development/components/web-api/request-processor-pool.md @@ -91,8 +91,8 @@ A custom processor must implement the `Magento\Webapi\Controller\Rest\RequestPro ```php Date: Thu, 21 Nov 2024 16:31:54 -0600 Subject: [PATCH 2/3] Update gitignore --- .gitignore | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 7b703cdee..658b80331 100644 --- a/.gitignore +++ b/.gitignore @@ -43,4 +43,6 @@ local-test.yml # yalc .yalc -yalc.lock \ No newline at end of file +yalc.lock + +tmp/ \ No newline at end of file From 216ad7d9c46bdf25934a3cc67713621997942a72 Mon Sep 17 00:00:00 2001 From: Dima Shevtsov Date: Thu, 21 Nov 2024 17:15:25 -0600 Subject: [PATCH 3/3] Update copyright --- src/pages/development/cache/page/private-content.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pages/development/cache/page/private-content.md b/src/pages/development/cache/page/private-content.md index f9966ba0f..ec760fec9 100644 --- a/src/pages/development/cache/page/private-content.md +++ b/src/pages/development/cache/page/private-content.md @@ -92,7 +92,8 @@ The following example adds comments to [app/code/Magento/Catalog/etc/frontend/se