Skip to content

Commit 0358a93

Browse files
authored
Merge pull request #50 from wp-cli/fix-phpcs-issues
2 parents b4388e4 + 58614a7 commit 0358a93

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

.maintenance/src/GitHub.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -283,14 +283,12 @@ public static function delete_label(
283283
*
284284
* @param string $project
285285
* @param integer $milestone_id
286-
* @param bool $only_merged
287286
*
288287
* @return array
289288
*/
290289
public static function get_project_milestone_pull_requests(
291290
$project,
292-
$milestone_id,
293-
$only_merged = true
291+
$milestone_id
294292
) {
295293
$request_url = sprintf(
296294
self::API_ROOT . 'repos/%s/issues',

.maintenance/src/Milestones_After_Command.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ final class Milestones_After_Command {
1717
*
1818
* @when before_wp_load
1919
*/
20-
public function __invoke( $args, $assoc_args ) {
20+
public function __invoke( $args, $assoc_args ) { // phpcs:ignore Generic.CodeAnalysis.UnusedFunctionParameter.FoundAfterLastUsed
2121

2222
list( $repo, $milestone_name ) = $args;
2323

.maintenance/src/Milestones_Since_Command.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ final class Milestones_Since_Command {
1919
*
2020
* @when before_wp_load
2121
*/
22-
public function __invoke( $args, $assoc_args ) {
22+
public function __invoke( $args, $assoc_args ) { // phpcs:ignore Generic.CodeAnalysis.UnusedFunctionParameter.FoundAfterLastUsed
2323

2424
list( $repo, $date ) = $args;
2525

.maintenance/src/Release_Date_Command.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ final class Release_Date_Command {
1818
*
1919
* @when before_wp_load
2020
*/
21-
public function __invoke( $args, $assoc_args ) {
21+
public function __invoke( $args, $assoc_args ) { // phpcs:ignore Generic.CodeAnalysis.UnusedFunctionParameter.FoundAfterLastUsed
2222

2323
list( $repo, $milestone_name ) = $args;
2424

0 commit comments

Comments
 (0)