From b0483e04acb5e64a06cb6c0030ec30d1f587fef4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 16 Feb 2024 16:18:36 -0700 Subject: [PATCH] Update mediawiki/mediawiki-codesniffer requirement from 42.0.0 to 43.0.0 (#256) * Update mediawiki/mediawiki-codesniffer requirement from 42.0.0 to 43.0.0 Updates the requirements on [mediawiki/mediawiki-codesniffer](https://github.com/wikimedia/mediawiki-tools-codesniffer) to permit the latest version. - [Changelog](https://github.com/wikimedia/mediawiki-tools-codesniffer/blob/master/HISTORY.md) - [Commits](https://github.com/wikimedia/mediawiki-tools-codesniffer/compare/v42.0.0...v43.0.0) --- updated-dependencies: - dependency-name: mediawiki/mediawiki-codesniffer dependency-type: direct:development ... Signed-off-by: dependabot[bot] * Include json files in cache key * Update composer test * Add dealerdirect/phpcodesniffer-composer-installer to allow-plugins --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: CosmicAlpha --- .github/workflows/mediawiki-tests.yml | 10 +++++----- composer.json | 5 +++-- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/mediawiki-tests.yml b/.github/workflows/mediawiki-tests.yml index 3aba8e5..f8fc2ab 100644 --- a/.github/workflows/mediawiki-tests.yml +++ b/.github/workflows/mediawiki-tests.yml @@ -97,10 +97,10 @@ jobs: experimental: false stage: qunit - # Latest stable MediaWiki - PHP 7.4 (composer-test) - - mw: 'REL1_39' - php: 7.4 - php-docker: 74 + # Latest stable MediaWiki - PHP 8.1 (composer-test) + - mw: 'REL1_41' + php: 8.1 + php-docker: 81 experimental: false stage: composer-test @@ -211,7 +211,7 @@ jobs: uses: actions/cache@v4 with: path: /home/runner/cache - key: ${{ runner.os }}-${{ env.MEDIAWIKI_VERSION }}-${{ hashFiles('**/*.lock') }} + key: ${{ runner.os }}-${{ env.MEDIAWIKI_VERSION }}-${{ hashFiles('**/*.json') }} - name: Setup PHP Action if: ${{ matrix.stage == 'phan' }} diff --git a/composer.json b/composer.json index fa99368..be2e993 100644 --- a/composer.json +++ b/composer.json @@ -8,7 +8,7 @@ "composer/installers": ">=1.0.1" }, "require-dev": { - "mediawiki/mediawiki-codesniffer": "42.0.0", + "mediawiki/mediawiki-codesniffer": "43.0.0", "mediawiki/mediawiki-phan-config": "0.14.0", "mediawiki/minus-x": "1.1.1", "php-parallel-lint/php-console-highlighter": "1.0.0", @@ -31,7 +31,8 @@ "prepend-autoloader": false, "optimize-autoloader": true, "allow-plugins": { - "composer/installers": true + "composer/installers": true, + "dealerdirect/phpcodesniffer-composer-installer": true } } }