This repository was archived by the owner on Nov 2, 2025. It is now read-only.
Commit fc9da7a
authored
Update mediawiki/mediawiki-codesniffer requirement from 46.0.0 to 47.0.0 (#15)
Updates the requirements on
[mediawiki/mediawiki-codesniffer](https://github.com/wikimedia/mediawiki-tools-codesniffer)
to permit the latest version.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/wikimedia/mediawiki-tools-codesniffer/blob/master/HISTORY.md">mediawiki/mediawiki-codesniffer's
changelog</a>.</em></p>
<blockquote>
<h2>v47.0.0 / 2025-05-04</h2>
<h3>Changed sniffs</h3>
<ul>
<li><code>EmptyLinesBetweenUseSniff</code>: Allow to work with bracketed
namespaces (Umherirrender)</li>
<li><code>EmptyLinesBetweenUseSniff</code>: Fix edge case with closures
(Daimona Eaytoy)</li>
<li><code>FunctionCommentSniff</code>: Relax WrongStyle warning for
property and function documentations (Umherirrender)</li>
<li><code>PhpunitAnnotationsSniff</code>: Enforce naming convention for
<code>@dataProvider</code> (Umherirrender)</li>
<li><code>SpaceyParenthesisSniff</code>: Account for multiple spaces
before parens (Daimona Eaytoy)</li>
<li><code>SpaceyParenthesisSniff</code>: Avoid wrong guesses of function
calls (Daimona Eaytoy)</li>
<li><code>SpaceyParenthesisSniff</code>: Detect unnecessary whitespace
in more cases (Daimona Eaytoy)</li>
</ul>
<h3>Documentation, dependencies and build changes</h3>
<ul>
<li>Upgrade PHP CodeSniffer from 3.11.3 to 3.12.2 (James D.
Forrester)</li>
<li>build: Add basic output to bootstrap-ci.php (Ollie)</li>
<li>tests: Add tests for closure declarations (Daimona Eaytoy)</li>
<li>tests: Add tests for miscellaneous style inconsistencies seen in the
wild (Daimona Eaytoy)</li>
<li>tests: Consolidate tests for space before parenthesis (Daimona
Eaytoy)</li>
<li>tests: Readd newline at end of all .expect files
(Umherirrender)</li>
<li>utils: Include renamed files when using bootstrap-ci.php
(Umherirrender)</li>
</ul>
<h2>v46.0.0 / 2025-01-27</h2>
<h3>Changed sniffs</h3>
<ul>
<li><code>AlphabeticArraySortSniff</code>: Support sorting by symbol
name, e.g. const keys (Muhammad Yasser Jazirahly)</li>
<li><code>FunctionAnnotationsSniff</code>: Allow use of
<code>@precondition</code> and <code>@postcondition</code> PHPUnit
annotations (Umherirrender)</li>
<li><code>NullableTypeSniff</code>: Don't try to fix <code>mixed</code>
to add <code>null</code>, it is already nullable (Taavi Väänänen)</li>
<li><code>StaticClosureSniff</code>: Work on <code>fn()</code> too
(Reedy)</li>
</ul>
<h3>Documentation, dependencies and build changes</h3>
<ul>
<li>Raise PHP CodeSniffer from 3.10.3 to 3.11.3 (James D. Forrester,
Reedy)</li>
<li>build: Updating mediawiki/mediawiki-phan-config to 0.15.1
(libraryupgrader)</li>
<li>build: Updating phpunit/phpunit to 9.6.21 (libraryupgrader)</li>
<li>tests: Add newline at end of all .expect files (Bartosz
Dziewoński)</li>
<li>tests: Re-enable ScopeIndent sniff on test that was previously
failing (Daimona Eaytoy)</li>
</ul>
<h2>v45.0.0 / 2024-10-29</h2>
<h3>New sniffs</h3>
<ul>
<li>Add <code>MediaWiki.Usage.NullableType.ExplicitNullableTypes</code>
to check for implicitly nullable types in PHP 8.4 (Umherirrender)</li>
</ul>
<h3>Changed sniffs</h3>
<ul>
<li><code>NullableTypeSniff</code>: Also check closure and arrow
functions (Umherirrender)</li>
</ul>
<h3>Documentation, dependencies and build changes</h3>
<ul>
<li>Update squizlabs/php_codesniffer to 3.10.3 (Umherirrender)</li>
<li>build: Support composer/semver 3.4.3 (C. Scott Ananian)</li>
<li>build: Drop support for older composer/semver versions (Alexander
Vorwerk)</li>
<li>build: Add ext-dom to require-dev, used in a test (Reedy)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/wikimedia/mediawiki-tools-codesniffer/commit/056bb337d5229699356884563431b9cc6521ad14"><code>056bb33</code></a>
HISTORY: Tag as v47.0.0</li>
<li><a
href="https://github.com/wikimedia/mediawiki-tools-codesniffer/commit/cb08456a9728373232fd242faee4292dc0d14f53"><code>cb08456</code></a>
Upgrade squizlabs/php_codesniffer from 3.11.3 to 3.12.2</li>
<li><a
href="https://github.com/wikimedia/mediawiki-tools-codesniffer/commit/7ff49a386618d6fd415a4c79ea1cf6d80a2234d8"><code>7ff49a3</code></a>
PhpunitAnnotationsSniff: Enforce naming convention for <a
href="https://github.com/dataProvider"><code>@dataProvider</code></a></li>
<li><a
href="https://github.com/wikimedia/mediawiki-tools-codesniffer/commit/e1d17a7ec10979b45da1078cfae135431d7ef436"><code>e1d17a7</code></a>
SpaceyParenthesisSniff: detect unnecessary whitespace in more cases</li>
<li><a
href="https://github.com/wikimedia/mediawiki-tools-codesniffer/commit/7ae053eb0dac8e243db3bfa4e1a0298f01f2690a"><code>7ae053e</code></a>
SpaceyParenthesisSniff: account for multiple spaces before parens</li>
<li><a
href="https://github.com/wikimedia/mediawiki-tools-codesniffer/commit/756d2e8009c582c6ea71eb8d33dcc7ff595bfc30"><code>756d2e8</code></a>
SpaceyParenthesisSniff: avoid wrong guesses of function calls</li>
<li><a
href="https://github.com/wikimedia/mediawiki-tools-codesniffer/commit/9d9868fc82f78586a777ffb127907382338cb04d"><code>9d9868f</code></a>
Consolidate tests for space before parenthesis</li>
<li><a
href="https://github.com/wikimedia/mediawiki-tools-codesniffer/commit/315bb4a7f99c117f4d288d1b41f1b81789f3379b"><code>315bb4a</code></a>
Allow EmptyLinesBetweenUseSniff to work with bracketed namespaces</li>
<li><a
href="https://github.com/wikimedia/mediawiki-tools-codesniffer/commit/747840d7591fceabbc5dfaa4d01fe20bd7dec189"><code>747840d</code></a>
Relax WrongStyle warning for property and function documentations</li>
<li><a
href="https://github.com/wikimedia/mediawiki-tools-codesniffer/commit/37f8a3549a26e1d1adc110005a446e13daabf978"><code>37f8a35</code></a>
utils: Include renamed files when using bootstrap-ci.php</li>
<li>Additional commits viewable in <a
href="https://github.com/wikimedia/mediawiki-tools-codesniffer/compare/v46.0.0...v47.0.0">compare
view</a></li>
</ul>
</details>
<br />
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>1 parent 27ca655 commit fc9da7a
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
0 commit comments