From 6f5cdbf73a5bffb56fb105ffb9edea2b8c375fe2 Mon Sep 17 00:00:00 2001 From: Radman Siddiki <61620631+R4356th@users.noreply.github.com> Date: Wed, 8 Oct 2025 14:12:44 +0600 Subject: [PATCH 1/5] Fix CI --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b18277a..8dc485f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,6 +8,9 @@ jobs: steps: - uses: actions/checkout@v2 + - uses: MilesChou/composer-action/8.2@master + with: + args: config --no-plugins allow-plugins.dealerdirect/phpcodesniffer-composer-installer - uses: MilesChou/composer-action/8.2@master with: args: install From 422c90c954a529d81f49caf9cf60a5ebc2911535 Mon Sep 17 00:00:00 2001 From: Radman Siddiki <61620631+R4356th@users.noreply.github.com> Date: Wed, 8 Oct 2025 14:15:43 +0600 Subject: [PATCH 2/5] Update ci.yml --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8dc485f..e487936 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,7 +10,7 @@ jobs: - uses: actions/checkout@v2 - uses: MilesChou/composer-action/8.2@master with: - args: config --no-plugins allow-plugins.dealerdirect/phpcodesniffer-composer-installer + args: config --no-plugins allow-plugins.dealerdirect/phpcodesniffer-composer-installer false - uses: MilesChou/composer-action/8.2@master with: args: install From 3008840d3ac5e0c822a977b4ae5e776b93cb0a88 Mon Sep 17 00:00:00 2001 From: Radman Siddiki <61620631+R4356th@users.noreply.github.com> Date: Wed, 8 Oct 2025 14:20:52 +0600 Subject: [PATCH 3/5] Remove Minus-X and PHPCS --- composer.json | 8 -------- 1 file changed, 8 deletions(-) diff --git a/composer.json b/composer.json index 113fdd7..ae70223 100644 --- a/composer.json +++ b/composer.json @@ -5,20 +5,12 @@ "homepage": "https://www.mediawiki.org/wiki/Extension:Snap!_Project_Embed", "license": "GPL-3.0+", "require-dev": { - "mediawiki/mediawiki-codesniffer": "44.0.0", "php-parallel-lint/php-parallel-lint": "^1.3.2", "php-parallel-lint/php-console-highlighter": "^1.0.0", - "mediawiki/minus-x": "^1.1" }, "scripts": { "test": [ "parallel-lint . --exclude vendor --exclude node_modules", - "phpcs -p -s", - "minus-x check ." - ], - "fix": [ - "phpcbf", - "minus-x fix ." ] } } From de4846e3c568925a9f1c4e1bafc951e086ac2761 Mon Sep 17 00:00:00 2001 From: Radman Siddiki <61620631+R4356th@users.noreply.github.com> Date: Wed, 8 Oct 2025 14:22:52 +0600 Subject: [PATCH 4/5] Rename job from 'build' to 'ci' --- .github/workflows/ci.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e487936..a091422 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,14 +3,11 @@ name: Continuous Integration on: [push, pull_request] jobs: - build: + ci: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: MilesChou/composer-action/8.2@master - with: - args: config --no-plugins allow-plugins.dealerdirect/phpcodesniffer-composer-installer false - uses: MilesChou/composer-action/8.2@master with: args: install From 7f1fb4d17b61e8d2ba2575f5f4c3d7d07fff80aa Mon Sep 17 00:00:00 2001 From: Radman Siddiki <61620631+R4356th@users.noreply.github.com> Date: Wed, 8 Oct 2025 14:24:29 +0600 Subject: [PATCH 5/5] Delete phpcs.xml --- phpcs.xml | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 phpcs.xml diff --git a/phpcs.xml b/phpcs.xml deleted file mode 100644 index c0bdc71..0000000 --- a/phpcs.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - . - - - -