From 0ec19a99515906526e1d69d98902cc2add1d4b28 Mon Sep 17 00:00:00 2001 From: Martin Price <20357797+yorkshire-pudding@users.noreply.github.com> Date: Thu, 2 Oct 2025 08:59:24 +0100 Subject: [PATCH 1/2] Issue #469: Update Backdrop PHPCS standard tag Also add .gitattributes --- .gitattributes | 2 ++ .github/workflows/phpcs.yml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..a717ff6 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +# Get PHP syntax highlighting for these file extensions. +*.inc linguist-language=php \ No newline at end of file diff --git a/.github/workflows/phpcs.yml b/.github/workflows/phpcs.yml index 2d270d1..5ab1917 100644 --- a/.github/workflows/phpcs.yml +++ b/.github/workflows/phpcs.yml @@ -19,7 +19,7 @@ jobs: uses: actions/checkout@v3 with: repository: backdrop-ops/phpcs - ref: 1.0.0 + ref: 1.0.1 path: phpcs - name: Move standard outside current dir run: mv phpcs .. From b04f684d77a9e39a140ef9c2b5551bb372349a29 Mon Sep 17 00:00:00 2001 From: Martin Price <20357797+yorkshire-pudding@users.noreply.github.com> Date: Thu, 2 Oct 2025 11:26:52 +0100 Subject: [PATCH 2/2] Issue #469: Newer tag (1.1.0) available --- .gitattributes | 2 +- .github/workflows/phpcs.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitattributes b/.gitattributes index a717ff6..72b109e 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,2 +1,2 @@ # Get PHP syntax highlighting for these file extensions. -*.inc linguist-language=php \ No newline at end of file +**/*.inc linguist-language=php \ No newline at end of file diff --git a/.github/workflows/phpcs.yml b/.github/workflows/phpcs.yml index 5ab1917..dac4a17 100644 --- a/.github/workflows/phpcs.yml +++ b/.github/workflows/phpcs.yml @@ -19,7 +19,7 @@ jobs: uses: actions/checkout@v3 with: repository: backdrop-ops/phpcs - ref: 1.0.1 + ref: 1.1.0 path: phpcs - name: Move standard outside current dir run: mv phpcs ..