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] <support@github.com>

* Include json files in cache key

* Update composer test

* Add dealerdirect/phpcodesniffer-composer-installer to allow-plugins

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: CosmicAlpha <cosmic.alpha24@gmail.com>
This commit is contained in:
dependabot[bot] 2024-02-16 16:18:36 -07:00 committed by GitHub
parent dccf02401e
commit b0483e04ac
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 8 additions and 7 deletions

View file

@ -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' }}

View file

@ -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
}
}
}