From 8943a18c7e09cfbd09edbfd6e0555c0b6f95ef0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ph=C3=A9na=20Proxima?= <adam@phenaproxima.net> Date: Sun, 4 Jun 2023 15:51:55 -0400 Subject: [PATCH] typos --- .../src/PathExcluder/SiteConfigurationExcluder.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package_manager/src/PathExcluder/SiteConfigurationExcluder.php b/package_manager/src/PathExcluder/SiteConfigurationExcluder.php index aff1369e99..6689a03f98 100644 --- a/package_manager/src/PathExcluder/SiteConfigurationExcluder.php +++ b/package_manager/src/PathExcluder/SiteConfigurationExcluder.php @@ -90,8 +90,8 @@ class SiteConfigurationExcluder implements EventSubscriberInterface { * The event being handled. * * @throws \Drupal\Core\File\Exception\FileException - * If the permissions of the either the live or staged `sites/default` - * cannot be determined, or cannot be changed on the staged `sites/default`. + * If the permissions of either the live or staged `sites/default` cannot + * be determined, or cannot be changed on the staged `sites/default`. */ public function syncDefaultSiteDirectoryPermissions(PreApplyEvent $event): void { $staged_dir = $this->getDefaultSiteDirectoryPath($event->stage->getStageDirectory()); @@ -104,7 +104,7 @@ class SiteConfigurationExcluder implements EventSubscriberInterface { // This is borrowed from \Symfony\Component\Filesystem\Filesystem::copy(), // to ensure the correct permissions are preserved (chmod() requires // permissions to be sent as an octal number, but fileperms() returns a - // decimal number, because PHP is just great. + // decimal number, because PHP is just great). $permissions = $this->getPermissions($staged_dir) | ($this->getPermissions($live_dir) & 0111); if (!$this->fileSystem->chmod($staged_dir, $permissions)) { -- GitLab