Skip to content

Commit

Permalink
phpcbf
Browse files Browse the repository at this point in the history
  • Loading branch information
remcotolsma committed Aug 31, 2023
1 parent c012ee9 commit eccb6a8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pronamic-pay-rcp.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

add_filter(
'pronamic_pay_plugin_integrations',
function( $integrations ) {
function ( $integrations ) {
$integrations[] = new \Pronamic\WordPress\Pay\Extensions\RestrictContentPro\Extension();

return $integrations;
Expand Down
8 changes: 4 additions & 4 deletions src/Upgrade216.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public function upgrade() {
public function cli_init() {
\WP_CLI::add_command(
'pronamic-pay restrict-content-pro upgrade-216 execute',
function( $args, $assoc_args ) {
function ( $args, $assoc_args ) {
\WP_CLI::log( 'Upgrade 2.1.6' );

$this->upgrade();
Expand All @@ -74,7 +74,7 @@ function( $args, $assoc_args ) {

\WP_CLI::add_command(
'pronamic-pay restrict-content-pro upgrade-216 list-subscriptions',
function( $args, $assoc_args ) {
function ( $args, $assoc_args ) {
\WP_CLI::log( 'Upgrade 2.1.6 - Subscriptions List' );

$posts = $this->get_subscription_posts();
Expand All @@ -88,7 +88,7 @@ function( $args, $assoc_args ) {

\WP_CLI::add_command(
'pronamic-pay restrict-content-pro upgrade-216 upgrade-subscriptions',
function( $args, $assoc_args ) {
function ( $args, $assoc_args ) {
\WP_CLI::log( 'Upgrade 2.1.6 - Subscriptions' );

$this->upgrade_subscriptions(
Expand All @@ -107,7 +107,7 @@ function( $args, $assoc_args ) {

\WP_CLI::add_command(
'pronamic-pay restrict-content-pro upgrade-216 list-payments',
function( $args, $assoc_args ) {
function ( $args, $assoc_args ) {
\WP_CLI::log( 'Upgrade 2.1.6 - Payments List' );

$posts = $this->get_payment_posts();
Expand Down
2 changes: 1 addition & 1 deletion tests/wp-config.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/* Path to the WordPress codebase you'd like to test. Add a forward slash in the end. */
define( 'ABSPATH', dirname( dirname( __FILE__ ) ) . '/wordpress/' );
define( 'ABSPATH', dirname( __DIR__ ) . '/wordpress/' );

/*
* Path to the theme to test with.
Expand Down

0 comments on commit eccb6a8

Please sign in to comment.