PluginProbe
WindPress – Tailwind CSS integration for WordPress / 3.2.90
WindPress – Tailwind CSS integration for WordPress v3.2.90
3.2.90 3.2.89 3.2.88 3.2.87 3.2.86 3.2.85 3.2.84 3.2.83 3.2.82 3.2.81 trunk 3.0.0 3.0.1 3.0.10 3.0.11 3.0.12 3.0.13 3.0.14 3.0.15 3.0.16 3.0.17 3.0.2 3.0.3 3.0.4 3.0.5 All 144 releases
← All changes | vendor/symfony/finder/SplFileInfo.php +6 -6 3.0.43.2.90 View file →
@@ -7,9 +7,9 @@
7 7 *
8 8 * For the full copyright and license information, please view the LICENSE
9 9 * file that was distributed with this source code.
10 10 */
11 -namespace WindPressPackages\Symfony\Component\Finder;
11 +namespace WindPressDeps\Symfony\Component\Finder;
12 12
13 13 /**
14 14 * Extends \SplFileInfo to support relative paths.
15 15 *
@@ -51,12 +51,12 @@
51 51 public function getRelativePathname()
52 52 {
53 53 return $this->relativePathname;
54 54 }
55 - public function getFilenameWithoutExtension() : string
55 + public function getFilenameWithoutExtension(): string
56 56 {
57 57 $filename = $this->getFilename();
58 - return \pathinfo($filename, \PATHINFO_FILENAME);
58 + return pathinfo($filename, \PATHINFO_FILENAME);
59 59 }
60 60 /**
61 61 * Returns the contents of the file.
62 62 *
@@ -65,15 +65,15 @@
65 65 * @throws \RuntimeException
66 66 */
67 67 public function getContents()
68 68 {
69 - \set_error_handler(function ($type, $msg) use(&$error) {
69 + set_error_handler(function ($type, $msg) use (&$error) {
70 70 $error = $msg;
71 71 });
72 72 try {
73 - $content = \file_get_contents($this->getPathname());
73 + $content = file_get_contents($this->getPathname());
74 74 } finally {
75 - \restore_error_handler();
75 + restore_error_handler();
76 76 }
77 77 if (\false === $content) {
78 78 throw new \RuntimeException($error);
79 79 }