Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Aayush Kadam committed Dec 11, 2024
1 parent 4b958a0 commit c41f771
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion spanner/src/create_backup_schedule.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,4 @@ function create_backup_schedule(

// The following 2 lines are only needed to run the samples
require_once __DIR__ . '/../../testing/sample_helpers.php';
\Google\Cloud\Samples\execute_sample(__FILE__, __NAMESPACE__, $argv);
\Google\Cloud\Samples\execute_sample(__FILE__, __NAMESPACE__, $argv);
2 changes: 1 addition & 1 deletion spanner/src/delete_backup_schedule.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,4 @@ function delete_backup_schedule(

// The following 2 lines are only needed to run the samples
require_once __DIR__ . '/../../testing/sample_helpers.php';
\Google\Cloud\Samples\execute_sample(__FILE__, __NAMESPACE__, $argv);
\Google\Cloud\Samples\execute_sample(__FILE__, __NAMESPACE__, $argv);
2 changes: 1 addition & 1 deletion spanner/src/get_backup_schedule.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,4 @@ function get_backup_schedule(

// The following 2 lines are only needed to run the samples
require_once __DIR__ . '/../../testing/sample_helpers.php';
\Google\Cloud\Samples\execute_sample(__FILE__, __NAMESPACE__, $argv);
\Google\Cloud\Samples\execute_sample(__FILE__, __NAMESPACE__, $argv);
6 changes: 3 additions & 3 deletions spanner/src/list_backup_schedules.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,13 @@ function list_backup_schedules(
]);
$operation = $databaseAdminClient->listBackupSchedules($request);

printf("Backup schedules for database %s" . PHP_EOL, $databaseFullName);
printf('Backup schedules for database %s' . PHP_EOL, $databaseFullName);
foreach ($operation as $schedule) {
printf("Backup schedule: %s" . PHP_EOL, $schedule->getName());
printf('Backup schedule: %s' . PHP_EOL, $schedule->getName());
}
}
// [END spanner_list_backup_schedules]

// The following 2 lines are only needed to run the samples
require_once __DIR__ . '/../../testing/sample_helpers.php';
\Google\Cloud\Samples\execute_sample(__FILE__, __NAMESPACE__, $argv);
\Google\Cloud\Samples\execute_sample(__FILE__, __NAMESPACE__, $argv);
2 changes: 1 addition & 1 deletion spanner/src/update_backup_schedule.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,4 +98,4 @@ function update_backup_schedule(

// The following 2 lines are only needed to run the samples
require_once __DIR__ . '/../../testing/sample_helpers.php';
\Google\Cloud\Samples\execute_sample(__FILE__, __NAMESPACE__, $argv);
\Google\Cloud\Samples\execute_sample(__FILE__, __NAMESPACE__, $argv);
2 changes: 1 addition & 1 deletion spanner/test/spannerBackupScheduleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -168,4 +168,4 @@ public static function tearDownAfterClass(): void
}
}
}
}
}

0 comments on commit c41f771

Please sign in to comment.