Skip to content
Snippets Groups Projects
Commit 78052119 authored by Ted Bowman's avatar Ted Bowman
Browse files

Issue #3432489: Warn users that PHP file syncer will be removed in 3.1.0

parent abc3835b
No related branches found
No related tags found
1 merge request!1039Issue #3432489 add text about php file syncer being removed in 3.1.0
Pipeline #130261 passed with warnings
......@@ -72,7 +72,7 @@ final class RsyncValidator implements EventSubscriberInterface {
if ($configured_syncer === 'php') {
// Only status checks support warnings.
if ($event instanceof StatusCheckEvent) {
$message = $this->t('You are currently using the PHP file syncer, which has known problems and is not stable. It is strongly recommended to switch back to the default <em>rsync</em> file syncer instead.');
$message = $this->t('You are currently using the PHP file syncer, which has known problems and is not stable. <strong>The PHP file syncer will be removed in Package Manager 3.1.0.</strong> Switch back to the default <em>rsync</em> file syncer to continue using Package Manager.');
if (!$rsync_found) {
$message = $this->t('@message <code>rsync</code> was not found on your system.', ['@message' => $message]);
......
......@@ -65,7 +65,7 @@ class RsyncValidatorTest extends PackageManagerKernelTestBase {
'php',
[
ValidationResult::createWarning([
t('You are currently using the PHP file syncer, which has known problems and is not stable. It is strongly recommended to switch back to the default <em>rsync</em> file syncer instead.'),
t('You are currently using the PHP file syncer, which has known problems and is not stable. <strong>The PHP file syncer will be removed in Package Manager 3.1.0.</strong> Switch back to the default <em>rsync</em> file syncer to continue using Package Manager.'),
]),
],
[],
......@@ -74,7 +74,7 @@ class RsyncValidatorTest extends PackageManagerKernelTestBase {
'php',
[
ValidationResult::createWarning([
t('You are currently using the PHP file syncer, which has known problems and is not stable. It is strongly recommended to switch back to the default <em>rsync</em> file syncer instead. See the <a href="/admin/help/package_manager#package-manager-faq-rsync">Package Manager help</a> for more information on how to resolve this.'),
t('You are currently using the PHP file syncer, which has known problems and is not stable. <strong>The PHP file syncer will be removed in Package Manager 3.1.0.</strong> Switch back to the default <em>rsync</em> file syncer to continue using Package Manager. See the <a href="/admin/help/package_manager#package-manager-faq-rsync">Package Manager help</a> for more information on how to resolve this.'),
]),
],
['help'],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment