Loading core/lib/Drupal/Core/Updater/Updater.php +9 −1 Original line number Diff line number Diff line Loading @@ -8,7 +8,7 @@ /** * Defines the base class for Updaters used in Drupal. */ class Updater { abstract class Updater { /** * Directory to install from. Loading Loading @@ -194,6 +194,14 @@ public static function getProjectTitle($directory) { return $info['name']; } /** * Returns the path to the default install location for the current project. * * @return string * The absolute path of the directory. */ abstract public function getInstallDirectory(); /** * Stores the default parameters for the Updater. * Loading core/phpstan-baseline.neon +0 −5 Original line number Diff line number Diff line Loading @@ -395,11 +395,6 @@ parameters: count: 1 path: lib/Drupal/Core/Updater/Module.php - message: "#^Call to an undefined method Drupal\\\\Core\\\\Updater\\\\Updater\\:\\:getInstallDirectory\\(\\)\\.$#" count: 1 path: lib/Drupal/Core/Updater/Updater.php - message: "#^Method Drupal\\\\action\\\\Form\\\\ActionFormBase\\:\\:save\\(\\) should return int but return statement is missing\\.$#" count: 1 Loading Loading
core/lib/Drupal/Core/Updater/Updater.php +9 −1 Original line number Diff line number Diff line Loading @@ -8,7 +8,7 @@ /** * Defines the base class for Updaters used in Drupal. */ class Updater { abstract class Updater { /** * Directory to install from. Loading Loading @@ -194,6 +194,14 @@ public static function getProjectTitle($directory) { return $info['name']; } /** * Returns the path to the default install location for the current project. * * @return string * The absolute path of the directory. */ abstract public function getInstallDirectory(); /** * Stores the default parameters for the Updater. * Loading
core/phpstan-baseline.neon +0 −5 Original line number Diff line number Diff line Loading @@ -395,11 +395,6 @@ parameters: count: 1 path: lib/Drupal/Core/Updater/Module.php - message: "#^Call to an undefined method Drupal\\\\Core\\\\Updater\\\\Updater\\:\\:getInstallDirectory\\(\\)\\.$#" count: 1 path: lib/Drupal/Core/Updater/Updater.php - message: "#^Method Drupal\\\\action\\\\Form\\\\ActionFormBase\\:\\:save\\(\\) should return int but return statement is missing\\.$#" count: 1 Loading