Skip to content

Commit

Permalink
Merge branch '5' into 6
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Sep 21, 2024
2 parents b8cdc43 + 58da5ee commit dc27c24
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/Task/RealMeSetupTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public function run($request)

$this->outputMetadataXmlContent($forEnv);

Deprecation::withNoReplacement(function () use ($forEnv) {
Deprecation::withSuppressedNotice(function () use ($forEnv) {
$this->message(PHP_EOL . _t(
RealMeSetupTask::class . '.BUILD_FINISH',
'RealMe setup complete. Please copy the XML into a file for upload to the {env} environment or ' .
Expand All @@ -81,7 +81,7 @@ public function run($request)
));
});
} catch (Exception $e) {
Deprecation::withNoReplacement(fn() => $this->message($e->getMessage() . PHP_EOL));
Deprecation::withSuppressedNotice(fn() => $this->message($e->getMessage() . PHP_EOL));
}
}

Expand Down Expand Up @@ -139,7 +139,7 @@ private function validateInputs($forEnv)
}


Deprecation::withNoReplacement(function () {
Deprecation::withSuppressedNotice(function () {
$this->message(_t(
RealMeSetupTask::class . '.VALIDATION_SUCCESS',
'Validation succeeded, continuing with setup...'
Expand All @@ -155,7 +155,7 @@ private function validateInputs($forEnv)
private function outputMetadataXmlContent($forEnv)
{
// Output metadata XML so that it can be sent to RealMe via the agency
Deprecation::withNoReplacement(function () use ($forEnv) {
Deprecation::withSuppressedNotice(function () use ($forEnv) {
$this->message(_t(
RealMeSetupTask::class . '.OUPUT_PREFIX',
'Metadata XML is listed below for the \'{env}\' RealMe environment, this should be sent to the ' .
Expand Down Expand Up @@ -189,7 +189,7 @@ private function outputMetadataXmlContent($forEnv)
)
);

Deprecation::withNoReplacement(fn() => $this->message($message));
Deprecation::withSuppressedNotice(fn() => $this->message($message));
}

/**
Expand Down

0 comments on commit dc27c24

Please sign in to comment.