Skip to content

Commit

Permalink
Update coding standards.
Browse files Browse the repository at this point in the history
  • Loading branch information
rvdsteege committed Mar 14, 2024
1 parent 8ff7161 commit 91e9235
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
"php-coveralls/php-coveralls": "^2.5",
"phpmd/phpmd": "^2.7",
"pronamic/pronamic-cli": "^1.0",
"pronamic/wp-coding-standards": "^1.3",
"pronamic/wp-coding-standards": "^2.1",
"restrictcontentpro/restrict-content": "2.2.3",
"roots/wordpress": "^6.0",
"wp-phpunit/wp-phpunit": "^6.1",
Expand Down
4 changes: 4 additions & 0 deletions src/Upgrade216.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ public function upgrade() {
public function cli_init() {
\WP_CLI::add_command(
'pronamic-pay restrict-content-pro upgrade-216 execute',
// phpcs:ignore Generic.CodeAnalysis.UnusedFunctionParameter.FoundAfterLastUsed
function ( $args, $assoc_args ) {
\WP_CLI::log( 'Upgrade 2.1.6' );

Expand All @@ -74,6 +75,7 @@ function ( $args, $assoc_args ) {

\WP_CLI::add_command(
'pronamic-pay restrict-content-pro upgrade-216 list-subscriptions',
// phpcs:ignore Generic.CodeAnalysis.UnusedFunctionParameter.FoundAfterLastUsed
function ( $args, $assoc_args ) {
\WP_CLI::log( 'Upgrade 2.1.6 - Subscriptions List' );

Expand All @@ -88,6 +90,7 @@ function ( $args, $assoc_args ) {

\WP_CLI::add_command(
'pronamic-pay restrict-content-pro upgrade-216 upgrade-subscriptions',
// phpcs:ignore Generic.CodeAnalysis.UnusedFunctionParameter.FoundAfterLastUsed
function ( $args, $assoc_args ) {
\WP_CLI::log( 'Upgrade 2.1.6 - Subscriptions' );

Expand All @@ -107,6 +110,7 @@ function ( $args, $assoc_args ) {

\WP_CLI::add_command(
'pronamic-pay restrict-content-pro upgrade-216 list-payments',
// phpcs:ignore Generic.CodeAnalysis.UnusedFunctionParameter.FoundAfterLastUsed
function ( $args, $assoc_args ) {
\WP_CLI::log( 'Upgrade 2.1.6 - Payments List' );

Expand Down

0 comments on commit 91e9235

Please sign in to comment.