From fe1b575e5cbd3b213dd89d3d0d7f50a869b60d23 Mon Sep 17 00:00:00 2001 From: github-actions Date: Mon, 8 Jul 2024 19:12:06 +0000 Subject: [PATCH] Merge pull request #1811 from hydephp/update-phpstorm-configuration Internal: Update PhpStorm configuration https://github.com/hydephp/develop/commit/debb8142597bad62a40c47db6772e75fbdb5b1b2 --- src/Foundation/HydeKernel.php | 1 + tests/Feature/HydeKernelTest.php | 1 + 2 files changed, 2 insertions(+) diff --git a/src/Foundation/HydeKernel.php b/src/Foundation/HydeKernel.php index 9f417bf1..acb3719b 100644 --- a/src/Foundation/HydeKernel.php +++ b/src/Foundation/HydeKernel.php @@ -136,6 +136,7 @@ public function hasFeature(Feature|string $feature): bool public function toArray(): array { return [ + 'version' => self::VERSION, 'basePath' => $this->basePath, 'sourceRoot' => $this->sourceRoot, 'outputDirectory' => $this->outputDirectory, diff --git a/tests/Feature/HydeKernelTest.php b/tests/Feature/HydeKernelTest.php index 117d455f..1d3bcfb5 100644 --- a/tests/Feature/HydeKernelTest.php +++ b/tests/Feature/HydeKernelTest.php @@ -273,6 +273,7 @@ public function testToArrayMethod() { // AssertSame cannot be used as features is reinstantiated on each call $this->assertEquals([ + 'version' => Hyde::version(), 'basePath' => Hyde::getBasePath(), 'sourceRoot' => Hyde::getSourceRoot(), 'outputDirectory' => Hyde::getOutputDirectory(),