X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Flib%2FDrupal%2FCore%2FInstaller%2FException%2FInstallProfileMismatchException.php;fp=web%2Fcore%2Flib%2FDrupal%2FCore%2FInstaller%2FException%2FInstallProfileMismatchException.php;h=bca7cca562163c0e18c5c154b2c3bb2fcfad5a33;hp=d67978986abbaf552e8effe3aeafaf8561ccb27e;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hpb=74df008bdbb3a11eeea356744f39b802369bda3c diff --git a/web/core/lib/Drupal/Core/Installer/Exception/InstallProfileMismatchException.php b/web/core/lib/Drupal/Core/Installer/Exception/InstallProfileMismatchException.php index d67978986..bca7cca56 100644 --- a/web/core/lib/Drupal/Core/Installer/Exception/InstallProfileMismatchException.php +++ b/web/core/lib/Drupal/Core/Installer/Exception/InstallProfileMismatchException.php @@ -4,6 +4,8 @@ namespace Drupal\Core\Installer\Exception; use Drupal\Core\StringTranslation\TranslationInterface; +@trigger_error(__NAMESPACE__ . '/InstallProfileMismatchException is deprecated in Drupal 8.6.0 and will be removed before Drupal 9. See https://www.drupal.org/node/2538996', E_USER_DEPRECATED); + /** * Exception thrown if settings.php cannot be written and the chosen profile does not match. */ @@ -17,7 +19,7 @@ class InstallProfileMismatchException extends InstallerException { * @param string $settings_profile * The profile in settings.php. * @param string $settings_file - * The path to settigns.php. + * The path to settings.php. * @param \Drupal\Core\StringTranslation\TranslationInterface $string_translation * The string translation manager. *