Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
},
"require-dev": {
"wp-coding-standards/wpcs": "^2.3",
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.2",
"dealerdirect/phpcodesniffer-composer-installer": "^1.0",
"phpunit/phpunit": "9.*",
"yoast/phpunit-polyfills": "^2.0",
"codeinwp/phpcs-ruleset": "dev-main",
Expand Down
161 changes: 94 additions & 67 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions includes/admin/models/class-rop-scheduler-model.php
Original file line number Diff line number Diff line change
Expand Up @@ -535,8 +535,8 @@ private function get_week_start( $start = 0 ) {
/**
* Update the events timeline.
*
* @param $new_events $new_events New events timeline.
* @param string $account_id account id.
* @param mixed $new_events New events timeline.
* @param string $account_id account id.
*
* @return bool Success or not.
*/
Expand Down
6 changes: 0 additions & 6 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -3078,12 +3078,6 @@ parameters:
count: 1
path: includes/admin/models/class-rop-scheduler-model.php

-
message: '#^Method Rop_Scheduler_Model\:\:update_timeline\(\) has parameter \$new_events with no type specified\.$#'
identifier: missingType.parameter
count: 1
path: includes/admin/models/class-rop-scheduler-model.php

-
message: '#^PHPDoc tag @SuppressWarnings has invalid value \(\(PHPMD\.UnusedLocalVariable\)\)\: Unexpected token "\.UnusedLocalVariable\)", expected ''\)'' at offset 89 on line 4$#'
identifier: phpDoc.parseError
Expand Down
Loading