[TASK] Clean up PharStreamWrapperInterceptor 81/58781/2
authorOliver Hader <oliver@typo3.org>
Mon, 29 Oct 2018 18:01:22 +0000 (19:01 +0100)
committerOliver Hader <oliver.hader@typo3.org>
Mon, 29 Oct 2018 18:18:30 +0000 (19:18 +0100)
* fix spacing issue
* remove superfluous method

Resolves: #86788
Releases: master
Change-Id: I2825819663ef90cd8ba84578e3153faa62047f54
Reviewed-on: https://review.typo3.org/58781
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
typo3/sysext/core/Classes/IO/PharStreamWrapperInterceptor.php

index ea7e2ba..a477199 100644 (file)
@@ -37,7 +37,7 @@ class PharStreamWrapperInterceptor implements \TYPO3\PharStreamWrapper\Assertabl
             return true;
         }
         throw new Exception(
-            sprintf('Executing  %s is denied', $path),
+            sprintf('Executing %s is denied', $path),
             1530103998
         );
     }
@@ -115,18 +115,4 @@ class PharStreamWrapperInterceptor implements \TYPO3\PharStreamWrapper\Assertabl
 
         return null;
     }
-
-    /**
-     * Determines whether the requested path is the base file.
-     *
-     * @param string $path
-     * @return bool
-     * @deprecated since TYPO3 v9, will be removed in TYPO3 v10.0.
-     */
-    protected function isBaseFile(string $path): bool
-    {
-        $path = $this->normalizePath($path);
-        $baseFile = $this->determineBaseFile($path);
-        return $path === $baseFile;
-    }
 }