diff --git a/index.html b/index.html index baae0f7a2a2..c78015b6e4c 100644 --- a/index.html +++ b/index.html @@ -7,11 +7,11 @@

Index of hydephp/develop [ICO]NameLast modifiedSizeDescription
[PARENTDIR]Parent Directory  -   - [TXT]README.md237 B  - [TXT]index.html4.47 kB  - [DIR]master/ -   + [TXT]README.md237 B  + [TXT]index.html4.47 kB  + [DIR]master/ -  
-
directory-listing.php/v1.0.0-rc.4 (Linux) PHP/8.1.2-1ubuntu2.14 compiled at in 35.35ms
+
directory-listing.php/v1.0.0-rc.4 (Linux) PHP/8.1.2-1ubuntu2.14 compiled at in 7.61ms
diff --git a/master/README.md b/master/README.md index d9edbc2968b..f36afa32823 100644 --- a/master/README.md +++ b/master/README.md @@ -1 +1 @@ -# CI/CD generated reports for [ca0bdfaa380a5c8cc8959c5b1702565b8c2855af](https://github.com/hydephp/develop/commit/ca0bdfaa380a5c8cc8959c5b1702565b8c2855af) +# CI/CD generated reports for [53cc22271ec3b589118e41eaa72043acfbaa51bb](https://github.com/hydephp/develop/commit/53cc22271ec3b589118e41eaa72043acfbaa51bb) diff --git a/master/coverage/dashboard.html b/master/coverage/dashboard.html index b127c3d49db..5f8c14839ab 100644 --- a/master/coverage/dashboard.html +++ b/master/coverage/dashboard.html @@ -135,7 +135,7 @@

Project Risks

diff --git a/master/coverage/framework/dashboard.html b/master/coverage/framework/dashboard.html index 39b0bb2e116..d644a390549 100644 --- a/master/coverage/framework/dashboard.html +++ b/master/coverage/framework/dashboard.html @@ -136,7 +136,7 @@

Project Risks

diff --git a/master/coverage/framework/index.html b/master/coverage/framework/index.html index b3585a55f4d..56573f35c66 100644 --- a/master/coverage/framework/index.html +++ b/master/coverage/framework/index.html @@ -111,7 +111,7 @@

Legend

High: 90% to 100%

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Console/Commands/BuildRssFeedCommand.php.html b/master/coverage/framework/src/Console/Commands/BuildRssFeedCommand.php.html index 718270b3a82..afd46343200 100644 --- a/master/coverage/framework/src/Console/Commands/BuildRssFeedCommand.php.html +++ b/master/coverage/framework/src/Console/Commands/BuildRssFeedCommand.php.html @@ -166,7 +166,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Console/Commands/BuildSearchCommand.php.html b/master/coverage/framework/src/Console/Commands/BuildSearchCommand.php.html index 72911c07819..5e71ece679a 100644 --- a/master/coverage/framework/src/Console/Commands/BuildSearchCommand.php.html +++ b/master/coverage/framework/src/Console/Commands/BuildSearchCommand.php.html @@ -166,7 +166,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Console/Commands/BuildSiteCommand.php.html b/master/coverage/framework/src/Console/Commands/BuildSiteCommand.php.html index 65be057ae9e..782f15ca92d 100644 --- a/master/coverage/framework/src/Console/Commands/BuildSiteCommand.php.html +++ b/master/coverage/framework/src/Console/Commands/BuildSiteCommand.php.html @@ -462,7 +462,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Console/Commands/BuildSitemapCommand.php.html b/master/coverage/framework/src/Console/Commands/BuildSitemapCommand.php.html index f1fad5eb03e..309e7bed9dc 100644 --- a/master/coverage/framework/src/Console/Commands/BuildSitemapCommand.php.html +++ b/master/coverage/framework/src/Console/Commands/BuildSitemapCommand.php.html @@ -166,7 +166,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Console/Commands/ChangeSourceDirectoryCommand.php.html b/master/coverage/framework/src/Console/Commands/ChangeSourceDirectoryCommand.php.html index 8a80f7c5f89..cee1b5303f8 100644 --- a/master/coverage/framework/src/Console/Commands/ChangeSourceDirectoryCommand.php.html +++ b/master/coverage/framework/src/Console/Commands/ChangeSourceDirectoryCommand.php.html @@ -454,7 +454,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Console/Commands/DebugCommand.php.html b/master/coverage/framework/src/Console/Commands/DebugCommand.php.html index 950b6ed2498..56975eb9765 100644 --- a/master/coverage/framework/src/Console/Commands/DebugCommand.php.html +++ b/master/coverage/framework/src/Console/Commands/DebugCommand.php.html @@ -225,10 +225,10 @@ 26 27    public function __construct() 28    { - 29        parent::__construct(); + 29        parent::__construct(); 30 - 31        if (Config::getString('app.env', 'production') !== 'development') { - 32            $this->setHidden(); + 31        if (Config::getString('app.env', 'production') !== 'development') { + 32            $this->setHidden(); 33        } 34    } 35 @@ -287,7 +287,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Console/Commands/MakePageCommand.php.html b/master/coverage/framework/src/Console/Commands/MakePageCommand.php.html index 925eb76ba9d..0a5081701e1 100644 --- a/master/coverage/framework/src/Console/Commands/MakePageCommand.php.html +++ b/master/coverage/framework/src/Console/Commands/MakePageCommand.php.html @@ -392,7 +392,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Console/Commands/MakePostCommand.php.html b/master/coverage/framework/src/Console/Commands/MakePostCommand.php.html index 57897a0c64b..f518dc4c274 100644 --- a/master/coverage/framework/src/Console/Commands/MakePostCommand.php.html +++ b/master/coverage/framework/src/Console/Commands/MakePostCommand.php.html @@ -330,7 +330,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Console/Commands/PackageDiscoverCommand.php.html b/master/coverage/framework/src/Console/Commands/PackageDiscoverCommand.php.html index 3761041e234..82adeb5d8a4 100644 --- a/master/coverage/framework/src/Console/Commands/PackageDiscoverCommand.php.html +++ b/master/coverage/framework/src/Console/Commands/PackageDiscoverCommand.php.html @@ -165,7 +165,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Console/Commands/PublishConfigsCommand.php.html b/master/coverage/framework/src/Console/Commands/PublishConfigsCommand.php.html index 8758882e31a..66cb3a3bf98 100644 --- a/master/coverage/framework/src/Console/Commands/PublishConfigsCommand.php.html +++ b/master/coverage/framework/src/Console/Commands/PublishConfigsCommand.php.html @@ -215,7 +215,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Console/Commands/PublishHomepageCommand.php.html b/master/coverage/framework/src/Console/Commands/PublishHomepageCommand.php.html index 2c7885c88f0..b6bf85586fd 100644 --- a/master/coverage/framework/src/Console/Commands/PublishHomepageCommand.php.html +++ b/master/coverage/framework/src/Console/Commands/PublishHomepageCommand.php.html @@ -423,7 +423,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Console/Commands/PublishViewsCommand.php.html b/master/coverage/framework/src/Console/Commands/PublishViewsCommand.php.html index a73d587e341..1860d7a4f06 100644 --- a/master/coverage/framework/src/Console/Commands/PublishViewsCommand.php.html +++ b/master/coverage/framework/src/Console/Commands/PublishViewsCommand.php.html @@ -326,7 +326,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Console/Commands/RebuildPageCommand.php.html b/master/coverage/framework/src/Console/Commands/RebuildPageCommand.php.html index 517d4dc5aa4..85e22eadf2e 100644 --- a/master/coverage/framework/src/Console/Commands/RebuildPageCommand.php.html +++ b/master/coverage/framework/src/Console/Commands/RebuildPageCommand.php.html @@ -290,7 +290,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Console/Commands/RouteListCommand.php.html b/master/coverage/framework/src/Console/Commands/RouteListCommand.php.html index 355ab065dea..e4c216cf051 100644 --- a/master/coverage/framework/src/Console/Commands/RouteListCommand.php.html +++ b/master/coverage/framework/src/Console/Commands/RouteListCommand.php.html @@ -243,7 +243,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Console/Commands/ServeCommand.php.html b/master/coverage/framework/src/Console/Commands/ServeCommand.php.html index d7b05665623..b0ec1287173 100644 --- a/master/coverage/framework/src/Console/Commands/ServeCommand.php.html +++ b/master/coverage/framework/src/Console/Commands/ServeCommand.php.html @@ -568,7 +568,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Console/Commands/ValidateCommand.php.html b/master/coverage/framework/src/Console/Commands/ValidateCommand.php.html index c21441d323b..0a66ffe1c83 100644 --- a/master/coverage/framework/src/Console/Commands/ValidateCommand.php.html +++ b/master/coverage/framework/src/Console/Commands/ValidateCommand.php.html @@ -254,9 +254,9 @@ 33 34    public function __construct() 35    { - 36        parent::__construct(); + 36        parent::__construct(); 37 - 38        $this->service = new ValidationService(); + 38        $this->service = new ValidationService(); 39    } 40 41    public function handle(): int @@ -308,7 +308,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Console/Commands/VendorPublishCommand.php.html b/master/coverage/framework/src/Console/Commands/VendorPublishCommand.php.html index 21526b75e0a..f1d5bb021d4 100644 --- a/master/coverage/framework/src/Console/Commands/VendorPublishCommand.php.html +++ b/master/coverage/framework/src/Console/Commands/VendorPublishCommand.php.html @@ -292,7 +292,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Console/Commands/dashboard.html b/master/coverage/framework/src/Console/Commands/dashboard.html index a14b1748ca0..1a2ce1f975a 100644 --- a/master/coverage/framework/src/Console/Commands/dashboard.html +++ b/master/coverage/framework/src/Console/Commands/dashboard.html @@ -139,7 +139,7 @@

Project Risks

diff --git a/master/coverage/framework/src/Console/Commands/index.html b/master/coverage/framework/src/Console/Commands/index.html index a1b2f307630..847166739cd 100644 --- a/master/coverage/framework/src/Console/Commands/index.html +++ b/master/coverage/framework/src/Console/Commands/index.html @@ -562,7 +562,7 @@

Legend

High: 90% to 100%

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Console/Concerns/AsksToRebuildSite.php.html b/master/coverage/framework/src/Console/Concerns/AsksToRebuildSite.php.html index a51653f2688..f2025f47d0b 100644 --- a/master/coverage/framework/src/Console/Concerns/AsksToRebuildSite.php.html +++ b/master/coverage/framework/src/Console/Concerns/AsksToRebuildSite.php.html @@ -166,7 +166,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Console/Concerns/Command.php.html b/master/coverage/framework/src/Console/Concerns/Command.php.html index 2d89991c4af..a1bbe83c10d 100644 --- a/master/coverage/framework/src/Console/Concerns/Command.php.html +++ b/master/coverage/framework/src/Console/Concerns/Command.php.html @@ -479,7 +479,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Console/Concerns/dashboard.html b/master/coverage/framework/src/Console/Concerns/dashboard.html index b951344bc45..d45c74dcf3e 100644 --- a/master/coverage/framework/src/Console/Concerns/dashboard.html +++ b/master/coverage/framework/src/Console/Concerns/dashboard.html @@ -139,7 +139,7 @@

Project Risks

diff --git a/master/coverage/framework/src/Console/Concerns/index.html b/master/coverage/framework/src/Console/Concerns/index.html index c8731b77c7a..135a4502163 100644 --- a/master/coverage/framework/src/Console/Concerns/index.html +++ b/master/coverage/framework/src/Console/Concerns/index.html @@ -142,7 +142,7 @@

Legend

High: 90% to 100%

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Console/ConsoleServiceProvider.php.html b/master/coverage/framework/src/Console/ConsoleServiceProvider.php.html index a4eb0908900..00d1cff8b9d 100644 --- a/master/coverage/framework/src/Console/ConsoleServiceProvider.php.html +++ b/master/coverage/framework/src/Console/ConsoleServiceProvider.php.html @@ -192,39 +192,39 @@ 16{ 17    public function register(): void 18    { - 19        $this->commands([ - 20            Commands\BuildRssFeedCommand::class, - 21            Commands\BuildSearchCommand::class, - 22            Commands\BuildSiteCommand::class, - 23            Commands\BuildSitemapCommand::class, - 24            Commands\RebuildPageCommand::class, + 19        $this->commands([ + 20            Commands\BuildRssFeedCommand::class, + 21            Commands\BuildSearchCommand::class, + 22            Commands\BuildSiteCommand::class, + 23            Commands\BuildSitemapCommand::class, + 24            Commands\RebuildPageCommand::class, 25 - 26            Commands\MakePageCommand::class, - 27            Commands\MakePostCommand::class, + 26            Commands\MakePageCommand::class, + 27            Commands\MakePostCommand::class, 28 - 29            Commands\VendorPublishCommand::class, - 30            Commands\PublishConfigsCommand::class, - 31            Commands\PublishHomepageCommand::class, - 32            Commands\PublishViewsCommand::class, - 33            Commands\PackageDiscoverCommand::class, + 29            Commands\VendorPublishCommand::class, + 30            Commands\PublishConfigsCommand::class, + 31            Commands\PublishHomepageCommand::class, + 32            Commands\PublishViewsCommand::class, + 33            Commands\PackageDiscoverCommand::class, 34 - 35            Commands\RouteListCommand::class, - 36            Commands\ValidateCommand::class, - 37            Commands\ServeCommand::class, - 38            Commands\DebugCommand::class, + 35            Commands\RouteListCommand::class, + 36            Commands\ValidateCommand::class, + 37            Commands\ServeCommand::class, + 38            Commands\DebugCommand::class, 39 - 40            Commands\ChangeSourceDirectoryCommand::class, - 41        ]); + 40            Commands\ChangeSourceDirectoryCommand::class, + 41        ]); 42 - 43        Artisan::starting(function (Artisan $artisan): void { - 44            $artisan->setName(self::logo()); - 45        }); + 43        Artisan::starting(function (Artisan $artisan): void { + 44            $artisan->setName(self::logo()); + 45        }); 46    } 47 48    protected static function logo(): string 49    { 50        // Check if no-ansi flag is set - 51        if (isset($_SERVER['argv']) && in_array('--no-ansi', $_SERVER['argv'], true)) { + 51        if (isset($_SERVER['argv']) && in_array('--no-ansi', $_SERVER['argv'], true)) { 52            return 'HydePHP'; 53        } 54 @@ -243,7 +243,7 @@ 67    public function boot(): void 68    { 69        // - 70    } + 70    } 71} @@ -255,7 +255,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Console/dashboard.html b/master/coverage/framework/src/Console/dashboard.html index 7f4766eb517..4ff686dea0d 100644 --- a/master/coverage/framework/src/Console/dashboard.html +++ b/master/coverage/framework/src/Console/dashboard.html @@ -138,7 +138,7 @@

Project Risks

diff --git a/master/coverage/framework/src/Console/index.html b/master/coverage/framework/src/Console/index.html index 898d60e321d..cb5b465c1fa 100644 --- a/master/coverage/framework/src/Console/index.html +++ b/master/coverage/framework/src/Console/index.html @@ -169,7 +169,7 @@

Legend

High: 90% to 100%

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Facades/Asset.php.html b/master/coverage/framework/src/Facades/Asset.php.html index ad02f900a3f..0fd23646008 100644 --- a/master/coverage/framework/src/Facades/Asset.php.html +++ b/master/coverage/framework/src/Facades/Asset.php.html @@ -155,7 +155,7 @@ 23    /** @psalm-return AssetService::class */ 24    protected static function getFacadeAccessor(): string 25    { - 26        return AssetService::class; + 26        return AssetService::class; 27    } 28} @@ -168,7 +168,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Facades/Author.php.html b/master/coverage/framework/src/Facades/Author.php.html index 6b50c3676ea..1c261bd6884 100644 --- a/master/coverage/framework/src/Facades/Author.php.html +++ b/master/coverage/framework/src/Facades/Author.php.html @@ -202,7 +202,7 @@ 26     */ 27    public static function create(string $username, ?string $name = null, ?string $website = null): PostAuthor 28    { - 29        return new PostAuthor($username, $name, $website); + 29        return new PostAuthor($username, $name, $website); 30    } 31 32    /** @@ -234,7 +234,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Facades/Config.php.html b/master/coverage/framework/src/Facades/Config.php.html index e306edf2f4c..9ac879e08f1 100644 --- a/master/coverage/framework/src/Facades/Config.php.html +++ b/master/coverage/framework/src/Facades/Config.php.html @@ -285,12 +285,12 @@ 21{ 22    public static function getArray(string $key, array $default = null): array 23    { - 24        return (array) self::validated(static::get($key, $default), 'array', $key); + 24        return (array) self::validated(static::get($key, $default), 'array', $key); 25    } 26 27    public static function getString(string $key, string $default = null): string 28    { - 29        return (string) self::validated(static::get($key, $default), 'string', $key); + 29        return (string) self::validated(static::get($key, $default), 'string', $key); 30    } 31 32    public static function getInt(string $key, int $default = null): int @@ -300,7 +300,7 @@ 36 37    public static function getBool(string $key, bool $default = null): bool 38    { - 39        return (bool) self::validated(static::get($key, $default), 'bool', $key); + 39        return (bool) self::validated(static::get($key, $default), 'bool', $key); 40    } 41 42    public static function getFloat(string $key, float $default = null): float @@ -312,22 +312,22 @@ 48    public static function getNullableString(string $key, string $default = null): ?string 49    { 50        /** @var array|string|int|bool|float|null $value */ - 51        $value = static::get($key, $default); + 51        $value = static::get($key, $default); 52 - 53        if ($value === null) { - 54            return null; + 53        if ($value === null) { + 54            return null; 55        } 56 - 57        return (string) self::validated($value, 'string', $key); + 57        return (string) self::validated($value, 'string', $key); 58    } 59 60    protected static function validated(mixed $value, string $type, string $key): mixed 61    { - 62        if (! call_user_func("is_$type", $value)) { + 62        if (! call_user_func("is_$type", $value)) { 63            throw new TypeError(sprintf('%s(): Config value %s must be of type %s, %s given', __METHOD__, $key, $type, gettype($value))); 64        } 65 - 66        return $value; + 66        return $value; 67    } 68} @@ -340,7 +340,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Facades/Features.php.html b/master/coverage/framework/src/Facades/Features.php.html index 19f666dc9ff..30b7a3f2419 100644 --- a/master/coverage/framework/src/Facades/Features.php.html +++ b/master/coverage/framework/src/Facades/Features.php.html @@ -613,9 +613,9 @@ 41     */ 42    public static function enabled(string $feature): bool 43    { - 44        return static::resolveMockedInstance($feature) ?? in_array( - 45            $feature, Config::getArray('hyde.features', static::getDefaultOptions()) - 46        ); + 44        return static::resolveMockedInstance($feature) ?? in_array( + 45            $feature, Config::getArray('hyde.features', static::getDefaultOptions()) + 46        ); 47    } 48 49    // ================================================ @@ -624,27 +624,27 @@ 52 53    public static function hasHtmlPages(): bool 54    { - 55        return static::enabled(static::htmlPages()); + 55        return static::enabled(static::htmlPages()); 56    } 57 58    public static function hasBladePages(): bool 59    { - 60        return static::enabled(static::bladePages()); + 60        return static::enabled(static::bladePages()); 61    } 62 63    public static function hasMarkdownPages(): bool 64    { - 65        return static::enabled(static::markdownPages()); + 65        return static::enabled(static::markdownPages()); 66    } 67 68    public static function hasMarkdownPosts(): bool 69    { - 70        return static::enabled(static::markdownPosts()); + 70        return static::enabled(static::markdownPosts()); 71    } 72 73    public static function hasDocumentationPages(): bool 74    { - 75        return static::enabled(static::documentationPages()); + 75        return static::enabled(static::documentationPages()); 76    } 77 78    public static function hasDocumentationSearch(): bool @@ -665,9 +665,9 @@ 93     */ 94    public static function hasTorchlight(): bool 95    { - 96        return static::enabled(static::torchlight()) - 97            && (Config::getNullableString('torchlight.token') !== null) - 98            && (app('env') !== 'testing'); + 96        return static::enabled(static::torchlight()) + 97            && (Config::getNullableString('torchlight.token') !== null) + 98            && (app('env') !== 'testing'); 99    } 100 101    // ================================================= @@ -676,42 +676,42 @@ 104 105    public static function htmlPages(): string 106    { - 107        return 'html-pages'; + 107        return 'html-pages'; 108    } 109 110    public static function bladePages(): string 111    { - 112        return 'blade-pages'; + 112        return 'blade-pages'; 113    } 114 115    public static function markdownPages(): string 116    { - 117        return 'markdown-pages'; + 117        return 'markdown-pages'; 118    } 119 120    public static function markdownPosts(): string 121    { - 122        return 'markdown-posts'; + 122        return 'markdown-posts'; 123    } 124 125    public static function documentationPages(): string 126    { - 127        return 'documentation-pages'; + 127        return 'documentation-pages'; 128    } 129 130    public static function documentationSearch(): string 131    { - 132        return 'documentation-search'; + 132        return 'documentation-search'; 133    } 134 135    public static function darkmode(): string 136    { - 137        return 'darkmode'; + 137        return 'darkmode'; 138    } 139 140    public static function torchlight(): string 141    { - 142        return 'torchlight'; + 142        return 'torchlight'; 143    } 144 145    // ==================================================== @@ -722,19 +722,19 @@ 150    /** Can a sitemap be generated? */ 151    public static function sitemap(): bool 152    { - 153        return static::resolveMockedInstance('sitemap') ?? Hyde::hasSiteUrl() - 154            && Config::getBool('hyde.generate_sitemap', true) - 155            && extension_loaded('simplexml'); + 153        return static::resolveMockedInstance('sitemap') ?? Hyde::hasSiteUrl() + 154            && Config::getBool('hyde.generate_sitemap', true) + 155            && extension_loaded('simplexml'); 156    } 157 158    /** Can an RSS feed be generated? */ 159    public static function rss(): bool 160    { - 161        return static::resolveMockedInstance('rss') ?? Hyde::hasSiteUrl() - 162            && static::hasMarkdownPosts() - 163            && Config::getBool('hyde.rss.enabled', true) - 164            && extension_loaded('simplexml') - 165            && count(MarkdownPost::files()) > 0; + 161        return static::resolveMockedInstance('rss') ?? Hyde::hasSiteUrl() + 162            && static::hasMarkdownPosts() + 163            && Config::getBool('hyde.rss.enabled', true) + 164            && extension_loaded('simplexml') + 165            && count(MarkdownPost::files()) > 0; 166    } 167 168    /** @@ -755,21 +755,21 @@ 183 184    protected static function getDefaultOptions(): array 185    { - 186        return [ + 186        return [ 187            // Page Modules - 188            static::htmlPages(), - 189            static::markdownPosts(), - 190            static::bladePages(), - 191            static::markdownPages(), - 192            static::documentationPages(), + 188            static::htmlPages(), + 189            static::markdownPosts(), + 190            static::bladePages(), + 191            static::markdownPages(), + 192            static::documentationPages(), 193 194            // Frontend Features - 195            static::darkmode(), - 196            static::documentationSearch(), + 195            static::darkmode(), + 196            static::documentationSearch(), 197 198            // Integrations - 199            static::torchlight(), - 200        ]; + 199            static::torchlight(), + 200        ]; 201    } 202} @@ -782,7 +782,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Facades/Filesystem.php.html b/master/coverage/framework/src/Facades/Filesystem.php.html index 561e8e75979..7e6b43cbd2a 100644 --- a/master/coverage/framework/src/Facades/Filesystem.php.html +++ b/master/coverage/framework/src/Facades/Filesystem.php.html @@ -393,7 +393,7 @@ 41     */ 42    public static function absolutePath(string $path): string 43    { - 44        return self::kernel()->pathToAbsolute(self::relativePath($path)); + 44        return self::kernel()->pathToAbsolute(self::relativePath($path)); 45    } 46 47    /** @@ -404,7 +404,7 @@ 52     */ 53    public static function relativePath(string $path): string 54    { - 55        return self::kernel()->pathToRelative($path); + 55        return self::kernel()->pathToRelative($path); 56    } 57 58    /** @@ -483,12 +483,12 @@ 131 132    protected static function filesystem(): \Illuminate\Filesystem\Filesystem 133    { - 134        return app(\Illuminate\Filesystem\Filesystem::class); + 134        return app(\Illuminate\Filesystem\Filesystem::class); 135    } 136 137    protected static function kernel(): HydeKernel 138    { - 139        return HydeKernel::getInstance(); + 139        return HydeKernel::getInstance(); 140    } 141} @@ -501,7 +501,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Facades/Meta.php.html b/master/coverage/framework/src/Facades/Meta.php.html index aca88adcb8c..b9e47ba93e4 100644 --- a/master/coverage/framework/src/Facades/Meta.php.html +++ b/master/coverage/framework/src/Facades/Meta.php.html @@ -244,7 +244,7 @@ 24     */ 25    public static function name(string $name, string $content): MetadataElement 26    { - 27        return new MetadataElement($name, $content); + 27        return new MetadataElement($name, $content); 28    } 29 30    /** @@ -257,7 +257,7 @@ 37     */ 38    public static function property(string $property, string $content): OpenGraphElement 39    { - 40        return new OpenGraphElement($property, $content); + 40        return new OpenGraphElement($property, $content); 41    } 42 43    /** @@ -271,7 +271,7 @@ 51     */ 52    public static function link(string $rel, string $href, array $attr = []): LinkElement 53    { - 54        return new LinkElement($rel, $href, $attr); + 54        return new LinkElement($rel, $href, $attr); 55    } 56 57    /** @@ -300,7 +300,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Facades/Site.php.html b/master/coverage/framework/src/Facades/Site.php.html index 40ed81e4442..9600e8173d3 100644 --- a/master/coverage/framework/src/Facades/Site.php.html +++ b/master/coverage/framework/src/Facades/Site.php.html @@ -226,7 +226,7 @@ 28 29    public static function metadata(): GlobalMetadataBag 30    { - 31        return GlobalMetadataBag::make(); + 31        return GlobalMetadataBag::make(); 32    } 33} @@ -239,7 +239,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Facades/dashboard.html b/master/coverage/framework/src/Facades/dashboard.html index 536f8640b6c..439dc03bcfa 100644 --- a/master/coverage/framework/src/Facades/dashboard.html +++ b/master/coverage/framework/src/Facades/dashboard.html @@ -138,7 +138,7 @@

Project Risks

diff --git a/master/coverage/framework/src/Facades/index.html b/master/coverage/framework/src/Facades/index.html index 249809fef51..ab6cfb4bcdc 100644 --- a/master/coverage/framework/src/Facades/index.html +++ b/master/coverage/framework/src/Facades/index.html @@ -281,7 +281,7 @@

Legend

High: 90% to 100%

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Foundation/Application.php.html b/master/coverage/framework/src/Foundation/Application.php.html index 115992116a8..e47144c544f 100644 --- a/master/coverage/framework/src/Foundation/Application.php.html +++ b/master/coverage/framework/src/Foundation/Application.php.html @@ -172,7 +172,7 @@ 18    { 19        // Laravel Zero disables auto-discovery, but we want to use it, 20        // so we'll call the grandparent's method instead of the parent's. - 21        \Illuminate\Foundation\Application::registerBaseBindings(); + 21        \Illuminate\Foundation\Application::registerBaseBindings(); 22    } 23 24    /** @@ -181,7 +181,7 @@ 27    public function getCachedPackagesPath(): string 28    { 29        // Since we have a custom path for the cache directory, we need to return it here. - 30        return 'app/storage/framework/cache/packages.php'; + 30        return 'app/storage/framework/cache/packages.php'; 31    } 32} @@ -194,7 +194,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Foundation/Concerns/BaseFoundationCollection.php.html b/master/coverage/framework/src/Foundation/Concerns/BaseFoundationCollection.php.html index 86a9942f250..6e8a259c7f4 100644 --- a/master/coverage/framework/src/Foundation/Concerns/BaseFoundationCollection.php.html +++ b/master/coverage/framework/src/Foundation/Concerns/BaseFoundationCollection.php.html @@ -265,32 +265,32 @@ 42 43    public static function init(HydeKernel $kernel): static 44    { - 45        return (new static())->setKernel($kernel); + 45        return (new static())->setKernel($kernel); 46    } 47 48    final public function boot(): static 49    { 50        try { - 51            $this->runDiscovery(); - 52            $this->runExtensionHandlers(); + 51            $this->runDiscovery(); + 52            $this->runExtensionHandlers(); 53        } catch (Throwable $exception) { 54            throw new RuntimeException("An error occurred during the discovery process: {$exception->getMessage()}", previous: $exception); 55        } 56 - 57        return $this; + 57        return $this; 58    } 59 60    final protected function __construct(array|Arrayable|null $items = []) 61    { - 62        parent::__construct($items); + 62        parent::__construct($items); 63    } 64 65    /** @return $this */ 66    protected function setKernel(HydeKernel $kernel): static 67    { - 68        $this->kernel = $kernel; + 68        $this->kernel = $kernel; 69 - 70        return $this; + 70        return $this; 71    } 72} @@ -303,7 +303,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Foundation/Concerns/BootsHydeKernel.php.html b/master/coverage/framework/src/Foundation/Concerns/BootsHydeKernel.php.html index 630118a93db..3c3e02cacc3 100644 --- a/master/coverage/framework/src/Foundation/Concerns/BootsHydeKernel.php.html +++ b/master/coverage/framework/src/Foundation/Concerns/BootsHydeKernel.php.html @@ -235,30 +235,30 @@ 36     */ 37    public function boot(): void 38    { - 39        if ($this->booting) { - 40            return; + 39        if ($this->booting) { + 40            return; 41        } 42 - 43        $this->booting = true; + 43        $this->booting = true; 44 - 45        $this->files = FileCollection::init($this); - 46        $this->pages = PageCollection::init($this); - 47        $this->routes = RouteCollection::init($this); + 45        $this->files = FileCollection::init($this); + 46        $this->pages = PageCollection::init($this); + 47        $this->routes = RouteCollection::init($this); 48 - 49        foreach ($this->bootingCallbacks as $callback) { + 49        foreach ($this->bootingCallbacks as $callback) { 50            $callback($this); 51        } 52 - 53        $this->files->boot(); - 54        $this->pages->boot(); - 55        $this->routes->boot(); + 53        $this->files->boot(); + 54        $this->pages->boot(); + 55        $this->routes->boot(); 56 - 57        foreach ($this->bootedCallbacks as $callback) { + 57        foreach ($this->bootedCallbacks as $callback) { 58            $callback($this); 59        } 60 - 61        $this->booting = false; - 62        $this->booted = true; + 61        $this->booting = false; + 62        $this->booted = true; 63    } 64 65    /** @@ -299,7 +299,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Foundation/Concerns/ForwardsFilesystem.php.html b/master/coverage/framework/src/Foundation/Concerns/ForwardsFilesystem.php.html index 58ab2de8602..dfd68541171 100644 --- a/master/coverage/framework/src/Foundation/Concerns/ForwardsFilesystem.php.html +++ b/master/coverage/framework/src/Foundation/Concerns/ForwardsFilesystem.php.html @@ -307,17 +307,17 @@ 20 21    public function path(string $path = ''): string 22    { - 23        return $this->filesystem->path($path); + 23        return $this->filesystem->path($path); 24    } 25 26    public function vendorPath(string $path = '', string $package = 'framework'): string 27    { - 28        return $this->filesystem->vendorPath($path, $package); + 28        return $this->filesystem->vendorPath($path, $package); 29    } 30 31    public function mediaPath(string $path = ''): string 32    { - 33        return $this->filesystem->mediaPath($path); + 33        return $this->filesystem->mediaPath($path); 34    } 35 36    public function sitePath(string $path = ''): string @@ -332,12 +332,12 @@ 45 46    public function pathToAbsolute(string|array $path): string|array 47    { - 48        return $this->filesystem->pathToAbsolute($path); + 48        return $this->filesystem->pathToAbsolute($path); 49    } 50 51    public function pathToRelative(string $path): string 52    { - 53        return $this->filesystem->pathToRelative($path); + 53        return $this->filesystem->pathToRelative($path); 54    } 55} @@ -350,7 +350,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Foundation/Concerns/ForwardsHyperlinks.php.html b/master/coverage/framework/src/Foundation/Concerns/ForwardsHyperlinks.php.html index 3fbb13dfc3e..e461b53438f 100644 --- a/master/coverage/framework/src/Foundation/Concerns/ForwardsHyperlinks.php.html +++ b/master/coverage/framework/src/Foundation/Concerns/ForwardsHyperlinks.php.html @@ -280,17 +280,17 @@ 15{ 16    public function formatLink(string $destination): string 17    { - 18        return $this->hyperlinks->formatLink($destination); + 18        return $this->hyperlinks->formatLink($destination); 19    } 20 21    public function relativeLink(string $destination): string 22    { - 23        return $this->hyperlinks->relativeLink($destination); + 23        return $this->hyperlinks->relativeLink($destination); 24    } 25 26    public function mediaLink(string $destination, bool $validate = false): string 27    { - 28        return $this->hyperlinks->mediaLink($destination, $validate); + 28        return $this->hyperlinks->mediaLink($destination, $validate); 29    } 30 31    public function asset(string $name, bool $preferQualifiedUrl = false): string @@ -300,7 +300,7 @@ 35 36    public function url(string $path = ''): string 37    { - 38        return $this->hyperlinks->url($path); + 38        return $this->hyperlinks->url($path); 39    } 40 41    public function route(string $key): ?Route @@ -310,7 +310,7 @@ 45 46    public function hasSiteUrl(): bool 47    { - 48        return $this->hyperlinks->hasSiteUrl(); + 48        return $this->hyperlinks->hasSiteUrl(); 49    } 50} @@ -323,7 +323,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Foundation/Concerns/HandlesFoundationCollections.php.html b/master/coverage/framework/src/Foundation/Concerns/HandlesFoundationCollections.php.html index 1ac488d8ff4..43bb65d7933 100644 --- a/master/coverage/framework/src/Foundation/Concerns/HandlesFoundationCollections.php.html +++ b/master/coverage/framework/src/Foundation/Concerns/HandlesFoundationCollections.php.html @@ -217,31 +217,31 @@ 18    /**  @return \Hyde\Foundation\Kernel\FileCollection<string, \Hyde\Support\Filesystem\ProjectFile> */ 19    public function files(): FileCollection 20    { - 21        $this->needsToBeBooted(); + 21        $this->needsToBeBooted(); 22 - 23        return $this->files; + 23        return $this->files; 24    } 25 26    /** @return \Hyde\Foundation\Kernel\PageCollection<string, \Hyde\Pages\Concerns\HydePage> */ 27    public function pages(): PageCollection 28    { - 29        $this->needsToBeBooted(); + 29        $this->needsToBeBooted(); 30 - 31        return $this->pages; + 31        return $this->pages; 32    } 33 34    /** @return \Hyde\Foundation\Kernel\RouteCollection<string, \Hyde\Support\Models\Route> */ 35    public function routes(): RouteCollection 36    { - 37        $this->needsToBeBooted(); + 37        $this->needsToBeBooted(); 38 - 39        return $this->routes; + 39        return $this->routes; 40    } 41 42    protected function needsToBeBooted(): void 43    { - 44        if (! $this->booted) { - 45            $this->boot(); + 44        if (! $this->booted) { + 45            $this->boot(); 46        } 47    } 48} @@ -255,7 +255,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Foundation/Concerns/HydeExtension.php.html b/master/coverage/framework/src/Foundation/Concerns/HydeExtension.php.html index 070d2e4370e..3cee206070c 100644 --- a/master/coverage/framework/src/Foundation/Concerns/HydeExtension.php.html +++ b/master/coverage/framework/src/Foundation/Concerns/HydeExtension.php.html @@ -253,7 +253,7 @@ 54    public function discoverFiles(FileCollection $collection): void 55    { 56        // - 57    } + 57    } 58 59    /** 60     * If your extension needs to hook into the page discovery process, @@ -264,7 +264,7 @@ 65    public function discoverPages(PageCollection $collection): void 66    { 67        // - 68    } + 68    } 69 70    /** 71     * If your extension needs to hook into the route discovery process, @@ -275,7 +275,7 @@ 76    public function discoverRoutes(RouteCollection $collection): void 77    { 78        // - 79    } + 79    } 80} @@ -287,7 +287,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Foundation/Concerns/ImplementsStringHelpers.php.html b/master/coverage/framework/src/Foundation/Concerns/ImplementsStringHelpers.php.html index 37f7b2da63d..f6c9be765c6 100644 --- a/master/coverage/framework/src/Foundation/Concerns/ImplementsStringHelpers.php.html +++ b/master/coverage/framework/src/Foundation/Concerns/ImplementsStringHelpers.php.html @@ -246,17 +246,17 @@ 25    public static function makeTitle(string $value): string 26    { 27        // Don't modify all-uppercase input - 28        if ($value === strtoupper($value)) { - 29            return $value; + 28        if ($value === strtoupper($value)) { + 29            return $value; 30        } 31 - 32        $alwaysLowercase = ['a', 'an', 'the', 'in', 'on', 'by', 'with', 'of', 'and', 'or', 'but']; + 32        $alwaysLowercase = ['a', 'an', 'the', 'in', 'on', 'by', 'with', 'of', 'and', 'or', 'but']; 33 - 34        return ucfirst(str_ireplace( - 35            $alwaysLowercase, - 36            $alwaysLowercase, - 37            Str::headline($value) - 38        )); + 34        return ucfirst(str_ireplace( + 35            $alwaysLowercase, + 36            $alwaysLowercase, + 37            Str::headline($value) + 38        )); 39    } 40 41    public static function normalizeNewlines(string $string): string @@ -293,7 +293,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Foundation/Concerns/ManagesExtensions.php.html b/master/coverage/framework/src/Foundation/Concerns/ManagesExtensions.php.html index 783df126d45..f88fef84049 100644 --- a/master/coverage/framework/src/Foundation/Concerns/ManagesExtensions.php.html +++ b/master/coverage/framework/src/Foundation/Concerns/ManagesExtensions.php.html @@ -275,7 +275,7 @@ 32     */ 33    public function registerExtension(string $extension): void 34    { - 35        if ($this->booted) { + 35        if ($this->booted) { 36            // We throw an exception here to prevent the developer from registering aa extension after the Kernel has been booted. 37            // The reason we do this is because at this point all the source files have already been discovered and parsed. 38            // If we allowed new classes after this point, we would have to reboot everything which adds complexity. @@ -283,21 +283,21 @@ 40            throw new BadMethodCallException('Cannot register an extension after the Kernel has been booted.'); 41        } 42 - 43        if (! is_subclass_of($extension, HydeExtension::class)) { + 43        if (! is_subclass_of($extension, HydeExtension::class)) { 44            // We want to make sure that the extension class extends the HydeExtension class, 45            // so that we won't have to check the methods we need to call exist later on. 46 47            throw new InvalidArgumentException("Extension [$extension] must extend the HydeExtension class."); 48        } 49 - 50        if (in_array($extension, $this->getRegisteredExtensions(), true)) { + 50        if (in_array($extension, $this->getRegisteredExtensions(), true)) { 51            // While throwing an exception here is not required since we are using an associative array, 52            // it may be helpful for the developer to know that their registration logic may be flawed. 53 54            throw new InvalidArgumentException("Extension [$extension] is already registered."); 55        } 56 - 57        $this->extensions[$extension] = new $extension(); + 57        $this->extensions[$extension] = new $extension(); 58    } 59 60    /** @@ -330,22 +330,22 @@ 87    /** @return array<\Hyde\Foundation\Concerns\HydeExtension> */ 88    public function getExtensions(): array 89    { - 90        return $this->extensions; + 90        return $this->extensions; 91    } 92 93    /** @return array<class-string<\Hyde\Foundation\Concerns\HydeExtension>> */ 94    public function getRegisteredExtensions(): array 95    { - 96        return array_keys($this->extensions); + 96        return array_keys($this->extensions); 97    } 98 99    /** @return array<class-string<\Hyde\Pages\Concerns\HydePage>> */ 100    public function getRegisteredPageClasses(): array 101    { - 102        return array_unique(array_merge(...array_map(function (string $extension): array { + 102        return array_unique(array_merge(...array_map(function (string $extension): array { 103            /** @var <class-string<\Hyde\Foundation\Concerns\HydeExtension>> $extension */ - 104            return $extension::getPageClasses(); - 105        }, $this->getRegisteredExtensions()))); + 104            return $extension::getPageClasses(); + 105        }, $this->getRegisteredExtensions()))); 106    } 107} @@ -358,7 +358,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Foundation/Concerns/ManagesHydeKernel.php.html b/master/coverage/framework/src/Foundation/Concerns/ManagesHydeKernel.php.html index 43bc0ff45c6..8c5e9c746a5 100644 --- a/master/coverage/framework/src/Foundation/Concerns/ManagesHydeKernel.php.html +++ b/master/coverage/framework/src/Foundation/Concerns/ManagesHydeKernel.php.html @@ -393,32 +393,32 @@ 18{ 19    public static function getInstance(): HydeKernel 20    { - 21        return static::$instance; + 21        return static::$instance; 22    } 23 24    public static function setInstance(HydeKernel $instance): void 25    { - 26        static::$instance = $instance; + 26        static::$instance = $instance; 27    } 28 29    public function getBasePath(): string 30    { - 31        return $this->basePath; + 31        return $this->basePath; 32    } 33 34    public function setBasePath(string $basePath): void 35    { - 36        $this->basePath = rtrim($basePath, '/\\'); + 36        $this->basePath = rtrim($basePath, '/\\'); 37    } 38 39    public function getSourceRoot(): string 40    { - 41        return $this->sourceRoot; + 41        return $this->sourceRoot; 42    } 43 44    public function setSourceRoot(string $sourceRoot): void 45    { - 46        $this->sourceRoot = $this->normalizeSourcePath($sourceRoot); + 46        $this->sourceRoot = $this->normalizeSourcePath($sourceRoot); 47    } 48 49    public function getOutputDirectory(): string @@ -428,27 +428,27 @@ 53 54    public function setOutputDirectory(string $outputDirectory): void 55    { - 56        $this->outputDirectory = $this->normalizeSourcePath($outputDirectory); + 56        $this->outputDirectory = $this->normalizeSourcePath($outputDirectory); 57    } 58 59    public function getMediaDirectory(): string 60    { - 61        return $this->mediaDirectory; + 61        return $this->mediaDirectory; 62    } 63 64    public function setMediaDirectory(string $mediaDirectory): void 65    { - 66        $this->mediaDirectory = $this->normalizeSourcePath($mediaDirectory); + 66        $this->mediaDirectory = $this->normalizeSourcePath($mediaDirectory); 67    } 68 69    public function getMediaOutputDirectory(): string 70    { - 71        return ltrim($this->getMediaDirectory(), '_'); + 71        return ltrim($this->getMediaDirectory(), '_'); 72    } 73 74    protected function normalizeSourcePath(string $outputDirectory): string 75    { - 76        return $this->pathToRelative(rtrim($outputDirectory, '/\\')); + 76        return $this->pathToRelative(rtrim($outputDirectory, '/\\')); 77    } 78} @@ -461,7 +461,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Foundation/Concerns/ManagesViewData.php.html b/master/coverage/framework/src/Foundation/Concerns/ManagesViewData.php.html index 9f7f6a01674..fbe7f446a99 100644 --- a/master/coverage/framework/src/Foundation/Concerns/ManagesViewData.php.html +++ b/master/coverage/framework/src/Foundation/Concerns/ManagesViewData.php.html @@ -227,7 +227,7 @@ 28     */ 29    public function currentRouteKey(): ?string 30    { - 31        return Render::getRouteKey(); + 31        return Render::getRouteKey(); 32    } 33 34    /** @@ -235,7 +235,7 @@ 36     */ 37    public function currentRoute(): ?Route 38    { - 39        return Render::getRoute(); + 39        return Render::getRoute(); 40    } 41 42    /** @@ -256,7 +256,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Foundation/Concerns/dashboard.html b/master/coverage/framework/src/Foundation/Concerns/dashboard.html index 337d66566f7..98d182647b0 100644 --- a/master/coverage/framework/src/Foundation/Concerns/dashboard.html +++ b/master/coverage/framework/src/Foundation/Concerns/dashboard.html @@ -139,7 +139,7 @@

Project Risks

diff --git a/master/coverage/framework/src/Foundation/Concerns/index.html b/master/coverage/framework/src/Foundation/Concerns/index.html index 579675244a9..818e66f18fe 100644 --- a/master/coverage/framework/src/Foundation/Concerns/index.html +++ b/master/coverage/framework/src/Foundation/Concerns/index.html @@ -366,7 +366,7 @@

Legend

High: 90% to 100%

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Foundation/ConsoleKernel.php.html b/master/coverage/framework/src/Foundation/ConsoleKernel.php.html index 8d1336ebd69..5689ebd9d74 100644 --- a/master/coverage/framework/src/Foundation/ConsoleKernel.php.html +++ b/master/coverage/framework/src/Foundation/ConsoleKernel.php.html @@ -151,18 +151,18 @@ 19     */ 20    protected function bootstrappers(): array 21    { - 22        $bootstrappers = $this->bootstrappers; + 22        $bootstrappers = $this->bootstrappers; 23 24        // Insert our bootstrapper between load configuration and register provider bootstrappers. - 25        array_splice($bootstrappers, 5, 0, LoadYamlConfiguration::class); + 25        array_splice($bootstrappers, 5, 0, LoadYamlConfiguration::class); 26 27        // Since we store our application config in `app/config.php`, we need to replace 28        // the default LoadConfiguration bootstrapper class with our implementation. 29        // We do this by swapping out the LoadConfiguration class with our own. 30 - 31        return array_values((array) tap(array_combine($bootstrappers, $bootstrappers), function (array &$array): void { - 32            $array[\LaravelZero\Framework\Bootstrap\LoadConfiguration::class] = \Hyde\Foundation\Internal\LoadConfiguration::class; - 33        })); + 31        return array_values((array) tap(array_combine($bootstrappers, $bootstrappers), function (array &$array): void { + 32            $array[\LaravelZero\Framework\Bootstrap\LoadConfiguration::class] = \Hyde\Foundation\Internal\LoadConfiguration::class; + 33        })); 34    } 35} @@ -175,7 +175,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Foundation/Facades/Files.php.html b/master/coverage/framework/src/Foundation/Facades/Files.php.html index c8b22ffad8c..4f0510cf5fc 100644 --- a/master/coverage/framework/src/Foundation/Facades/Files.php.html +++ b/master/coverage/framework/src/Foundation/Facades/Files.php.html @@ -149,7 +149,7 @@ 16    /**  @return \Hyde\Foundation\Kernel\FileCollection<string, \Hyde\Support\Filesystem\SourceFile> */ 17    public static function getFacadeRoot(): FileCollection 18    { - 19        return HydeKernel::getInstance()->files(); + 19        return HydeKernel::getInstance()->files(); 20    } 21} @@ -162,7 +162,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Foundation/Facades/Pages.php.html b/master/coverage/framework/src/Foundation/Facades/Pages.php.html index f814e8e6006..14785f10e5d 100644 --- a/master/coverage/framework/src/Foundation/Facades/Pages.php.html +++ b/master/coverage/framework/src/Foundation/Facades/Pages.php.html @@ -149,7 +149,7 @@ 16    /** @return \Hyde\Foundation\Kernel\PageCollection<string, \Hyde\Pages\Concerns\HydePage> */ 17    public static function getFacadeRoot(): PageCollection 18    { - 19        return HydeKernel::getInstance()->pages(); + 19        return HydeKernel::getInstance()->pages(); 20    } 21} @@ -162,7 +162,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Foundation/Facades/Routes.php.html b/master/coverage/framework/src/Foundation/Facades/Routes.php.html index b2b4468a9ba..08a4d7fbd98 100644 --- a/master/coverage/framework/src/Foundation/Facades/Routes.php.html +++ b/master/coverage/framework/src/Foundation/Facades/Routes.php.html @@ -265,7 +265,7 @@ 22    /** @return \Hyde\Foundation\Kernel\RouteCollection<string, \Hyde\Support\Models\Route> */ 23    public static function getFacadeRoot(): RouteCollection 24    { - 25        return HydeKernel::getInstance()->routes(); + 25        return HydeKernel::getInstance()->routes(); 26    } 27 28    public static function exists(string $routeKey): bool @@ -275,7 +275,7 @@ 32 33    public static function get(string $routeKey): ?Route 34    { - 35        return static::getFacadeRoot()->get($routeKey); + 35        return static::getFacadeRoot()->get($routeKey); 36    } 37 38    /** @throws \Hyde\Framework\Exceptions\RouteNotFoundException */ @@ -306,7 +306,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Foundation/Facades/dashboard.html b/master/coverage/framework/src/Foundation/Facades/dashboard.html index 480cf93a315..7136154337b 100644 --- a/master/coverage/framework/src/Foundation/Facades/dashboard.html +++ b/master/coverage/framework/src/Foundation/Facades/dashboard.html @@ -139,7 +139,7 @@

Project Risks

diff --git a/master/coverage/framework/src/Foundation/Facades/index.html b/master/coverage/framework/src/Foundation/Facades/index.html index 0907752b6b0..17429bdbe47 100644 --- a/master/coverage/framework/src/Foundation/Facades/index.html +++ b/master/coverage/framework/src/Foundation/Facades/index.html @@ -170,7 +170,7 @@

Legend

High: 90% to 100%

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Foundation/HydeCoreExtension.php.html b/master/coverage/framework/src/Foundation/HydeCoreExtension.php.html index fb990215159..855cd62541d 100644 --- a/master/coverage/framework/src/Foundation/HydeCoreExtension.php.html +++ b/master/coverage/framework/src/Foundation/HydeCoreExtension.php.html @@ -152,13 +152,13 @@ 20    /** @return array<class-string<\Hyde\Pages\Concerns\HydePage>> */ 21    public static function getPageClasses(): array 22    { - 23        return array_keys(array_filter([ - 24            HtmlPage::class => Features::hasHtmlPages(), - 25            BladePage::class => Features::hasBladePages(), - 26            MarkdownPage::class => Features::hasMarkdownPages(), - 27            MarkdownPost::class => Features::hasMarkdownPosts(), - 28            DocumentationPage::class => Features::hasDocumentationPages(), - 29        ], fn (bool $value): bool => $value)); + 23        return array_keys(array_filter([ + 24            HtmlPage::class => Features::hasHtmlPages(), + 25            BladePage::class => Features::hasBladePages(), + 26            MarkdownPage::class => Features::hasMarkdownPages(), + 27            MarkdownPost::class => Features::hasMarkdownPosts(), + 28            DocumentationPage::class => Features::hasDocumentationPages(), + 29        ], fn (bool $value): bool => $value)); 30    } 31} @@ -171,7 +171,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Foundation/HydeKernel.php.html b/master/coverage/framework/src/Foundation/HydeKernel.php.html index a14a78592df..bd6fb389983 100644 --- a/master/coverage/framework/src/Foundation/HydeKernel.php.html +++ b/master/coverage/framework/src/Foundation/HydeKernel.php.html @@ -292,16 +292,16 @@ 72 73    public function __construct(?string $basePath = null) 74    { - 75        $this->setBasePath($basePath ?? getcwd()); - 76        $this->filesystem = new Filesystem($this); - 77        $this->hyperlinks = new Hyperlinks($this); + 75        $this->setBasePath($basePath ?? getcwd()); + 76        $this->filesystem = new Filesystem($this); + 77        $this->hyperlinks = new Hyperlinks($this); 78 - 79        $this->registerExtension(HydeCoreExtension::class); + 79        $this->registerExtension(HydeCoreExtension::class); 80    } 81 82    public static function version(): string 83    { - 84        return self::VERSION; + 84        return self::VERSION; 85    } 86 87    public function features(): Features @@ -311,7 +311,7 @@ 91 92    public function hasFeature(string $feature): bool 93    { - 94        return Features::enabled($feature); + 94        return Features::enabled($feature); 95    } 96 97    /** @inheritDoc */ @@ -340,7 +340,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Foundation/Internal/LoadConfiguration.php.html b/master/coverage/framework/src/Foundation/Internal/LoadConfiguration.php.html index 1f345e0cd45..8fa976bcfcb 100644 --- a/master/coverage/framework/src/Foundation/Internal/LoadConfiguration.php.html +++ b/master/coverage/framework/src/Foundation/Internal/LoadConfiguration.php.html @@ -328,20 +328,20 @@ 19    /** Get all the configuration files for the application. */ 20    protected function getConfigurationFiles(Application $app): array 21    { - 22        return (array) tap(parent::getConfigurationFiles($app), function (array &$files) use ($app): void { + 22        return (array) tap(parent::getConfigurationFiles($app), function (array &$files) use ($app): void { 23            // Inject our custom config file which is stored in `app/config.php`. - 24            $files['app'] ??= $app->basePath().DIRECTORY_SEPARATOR.'app'.DIRECTORY_SEPARATOR.'config.php'; - 25        }); + 24            $files['app'] ??= $app->basePath().DIRECTORY_SEPARATOR.'app'.DIRECTORY_SEPARATOR.'config.php'; + 25        }); 26    } 27 28    /** Load the configuration items from all the files. */ 29    protected function loadConfigurationFiles(Application $app, Repository $repository): void 30    { - 31        parent::loadConfigurationFiles($app, $repository); + 31        parent::loadConfigurationFiles($app, $repository); 32 - 33        $this->mergeConfigurationFiles($repository); + 33        $this->mergeConfigurationFiles($repository); 34 - 35        $this->loadRuntimeConfiguration($app, $repository); + 35        $this->loadRuntimeConfiguration($app, $repository); 36    } 37 38    private function mergeConfigurationFiles(Repository $repository): void @@ -349,8 +349,8 @@ 40        // These files do commonly not need to be customized by the user, so to get them out of the way, 41        // we don't include them in the default project install. 42 - 43        foreach (['view', 'cache', 'commands', 'torchlight'] as $file) { - 44            $this->mergeConfigurationFile($repository, $file); + 43        foreach (['view', 'cache', 'commands', 'torchlight'] as $file) { + 44            $this->mergeConfigurationFile($repository, $file); 45        } 46    } 47 @@ -359,49 +359,49 @@ 50        // We of course want the user to be able to customize the config files, 51        // if they're present, so we'll merge their changes here. 52 - 53        $repository->set($file, array_merge( - 54            (array) require __DIR__."/../../../config/$file.php", - 55            (array) $repository->get($file, []) - 56        )); + 53        $repository->set($file, array_merge( + 54            (array) require __DIR__."/../../../config/$file.php", + 55            (array) $repository->get($file, []) + 56        )); 57    } 58 59    private function loadRuntimeConfiguration(Application $app, Repository $repository): void 60    { - 61        if ($app->runningInConsole()) { - 62            if ($this->getArgv() !== null) { - 63                $this->mergeCommandLineArguments($repository, '--pretty-urls', 'hyde.pretty_urls', true); - 64                $this->mergeCommandLineArguments($repository, '--no-api', 'hyde.api_calls', false); + 61        if ($app->runningInConsole()) { + 62            if ($this->getArgv() !== null) { + 63                $this->mergeCommandLineArguments($repository, '--pretty-urls', 'hyde.pretty_urls', true); + 64                $this->mergeCommandLineArguments($repository, '--no-api', 'hyde.api_calls', false); 65            } 66 - 67            $this->mergeRealtimeCompilerEnvironment($repository, 'HYDE_SERVER_SAVE_PREVIEW', 'hyde.server.save_preview'); - 68            $this->mergeRealtimeCompilerEnvironment($repository, 'HYDE_SERVER_DASHBOARD', 'hyde.server.dashboard.enabled'); - 69            $this->mergeRealtimeCompilerEnvironment($repository, 'HYDE_PRETTY_URLS', 'hyde.pretty_urls'); - 70            $this->mergeRealtimeCompilerEnvironment($repository, 'HYDE_PLAY_CDN', 'hyde.use_play_cdn'); + 67            $this->mergeRealtimeCompilerEnvironment($repository, 'HYDE_SERVER_SAVE_PREVIEW', 'hyde.server.save_preview'); + 68            $this->mergeRealtimeCompilerEnvironment($repository, 'HYDE_SERVER_DASHBOARD', 'hyde.server.dashboard.enabled'); + 69            $this->mergeRealtimeCompilerEnvironment($repository, 'HYDE_PRETTY_URLS', 'hyde.pretty_urls'); + 70            $this->mergeRealtimeCompilerEnvironment($repository, 'HYDE_PLAY_CDN', 'hyde.use_play_cdn'); 71        } 72    } 73 74    private function mergeCommandLineArguments(Repository $repository, string $argumentName, string $configKey, bool $value): void 75    { - 76        if (in_array($argumentName, $this->getArgv(), true)) { + 76        if (in_array($argumentName, $this->getArgv(), true)) { 77            $repository->set($configKey, $value); 78        } 79    } 80 81    private function mergeRealtimeCompilerEnvironment(Repository $repository, string $environmentKey, string $configKey): void 82    { - 83        if ($this->getEnv($environmentKey) !== false) { + 83        if ($this->getEnv($environmentKey) !== false) { 84            $repository->set($configKey, $this->getEnv($environmentKey) === 'enabled'); 85        } 86    } 87 88    protected function getArgv(): ?array 89    { - 90        return $_SERVER['argv'] ?? null; + 90        return $_SERVER['argv'] ?? null; 91    } 92 93    protected function getEnv(string $name): string|false|null 94    { - 95        return getenv($name); + 95        return getenv($name); 96    } 97} @@ -414,7 +414,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Foundation/Internal/LoadYamlConfiguration.php.html b/master/coverage/framework/src/Foundation/Internal/LoadYamlConfiguration.php.html index 91af075e3e2..257556e8d3e 100644 --- a/master/coverage/framework/src/Foundation/Internal/LoadYamlConfiguration.php.html +++ b/master/coverage/framework/src/Foundation/Internal/LoadYamlConfiguration.php.html @@ -300,15 +300,15 @@ 35     */ 36    public function bootstrap(): void 37    { - 38        if ($this->hasYamlConfigFile()) { + 38        if ($this->hasYamlConfigFile()) { 39            $this->mergeParsedConfiguration(); 40        } 41    } 42 43    protected function hasYamlConfigFile(): bool 44    { - 45        return file_exists(Hyde::path('hyde.yml')) - 46            || file_exists(Hyde::path('hyde.yaml')); + 45        return file_exists(Hyde::path('hyde.yml')) + 46            || file_exists(Hyde::path('hyde.yaml')); 47    } 48 49    /** @return array<string, mixed> */ @@ -366,7 +366,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Foundation/Internal/dashboard.html b/master/coverage/framework/src/Foundation/Internal/dashboard.html index b8d883ce68b..2f491e83925 100644 --- a/master/coverage/framework/src/Foundation/Internal/dashboard.html +++ b/master/coverage/framework/src/Foundation/Internal/dashboard.html @@ -139,7 +139,7 @@

Project Risks

diff --git a/master/coverage/framework/src/Foundation/Internal/index.html b/master/coverage/framework/src/Foundation/Internal/index.html index 3809631025a..f4fe9548615 100644 --- a/master/coverage/framework/src/Foundation/Internal/index.html +++ b/master/coverage/framework/src/Foundation/Internal/index.html @@ -142,7 +142,7 @@

Legend

High: 90% to 100%

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Foundation/Kernel/FileCollection.php.html b/master/coverage/framework/src/Foundation/Kernel/FileCollection.php.html index 6f6cd499d64..d7422c6dbe6 100644 --- a/master/coverage/framework/src/Foundation/Kernel/FileCollection.php.html +++ b/master/coverage/framework/src/Foundation/Kernel/FileCollection.php.html @@ -277,15 +277,15 @@ 34{ 35    public function addFile(SourceFile $file): void 36    { - 37        $this->put($file->getPath(), $file); + 37        $this->put($file->getPath(), $file); 38    } 39 40    protected function runDiscovery(): void 41    { 42        /** @var class-string<\Hyde\Pages\Concerns\HydePage> $pageClass */ - 43        foreach ($this->kernel->getRegisteredPageClasses() as $pageClass) { - 44            if ($pageClass::isDiscoverable()) { - 45                $this->discoverFilesFor($pageClass); + 43        foreach ($this->kernel->getRegisteredPageClasses() as $pageClass) { + 44            if ($pageClass::isDiscoverable()) { + 45                $this->discoverFilesFor($pageClass); 46            } 47        } 48    } @@ -293,8 +293,8 @@ 50    protected function runExtensionHandlers(): void 51    { 52        /** @var class-string<\Hyde\Foundation\Concerns\HydeExtension> $extension */ - 53        foreach ($this->kernel->getExtensions() as $extension) { - 54            $extension->discoverFiles($this); + 53        foreach ($this->kernel->getExtensions() as $extension) { + 54            $extension->discoverFiles($this); 55        } 56    } 57 @@ -302,9 +302,9 @@ 59    protected function discoverFilesFor(string $pageClass): void 60    { 61        // Scan the source directory, and directories therein, for files that match the model's file extension. - 62        foreach (glob($this->kernel->path($pageClass::sourcePath('{*,**/*}')), GLOB_BRACE) as $path) { - 63            if (! str_starts_with(basename((string) $path), '_')) { - 64                $this->addFile(SourceFile::make($path, $pageClass)); + 62        foreach (glob($this->kernel->path($pageClass::sourcePath('{*,**/*}')), GLOB_BRACE) as $path) { + 63            if (! str_starts_with(basename((string) $path), '_')) { + 64                $this->addFile(SourceFile::make($path, $pageClass)); 65            } 66        } 67    } @@ -320,9 +320,9 @@ 77     */ 78    public function getFiles(?string $pageClass = null): FileCollection 79    { - 80        return $pageClass ? $this->filter(function (SourceFile $file) use ($pageClass): bool { - 81            return $file->pageClass === $pageClass; - 82        }) : $this; + 80        return $pageClass ? $this->filter(function (SourceFile $file) use ($pageClass): bool { + 81            return $file->pageClass === $pageClass; + 82        }) : $this; 83    } 84} @@ -335,7 +335,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Foundation/Kernel/Filesystem.php.html b/master/coverage/framework/src/Foundation/Kernel/Filesystem.php.html index 6406db898b3..dfbb4156be3 100644 --- a/master/coverage/framework/src/Foundation/Kernel/Filesystem.php.html +++ b/master/coverage/framework/src/Foundation/Kernel/Filesystem.php.html @@ -431,12 +431,12 @@ 34 35    public function __construct(HydeKernel $kernel) 36    { - 37        $this->kernel = $kernel; + 37        $this->kernel = $kernel; 38    } 39 40    public function getBasePath(): string 41    { - 42        return $this->kernel->getBasePath(); + 42        return $this->kernel->getBasePath(); 43    } 44 45    /** @@ -449,17 +449,17 @@ 52     */ 53    public function path(string $path = ''): string 54    { - 55        if (empty($path)) { - 56            return $this->getBasePath(); + 55        if (empty($path)) { + 56            return $this->getBasePath(); 57        } 58 - 59        if (str_starts_with($path, 'phar://')) { + 59        if (str_starts_with($path, 'phar://')) { 60            return $path; 61        } 62 - 63        $path = unslash($this->pathToRelative($path)); + 63        $path = unslash($this->pathToRelative($path)); 64 - 65        return path_join($this->getBasePath(), $path); + 65        return path_join($this->getBasePath(), $path); 66    } 67 68    /** @@ -471,11 +471,11 @@ 74     */ 75    public function pathToAbsolute(string|array $path): string|array 76    { - 77        if (is_array($path)) { + 77        if (is_array($path)) { 78            return array_map(fn (string $path): string => $this->pathToAbsolute($path), $path); 79        } 80 - 81        return $this->path($path); + 81        return $this->path($path); 82    } 83 84    /** @@ -483,9 +483,9 @@ 86     */ 87    public function pathToRelative(string $path): string 88    { - 89        return normalize_slashes(str_starts_with($path, $this->path()) - 90            ? unslash(str_replace($this->path(), '', $path)) - 91            : $path); + 89        return normalize_slashes(str_starts_with($path, $this->path()) + 90            ? unslash(str_replace($this->path(), '', $path)) + 91            : $path); 92    } 93 94    /** @@ -493,13 +493,13 @@ 96     */ 97    public function mediaPath(string $path = ''): string 98    { - 99        if (empty($path)) { + 99        if (empty($path)) { 100            return $this->path(Hyde::getMediaDirectory()); 101        } 102 - 103        $path = unslash($path); + 103        $path = unslash($path); 104 - 105        return $this->path(Hyde::getMediaDirectory()."/$path"); + 105        return $this->path(Hyde::getMediaDirectory()."/$path"); 106    } 107 108    /** @@ -537,11 +537,11 @@ 140     */ 141    public function vendorPath(string $path = '', string $package = 'framework'): string 142    { - 143        if (PharSupport::running() && ! PharSupport::hasVendorDirectory()) { + 143        if (PharSupport::running() && ! PharSupport::hasVendorDirectory()) { 144            return PharSupport::vendorPath($path, $package); 145        } 146 - 147        return $this->path("vendor/hyde/$package/".unslash($path)); + 147        return $this->path("vendor/hyde/$package/".unslash($path)); 148    } 149 150    /** @@ -610,7 +610,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Foundation/Kernel/Hyperlinks.php.html b/master/coverage/framework/src/Foundation/Kernel/Hyperlinks.php.html index 2a88b15d11a..a210dc054cc 100644 --- a/master/coverage/framework/src/Foundation/Kernel/Hyperlinks.php.html +++ b/master/coverage/framework/src/Foundation/Kernel/Hyperlinks.php.html @@ -320,7 +320,7 @@ 33 34    public function __construct(HydeKernel $kernel) 35    { - 36        $this->kernel = $kernel; + 36        $this->kernel = $kernel; 37    } 38 39    /** @@ -330,7 +330,7 @@ 43     */ 44    public function formatLink(string $destination): string 45    { - 46        if (Config::getBool('hyde.pretty_urls', false) === true) { + 46        if (Config::getBool('hyde.pretty_urls', false) === true) { 47            if (str_ends_with($destination, '.html')) { 48                if ($destination === 'index.html') { 49                    return '/'; @@ -344,7 +344,7 @@ 57            } 58        } 59 - 60        return $destination; + 60        return $destination; 61    } 62 63    /** @@ -356,22 +356,22 @@ 69     */ 70    public function relativeLink(string $destination): string 71    { - 72        if (str_starts_with($destination, '../')) { + 72        if (str_starts_with($destination, '../')) { 73            return $destination; 74        } 75 - 76        $nestCount = substr_count($this->kernel->currentRouteKey() ?? '', '/'); - 77        $route = ''; - 78        if ($nestCount > 0) { + 76        $nestCount = substr_count($this->kernel->currentRouteKey() ?? '', '/'); + 77        $route = ''; + 78        if ($nestCount > 0) { 79            $route .= str_repeat('../', $nestCount); 80        } - 81        $route .= $this->formatLink($destination); + 81        $route .= $this->formatLink($destination); 82 - 83        if (Config::getBool('hyde.pretty_urls', false) === true && $route === '/') { + 83        if (Config::getBool('hyde.pretty_urls', false) === true && $route === '/') { 84            return './'; 85        } 86 - 87        return str_replace('//', '/', $route); + 87        return str_replace('//', '/', $route); 88    } 89 90    /** @@ -382,11 +382,11 @@ 95     */ 96    public function mediaLink(string $destination, bool $validate = false): string 97    { - 98        if ($validate && ! file_exists($sourcePath = "{$this->kernel->getMediaDirectory()}/$destination")) { + 98        if ($validate && ! file_exists($sourcePath = "{$this->kernel->getMediaDirectory()}/$destination")) { 99            throw new FileNotFoundException($sourcePath); 100        } 101 - 102        return $this->relativeLink("{$this->kernel->getMediaOutputDirectory()}/$destination"); + 102        return $this->relativeLink("{$this->kernel->getMediaOutputDirectory()}/$destination"); 103    } 104 105    /** @@ -416,7 +416,7 @@ 129     */ 130    public function hasSiteUrl(): bool 131    { - 132        return ! blank(Config::getNullableString('hyde.url')); + 132        return ! blank(Config::getNullableString('hyde.url')); 133    } 134 135    /** @@ -428,10 +428,10 @@ 141     */ 142    public function url(string $path = ''): string 143    { - 144        $path = $this->formatLink(trim($path, '/')); + 144        $path = $this->formatLink(trim($path, '/')); 145 - 146        if ($this->hasSiteUrl()) { - 147            return rtrim(rtrim((string) Config::getNullableString('hyde.url'), '/')."/$path", '/'); + 146        if ($this->hasSiteUrl()) { + 147            return rtrim(rtrim((string) Config::getNullableString('hyde.url'), '/')."/$path", '/'); 148        } 149 150        throw new BaseUrlNotSetException(); @@ -455,7 +455,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Foundation/Kernel/PageCollection.php.html b/master/coverage/framework/src/Foundation/Kernel/PageCollection.php.html index f305f0f3a21..d9942e0a52a 100644 --- a/master/coverage/framework/src/Foundation/Kernel/PageCollection.php.html +++ b/master/coverage/framework/src/Foundation/Kernel/PageCollection.php.html @@ -273,28 +273,28 @@ 30{ 31    public function addPage(HydePage $page): void 32    { - 33        $this->put($page->getSourcePath(), $page); + 33        $this->put($page->getSourcePath(), $page); 34    } 35 36    protected function runDiscovery(): void 37    { - 38        $this->kernel->files()->each(function (SourceFile $file): void { - 39            $this->addPage($this->parsePage($file->pageClass, $file->getPath())); - 40        }); + 38        $this->kernel->files()->each(function (SourceFile $file): void { + 39            $this->addPage($this->parsePage($file->pageClass, $file->getPath())); + 40        }); 41    } 42 43    protected function runExtensionHandlers(): void 44    { 45        /** @var class-string<\Hyde\Foundation\Concerns\HydeExtension> $extension */ - 46        foreach ($this->kernel->getExtensions() as $extension) { - 47            $extension->discoverPages($this); + 46        foreach ($this->kernel->getExtensions() as $extension) { + 47            $extension->discoverPages($this); 48        } 49    } 50 51    /** @param  class-string<\Hyde\Pages\Concerns\HydePage>  $pageClass */ 52    protected static function parsePage(string $pageClass, string $path) 53    { - 54        return $pageClass::parse($pageClass::pathToIdentifier($path)); + 54        return $pageClass::parse($pageClass::pathToIdentifier($path)); 55    } 56 57    public function getPage(string $sourcePath): HydePage @@ -308,9 +308,9 @@ 65     */ 66    public function getPages(?string $pageClass = null): PageCollection 67    { - 68        return $pageClass ? $this->filter(function (HydePage $page) use ($pageClass): bool { - 69            return $page instanceof $pageClass; - 70        }) : $this; + 68        return $pageClass ? $this->filter(function (HydePage $page) use ($pageClass): bool { + 69            return $page instanceof $pageClass; + 70        }) : $this; 71    } 72} @@ -323,7 +323,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Foundation/Kernel/RouteCollection.php.html b/master/coverage/framework/src/Foundation/Kernel/RouteCollection.php.html index 4d701680eca..3bef2fa41be 100644 --- a/master/coverage/framework/src/Foundation/Kernel/RouteCollection.php.html +++ b/master/coverage/framework/src/Foundation/Kernel/RouteCollection.php.html @@ -252,20 +252,20 @@ 31{ 32    public function addRoute(Route $route): void 33    { - 34        $this->put($route->getRouteKey(), $route); + 34        $this->put($route->getRouteKey(), $route); 35    } 36 37    protected function runDiscovery(): void 38    { - 39        $this->kernel->pages()->each(function (HydePage $page): void { - 40            $this->addRoute(new Route($page)); - 41        }); + 39        $this->kernel->pages()->each(function (HydePage $page): void { + 40            $this->addRoute(new Route($page)); + 41        }); 42    } 43 44    protected function runExtensionHandlers(): void 45    { - 46        foreach ($this->kernel->getExtensions() as $extension) { - 47            $extension->discoverRoutes($this); + 46        foreach ($this->kernel->getExtensions() as $extension) { + 47            $extension->discoverRoutes($this); 48        } 49    } 50 @@ -295,7 +295,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Foundation/Kernel/dashboard.html b/master/coverage/framework/src/Foundation/Kernel/dashboard.html index f81b900d8dc..ae5628a9a2d 100644 --- a/master/coverage/framework/src/Foundation/Kernel/dashboard.html +++ b/master/coverage/framework/src/Foundation/Kernel/dashboard.html @@ -139,7 +139,7 @@

Project Risks

diff --git a/master/coverage/framework/src/Foundation/Kernel/index.html b/master/coverage/framework/src/Foundation/Kernel/index.html index 0a6855c2188..ab0dede1472 100644 --- a/master/coverage/framework/src/Foundation/Kernel/index.html +++ b/master/coverage/framework/src/Foundation/Kernel/index.html @@ -226,7 +226,7 @@

Legend

High: 90% to 100%

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Foundation/PharSupport.php.html b/master/coverage/framework/src/Foundation/PharSupport.php.html index a24a32b0f89..86e5cd10ba3 100644 --- a/master/coverage/framework/src/Foundation/PharSupport.php.html +++ b/master/coverage/framework/src/Foundation/PharSupport.php.html @@ -256,7 +256,7 @@ 36 37    public static function running(): bool 38    { - 39        return self::$mocks['running'] ?? Phar::running() !== ''; + 39        return self::$mocks['running'] ?? Phar::running() !== ''; 40    } 41 42    public static function hasVendorDirectory(): bool @@ -279,7 +279,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Foundation/Providers/ConfigurationServiceProvider.php.html b/master/coverage/framework/src/Foundation/Providers/ConfigurationServiceProvider.php.html index 5aebb5ad8fa..4dea65fcd89 100644 --- a/master/coverage/framework/src/Foundation/Providers/ConfigurationServiceProvider.php.html +++ b/master/coverage/framework/src/Foundation/Providers/ConfigurationServiceProvider.php.html @@ -167,29 +167,29 @@ 12{ 13    public function register(): void 14    { - 15        $this->mergeConfigFrom(__DIR__.'/../../../config/hyde.php', 'hyde'); - 16        $this->mergeConfigFrom(__DIR__.'/../../../config/docs.php', 'docs'); - 17        $this->mergeConfigFrom(__DIR__.'/../../../config/markdown.php', 'markdown'); + 15        $this->mergeConfigFrom(__DIR__.'/../../../config/hyde.php', 'hyde'); + 16        $this->mergeConfigFrom(__DIR__.'/../../../config/docs.php', 'docs'); + 17        $this->mergeConfigFrom(__DIR__.'/../../../config/markdown.php', 'markdown'); 18    } 19 20    public function boot(): void 21    { - 22        $this->publishes([ - 23            __DIR__.'/../../../config' => config_path(), - 24        ], 'configs'); + 22        $this->publishes([ + 23            __DIR__.'/../../../config' => config_path(), + 24        ], 'configs'); 25 - 26        $this->publishes([ - 27            __DIR__.'/../../../config/hyde.php' => config_path('hyde.php'), - 28            __DIR__.'/../../../config/docs.php' => config_path('docs.php'), - 29            __DIR__.'/../../../config/markdown.php' => config_path('markdown.php'), - 30        ], 'hyde-configs'); + 26        $this->publishes([ + 27            __DIR__.'/../../../config/hyde.php' => config_path('hyde.php'), + 28            __DIR__.'/../../../config/docs.php' => config_path('docs.php'), + 29            __DIR__.'/../../../config/markdown.php' => config_path('markdown.php'), + 30        ], 'hyde-configs'); 31 - 32        $this->publishes([ - 33            __DIR__.'/../../../config/view.php' => config_path('view.php'), - 34            __DIR__.'/../../../config/cache.php' => config_path('cache.php'), - 35            __DIR__.'/../../../config/commands.php' => config_path('commands.php'), - 36            __DIR__.'/../../../config/torchlight.php' => config_path('torchlight.php'), - 37        ], 'support-configs'); + 32        $this->publishes([ + 33            __DIR__.'/../../../config/view.php' => config_path('view.php'), + 34            __DIR__.'/../../../config/cache.php' => config_path('cache.php'), + 35            __DIR__.'/../../../config/commands.php' => config_path('commands.php'), + 36            __DIR__.'/../../../config/torchlight.php' => config_path('torchlight.php'), + 37        ], 'support-configs'); 38    } 39} @@ -202,7 +202,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Foundation/Providers/ViewServiceProvider.php.html b/master/coverage/framework/src/Foundation/Providers/ViewServiceProvider.php.html index d2beef05360..5a5e588b02c 100644 --- a/master/coverage/framework/src/Foundation/Providers/ViewServiceProvider.php.html +++ b/master/coverage/framework/src/Foundation/Providers/ViewServiceProvider.php.html @@ -175,38 +175,38 @@ 20    public function register(): void 21    { 22        // - 23    } + 23    } 24 25    public function boot(): void 26    { - 27        $this->loadViewsFrom(__DIR__.'/../../../resources/views', 'hyde'); + 27        $this->loadViewsFrom(__DIR__.'/../../../resources/views', 'hyde'); 28 - 29        $this->publishes([ - 30            __DIR__.'/../../../resources/views/layouts' => resource_path('views/vendor/hyde/layouts'), - 31        ], 'hyde-layouts'); + 29        $this->publishes([ + 30            __DIR__.'/../../../resources/views/layouts' => resource_path('views/vendor/hyde/layouts'), + 31        ], 'hyde-layouts'); 32 - 33        $this->publishes([ - 34            __DIR__.'/../../../resources/views/components' => resource_path('views/vendor/hyde/components'), - 35        ], 'hyde-components'); + 33        $this->publishes([ + 34            __DIR__.'/../../../resources/views/components' => resource_path('views/vendor/hyde/components'), + 35        ], 'hyde-components'); 36 - 37        $this->publishes([ - 38            Hyde::vendorPath('resources/views/pages/404.blade.php') => Hyde::path('_pages/404.blade.php'), - 39        ], 'hyde-page-404'); + 37        $this->publishes([ + 38            Hyde::vendorPath('resources/views/pages/404.blade.php') => Hyde::path('_pages/404.blade.php'), + 39        ], 'hyde-page-404'); 40 - 41        $this->publishes([ - 42            Hyde::vendorPath('resources/views/homepages/welcome.blade.php') => Hyde::path('_pages/index.blade.php'), - 43        ], 'hyde-welcome-page'); + 41        $this->publishes([ + 42            Hyde::vendorPath('resources/views/homepages/welcome.blade.php') => Hyde::path('_pages/index.blade.php'), + 43        ], 'hyde-welcome-page'); 44 - 45        $this->publishes([ - 46            Hyde::vendorPath('resources/views/homepages/post-feed.blade.php') => Hyde::path('_pages/index.blade.php'), - 47        ], 'hyde-posts-page'); + 45        $this->publishes([ + 46            Hyde::vendorPath('resources/views/homepages/post-feed.blade.php') => Hyde::path('_pages/index.blade.php'), + 47        ], 'hyde-posts-page'); 48 - 49        $this->publishes([ - 50            Hyde::vendorPath('resources/views/homepages/blank.blade.php') => Hyde::path('_pages/index.blade.php'), - 51        ], 'hyde-blank-page'); + 49        $this->publishes([ + 50            Hyde::vendorPath('resources/views/homepages/blank.blade.php') => Hyde::path('_pages/index.blade.php'), + 51        ], 'hyde-blank-page'); 52 - 53        Blade::component('link', LinkComponent::class); - 54        Blade::component('hyde::breadcrumbs', BreadcrumbsComponent::class); + 53        Blade::component('link', LinkComponent::class); + 54        Blade::component('hyde::breadcrumbs', BreadcrumbsComponent::class); 55    } 56} @@ -219,7 +219,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Foundation/Providers/dashboard.html b/master/coverage/framework/src/Foundation/Providers/dashboard.html index 95b4e9daef2..feb458182fc 100644 --- a/master/coverage/framework/src/Foundation/Providers/dashboard.html +++ b/master/coverage/framework/src/Foundation/Providers/dashboard.html @@ -139,7 +139,7 @@

Project Risks

diff --git a/master/coverage/framework/src/Foundation/Providers/index.html b/master/coverage/framework/src/Foundation/Providers/index.html index 5a93e5763c2..0664d69c12e 100644 --- a/master/coverage/framework/src/Foundation/Providers/index.html +++ b/master/coverage/framework/src/Foundation/Providers/index.html @@ -142,7 +142,7 @@

Legend

High: 90% to 100%

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Foundation/dashboard.html b/master/coverage/framework/src/Foundation/dashboard.html index 7230f270aca..4f58f38be75 100644 --- a/master/coverage/framework/src/Foundation/dashboard.html +++ b/master/coverage/framework/src/Foundation/dashboard.html @@ -138,7 +138,7 @@

Project Risks

diff --git a/master/coverage/framework/src/Foundation/index.html b/master/coverage/framework/src/Foundation/index.html index 377c834ec2e..6a9626151f6 100644 --- a/master/coverage/framework/src/Foundation/index.html +++ b/master/coverage/framework/src/Foundation/index.html @@ -365,7 +365,7 @@

Legend

High: 90% to 100%

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Actions/AnonymousViewCompiler.php.html b/master/coverage/framework/src/Framework/Actions/AnonymousViewCompiler.php.html index 33b6a9ebb23..589f2f2979b 100644 --- a/master/coverage/framework/src/Framework/Actions/AnonymousViewCompiler.php.html +++ b/master/coverage/framework/src/Framework/Actions/AnonymousViewCompiler.php.html @@ -227,7 +227,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Actions/BladeMatterParser.php.html b/master/coverage/framework/src/Framework/Actions/BladeMatterParser.php.html index d591675e67d..06894c30e1c 100644 --- a/master/coverage/framework/src/Framework/Actions/BladeMatterParser.php.html +++ b/master/coverage/framework/src/Framework/Actions/BladeMatterParser.php.html @@ -406,42 +406,42 @@ 53 54    public static function parseFile(string $path): array 55    { - 56        return static::parseString(file_get_contents(Hyde::path($path))); + 56        return static::parseString(file_get_contents(Hyde::path($path))); 57    } 58 59    public static function parseString(string $contents): array 60    { - 61        return (new static($contents))->parse()->get(); + 61        return (new static($contents))->parse()->get(); 62    } 63 64    public function __construct(string $contents) 65    { - 66        $this->contents = $contents; + 66        $this->contents = $contents; 67    } 68 69    public function get(): array 70    { - 71        return $this->matter; + 71        return $this->matter; 72    } 73 74    public function parse(): static 75    { - 76        $this->matter = []; + 76        $this->matter = []; 77 - 78        $lines = explode("\n", $this->contents); + 78        $lines = explode("\n", $this->contents); 79 - 80        foreach ($lines as $line) { - 81            if (static::lineMatchesFrontMatter($line)) { + 80        foreach ($lines as $line) { + 81            if (static::lineMatchesFrontMatter($line)) { 82                $this->matter[static::extractKey($line)] = static::getValueWithType(static::extractValue($line)); 83            } 84        } 85 - 86        return $this; + 86        return $this; 87    } 88 89    protected static function lineMatchesFrontMatter(string $line): bool 90    { - 91        return str_starts_with($line, static::SEARCH); + 91        return str_starts_with($line, static::SEARCH); 92    } 93 94    protected static function extractKey(string $line): string @@ -545,7 +545,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Actions/ConvertsArrayToFrontMatter.php.html b/master/coverage/framework/src/Framework/Actions/ConvertsArrayToFrontMatter.php.html index 8dfba5eb8c0..f677df31c8a 100644 --- a/master/coverage/framework/src/Framework/Actions/ConvertsArrayToFrontMatter.php.html +++ b/master/coverage/framework/src/Framework/Actions/ConvertsArrayToFrontMatter.php.html @@ -168,7 +168,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Actions/ConvertsMarkdownToPlainText.php.html b/master/coverage/framework/src/Framework/Actions/ConvertsMarkdownToPlainText.php.html index 07a19db6f81..90873e23fed 100644 --- a/master/coverage/framework/src/Framework/Actions/ConvertsMarkdownToPlainText.php.html +++ b/master/coverage/framework/src/Framework/Actions/ConvertsMarkdownToPlainText.php.html @@ -416,7 +416,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Actions/CreatesNewMarkdownPostFile.php.html b/master/coverage/framework/src/Framework/Actions/CreatesNewMarkdownPostFile.php.html index d8a6d1a2b18..28e37f014e5 100644 --- a/master/coverage/framework/src/Framework/Actions/CreatesNewMarkdownPostFile.php.html +++ b/master/coverage/framework/src/Framework/Actions/CreatesNewMarkdownPostFile.php.html @@ -302,7 +302,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Actions/CreatesNewPageSourceFile.php.html b/master/coverage/framework/src/Framework/Actions/CreatesNewPageSourceFile.php.html index e8c97f3e555..d0fcf388c5c 100644 --- a/master/coverage/framework/src/Framework/Actions/CreatesNewPageSourceFile.php.html +++ b/master/coverage/framework/src/Framework/Actions/CreatesNewPageSourceFile.php.html @@ -586,7 +586,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Actions/GeneratesDocumentationSearchIndex.php.html b/master/coverage/framework/src/Framework/Actions/GeneratesDocumentationSearchIndex.php.html index 9594bf19629..037c7cdf1d5 100644 --- a/master/coverage/framework/src/Framework/Actions/GeneratesDocumentationSearchIndex.php.html +++ b/master/coverage/framework/src/Framework/Actions/GeneratesDocumentationSearchIndex.php.html @@ -390,7 +390,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Actions/GeneratesTableOfContents.php.html b/master/coverage/framework/src/Framework/Actions/GeneratesTableOfContents.php.html index eab646a1143..d9ad30648bd 100644 --- a/master/coverage/framework/src/Framework/Actions/GeneratesTableOfContents.php.html +++ b/master/coverage/framework/src/Framework/Actions/GeneratesTableOfContents.php.html @@ -254,7 +254,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Actions/MarkdownFileParser.php.html b/master/coverage/framework/src/Framework/Actions/MarkdownFileParser.php.html index d02138e19cf..0fd50b2bb20 100644 --- a/master/coverage/framework/src/Framework/Actions/MarkdownFileParser.php.html +++ b/master/coverage/framework/src/Framework/Actions/MarkdownFileParser.php.html @@ -247,7 +247,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Actions/PostBuildTasks/GenerateBuildManifest.php.html b/master/coverage/framework/src/Framework/Actions/PostBuildTasks/GenerateBuildManifest.php.html index 07671e57863..72b0556a9b7 100644 --- a/master/coverage/framework/src/Framework/Actions/PostBuildTasks/GenerateBuildManifest.php.html +++ b/master/coverage/framework/src/Framework/Actions/PostBuildTasks/GenerateBuildManifest.php.html @@ -336,7 +336,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Actions/PostBuildTasks/GenerateRssFeed.php.html b/master/coverage/framework/src/Framework/Actions/PostBuildTasks/GenerateRssFeed.php.html index 3ed8f521d62..03efba12dae 100644 --- a/master/coverage/framework/src/Framework/Actions/PostBuildTasks/GenerateRssFeed.php.html +++ b/master/coverage/framework/src/Framework/Actions/PostBuildTasks/GenerateRssFeed.php.html @@ -193,7 +193,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Actions/PostBuildTasks/GenerateSearch.php.html b/master/coverage/framework/src/Framework/Actions/PostBuildTasks/GenerateSearch.php.html index 4a55275cb31..8ec1810c242 100644 --- a/master/coverage/framework/src/Framework/Actions/PostBuildTasks/GenerateSearch.php.html +++ b/master/coverage/framework/src/Framework/Actions/PostBuildTasks/GenerateSearch.php.html @@ -197,7 +197,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Actions/PostBuildTasks/GenerateSitemap.php.html b/master/coverage/framework/src/Framework/Actions/PostBuildTasks/GenerateSitemap.php.html index e9868ae1ac9..cb9bcbae6a5 100644 --- a/master/coverage/framework/src/Framework/Actions/PostBuildTasks/GenerateSitemap.php.html +++ b/master/coverage/framework/src/Framework/Actions/PostBuildTasks/GenerateSitemap.php.html @@ -193,7 +193,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Actions/PostBuildTasks/dashboard.html b/master/coverage/framework/src/Framework/Actions/PostBuildTasks/dashboard.html index 906fd6b36c3..dc14cacb2f6 100644 --- a/master/coverage/framework/src/Framework/Actions/PostBuildTasks/dashboard.html +++ b/master/coverage/framework/src/Framework/Actions/PostBuildTasks/dashboard.html @@ -140,7 +140,7 @@

Project Risks

diff --git a/master/coverage/framework/src/Framework/Actions/PostBuildTasks/index.html b/master/coverage/framework/src/Framework/Actions/PostBuildTasks/index.html index da291fe3568..b975016a6ae 100644 --- a/master/coverage/framework/src/Framework/Actions/PostBuildTasks/index.html +++ b/master/coverage/framework/src/Framework/Actions/PostBuildTasks/index.html @@ -199,7 +199,7 @@

Legend

High: 90% to 100%

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Actions/PreBuildTasks/CleanSiteDirectory.php.html b/master/coverage/framework/src/Framework/Actions/PreBuildTasks/CleanSiteDirectory.php.html index 645d90336f1..1633f2ac0af 100644 --- a/master/coverage/framework/src/Framework/Actions/PreBuildTasks/CleanSiteDirectory.php.html +++ b/master/coverage/framework/src/Framework/Actions/PreBuildTasks/CleanSiteDirectory.php.html @@ -320,7 +320,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Actions/PreBuildTasks/dashboard.html b/master/coverage/framework/src/Framework/Actions/PreBuildTasks/dashboard.html index e5b78dac55f..82c7ee189c5 100644 --- a/master/coverage/framework/src/Framework/Actions/PreBuildTasks/dashboard.html +++ b/master/coverage/framework/src/Framework/Actions/PreBuildTasks/dashboard.html @@ -140,7 +140,7 @@

Project Risks

diff --git a/master/coverage/framework/src/Framework/Actions/PreBuildTasks/index.html b/master/coverage/framework/src/Framework/Actions/PreBuildTasks/index.html index 28629f5d0b9..e1569fcfc4e 100644 --- a/master/coverage/framework/src/Framework/Actions/PreBuildTasks/index.html +++ b/master/coverage/framework/src/Framework/Actions/PreBuildTasks/index.html @@ -115,7 +115,7 @@

Legend

High: 90% to 100%

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Actions/SourceFileParser.php.html b/master/coverage/framework/src/Framework/Actions/SourceFileParser.php.html index 94d47d39178..9383682f450 100644 --- a/master/coverage/framework/src/Framework/Actions/SourceFileParser.php.html +++ b/master/coverage/framework/src/Framework/Actions/SourceFileParser.php.html @@ -252,16 +252,16 @@ 31     */ 32    public function __construct(string $pageClass, string $identifier) 33    { - 34        $this->validateExistence($pageClass, $identifier); - 35        $this->identifier = $identifier; + 34        $this->validateExistence($pageClass, $identifier); + 35        $this->identifier = $identifier; 36 - 37        $this->page = $this->constructPage($pageClass); + 37        $this->page = $this->constructPage($pageClass); 38    } 39 40    protected function constructPage(string $pageClass): HydePage|BladePage|BaseMarkdownPage 41    { - 42        if ($pageClass === BladePage::class) { - 43            return $this->parseBladePage(); + 42        if ($pageClass === BladePage::class) { + 43            return $this->parseBladePage(); 44        } 45 46        if (is_subclass_of($pageClass, BaseMarkdownPage::class)) { @@ -273,10 +273,10 @@ 52 53    protected function parseBladePage(): BladePage 54    { - 55        return new BladePage( - 56            identifier: $this->identifier, - 57            matter: BladeMatterParser::parseFile(BladePage::sourcePath($this->identifier)) - 58        ); + 55        return new BladePage( + 56            identifier: $this->identifier, + 57            matter: BladeMatterParser::parseFile(BladePage::sourcePath($this->identifier)) + 58        ); 59    } 60 61    /** @param  class-string<\Hyde\Pages\Concerns\BaseMarkdownPage>  $pageClass */ @@ -295,7 +295,7 @@ 74 75    public function get(): HydePage 76    { - 77        return $this->page; + 77        return $this->page; 78    } 79} @@ -308,7 +308,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Actions/StaticPageBuilder.php.html b/master/coverage/framework/src/Framework/Actions/StaticPageBuilder.php.html index 2448ce04f45..5613ebfc451 100644 --- a/master/coverage/framework/src/Framework/Actions/StaticPageBuilder.php.html +++ b/master/coverage/framework/src/Framework/Actions/StaticPageBuilder.php.html @@ -175,7 +175,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Actions/dashboard.html b/master/coverage/framework/src/Framework/Actions/dashboard.html index 701c71667d9..c2cac0c2de7 100644 --- a/master/coverage/framework/src/Framework/Actions/dashboard.html +++ b/master/coverage/framework/src/Framework/Actions/dashboard.html @@ -139,7 +139,7 @@

Project Risks

diff --git a/master/coverage/framework/src/Framework/Actions/index.html b/master/coverage/framework/src/Framework/Actions/index.html index 606227ccd28..4dd580292c8 100644 --- a/master/coverage/framework/src/Framework/Actions/index.html +++ b/master/coverage/framework/src/Framework/Actions/index.html @@ -450,7 +450,7 @@

Legend

High: 90% to 100%

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Concerns/InteractsWithDirectories.php.html b/master/coverage/framework/src/Framework/Concerns/InteractsWithDirectories.php.html index dbac443f437..f2eafcde79c 100644 --- a/master/coverage/framework/src/Framework/Concerns/InteractsWithDirectories.php.html +++ b/master/coverage/framework/src/Framework/Concerns/InteractsWithDirectories.php.html @@ -194,7 +194,7 @@ 17     */ 18    protected static function needsDirectory(string $directory): void 19    { - 20        if (! Filesystem::exists($directory)) { + 20        if (! Filesystem::exists($directory)) { 21            Filesystem::makeDirectory($directory, recursive: true); 22        } 23    } @@ -229,7 +229,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Concerns/InteractsWithFrontMatter.php.html b/master/coverage/framework/src/Framework/Concerns/InteractsWithFrontMatter.php.html index 76cf019b058..b5619d13556 100644 --- a/master/coverage/framework/src/Framework/Concerns/InteractsWithFrontMatter.php.html +++ b/master/coverage/framework/src/Framework/Concerns/InteractsWithFrontMatter.php.html @@ -199,10 +199,10 @@ 22     */ 23    public function data(string $key = null, mixed $default = null): mixed 24    { - 25        return Arr::get(array_filter(array_merge( - 26            $this->matter->toArray(), - 27            (array) $this, - 28        )), $key, $default); + 25        return Arr::get(array_filter(array_merge( + 26            $this->matter->toArray(), + 27            (array) $this, + 28        )), $key, $default); 29    } 30 31    /** @@ -212,8 +212,8 @@ 35     */ 36    public function matter(string $key = null, mixed $default = null): mixed 37    { - 38        if ($key) { - 39            return $this->matter->get($key, $default); + 38        if ($key) { + 39            return $this->matter->get($key, $default); 40        } 41 42        return $this->matter; @@ -224,7 +224,7 @@ 47     */ 48    public function has(string $key): bool 49    { - 50        return ! blank($this->data($key)); + 50        return ! blank($this->data($key)); 51    } 52} @@ -237,7 +237,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Concerns/Internal/ForwardsIlluminateFilesystem.php.html b/master/coverage/framework/src/Framework/Concerns/Internal/ForwardsIlluminateFilesystem.php.html index 3ac600d4e84..3d28033695d 100644 --- a/master/coverage/framework/src/Framework/Concerns/Internal/ForwardsIlluminateFilesystem.php.html +++ b/master/coverage/framework/src/Framework/Concerns/Internal/ForwardsIlluminateFilesystem.php.html @@ -275,43 +275,43 @@ 75{ 76    public static function __callStatic(string $name, array $arguments): string|array|int|bool|null|LazyCollection 77    { - 78        return self::filesystem()->{$name}(...self::qualifyArguments(self::getParameterNames($name), $arguments)); + 78        return self::filesystem()->{$name}(...self::qualifyArguments(self::getParameterNames($name), $arguments)); 79    } 80 81    protected static function getParameterNames(string $name): array 82    { - 83        return array_map(fn (ReflectionParameter $parameter): string => $parameter->getName(), - 84            (new ReflectionMethod(Filesystem::class, $name))->getParameters() - 85        ); + 83        return array_map(fn (ReflectionParameter $parameter): string => $parameter->getName(), + 84            (new ReflectionMethod(Filesystem::class, $name))->getParameters() + 85        ); 86    } 87 88    /** @param  string[]  $parameterNames */ 89    protected static function qualifyArguments(array $parameterNames, array $arguments): Collection 90    { - 91        return collect($arguments)->mapWithKeys(function (string|array|int|bool $argumentValue, int|string $key) use ($parameterNames): string|array|int|bool { - 92            $argumentsToQualify = [ - 93                'path', 'paths', 'file', 'target', 'directory', 'destination', 'firstFile', 'secondFile', - 94                'pattern', 'link', 'from', 'to', - 95            ]; + 91        return collect($arguments)->mapWithKeys(function (string|array|int|bool $argumentValue, int|string $key) use ($parameterNames): string|array|int|bool { + 92            $argumentsToQualify = [ + 93                'path', 'paths', 'file', 'target', 'directory', 'destination', 'firstFile', 'secondFile', + 94                'pattern', 'link', 'from', 'to', + 95            ]; 96 - 97            if (is_int($key)) { + 97            if (is_int($key)) { 98                // If the argument is not named, we'll retrieve it from the reflection data. - 99                $key = $parameterNames[$key]; + 99                $key = $parameterNames[$key]; 100            } 101 - 102            if (in_array($key, $argumentsToQualify)) { - 103                $argumentValue = self::qualifyPathArgument($argumentValue); + 102            if (in_array($key, $argumentsToQualify)) { + 103                $argumentValue = self::qualifyPathArgument($argumentValue); 104            } 105 - 106            return [$key => $argumentValue]; - 107        }); + 106            return [$key => $argumentValue]; + 107        }); 108    } 109 110    protected static function qualifyPathArgument(array|string $path): string|array 111    { - 112        return is_array($path) + 112        return is_array($path) 113            ? array_map(fn (string $path): string => self::qualifyPathArgument($path), $path) - 114            : self::absolutePath($path); + 114            : self::absolutePath($path); 115    } 116} @@ -324,7 +324,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Concerns/Internal/MockableFeatures.php.html b/master/coverage/framework/src/Framework/Concerns/Internal/MockableFeatures.php.html index 93fa8e9ef1c..3f7757dcef2 100644 --- a/master/coverage/framework/src/Framework/Concerns/Internal/MockableFeatures.php.html +++ b/master/coverage/framework/src/Framework/Concerns/Internal/MockableFeatures.php.html @@ -210,12 +210,12 @@ 32 33    public static function resolveMockedInstance(string $feature): ?bool 34    { - 35        return static::$mockedInstances[$feature] ?? null; + 35        return static::$mockedInstances[$feature] ?? null; 36    } 37 38    public static function clearMockedInstances(): void 39    { - 40        static::$mockedInstances = []; + 40        static::$mockedInstances = []; 41    } 42} @@ -228,7 +228,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Concerns/Internal/SetsUpMarkdownConverter.php.html b/master/coverage/framework/src/Framework/Concerns/Internal/SetsUpMarkdownConverter.php.html index 1ab5f0bae03..93f7e593526 100644 --- a/master/coverage/framework/src/Framework/Concerns/Internal/SetsUpMarkdownConverter.php.html +++ b/master/coverage/framework/src/Framework/Concerns/Internal/SetsUpMarkdownConverter.php.html @@ -312,68 +312,68 @@ 24{ 25    protected function enableDynamicExtensions(): void 26    { - 27        if ($this->canEnablePermalinks()) { + 27        if ($this->canEnablePermalinks()) { 28            $this->configurePermalinksExtension(); 29        } 30 - 31        if ($this->canEnableTorchlight()) { + 31        if ($this->canEnableTorchlight()) { 32            $this->addExtension(TorchlightExtension::class); 33        } 34 - 35        if (Config::getBool('markdown.allow_html', false)) { + 35        if (Config::getBool('markdown.allow_html', false)) { 36            $this->enableAllHtmlElements(); 37        } 38    } 39 40    protected function enableConfigDefinedExtensions(): void 41    { - 42        foreach (Config::getArray('markdown.extensions', []) as $extensionClassName) { - 43            $this->addExtension($extensionClassName); + 42        foreach (Config::getArray('markdown.extensions', []) as $extensionClassName) { + 43            $this->addExtension($extensionClassName); 44        } 45    } 46 47    protected function mergeMarkdownConfiguration(): void 48    { - 49        $this->config = array_merge(Config::getArray('markdown.config', []), $this->config); + 49        $this->config = array_merge(Config::getArray('markdown.config', []), $this->config); 50    } 51 52    public function initializeExtension(string $extensionClassName): void 53    { - 54        $this->converter->getEnvironment()->addExtension(new $extensionClassName()); + 54        $this->converter->getEnvironment()->addExtension(new $extensionClassName()); 55    } 56 57    protected function registerPreProcessors(): void 58    { - 59        $this->registerPreProcessor(BladeDownProcessor::class, Config::getBool('markdown.enable_blade', false)); + 59        $this->registerPreProcessor(BladeDownProcessor::class, Config::getBool('markdown.enable_blade', false)); 60 - 61        $this->registerPreProcessor(ShortcodeProcessor::class); - 62        $this->registerPreProcessor(CodeblockFilepathProcessor::class); + 61        $this->registerPreProcessor(ShortcodeProcessor::class); + 62        $this->registerPreProcessor(CodeblockFilepathProcessor::class); 63    } 64 65    protected function registerPostProcessors(): void 66    { - 67        $this->registerPostProcessor( - 68            BladeDownProcessor::class, - 69            Config::getBool('markdown.enable_blade', false) - 70        ); + 67        $this->registerPostProcessor( + 68            BladeDownProcessor::class, + 69            Config::getBool('markdown.enable_blade', false) + 70        ); 71 - 72        $this->registerPostProcessor( - 73            CodeblockFilepathProcessor::class, - 74            Config::getBool('markdown.features.codeblock_filepaths', true) - 75        ); + 72        $this->registerPostProcessor( + 73            CodeblockFilepathProcessor::class, + 74            Config::getBool('markdown.features.codeblock_filepaths', true) + 75        ); 76    } 77 78    protected function registerPreProcessor(string $class, bool $when = true): void 79    { - 80        if (! in_array($class, $this->preprocessors) && $when) { - 81            $this->preprocessors[] = $class; + 80        if (! in_array($class, $this->preprocessors) && $when) { + 81            $this->preprocessors[] = $class; 82        } 83    } 84 85    protected function registerPostProcessor(string $class, bool $when = true): void 86    { - 87        if (! in_array($class, $this->postprocessors) && $when) { - 88            $this->postprocessors[] = $class; + 87        if (! in_array($class, $this->postprocessors) && $when) { + 88            $this->postprocessors[] = $class; 89        } 90    } 91} @@ -387,7 +387,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Concerns/Internal/dashboard.html b/master/coverage/framework/src/Framework/Concerns/Internal/dashboard.html index 6c21e334421..8b131ad7afc 100644 --- a/master/coverage/framework/src/Framework/Concerns/Internal/dashboard.html +++ b/master/coverage/framework/src/Framework/Concerns/Internal/dashboard.html @@ -140,7 +140,7 @@

Project Risks

diff --git a/master/coverage/framework/src/Framework/Concerns/Internal/index.html b/master/coverage/framework/src/Framework/Concerns/Internal/index.html index ba4c95e8a94..cd77f33d36b 100644 --- a/master/coverage/framework/src/Framework/Concerns/Internal/index.html +++ b/master/coverage/framework/src/Framework/Concerns/Internal/index.html @@ -171,7 +171,7 @@

Legend

High: 90% to 100%

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Concerns/RegistersFileLocations.php.html b/master/coverage/framework/src/Framework/Concerns/RegistersFileLocations.php.html index d1f917f1e0c..6a7886b6ea6 100644 --- a/master/coverage/framework/src/Framework/Concerns/RegistersFileLocations.php.html +++ b/master/coverage/framework/src/Framework/Concerns/RegistersFileLocations.php.html @@ -325,8 +325,8 @@ 38    protected function registerSourceDirectories(array $directoryMapping): void 39    { 40        /** @var class-string<HydePage> $class */ - 41        foreach ($directoryMapping as $class => $location) { - 42            $class::setSourceDirectory(unslash(Hyde::getSourceRoot().'/'.unslash($location))); + 41        foreach ($directoryMapping as $class => $location) { + 42            $class::setSourceDirectory(unslash(Hyde::getSourceRoot().'/'.unslash($location))); 43        } 44    } 45 @@ -343,8 +343,8 @@ 56    protected function registerOutputDirectories(array $directoryMapping): void 57    { 58        /** @var class-string<HydePage> $class */ - 59        foreach ($directoryMapping as $class => $location) { - 60            $class::setOutputDirectory(unslash($location)); + 59        foreach ($directoryMapping as $class => $location) { + 60            $class::setOutputDirectory(unslash($location)); 61        } 62    } 63 @@ -355,10 +355,10 @@ 68     */ 69    protected function discoverBladeViewsIn(string $directory): void 70    { - 71        Config::set(['view.paths' => array_unique(array_merge( - 72            Config::getArray('view.paths', []), - 73            [base_path($directory)] - 74        ))]); + 71        Config::set(['view.paths' => array_unique(array_merge( + 72            Config::getArray('view.paths', []), + 73            [base_path($directory)] + 74        ))]); 75    } 76 77    /** @@ -368,7 +368,7 @@ 81     */ 82    protected function storeCompiledSiteIn(string $directory): void 83    { - 84        Hyde::setOutputDirectory($directory); + 84        Hyde::setOutputDirectory($directory); 85    } 86 87    /** @@ -376,24 +376,24 @@ 89     */ 90    protected function useMediaDirectory(string $directory): void 91    { - 92        Hyde::setMediaDirectory($directory); + 92        Hyde::setMediaDirectory($directory); 93    } 94 95    protected function getSourceDirectoryConfiguration(string $class, string $default): string 96    { - 97        return $this->getPageConfiguration('source_directories', $class, $default); + 97        return $this->getPageConfiguration('source_directories', $class, $default); 98    } 99 100    protected function getOutputDirectoryConfiguration(string $class, string $default): string 101    { - 102        return $this->getPageConfiguration('output_directories', $class, $default); + 102        return $this->getPageConfiguration('output_directories', $class, $default); 103    } 104 105    private function getPageConfiguration(string $option, string $class, string $default): string 106    { - 107        return Config::getNullableString("hyde.$option.".Str::kebab(class_basename($class))) /** @experimental Support for using kebab-case class names */ - 108            ?? Config::getNullableString("hyde.$option.$class") - 109            ?? $default; + 107        return Config::getNullableString("hyde.$option.".Str::kebab(class_basename($class))) /** @experimental Support for using kebab-case class names */ + 108            ?? Config::getNullableString("hyde.$option.$class") + 109            ?? $default; 110    } 111} @@ -406,7 +406,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Concerns/TracksExecutionTime.php.html b/master/coverage/framework/src/Framework/Concerns/TracksExecutionTime.php.html index f02763db3a4..c98a176cf9c 100644 --- a/master/coverage/framework/src/Framework/Concerns/TracksExecutionTime.php.html +++ b/master/coverage/framework/src/Framework/Concerns/TracksExecutionTime.php.html @@ -240,7 +240,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Concerns/ValidatesExistence.php.html b/master/coverage/framework/src/Framework/Concerns/ValidatesExistence.php.html index 3c66e15d704..e71bb6311dd 100644 --- a/master/coverage/framework/src/Framework/Concerns/ValidatesExistence.php.html +++ b/master/coverage/framework/src/Framework/Concerns/ValidatesExistence.php.html @@ -154,9 +154,9 @@ 21     */ 22    protected static function validateExistence(string $pageClass, string $identifier): void 23    { - 24        $path = $pageClass::sourcePath($identifier); + 24        $path = $pageClass::sourcePath($identifier); 25 - 26        if (Filesystem::missing($path)) { + 26        if (Filesystem::missing($path)) { 27            throw new FileNotFoundException($path); 28        } 29    } @@ -171,7 +171,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Concerns/dashboard.html b/master/coverage/framework/src/Framework/Concerns/dashboard.html index 79bf9e10248..06f0b841ddb 100644 --- a/master/coverage/framework/src/Framework/Concerns/dashboard.html +++ b/master/coverage/framework/src/Framework/Concerns/dashboard.html @@ -139,7 +139,7 @@

Project Risks

diff --git a/master/coverage/framework/src/Framework/Concerns/index.html b/master/coverage/framework/src/Framework/Concerns/index.html index a6b527cf49a..9ce0bd418ab 100644 --- a/master/coverage/framework/src/Framework/Concerns/index.html +++ b/master/coverage/framework/src/Framework/Concerns/index.html @@ -254,7 +254,7 @@

Legend

High: 90% to 100%

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Exceptions/BaseUrlNotSetException.php.html b/master/coverage/framework/src/Framework/Exceptions/BaseUrlNotSetException.php.html index 4fcd7428b5c..a403d90273f 100644 --- a/master/coverage/framework/src/Framework/Exceptions/BaseUrlNotSetException.php.html +++ b/master/coverage/framework/src/Framework/Exceptions/BaseUrlNotSetException.php.html @@ -105,7 +105,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Exceptions/BuildWarning.php.html b/master/coverage/framework/src/Framework/Exceptions/BuildWarning.php.html index 29f713e1e14..5ffcc9c67e0 100644 --- a/master/coverage/framework/src/Framework/Exceptions/BuildWarning.php.html +++ b/master/coverage/framework/src/Framework/Exceptions/BuildWarning.php.html @@ -105,7 +105,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Exceptions/FileConflictException.php.html b/master/coverage/framework/src/Framework/Exceptions/FileConflictException.php.html index 9951d266cdf..bc13d05fce7 100644 --- a/master/coverage/framework/src/Framework/Exceptions/FileConflictException.php.html +++ b/master/coverage/framework/src/Framework/Exceptions/FileConflictException.php.html @@ -165,7 +165,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Exceptions/FileNotFoundException.php.html b/master/coverage/framework/src/Framework/Exceptions/FileNotFoundException.php.html index d14b7474a21..ba3dd9a6e29 100644 --- a/master/coverage/framework/src/Framework/Exceptions/FileNotFoundException.php.html +++ b/master/coverage/framework/src/Framework/Exceptions/FileNotFoundException.php.html @@ -165,7 +165,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Exceptions/RouteNotFoundException.php.html b/master/coverage/framework/src/Framework/Exceptions/RouteNotFoundException.php.html index 874dacc471c..9639512720a 100644 --- a/master/coverage/framework/src/Framework/Exceptions/RouteNotFoundException.php.html +++ b/master/coverage/framework/src/Framework/Exceptions/RouteNotFoundException.php.html @@ -164,7 +164,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Exceptions/UnsupportedPageTypeException.php.html b/master/coverage/framework/src/Framework/Exceptions/UnsupportedPageTypeException.php.html index 0e820d9f5cb..6013d00ad70 100644 --- a/master/coverage/framework/src/Framework/Exceptions/UnsupportedPageTypeException.php.html +++ b/master/coverage/framework/src/Framework/Exceptions/UnsupportedPageTypeException.php.html @@ -164,7 +164,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Exceptions/dashboard.html b/master/coverage/framework/src/Framework/Exceptions/dashboard.html index b7d78480e08..a5c92796830 100644 --- a/master/coverage/framework/src/Framework/Exceptions/dashboard.html +++ b/master/coverage/framework/src/Framework/Exceptions/dashboard.html @@ -139,7 +139,7 @@

Project Risks

diff --git a/master/coverage/framework/src/Framework/Exceptions/index.html b/master/coverage/framework/src/Framework/Exceptions/index.html index bda361180be..1481e315007 100644 --- a/master/coverage/framework/src/Framework/Exceptions/index.html +++ b/master/coverage/framework/src/Framework/Exceptions/index.html @@ -224,7 +224,7 @@

Legend

High: 90% to 100%

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Factories/BlogPostDataFactory.php.html b/master/coverage/framework/src/Framework/Factories/BlogPostDataFactory.php.html index feb97971f52..e82d47de3b6 100644 --- a/master/coverage/framework/src/Framework/Factories/BlogPostDataFactory.php.html +++ b/master/coverage/framework/src/Framework/Factories/BlogPostDataFactory.php.html @@ -440,7 +440,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Factories/Concerns/CoreDataObject.php.html b/master/coverage/framework/src/Framework/Factories/Concerns/CoreDataObject.php.html index 52ec517d787..7b7fe42ec5a 100644 --- a/master/coverage/framework/src/Framework/Factories/Concerns/CoreDataObject.php.html +++ b/master/coverage/framework/src/Framework/Factories/Concerns/CoreDataObject.php.html @@ -190,7 +190,7 @@ 34        public readonly string $routeKey, 35    ) { 36        // - 37    } + 37    } 38 39    /** 40     * @return array{pageClass: string, identifier: string, sourcePath: string, outputPath: string, routeKey: string} @@ -216,7 +216,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Factories/Concerns/HasFactory.php.html b/master/coverage/framework/src/Framework/Factories/Concerns/HasFactory.php.html index c6171eb349f..f1c4b238e96 100644 --- a/master/coverage/framework/src/Framework/Factories/Concerns/HasFactory.php.html +++ b/master/coverage/framework/src/Framework/Factories/Concerns/HasFactory.php.html @@ -190,30 +190,30 @@ 12{ 13    public function toCoreDataObject(): CoreDataObject 14    { - 15        return new CoreDataObject( - 16            $this->matter, - 17            $this->markdown ?? false, - 18            static::class, - 19            $this->identifier, - 20            $this->getSourcePath(), - 21            $this->getOutputPath(), - 22            $this->getRouteKey(), - 23        ); + 15        return new CoreDataObject( + 16            $this->matter, + 17            $this->markdown ?? false, + 18            static::class, + 19            $this->identifier, + 20            $this->getSourcePath(), + 21            $this->getOutputPath(), + 22            $this->getRouteKey(), + 23        ); 24    } 25 26    protected function constructFactoryData(): void 27    { - 28        $this->assignFactoryData(new HydePageDataFactory($this->toCoreDataObject())); + 28        $this->assignFactoryData(new HydePageDataFactory($this->toCoreDataObject())); 29 - 30        if ($this instanceof MarkdownPost) { + 30        if ($this instanceof MarkdownPost) { 31            $this->assignFactoryData(new BlogPostDataFactory($this->toCoreDataObject())); 32        } 33    } 34 35    protected function assignFactoryData(PageDataFactory $factory): void 36    { - 37        foreach ($factory->toArray() as $key => $value) { - 38            $this->{$key} = $value; + 37        foreach ($factory->toArray() as $key => $value) { + 38            $this->{$key} = $value; 39        } 40    } 41} @@ -227,7 +227,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Factories/Concerns/PageDataFactory.php.html b/master/coverage/framework/src/Framework/Factories/Concerns/PageDataFactory.php.html index c9f1b030044..36b2167ddf0 100644 --- a/master/coverage/framework/src/Framework/Factories/Concerns/PageDataFactory.php.html +++ b/master/coverage/framework/src/Framework/Factories/Concerns/PageDataFactory.php.html @@ -139,7 +139,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Factories/Concerns/dashboard.html b/master/coverage/framework/src/Framework/Factories/Concerns/dashboard.html index 3dd5b869aca..e9614546c49 100644 --- a/master/coverage/framework/src/Framework/Factories/Concerns/dashboard.html +++ b/master/coverage/framework/src/Framework/Factories/Concerns/dashboard.html @@ -140,7 +140,7 @@

Project Risks

diff --git a/master/coverage/framework/src/Framework/Factories/Concerns/index.html b/master/coverage/framework/src/Framework/Factories/Concerns/index.html index 6fea48aa034..0a82392e433 100644 --- a/master/coverage/framework/src/Framework/Factories/Concerns/index.html +++ b/master/coverage/framework/src/Framework/Factories/Concerns/index.html @@ -156,7 +156,7 @@

Legend

High: 90% to 100%

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Factories/FeaturedImageFactory.php.html b/master/coverage/framework/src/Framework/Factories/FeaturedImageFactory.php.html index 949e07f1618..4194e180212 100644 --- a/master/coverage/framework/src/Framework/Factories/FeaturedImageFactory.php.html +++ b/master/coverage/framework/src/Framework/Factories/FeaturedImageFactory.php.html @@ -347,7 +347,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Factories/HydePageDataFactory.php.html b/master/coverage/framework/src/Framework/Factories/HydePageDataFactory.php.html index b478b8bff35..c25d5a528c3 100644 --- a/master/coverage/framework/src/Framework/Factories/HydePageDataFactory.php.html +++ b/master/coverage/framework/src/Framework/Factories/HydePageDataFactory.php.html @@ -324,15 +324,15 @@ 37 38    public function __construct(private readonly CoreDataObject $pageData) 39    { - 40        $this->matter = $this->pageData->matter; - 41        $this->markdown = $this->pageData->markdown; - 42        $this->pageClass = $this->pageData->pageClass; - 43        $this->identifier = $this->pageData->identifier; - 44        $this->outputPath = $this->pageData->outputPath; - 45        $this->routeKey = $this->pageData->routeKey; + 40        $this->matter = $this->pageData->matter; + 41        $this->markdown = $this->pageData->markdown; + 42        $this->pageClass = $this->pageData->pageClass; + 43        $this->identifier = $this->pageData->identifier; + 44        $this->outputPath = $this->pageData->outputPath; + 45        $this->routeKey = $this->pageData->routeKey; 46 - 47        $this->title = $this->makeTitle(); - 48        $this->navigation = $this->makeNavigation(); + 47        $this->title = $this->makeTitle(); + 48        $this->navigation = $this->makeNavigation(); 49    } 50 51    /** @@ -340,55 +340,55 @@ 53     */ 54    public function toArray(): array 55    { - 56        return [ - 57            'title' => $this->title, - 58            'navigation' => $this->navigation, - 59        ]; + 56        return [ + 57            'title' => $this->title, + 58            'navigation' => $this->navigation, + 59        ]; 60    } 61 62    protected function makeTitle(): string 63    { - 64        return trim($this->findTitleForPage()); + 64        return trim($this->findTitleForPage()); 65    } 66 67    protected function makeNavigation(): NavigationData 68    { - 69        return NavigationData::make((new NavigationDataFactory($this->pageData, $this->title))->toArray()); + 69        return NavigationData::make((new NavigationDataFactory($this->pageData, $this->title))->toArray()); 70    } 71 72    private function findTitleForPage(): string 73    { - 74        return $this->getMatter('title') - 75            ?? $this->findTitleFromMarkdownHeadings() - 76            ?? $this->findTitleFromParentIdentifier() - 77            ?? Hyde::makeTitle(basename($this->identifier)); + 74        return $this->getMatter('title') + 75            ?? $this->findTitleFromMarkdownHeadings() + 76            ?? $this->findTitleFromParentIdentifier() + 77            ?? Hyde::makeTitle(basename($this->identifier)); 78    } 79 80    private function findTitleFromMarkdownHeadings(): ?string 81    { - 82        if ($this->markdown !== false) { - 83            foreach ($this->markdown->toArray() as $line) { - 84                if (str_starts_with($line, '# ')) { + 82        if ($this->markdown !== false) { + 83            foreach ($this->markdown->toArray() as $line) { + 84                if (str_starts_with($line, '# ')) { 85                    return trim(substr($line, 2), ' '); 86                } 87            } 88        } 89 - 90        return null; + 90        return null; 91    } 92 93    private function findTitleFromParentIdentifier(): ?string 94    { - 95        if (str_contains($this->identifier, '/') && str_ends_with($this->identifier, '/index')) { + 95        if (str_contains($this->identifier, '/') && str_ends_with($this->identifier, '/index')) { 96            return Hyde::makeTitle(basename(dirname($this->identifier))); 97        } 98 - 99        return null; + 99        return null; 100    } 101 102    protected function getMatter(string $key): string|null 103    { - 104        return $this->matter->get($key); + 104        return $this->matter->get($key); 105    } 106} @@ -401,7 +401,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Factories/NavigationDataFactory.php.html b/master/coverage/framework/src/Framework/Factories/NavigationDataFactory.php.html index fa5700ca353..b5875f5eef1 100644 --- a/master/coverage/framework/src/Framework/Factories/NavigationDataFactory.php.html +++ b/master/coverage/framework/src/Framework/Factories/NavigationDataFactory.php.html @@ -728,16 +728,16 @@ 45 46    public function __construct(CoreDataObject $pageData, string $title) 47    { - 48        $this->matter = $pageData->matter; - 49        $this->identifier = $pageData->identifier; - 50        $this->pageClass = $pageData->pageClass; - 51        $this->routeKey = $pageData->routeKey; - 52        $this->title = $title; + 48        $this->matter = $pageData->matter; + 49        $this->identifier = $pageData->identifier; + 50        $this->pageClass = $pageData->pageClass; + 51        $this->routeKey = $pageData->routeKey; + 52        $this->title = $title; 53 - 54        $this->label = $this->makeLabel(); - 55        $this->group = $this->makeGroup(); - 56        $this->hidden = $this->makeHidden(); - 57        $this->priority = $this->makePriority(); + 54        $this->label = $this->makeLabel(); + 55        $this->group = $this->makeGroup(); + 56        $this->hidden = $this->makeHidden(); + 57        $this->priority = $this->makePriority(); 58    } 59 60    /** @@ -745,99 +745,99 @@ 62     */ 63    public function toArray(): array 64    { - 65        return [ - 66            'label' => $this->label, - 67            'group' => $this->group, - 68            'hidden' => $this->hidden, - 69            'priority' => $this->priority, - 70        ]; + 65        return [ + 66            'label' => $this->label, + 67            'group' => $this->group, + 68            'hidden' => $this->hidden, + 69            'priority' => $this->priority, + 70        ]; 71    } 72 73    protected function makeLabel(): ?string 74    { - 75        return $this->searchForLabelInFrontMatter() - 76            ?? $this->searchForLabelInConfig() - 77            ?? $this->getMatter('title') - 78            ?? $this->title; + 75        return $this->searchForLabelInFrontMatter() + 76            ?? $this->searchForLabelInConfig() + 77            ?? $this->getMatter('title') + 78            ?? $this->title; 79    } 80 81    protected function makeGroup(): ?string 82    { - 83        if ($this->pageIsInSubdirectory() && $this->canUseSubdirectoryForGroups()) { - 84            return $this->getSubdirectoryName(); + 83        if ($this->pageIsInSubdirectory() && $this->canUseSubdirectoryForGroups()) { + 84            return $this->getSubdirectoryName(); 85        } 86 - 87        return $this->searchForGroupInFrontMatter() ?? $this->defaultGroup(); + 87        return $this->searchForGroupInFrontMatter() ?? $this->defaultGroup(); 88    } 89 90    protected function makeHidden(): bool 91    { - 92        return $this->isInstanceOf(MarkdownPost::class) - 93            || $this->searchForHiddenInFrontMatter() - 94            || $this->isPageHiddenInNavigationConfiguration() - 95            || $this->isNonDocumentationPageInHiddenSubdirectory(); + 92        return $this->isInstanceOf(MarkdownPost::class) + 93            || $this->searchForHiddenInFrontMatter() + 94            || $this->isPageHiddenInNavigationConfiguration() + 95            || $this->isNonDocumentationPageInHiddenSubdirectory(); 96    } 97 98    protected function makePriority(): int 99    { - 100        return $this->searchForPriorityInFrontMatter() - 101            ?? $this->searchForPriorityInConfigs() - 102            ?? self::FALLBACK_PRIORITY; + 100        return $this->searchForPriorityInFrontMatter() + 101            ?? $this->searchForPriorityInConfigs() + 102            ?? self::FALLBACK_PRIORITY; 103    } 104 105    private function searchForLabelInFrontMatter(): ?string 106    { - 107        return $this->getMatter('navigation.label') - 108            ?? $this->getMatter('navigation.title'); + 107        return $this->getMatter('navigation.label') + 108            ?? $this->getMatter('navigation.title'); 109    } 110 111    private function searchForGroupInFrontMatter(): ?string 112    { - 113        return $this->getMatter('navigation.group') - 114            ?? $this->getMatter('navigation.category'); + 113        return $this->getMatter('navigation.group') + 114            ?? $this->getMatter('navigation.category'); 115    } 116 117    private function searchForHiddenInFrontMatter(): ?bool 118    { - 119        return $this->getMatter('navigation.hidden') - 120            ?? $this->invert($this->getMatter('navigation.visible')); + 119        return $this->getMatter('navigation.hidden') + 120            ?? $this->invert($this->getMatter('navigation.visible')); 121    } 122 123    private function isPageHiddenInNavigationConfiguration(): ?bool 124    { - 125        return in_array($this->routeKey, Config::getArray('hyde.navigation.exclude', ['404'])); + 125        return in_array($this->routeKey, Config::getArray('hyde.navigation.exclude', ['404'])); 126    } 127 128    private function isNonDocumentationPageInHiddenSubdirectory(): bool 129    { - 130        return ! $this->isInstanceOf(DocumentationPage::class) - 131            && $this->pageIsInSubdirectory() - 132            && $this->getSubdirectoryConfiguration() === 'hidden' - 133            && basename($this->identifier) !== 'index'; + 130        return ! $this->isInstanceOf(DocumentationPage::class) + 131            && $this->pageIsInSubdirectory() + 132            && $this->getSubdirectoryConfiguration() === 'hidden' + 133            && basename($this->identifier) !== 'index'; 134    } 135 136    private function searchForPriorityInFrontMatter(): ?int 137    { - 138        return $this->getMatter('navigation.priority') - 139            ?? $this->getMatter('navigation.order'); + 138        return $this->getMatter('navigation.priority') + 139            ?? $this->getMatter('navigation.order'); 140    } 141 142    private function searchForLabelInConfig(): ?string 143    { 144        /** @var array<string, string> $config */ - 145        $config = Config::getArray('hyde.navigation.labels', [ - 146            'index' => 'Home', - 147            DocumentationPage::homeRouteName() => 'Docs', - 148        ]); + 145        $config = Config::getArray('hyde.navigation.labels', [ + 146            'index' => 'Home', + 147            DocumentationPage::homeRouteName() => 'Docs', + 148        ]); 149 - 150        return $config[$this->routeKey] ?? null; + 150        return $config[$this->routeKey] ?? null; 151    } 152 153    private function searchForPriorityInConfigs(): ?int 154    { - 155        return $this->isInstanceOf(DocumentationPage::class) + 155        return $this->isInstanceOf(DocumentationPage::class) 156            ? $this->searchForPriorityInSidebarConfig() - 157            : $this->searchForPriorityInNavigationConfig(); + 157            : $this->searchForPriorityInNavigationConfig(); 158    } 159 160    private function searchForPriorityInSidebarConfig(): ?int @@ -856,80 +856,80 @@ 173    private function searchForPriorityInNavigationConfig(): ?int 174    { 175        /** @var array<string, int>|array<string> $config */ - 176        $config = Config::getArray('hyde.navigation.order', [ - 177            'index' => 0, - 178            'posts' => 10, - 179            'docs/index' => 100, - 180        ]); + 176        $config = Config::getArray('hyde.navigation.order', [ + 177            'index' => 0, + 178            'posts' => 10, + 179            'docs/index' => 100, + 180        ]); 181 - 182        return $this->parseNavigationPriorityConfig($config, 'routeKey'); + 182        return $this->parseNavigationPriorityConfig($config, 'routeKey'); 183    } 184 185    /** @param array<string, int>|array<string> $config */ 186    private function parseNavigationPriorityConfig(array $config, string $pageKeyName): ?int 187    { - 188        $pageKey = $this->{$pageKeyName}; + 188        $pageKey = $this->{$pageKeyName}; 189 190        // Check if the config entry is a flat array or a keyed array. - 191        if (! array_key_exists($pageKey, $config)) { + 191        if (! array_key_exists($pageKey, $config)) { 192            // Adding an offset makes so that pages with a front matter priority, or 193            // explicit keyed priority selection that is lower can be shown first. 194            // This is all to make it easier to mix ways of adding priorities. 195 - 196            return $this->offset( - 197                array_flip($config)[$pageKey] ?? null, - 198                self::CONFIG_OFFSET - 199            ); + 196            return $this->offset( + 197                array_flip($config)[$pageKey] ?? null, + 198                self::CONFIG_OFFSET + 199            ); 200        } 201 - 202        return $config[$pageKey] ?? null; + 202        return $config[$pageKey] ?? null; 203    } 204 205    private function canUseSubdirectoryForGroups(): bool 206    { - 207        return $this->getSubdirectoryConfiguration() === 'dropdown' - 208            || $this->isInstanceOf(DocumentationPage::class); + 207        return $this->getSubdirectoryConfiguration() === 'dropdown' + 208            || $this->isInstanceOf(DocumentationPage::class); 209    } 210 211    private function defaultGroup(): ?string 212    { - 213        return $this->isInstanceOf(DocumentationPage::class) ? 'other' : null; + 213        return $this->isInstanceOf(DocumentationPage::class) ? 'other' : null; 214    } 215 216    private function pageIsInSubdirectory(): bool 217    { - 218        return Str::contains($this->identifier, '/'); + 218        return Str::contains($this->identifier, '/'); 219    } 220 221    private function getSubdirectoryName(): string 222    { - 223        return Str::before($this->identifier, '/'); + 223        return Str::before($this->identifier, '/'); 224    } 225 226    protected function getSubdirectoryConfiguration(): string 227    { - 228        return Config::getString('hyde.navigation.subdirectories', 'hidden'); + 228        return Config::getString('hyde.navigation.subdirectories', 'hidden'); 229    } 230 231    /** @param class-string $class */ 232    protected function isInstanceOf(string $class): bool 233    { - 234        return is_a($this->pageClass, $class, true); + 234        return is_a($this->pageClass, $class, true); 235    } 236 237    protected function invert(?bool $value): ?bool 238    { - 239        return $value === null ? null : ! $value; + 239        return $value === null ? null : ! $value; 240    } 241 242    protected function offset(?int $value, int $offset): ?int 243    { - 244        return $value === null ? null : $value + $offset; + 244        return $value === null ? null : $value + $offset; 245    } 246 247    protected function getMatter(string $key): string|null|int|bool 248    { - 249        return $this->matter->get($key); + 249        return $this->matter->get($key); 250    } 251} @@ -942,7 +942,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Factories/dashboard.html b/master/coverage/framework/src/Framework/Factories/dashboard.html index 65c47c00dff..b344ee003bb 100644 --- a/master/coverage/framework/src/Framework/Factories/dashboard.html +++ b/master/coverage/framework/src/Framework/Factories/dashboard.html @@ -139,7 +139,7 @@

Project Risks

diff --git a/master/coverage/framework/src/Framework/Factories/index.html b/master/coverage/framework/src/Framework/Factories/index.html index aeb9effe4e1..9f612832523 100644 --- a/master/coverage/framework/src/Framework/Factories/index.html +++ b/master/coverage/framework/src/Framework/Factories/index.html @@ -226,7 +226,7 @@

Legend

High: 90% to 100%

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Features/Blogging/Models/FeaturedImage.php.html b/master/coverage/framework/src/Framework/Features/Blogging/Models/FeaturedImage.php.html index 4e363f4328a..51795c9bfed 100644 --- a/master/coverage/framework/src/Framework/Features/Blogging/Models/FeaturedImage.php.html +++ b/master/coverage/framework/src/Framework/Features/Blogging/Models/FeaturedImage.php.html @@ -919,7 +919,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Features/Blogging/Models/PostAuthor.php.html b/master/coverage/framework/src/Framework/Features/Blogging/Models/PostAuthor.php.html index 6b8587ea968..a7e8d027b57 100644 --- a/master/coverage/framework/src/Framework/Features/Blogging/Models/PostAuthor.php.html +++ b/master/coverage/framework/src/Framework/Features/Blogging/Models/PostAuthor.php.html @@ -314,9 +314,9 @@ 47     */ 48    public function __construct(string $username, ?string $name = null, ?string $website = null) 49    { - 50        $this->username = $username; - 51        $this->name = $name; - 52        $this->website = $website; + 50        $this->username = $username; + 51        $this->name = $name; + 52        $this->website = $website; 53    } 54 55    /** @@ -373,7 +373,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Features/Blogging/Models/dashboard.html b/master/coverage/framework/src/Framework/Features/Blogging/Models/dashboard.html index c673bba4ddd..0035e9e7cc0 100644 --- a/master/coverage/framework/src/Framework/Features/Blogging/Models/dashboard.html +++ b/master/coverage/framework/src/Framework/Features/Blogging/Models/dashboard.html @@ -141,7 +141,7 @@

Project Risks

diff --git a/master/coverage/framework/src/Framework/Features/Blogging/Models/index.html b/master/coverage/framework/src/Framework/Features/Blogging/Models/index.html index 24df7b25f11..6cbedd3e4e7 100644 --- a/master/coverage/framework/src/Framework/Features/Blogging/Models/index.html +++ b/master/coverage/framework/src/Framework/Features/Blogging/Models/index.html @@ -144,7 +144,7 @@

Legend

High: 90% to 100%

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Features/Blogging/dashboard.html b/master/coverage/framework/src/Framework/Features/Blogging/dashboard.html index 6fb93572992..47a607a4de8 100644 --- a/master/coverage/framework/src/Framework/Features/Blogging/dashboard.html +++ b/master/coverage/framework/src/Framework/Features/Blogging/dashboard.html @@ -140,7 +140,7 @@

Project Risks

diff --git a/master/coverage/framework/src/Framework/Features/Blogging/index.html b/master/coverage/framework/src/Framework/Features/Blogging/index.html index eea63fad1eb..6c05a0ccaa4 100644 --- a/master/coverage/framework/src/Framework/Features/Blogging/index.html +++ b/master/coverage/framework/src/Framework/Features/Blogging/index.html @@ -115,7 +115,7 @@

Legend

High: 90% to 100%

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Features/BuildTasks/BuildTask.php.html b/master/coverage/framework/src/Framework/Features/BuildTasks/BuildTask.php.html index 44d941062ba..a7d4980086f 100644 --- a/master/coverage/framework/src/Framework/Features/BuildTasks/BuildTask.php.html +++ b/master/coverage/framework/src/Framework/Features/BuildTasks/BuildTask.php.html @@ -413,7 +413,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Features/BuildTasks/PostBuildTask.php.html b/master/coverage/framework/src/Framework/Features/BuildTasks/PostBuildTask.php.html index cd29e767612..03f4b86da43 100644 --- a/master/coverage/framework/src/Framework/Features/BuildTasks/PostBuildTask.php.html +++ b/master/coverage/framework/src/Framework/Features/BuildTasks/PostBuildTask.php.html @@ -100,7 +100,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Features/BuildTasks/PreBuildTask.php.html b/master/coverage/framework/src/Framework/Features/BuildTasks/PreBuildTask.php.html index b72f9aadbc3..7aed7ef75d9 100644 --- a/master/coverage/framework/src/Framework/Features/BuildTasks/PreBuildTask.php.html +++ b/master/coverage/framework/src/Framework/Features/BuildTasks/PreBuildTask.php.html @@ -100,7 +100,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Features/BuildTasks/dashboard.html b/master/coverage/framework/src/Framework/Features/BuildTasks/dashboard.html index 82f8ab61527..f493ec4d7ac 100644 --- a/master/coverage/framework/src/Framework/Features/BuildTasks/dashboard.html +++ b/master/coverage/framework/src/Framework/Features/BuildTasks/dashboard.html @@ -140,7 +140,7 @@

Project Risks

diff --git a/master/coverage/framework/src/Framework/Features/BuildTasks/index.html b/master/coverage/framework/src/Framework/Features/BuildTasks/index.html index 35561ca158d..c6de70d0d8a 100644 --- a/master/coverage/framework/src/Framework/Features/BuildTasks/index.html +++ b/master/coverage/framework/src/Framework/Features/BuildTasks/index.html @@ -141,7 +141,7 @@

Legend

High: 90% to 100%

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Features/Documentation/DocumentationSearchPage.php.html b/master/coverage/framework/src/Framework/Features/Documentation/DocumentationSearchPage.php.html index e0b118d824e..e3b88ad88da 100644 --- a/master/coverage/framework/src/Framework/Features/Documentation/DocumentationSearchPage.php.html +++ b/master/coverage/framework/src/Framework/Features/Documentation/DocumentationSearchPage.php.html @@ -286,7 +286,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Features/Documentation/SemanticDocumentationArticle.php.html b/master/coverage/framework/src/Framework/Features/Documentation/SemanticDocumentationArticle.php.html index 7b25984701a..d0129d9e4c1 100644 --- a/master/coverage/framework/src/Framework/Features/Documentation/SemanticDocumentationArticle.php.html +++ b/master/coverage/framework/src/Framework/Features/Documentation/SemanticDocumentationArticle.php.html @@ -589,7 +589,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Features/Documentation/dashboard.html b/master/coverage/framework/src/Framework/Features/Documentation/dashboard.html index edeee4723dd..14bba2afdf6 100644 --- a/master/coverage/framework/src/Framework/Features/Documentation/dashboard.html +++ b/master/coverage/framework/src/Framework/Features/Documentation/dashboard.html @@ -140,7 +140,7 @@

Project Risks

diff --git a/master/coverage/framework/src/Framework/Features/Documentation/index.html b/master/coverage/framework/src/Framework/Features/Documentation/index.html index 67c212e9df2..63ed20abef1 100644 --- a/master/coverage/framework/src/Framework/Features/Documentation/index.html +++ b/master/coverage/framework/src/Framework/Features/Documentation/index.html @@ -143,7 +143,7 @@

Legend

High: 90% to 100%

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Features/Metadata/Elements/LinkElement.php.html b/master/coverage/framework/src/Framework/Features/Metadata/Elements/LinkElement.php.html index ec71145ee48..8b7fd62e53f 100644 --- a/master/coverage/framework/src/Framework/Features/Metadata/Elements/LinkElement.php.html +++ b/master/coverage/framework/src/Framework/Features/Metadata/Elements/LinkElement.php.html @@ -219,30 +219,30 @@ 18 19    public function __construct(string $rel, string $href, array $attr = []) 20    { - 21        $this->rel = $rel; - 22        $this->href = $href; - 23        $this->attr = $attr; + 21        $this->rel = $rel; + 22        $this->href = $href; + 23        $this->attr = $attr; 24    } 25 26    public function __toString(): string 27    { - 28        return sprintf('<link rel="%s" href="%s"%s>', e($this->rel), e($this->href), $this->formatOptionalAttributes()); + 28        return sprintf('<link rel="%s" href="%s"%s>', e($this->rel), e($this->href), $this->formatOptionalAttributes()); 29    } 30 31    public function uniqueKey(): string 32    { - 33        return $this->rel; + 33        return $this->rel; 34    } 35 36    protected function formatOptionalAttributes(): string 37    { - 38        if (empty($this->attr)) { - 39            return ''; + 38        if (empty($this->attr)) { + 39            return ''; 40        } 41 - 42        return sprintf(' %s', collect($this->attr)->map(function (string $value, string $key): string { - 43            return e($key).'="'.e($value).'"'; - 44        })->implode(' ')); + 42        return sprintf(' %s', collect($this->attr)->map(function (string $value, string $key): string { + 43            return e($key).'="'.e($value).'"'; + 44        })->implode(' ')); 45    } 46} @@ -255,7 +255,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Features/Metadata/Elements/MetadataElement.php.html b/master/coverage/framework/src/Framework/Features/Metadata/Elements/MetadataElement.php.html index ee9f5b99f7a..aed29b91043 100644 --- a/master/coverage/framework/src/Framework/Features/Metadata/Elements/MetadataElement.php.html +++ b/master/coverage/framework/src/Framework/Features/Metadata/Elements/MetadataElement.php.html @@ -195,18 +195,18 @@ 16 17    public function __construct(string $name, string $content) 18    { - 19        $this->name = $name; - 20        $this->content = $content; + 19        $this->name = $name; + 20        $this->content = $content; 21    } 22 23    public function __toString(): string 24    { - 25        return sprintf('<meta name="%s" content="%s">', e($this->name), e($this->content)); + 25        return sprintf('<meta name="%s" content="%s">', e($this->name), e($this->content)); 26    } 27 28    public function uniqueKey(): string 29    { - 30        return $this->name; + 30        return $this->name; 31    } 32} @@ -219,7 +219,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Features/Metadata/Elements/OpenGraphElement.php.html b/master/coverage/framework/src/Framework/Features/Metadata/Elements/OpenGraphElement.php.html index 958f176dbcc..9565e4b14c0 100644 --- a/master/coverage/framework/src/Framework/Features/Metadata/Elements/OpenGraphElement.php.html +++ b/master/coverage/framework/src/Framework/Features/Metadata/Elements/OpenGraphElement.php.html @@ -219,23 +219,23 @@ 18 19    public function __construct(string $property, string $content) 20    { - 21        $this->property = $this->normalizeProperty($property); - 22        $this->content = $content; + 21        $this->property = $this->normalizeProperty($property); + 22        $this->content = $content; 23    } 24 25    public function __toString(): string 26    { - 27        return sprintf('<meta property="og:%s" content="%s">', e($this->property), e($this->content)); + 27        return sprintf('<meta property="og:%s" content="%s">', e($this->property), e($this->content)); 28    } 29 30    public function uniqueKey(): string 31    { - 32        return $this->property; + 32        return $this->property; 33    } 34 35    protected function normalizeProperty(string $property): string 36    { - 37        return str_starts_with($property, 'og:') ? substr($property, 3) : $property; + 37        return str_starts_with($property, 'og:') ? substr($property, 3) : $property; 38    } 39} @@ -248,7 +248,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Features/Metadata/Elements/dashboard.html b/master/coverage/framework/src/Framework/Features/Metadata/Elements/dashboard.html index b94b9403321..b4b4d6109ba 100644 --- a/master/coverage/framework/src/Framework/Features/Metadata/Elements/dashboard.html +++ b/master/coverage/framework/src/Framework/Features/Metadata/Elements/dashboard.html @@ -141,7 +141,7 @@

Project Risks

diff --git a/master/coverage/framework/src/Framework/Features/Metadata/Elements/index.html b/master/coverage/framework/src/Framework/Features/Metadata/Elements/index.html index 03bf09c8563..9ce20a71f6c 100644 --- a/master/coverage/framework/src/Framework/Features/Metadata/Elements/index.html +++ b/master/coverage/framework/src/Framework/Features/Metadata/Elements/index.html @@ -172,7 +172,7 @@

Legend

High: 90% to 100%

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Features/Metadata/GlobalMetadataBag.php.html b/master/coverage/framework/src/Framework/Features/Metadata/GlobalMetadataBag.php.html index fb3ae35ecdb..1818e2c1007 100644 --- a/master/coverage/framework/src/Framework/Features/Metadata/GlobalMetadataBag.php.html +++ b/master/coverage/framework/src/Framework/Features/Metadata/GlobalMetadataBag.php.html @@ -177,40 +177,40 @@ 21{ 22    public static function make(): static 23    { - 24        $metadata = new static(); + 24        $metadata = new static(); 25 26        /** @var MetadataElementContract $item */ - 27        foreach (Config::getArray('hyde.meta', []) as $item) { - 28            $metadata->add($item); + 27        foreach (Config::getArray('hyde.meta', []) as $item) { + 28            $metadata->add($item); 29        } 30 - 31        if (Features::sitemap()) { - 32            $metadata->add(Meta::link('sitemap', Hyde::url('sitemap.xml'), [ - 33                'type' => 'application/xml', 'title' => 'Sitemap', - 34            ])); + 31        if (Features::sitemap()) { + 32            $metadata->add(Meta::link('sitemap', Hyde::url('sitemap.xml'), [ + 33                'type' => 'application/xml', 'title' => 'Sitemap', + 34            ])); 35        } 36 - 37        if (Features::rss()) { + 37        if (Features::rss()) { 38            $metadata->add(Meta::link('alternate', Hyde::url(RssFeedGenerator::getFilename()), [ 39                'type' => 'application/rss+xml', 'title' => RssFeedGenerator::getDescription(), 40            ])); 41        } 42 - 43        if (Render::getPage() !== null) { - 44            static::filterDuplicateMetadata($metadata, Render::getPage()); + 43        if (Render::getPage() !== null) { + 44            static::filterDuplicateMetadata($metadata, Render::getPage()); 45        } 46 - 47        return $metadata; + 47        return $metadata; 48    } 49 50    protected static function filterDuplicateMetadata(GlobalMetadataBag $global, HydePage $page): void 51    { 52        // Reject any metadata from the global metadata bag that is already present in the page metadata bag. 53 - 54        foreach (['links', 'metadata', 'properties', 'generics'] as $type) { - 55            $global->$type = array_filter((array) $global->$type, fn (Element $element): bool => ! in_array($element->uniqueKey(), - 56                array_map(fn (Element $element): string => $element->uniqueKey(), (array) $page->metadata->$type) - 57            )); + 54        foreach (['links', 'metadata', 'properties', 'generics'] as $type) { + 55            $global->$type = array_filter((array) $global->$type, fn (Element $element): bool => ! in_array($element->uniqueKey(), + 56                array_map(fn (Element $element): string => $element->uniqueKey(), (array) $page->metadata->$type) + 57            )); 58        } 59    } 60} @@ -224,7 +224,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Features/Metadata/MetadataBag.php.html b/master/coverage/framework/src/Framework/Features/Metadata/MetadataBag.php.html index 4f9bb124cfc..e33bdcde40b 100644 --- a/master/coverage/framework/src/Framework/Features/Metadata/MetadataBag.php.html +++ b/master/coverage/framework/src/Framework/Features/Metadata/MetadataBag.php.html @@ -300,39 +300,39 @@ 34 35    public function toHtml(): string 36    { - 37        return $this->render(); + 37        return $this->render(); 38    } 39 40    public function render(): string 41    { - 42        return implode("\n", $this->get()); + 42        return implode("\n", $this->get()); 43    } 44 45    public function get(): array 46    { - 47        return array_merge( - 48            $this->getPrefixedArray('links'), - 49            $this->getPrefixedArray('metadata'), - 50            $this->getPrefixedArray('properties'), - 51            $this->getPrefixedArray('generics') - 52        ); + 47        return array_merge( + 48            $this->getPrefixedArray('links'), + 49            $this->getPrefixedArray('metadata'), + 50            $this->getPrefixedArray('properties'), + 51            $this->getPrefixedArray('generics') + 52        ); 53    } 54 55    public function add(MetadataElementContract|string $element): static 56    { - 57        return match (true) { - 58            $element instanceof LinkElement => $this->addElement('links', $element), - 59            $element instanceof MetadataElement => $this->addElement('metadata', $element), - 60            $element instanceof OpenGraphElement => $this->addElement('properties', $element), - 61            default => $this->addGenericElement((string) $element), - 62        }; + 57        return match (true) { + 58            $element instanceof LinkElement => $this->addElement('links', $element), + 59            $element instanceof MetadataElement => $this->addElement('metadata', $element), + 60            $element instanceof OpenGraphElement => $this->addElement('properties', $element), + 61            default => $this->addGenericElement((string) $element), + 62        }; 63    } 64 65    protected function addElement(string $type, MetadataElementContract $element): static 66    { - 67        $this->{$type}[$element->uniqueKey()] = $element; + 67        $this->{$type}[$element->uniqueKey()] = $element; 68 - 69        return $this; + 69        return $this; 70    } 71 72    protected function addGenericElement(string $element): static @@ -346,15 +346,15 @@ 80    protected function getPrefixedArray(string $type): array 81    { 82        /** @var array<string, MetadataElementContract> $bag */ - 83        $bag = $this->{$type}; + 83        $bag = $this->{$type}; 84 - 85        $array = []; + 85        $array = []; 86 - 87        foreach ($bag as $key => $element) { - 88            $array["$type:$key"] = $element; + 87        foreach ($bag as $key => $element) { + 88            $array["$type:$key"] = $element; 89        } 90 - 91        return $array; + 91        return $array; 92    } 93} @@ -367,7 +367,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Features/Metadata/MetadataElementContract.php.html b/master/coverage/framework/src/Framework/Features/Metadata/MetadataElementContract.php.html index f1a496f1511..4ef40343f65 100644 --- a/master/coverage/framework/src/Framework/Features/Metadata/MetadataElementContract.php.html +++ b/master/coverage/framework/src/Framework/Features/Metadata/MetadataElementContract.php.html @@ -103,7 +103,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Features/Metadata/PageMetadataBag.php.html b/master/coverage/framework/src/Framework/Features/Metadata/PageMetadataBag.php.html index 3dcb53c15ce..edbba020908 100644 --- a/master/coverage/framework/src/Framework/Features/Metadata/PageMetadataBag.php.html +++ b/master/coverage/framework/src/Framework/Features/Metadata/PageMetadataBag.php.html @@ -262,28 +262,28 @@ 18 19    public function __construct(HydePage $page) 20    { - 21        $this->page = $page; + 21        $this->page = $page; 22 - 23        $this->generate(); + 23        $this->generate(); 24    } 25 26    protected function generate(): void 27    { - 28        $this->addDynamicPageMetadata($this->page); + 28        $this->addDynamicPageMetadata($this->page); 29    } 30 31    protected function addDynamicPageMetadata(HydePage $page): void 32    { - 33        if ($page->getCanonicalUrl()) { - 34            $this->add(Meta::link('canonical', $page->getCanonicalUrl())); + 33        if ($page->getCanonicalUrl()) { + 34            $this->add(Meta::link('canonical', $page->getCanonicalUrl())); 35        } 36 - 37        if ($page->has('title')) { - 38            $this->add(Meta::name('twitter:title', $page->title())); - 39            $this->add(Meta::property('title', $page->title())); + 37        if ($page->has('title')) { + 38            $this->add(Meta::name('twitter:title', $page->title())); + 39            $this->add(Meta::property('title', $page->title())); 40        } 41 - 42        if ($page instanceof MarkdownPost) { + 42        if ($page instanceof MarkdownPost) { 43            $this->addMetadataForMarkdownPost($page); 44        } 45    } @@ -335,7 +335,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Features/Metadata/dashboard.html b/master/coverage/framework/src/Framework/Features/Metadata/dashboard.html index df6cd188629..b41df96ffaf 100644 --- a/master/coverage/framework/src/Framework/Features/Metadata/dashboard.html +++ b/master/coverage/framework/src/Framework/Features/Metadata/dashboard.html @@ -140,7 +140,7 @@

Project Risks

diff --git a/master/coverage/framework/src/Framework/Features/Metadata/index.html b/master/coverage/framework/src/Framework/Features/Metadata/index.html index b41154b8ada..2eb9d76b776 100644 --- a/master/coverage/framework/src/Framework/Features/Metadata/index.html +++ b/master/coverage/framework/src/Framework/Features/Metadata/index.html @@ -212,7 +212,7 @@

Legend

High: 90% to 100%

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Features/Navigation/BaseNavigationMenu.php.html b/master/coverage/framework/src/Framework/Features/Navigation/BaseNavigationMenu.php.html index a3eb14f569d..dabb5aa6561 100644 --- a/master/coverage/framework/src/Framework/Features/Navigation/BaseNavigationMenu.php.html +++ b/master/coverage/framework/src/Framework/Features/Navigation/BaseNavigationMenu.php.html @@ -284,50 +284,50 @@ 18 19    final protected function __construct() 20    { - 21        $this->items = new Collection(); + 21        $this->items = new Collection(); 22    } 23 24    public static function create(): static 25    { - 26        $menu = new static(); + 26        $menu = new static(); 27 - 28        $menu->generate(); - 29        $menu->sortByPriority(); - 30        $menu->removeDuplicateItems(); + 28        $menu->generate(); + 29        $menu->sortByPriority(); + 30        $menu->removeDuplicateItems(); 31 - 32        return $menu; + 32        return $menu; 33    } 34 35    protected function generate(): void 36    { - 37        Routes::each(function (Route $route): void { - 38            if ($this->canAddRoute($route)) { - 39                $this->items->put($route->getRouteKey(), NavItem::fromRoute($route)); + 37        Routes::each(function (Route $route): void { + 38            if ($this->canAddRoute($route)) { + 39                $this->items->put($route->getRouteKey(), NavItem::fromRoute($route)); 40            } - 41        }); + 41        }); 42 - 43        collect(Config::getArray('hyde.navigation.custom', []))->each(function (NavItem $item): void { + 43        collect(Config::getArray('hyde.navigation.custom', []))->each(function (NavItem $item): void { 44            // Since these were added explicitly by the user, we can assume they should always be shown 45            $this->items->push($item); - 46        }); + 46        }); 47    } 48 49    protected function canAddRoute(Route $route): bool 50    { - 51        return $route->getPage()->showInNavigation(); + 51        return $route->getPage()->showInNavigation(); 52    } 53 54    protected function removeDuplicateItems(): void 55    { - 56        $this->items = $this->items->unique(function (NavItem $item): string { + 56        $this->items = $this->items->unique(function (NavItem $item): string { 57            // Filter using a combination of the group and label to allow duplicate labels in different groups - 58            return $item->getGroup().$item->label; - 59        }); + 58            return $item->getGroup().$item->label; + 59        }); 60    } 61 62    protected function sortByPriority(): void 63    { - 64        $this->items = $this->items->sortBy('priority')->values(); + 64        $this->items = $this->items->sortBy('priority')->values(); 65    } 66 67    /** @return \Illuminate\Support\Collection<\Hyde\Framework\Features\Navigation\NavItem> */ @@ -346,7 +346,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Features/Navigation/DocumentationSidebar.php.html b/master/coverage/framework/src/Framework/Features/Navigation/DocumentationSidebar.php.html index 6b306394258..d6912b4a432 100644 --- a/master/coverage/framework/src/Framework/Features/Navigation/DocumentationSidebar.php.html +++ b/master/coverage/framework/src/Framework/Features/Navigation/DocumentationSidebar.php.html @@ -398,7 +398,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Features/Navigation/DropdownNavItem.php.html b/master/coverage/framework/src/Framework/Features/Navigation/DropdownNavItem.php.html index bd65ca60e3c..c3e51105118 100644 --- a/master/coverage/framework/src/Framework/Features/Navigation/DropdownNavItem.php.html +++ b/master/coverage/framework/src/Framework/Features/Navigation/DropdownNavItem.php.html @@ -222,8 +222,8 @@ 22    /** @param array<NavItem> $items */ 23    public function __construct(string $label, array $items, ?int $priority = null) 24    { - 25        parent::__construct('', $label, $priority ?? $this->searchForDropdownPriorityInNavigationConfig($label) ?? 999); - 26        $this->items = $items; + 25        parent::__construct('', $label, $priority ?? $this->searchForDropdownPriorityInNavigationConfig($label) ?? 999); + 26        $this->items = $items; 27    } 28 29    /** @param array<NavItem> $items */ @@ -241,13 +241,13 @@ 41    private function searchForDropdownPriorityInNavigationConfig(string $groupKey): ?int 42    { 43        /** @var array<string, int> $config */ - 44        $config = Config::getArray('hyde.navigation.order', [ - 45            'index' => 0, - 46            'posts' => 10, - 47            'docs/index' => 100, - 48        ]); + 44        $config = Config::getArray('hyde.navigation.order', [ + 45            'index' => 0, + 46            'posts' => 10, + 47            'docs/index' => 100, + 48        ]); 49 - 50        return $config[$groupKey] ?? null; + 50        return $config[$groupKey] ?? null; 51    } 52} @@ -260,7 +260,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Features/Navigation/NavItem.php.html b/master/coverage/framework/src/Framework/Features/Navigation/NavItem.php.html index 8bb43404254..c17bd1785eb 100644 --- a/master/coverage/framework/src/Framework/Features/Navigation/NavItem.php.html +++ b/master/coverage/framework/src/Framework/Features/Navigation/NavItem.php.html @@ -406,10 +406,10 @@ 30     */ 31    public function __construct(Route|string $destination, string $label, int $priority = 500, ?string $group = null) 32    { - 33        $this->destination = (string) $destination; - 34        $this->label = $label; - 35        $this->priority = $priority; - 36        $this->group = $group; + 33        $this->destination = (string) $destination; + 34        $this->label = $label; + 35        $this->priority = $priority; + 36        $this->group = $group; 37    } 38 39    /** @@ -417,12 +417,12 @@ 41     */ 42    public static function fromRoute(Route $route, ?string $label = null, ?int $priority = null, ?string $group = null): static 43    { - 44        return new static( - 45            $route->getLink(), - 46            $label ?? $route->getPage()->navigationMenuLabel(), - 47            $priority ?? $route->getPage()->navigationMenuPriority(), - 48            $group ?? static::getRouteGroup($route), - 49        ); + 44        return new static( + 45            $route->getLink(), + 46            $label ?? $route->getPage()->navigationMenuLabel(), + 47            $priority ?? $route->getPage()->navigationMenuPriority(), + 48            $group ?? static::getRouteGroup($route), + 49        ); 50    } 51 52    /** @@ -451,7 +451,7 @@ 75     */ 76    public function __toString(): string 77    { - 78        return $this->destination; + 78        return $this->destination; 79    } 80 81    /** @@ -488,7 +488,7 @@ 112     */ 113    public function getGroup(): ?string 114    { - 115        return $this->group; + 115        return $this->group; 116    } 117 118    /** @@ -496,20 +496,20 @@ 120     */ 121    public function isCurrent(): bool 122    { - 123        return Hyde::currentRoute()->getLink() === $this->destination; + 123        return Hyde::currentRoute()->getLink() === $this->destination; 124    } 125 126    protected static function getRouteGroup(Route $route): ?string 127    { 128        /** @var string|null $group */ - 129        $group = $route->getPage()->data('navigation.group'); + 129        $group = $route->getPage()->data('navigation.group'); 130 - 131        return static::normalizeGroupKey($group); + 131        return static::normalizeGroupKey($group); 132    } 133 134    protected static function normalizeGroupKey(?string $group): ?string 135    { - 136        return $group ? Str::slug($group) : null; + 136        return $group ? Str::slug($group) : null; 137    } 138} @@ -522,7 +522,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Features/Navigation/NavigationData.php.html b/master/coverage/framework/src/Framework/Features/Navigation/NavigationData.php.html index 74ccc8a1b9f..206d3e9651b 100644 --- a/master/coverage/framework/src/Framework/Features/Navigation/NavigationData.php.html +++ b/master/coverage/framework/src/Framework/Features/Navigation/NavigationData.php.html @@ -202,29 +202,29 @@ 24 25    public function __construct(string $label, int $priority, bool $hidden, string $group = null) 26    { - 27        $this->label = $label; - 28        $this->priority = $priority; - 29        $this->hidden = $hidden; - 30        $this->group = $group; + 27        $this->label = $label; + 28        $this->priority = $priority; + 29        $this->hidden = $hidden; + 30        $this->group = $group; 31 - 32        parent::__construct($this->toArray()); + 32        parent::__construct($this->toArray()); 33    } 34 35    /** @param  array{label: string, priority: int, hidden: bool, group: string|null}  $data */ 36    public static function make(array $data): self 37    { - 38        return new self(...$data); + 38        return new self(...$data); 39    } 40 41    /** @return array{label: string,  priority: int, hidden: bool, group: string|null} */ 42    public function toArray(): array 43    { - 44        return [ - 45            'label' => $this->label, - 46            'priority' => $this->priority, - 47            'hidden' => $this->hidden, - 48            'group' => $this->group, - 49        ]; + 44        return [ + 45            'label' => $this->label, + 46            'priority' => $this->priority, + 47            'hidden' => $this->hidden, + 48            'group' => $this->group, + 49        ]; 50    } 51} @@ -237,7 +237,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Features/Navigation/NavigationMenu.php.html b/master/coverage/framework/src/Framework/Features/Navigation/NavigationMenu.php.html index d1435bf1791..8d26ef8dddd 100644 --- a/master/coverage/framework/src/Framework/Features/Navigation/NavigationMenu.php.html +++ b/master/coverage/framework/src/Framework/Features/Navigation/NavigationMenu.php.html @@ -279,10 +279,10 @@ 13{ 14    protected function generate(): void 15    { - 16        parent::generate(); + 16        parent::generate(); 17 - 18        if ($this->dropdownsEnabled()) { - 19            $this->moveGroupedItemsIntoDropdowns(); + 18        if ($this->dropdownsEnabled()) { + 19            $this->moveGroupedItemsIntoDropdowns(); 20        } 21    } 22 @@ -305,37 +305,37 @@ 39 40    protected function moveGroupedItemsIntoDropdowns(): void 41    { - 42        $dropdowns = []; + 42        $dropdowns = []; 43 - 44        foreach ($this->items as $key => $item) { - 45            if ($this->canAddItemToDropdown($item)) { + 44        foreach ($this->items as $key => $item) { + 45            if ($this->canAddItemToDropdown($item)) { 46                // Buffer the item in the dropdowns array - 47                $dropdowns[$item->getGroup()][] = $item; + 47                $dropdowns[$item->getGroup()][] = $item; 48 49                // Remove the item from the main items collection - 50                $this->items->forget($key); + 50                $this->items->forget($key); 51            } 52        } 53 - 54        foreach ($dropdowns as $group => $items) { + 54        foreach ($dropdowns as $group => $items) { 55            // Create a new dropdown item containing the buffered items - 56            $this->items->add(new DropdownNavItem($group, $items)); + 56            $this->items->add(new DropdownNavItem($group, $items)); 57        } 58    } 59 60    protected function canAddRoute(Route $route): bool 61    { - 62        return parent::canAddRoute($route) && (! $route->getPage() instanceof DocumentationPage || $route->is(DocumentationPage::homeRouteName())); + 62        return parent::canAddRoute($route) && (! $route->getPage() instanceof DocumentationPage || $route->is(DocumentationPage::homeRouteName())); 63    } 64 65    protected function canAddItemToDropdown(NavItem $item): bool 66    { - 67        return $item->getGroup() !== null; + 67        return $item->getGroup() !== null; 68    } 69 70    protected function dropdownsEnabled(): bool 71    { - 72        return Config::getString('hyde.navigation.subdirectories', 'hidden') === 'dropdown'; + 72        return Config::getString('hyde.navigation.subdirectories', 'hidden') === 'dropdown'; 73    } 74} @@ -348,7 +348,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Features/Navigation/dashboard.html b/master/coverage/framework/src/Framework/Features/Navigation/dashboard.html index 8e347bc4c81..b2fa9e8910f 100644 --- a/master/coverage/framework/src/Framework/Features/Navigation/dashboard.html +++ b/master/coverage/framework/src/Framework/Features/Navigation/dashboard.html @@ -140,7 +140,7 @@

Project Risks

diff --git a/master/coverage/framework/src/Framework/Features/Navigation/index.html b/master/coverage/framework/src/Framework/Features/Navigation/index.html index bf8aa3dc345..99303439670 100644 --- a/master/coverage/framework/src/Framework/Features/Navigation/index.html +++ b/master/coverage/framework/src/Framework/Features/Navigation/index.html @@ -255,7 +255,7 @@

Legend

High: 90% to 100%

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Features/XmlGenerators/BaseXmlGenerator.php.html b/master/coverage/framework/src/Framework/Features/XmlGenerators/BaseXmlGenerator.php.html index 760c07436bf..80437178c1d 100644 --- a/master/coverage/framework/src/Framework/Features/XmlGenerators/BaseXmlGenerator.php.html +++ b/master/coverage/framework/src/Framework/Features/XmlGenerators/BaseXmlGenerator.php.html @@ -356,7 +356,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Features/XmlGenerators/RssFeedGenerator.php.html b/master/coverage/framework/src/Framework/Features/XmlGenerators/RssFeedGenerator.php.html index 672b6f7fd43..0b6aa033e59 100644 --- a/master/coverage/framework/src/Framework/Features/XmlGenerators/RssFeedGenerator.php.html +++ b/master/coverage/framework/src/Framework/Features/XmlGenerators/RssFeedGenerator.php.html @@ -487,7 +487,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Features/XmlGenerators/SitemapGenerator.php.html b/master/coverage/framework/src/Framework/Features/XmlGenerators/SitemapGenerator.php.html index c87f61c90f5..5faf49b535f 100644 --- a/master/coverage/framework/src/Framework/Features/XmlGenerators/SitemapGenerator.php.html +++ b/master/coverage/framework/src/Framework/Features/XmlGenerators/SitemapGenerator.php.html @@ -418,7 +418,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Features/XmlGenerators/dashboard.html b/master/coverage/framework/src/Framework/Features/XmlGenerators/dashboard.html index be35de9f615..c9e9bf67885 100644 --- a/master/coverage/framework/src/Framework/Features/XmlGenerators/dashboard.html +++ b/master/coverage/framework/src/Framework/Features/XmlGenerators/dashboard.html @@ -140,7 +140,7 @@

Project Risks

diff --git a/master/coverage/framework/src/Framework/Features/XmlGenerators/index.html b/master/coverage/framework/src/Framework/Features/XmlGenerators/index.html index 580ab7c102a..d65dd782678 100644 --- a/master/coverage/framework/src/Framework/Features/XmlGenerators/index.html +++ b/master/coverage/framework/src/Framework/Features/XmlGenerators/index.html @@ -171,7 +171,7 @@

Legend

High: 90% to 100%

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Features/dashboard.html b/master/coverage/framework/src/Framework/Features/dashboard.html index 0e95352db53..ed13aaf0daf 100644 --- a/master/coverage/framework/src/Framework/Features/dashboard.html +++ b/master/coverage/framework/src/Framework/Features/dashboard.html @@ -139,7 +139,7 @@

Project Risks

diff --git a/master/coverage/framework/src/Framework/Features/index.html b/master/coverage/framework/src/Framework/Features/index.html index 2d8f6249ac9..55e9d15aa96 100644 --- a/master/coverage/framework/src/Framework/Features/index.html +++ b/master/coverage/framework/src/Framework/Features/index.html @@ -254,7 +254,7 @@

Legend

High: 90% to 100%

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/HydeServiceProvider.php.html b/master/coverage/framework/src/Framework/HydeServiceProvider.php.html index e68be70fe5e..007049be1ae 100644 --- a/master/coverage/framework/src/Framework/HydeServiceProvider.php.html +++ b/master/coverage/framework/src/Framework/HydeServiceProvider.php.html @@ -181,40 +181,40 @@ 27 28    public function register(): void 29    { - 30        $this->kernel = HydeKernel::getInstance(); + 30        $this->kernel = HydeKernel::getInstance(); 31 - 32        $this->app->singleton(AssetService::class, AssetService::class); - 33        $this->app->singleton(BuildTaskService::class, BuildTaskService::class); + 32        $this->app->singleton(AssetService::class, AssetService::class); + 33        $this->app->singleton(BuildTaskService::class, BuildTaskService::class); 34 - 35        $this->kernel->setSourceRoot(Config::getString('hyde.source_root', '')); + 35        $this->kernel->setSourceRoot(Config::getString('hyde.source_root', '')); 36 - 37        $this->registerSourceDirectories([ - 38            HtmlPage::class => $this->getSourceDirectoryConfiguration(HtmlPage::class, '_pages'), - 39            BladePage::class => $this->getSourceDirectoryConfiguration(BladePage::class, '_pages'), - 40            MarkdownPage::class => $this->getSourceDirectoryConfiguration(MarkdownPage::class, '_pages'), - 41            MarkdownPost::class => $this->getSourceDirectoryConfiguration(MarkdownPost::class, '_posts'), - 42            DocumentationPage::class => $this->getSourceDirectoryConfiguration(DocumentationPage::class, '_docs'), - 43        ]); + 37        $this->registerSourceDirectories([ + 38            HtmlPage::class => $this->getSourceDirectoryConfiguration(HtmlPage::class, '_pages'), + 39            BladePage::class => $this->getSourceDirectoryConfiguration(BladePage::class, '_pages'), + 40            MarkdownPage::class => $this->getSourceDirectoryConfiguration(MarkdownPage::class, '_pages'), + 41            MarkdownPost::class => $this->getSourceDirectoryConfiguration(MarkdownPost::class, '_posts'), + 42            DocumentationPage::class => $this->getSourceDirectoryConfiguration(DocumentationPage::class, '_docs'), + 43        ]); 44 - 45        $this->registerOutputDirectories([ - 46            HtmlPage::class => $this->getOutputDirectoryConfiguration(HtmlPage::class, ''), - 47            BladePage::class => $this->getOutputDirectoryConfiguration(BladePage::class, ''), - 48            MarkdownPage::class => $this->getOutputDirectoryConfiguration(MarkdownPage::class, ''), - 49            MarkdownPost::class => $this->getOutputDirectoryConfiguration(MarkdownPost::class, 'posts'), - 50            DocumentationPage::class => $this->getOutputDirectoryConfiguration(DocumentationPage::class, 'docs'), - 51        ]); + 45        $this->registerOutputDirectories([ + 46            HtmlPage::class => $this->getOutputDirectoryConfiguration(HtmlPage::class, ''), + 47            BladePage::class => $this->getOutputDirectoryConfiguration(BladePage::class, ''), + 48            MarkdownPage::class => $this->getOutputDirectoryConfiguration(MarkdownPage::class, ''), + 49            MarkdownPost::class => $this->getOutputDirectoryConfiguration(MarkdownPost::class, 'posts'), + 50            DocumentationPage::class => $this->getOutputDirectoryConfiguration(DocumentationPage::class, 'docs'), + 51        ]); 52 - 53        $this->storeCompiledSiteIn(Config::getString('hyde.output_directory', '_site')); + 53        $this->storeCompiledSiteIn(Config::getString('hyde.output_directory', '_site')); 54 - 55        $this->useMediaDirectory(Config::getString('hyde.media_directory', '_media')); + 55        $this->useMediaDirectory(Config::getString('hyde.media_directory', '_media')); 56 - 57        $this->discoverBladeViewsIn(BladePage::sourceDirectory()); + 57        $this->discoverBladeViewsIn(BladePage::sourceDirectory()); 58    } 59 60    public function boot(): void 61    { 62        // - 63    } + 63    } 64} @@ -226,7 +226,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Services/AssetService.php.html b/master/coverage/framework/src/Framework/Services/AssetService.php.html index fafa87499d5..7367f8a5c06 100644 --- a/master/coverage/framework/src/Framework/Services/AssetService.php.html +++ b/master/coverage/framework/src/Framework/Services/AssetService.php.html @@ -328,8 +328,8 @@ 41 42    public function __construct() 43    { - 44        $this->version = Config::getString('hyde.hydefront_version', self::HYDEFRONT_VERSION); - 45        $this->cdnUrl = Config::getString('hyde.hydefront_url', self::HYDEFRONT_CDN_URL); + 44        $this->version = Config::getString('hyde.hydefront_version', self::HYDEFRONT_VERSION); + 45        $this->cdnUrl = Config::getString('hyde.hydefront_url', self::HYDEFRONT_CDN_URL); 46    } 47 48    public function version(): string @@ -344,12 +344,12 @@ 57 58    public function mediaLink(string $file): string 59    { - 60        return Hyde::mediaLink($file).$this->getCacheBustKey($file); + 60        return Hyde::mediaLink($file).$this->getCacheBustKey($file); 61    } 62 63    public function hasMediaFile(string $file): bool 64    { - 65        return file_exists(Hyde::mediaPath($file)); + 65        return file_exists(Hyde::mediaPath($file)); 66    } 67 68    public function injectTailwindConfig(): string @@ -380,9 +380,9 @@ 93 94    protected function getCacheBustKey(string $file): string 95    { - 96        return Config::getBool('hyde.enable_cache_busting', true) - 97            ? '?v='.md5_file(Hyde::mediaPath("$file")) - 98            : ''; + 96        return Config::getBool('hyde.enable_cache_busting', true) + 97            ? '?v='.md5_file(Hyde::mediaPath("$file")) + 98            : ''; 99    } 100} @@ -395,7 +395,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Services/BuildService.php.html b/master/coverage/framework/src/Framework/Services/BuildService.php.html index 03e26d1363c..a24f508231e 100644 --- a/master/coverage/framework/src/Framework/Services/BuildService.php.html +++ b/master/coverage/framework/src/Framework/Services/BuildService.php.html @@ -345,7 +345,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Services/BuildTaskService.php.html b/master/coverage/framework/src/Framework/Services/BuildTaskService.php.html index d2fdfb76ba2..75d12dc2873 100644 --- a/master/coverage/framework/src/Framework/Services/BuildTaskService.php.html +++ b/master/coverage/framework/src/Framework/Services/BuildTaskService.php.html @@ -703,7 +703,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Services/MarkdownService.php.html b/master/coverage/framework/src/Framework/Services/MarkdownService.php.html index 80a128d8f45..921f933aa41 100644 --- a/master/coverage/framework/src/Framework/Services/MarkdownService.php.html +++ b/master/coverage/framework/src/Framework/Services/MarkdownService.php.html @@ -650,65 +650,65 @@ 55 56    public function __construct(string $markdown, ?string $pageClass = null) 57    { - 58        $this->pageClass = $pageClass; - 59        $this->markdown = $markdown; + 58        $this->pageClass = $pageClass; + 59        $this->markdown = $markdown; 60    } 61 62    public function parse(): string 63    { - 64        $this->setupConverter(); + 64        $this->setupConverter(); 65 - 66        $this->runPreProcessing(); + 66        $this->runPreProcessing(); 67 - 68        $this->html = (string) $this->converter->convert($this->markdown); + 68        $this->html = (string) $this->converter->convert($this->markdown); 69 - 70        $this->runPostProcessing(); + 70        $this->runPostProcessing(); 71 - 72        return $this->html; + 72        return $this->html; 73    } 74 75    protected function setupConverter(): void 76    { - 77        $this->enableDynamicExtensions(); + 77        $this->enableDynamicExtensions(); 78 - 79        $this->enableConfigDefinedExtensions(); + 79        $this->enableConfigDefinedExtensions(); 80 - 81        $this->mergeMarkdownConfiguration(); + 81        $this->mergeMarkdownConfiguration(); 82 - 83        $this->converter = new MarkdownConverter($this->config); + 83        $this->converter = new MarkdownConverter($this->config); 84 - 85        foreach ($this->extensions as $extension) { - 86            $this->initializeExtension($extension); + 85        foreach ($this->extensions as $extension) { + 86            $this->initializeExtension($extension); 87        } 88 - 89        $this->registerPreProcessors(); - 90        $this->registerPostProcessors(); + 89        $this->registerPreProcessors(); + 90        $this->registerPostProcessors(); 91    } 92 93    public function addExtension(string $extensionClassName): void 94    { - 95        if (! in_array($extensionClassName, $this->extensions)) { - 96            $this->extensions[] = $extensionClassName; + 95        if (! in_array($extensionClassName, $this->extensions)) { + 96            $this->extensions[] = $extensionClassName; 97        } 98    } 99 100    protected function runPreProcessing(): void 101    { 102        /** @var class-string<PreProcessor> $preprocessor */ - 103        foreach ($this->preprocessors as $preprocessor) { - 104            $this->markdown = $preprocessor::preprocess($this->markdown); + 103        foreach ($this->preprocessors as $preprocessor) { + 104            $this->markdown = $preprocessor::preprocess($this->markdown); 105        } 106    } 107 108    protected function runPostProcessing(): void 109    { - 110        if ($this->determineIfTorchlightAttributionShouldBeInjected()) { + 110        if ($this->determineIfTorchlightAttributionShouldBeInjected()) { 111            $this->html .= $this->injectTorchlightAttribution(); 112        } 113 114        /** @var class-string<PostProcessor> $postprocessor */ - 115        foreach ($this->postprocessors as $postprocessor) { - 116            $this->html = $postprocessor::postprocess($this->html); + 115        foreach ($this->postprocessors as $postprocessor) { + 116            $this->html = $postprocessor::postprocess($this->html); 117        } 118    } 119 @@ -744,7 +744,7 @@ 149 150    public function isDocumentationPage(): bool 151    { - 152        return isset($this->pageClass) && $this->pageClass === DocumentationPage::class; + 152        return isset($this->pageClass) && $this->pageClass === DocumentationPage::class; 153    } 154 155    public function withTableOfContents(): static @@ -756,33 +756,33 @@ 161 162    public function canEnableTorchlight(): bool 163    { - 164        return $this->hasFeature('torchlight') || - 165            Features::hasTorchlight(); + 164        return $this->hasFeature('torchlight') || + 165            Features::hasTorchlight(); 166    } 167 168    public function canEnablePermalinks(): bool 169    { - 170        if ($this->hasFeature('permalinks')) { + 170        if ($this->hasFeature('permalinks')) { 171            return true; 172        } 173 - 174        if ($this->isDocumentationPage() && DocumentationPage::hasTableOfContents()) { + 174        if ($this->isDocumentationPage() && DocumentationPage::hasTableOfContents()) { 175            return true; 176        } 177 - 178        return false; + 178        return false; 179    } 180 181    public function hasFeature(string $feature): bool 182    { - 183        return in_array($feature, $this->features); + 183        return in_array($feature, $this->features); 184    } 185 186    protected function determineIfTorchlightAttributionShouldBeInjected(): bool 187    { - 188        return ! $this->isDocumentationPage() - 189            && Config::getBool('torchlight.attribution.enabled', true) - 190            && str_contains($this->html, 'Syntax highlighted by torchlight.dev'); + 188        return ! $this->isDocumentationPage() + 189            && Config::getBool('torchlight.attribution.enabled', true) + 190            && str_contains($this->html, 'Syntax highlighted by torchlight.dev'); 191    } 192 193    protected function injectTorchlightAttribution(): string @@ -875,7 +875,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Services/ValidationService.php.html b/master/coverage/framework/src/Framework/Services/ValidationService.php.html index dc9cb81a20d..52ab808cb69 100644 --- a/master/coverage/framework/src/Framework/Services/ValidationService.php.html +++ b/master/coverage/framework/src/Framework/Services/ValidationService.php.html @@ -490,7 +490,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Services/ViewDiffService.php.html b/master/coverage/framework/src/Framework/Services/ViewDiffService.php.html index 2dbcf8cd462..688fc5b98ce 100644 --- a/master/coverage/framework/src/Framework/Services/ViewDiffService.php.html +++ b/master/coverage/framework/src/Framework/Services/ViewDiffService.php.html @@ -239,7 +239,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Services/dashboard.html b/master/coverage/framework/src/Framework/Services/dashboard.html index 22ea69abcb9..dcfc0f148b6 100644 --- a/master/coverage/framework/src/Framework/Services/dashboard.html +++ b/master/coverage/framework/src/Framework/Services/dashboard.html @@ -139,7 +139,7 @@

Project Risks

diff --git a/master/coverage/framework/src/Framework/Services/index.html b/master/coverage/framework/src/Framework/Services/index.html index 834d7a095b7..f728d6a4d16 100644 --- a/master/coverage/framework/src/Framework/Services/index.html +++ b/master/coverage/framework/src/Framework/Services/index.html @@ -254,7 +254,7 @@

Legend

High: 90% to 100%

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Views/Components/BreadcrumbsComponent.php.html b/master/coverage/framework/src/Framework/Views/Components/BreadcrumbsComponent.php.html index 35e5afe4c55..7caa747835b 100644 --- a/master/coverage/framework/src/Framework/Views/Components/BreadcrumbsComponent.php.html +++ b/master/coverage/framework/src/Framework/Views/Components/BreadcrumbsComponent.php.html @@ -243,7 +243,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Views/Components/LinkComponent.php.html b/master/coverage/framework/src/Framework/Views/Components/LinkComponent.php.html index 132749e9d3f..30d0f6ca964 100644 --- a/master/coverage/framework/src/Framework/Views/Components/LinkComponent.php.html +++ b/master/coverage/framework/src/Framework/Views/Components/LinkComponent.php.html @@ -190,7 +190,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Views/Components/dashboard.html b/master/coverage/framework/src/Framework/Views/Components/dashboard.html index 5da822983bb..6aba2b0cf80 100644 --- a/master/coverage/framework/src/Framework/Views/Components/dashboard.html +++ b/master/coverage/framework/src/Framework/Views/Components/dashboard.html @@ -140,7 +140,7 @@

Project Risks

diff --git a/master/coverage/framework/src/Framework/Views/Components/index.html b/master/coverage/framework/src/Framework/Views/Components/index.html index eb1f3c7a8fd..45bab440492 100644 --- a/master/coverage/framework/src/Framework/Views/Components/index.html +++ b/master/coverage/framework/src/Framework/Views/Components/index.html @@ -143,7 +143,7 @@

Legend

High: 90% to 100%

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/Views/dashboard.html b/master/coverage/framework/src/Framework/Views/dashboard.html index 95994f3087c..a61fc19206a 100644 --- a/master/coverage/framework/src/Framework/Views/dashboard.html +++ b/master/coverage/framework/src/Framework/Views/dashboard.html @@ -139,7 +139,7 @@

Project Risks

diff --git a/master/coverage/framework/src/Framework/Views/index.html b/master/coverage/framework/src/Framework/Views/index.html index 1a1fee5745d..271a7022249 100644 --- a/master/coverage/framework/src/Framework/Views/index.html +++ b/master/coverage/framework/src/Framework/Views/index.html @@ -114,7 +114,7 @@

Legend

High: 90% to 100%

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Framework/dashboard.html b/master/coverage/framework/src/Framework/dashboard.html index 2f0ec000dc8..8c97eb1a937 100644 --- a/master/coverage/framework/src/Framework/dashboard.html +++ b/master/coverage/framework/src/Framework/dashboard.html @@ -138,7 +138,7 @@

Project Risks

diff --git a/master/coverage/framework/src/Framework/index.html b/master/coverage/framework/src/Framework/index.html index fb7aee27e42..4e1fa21d926 100644 --- a/master/coverage/framework/src/Framework/index.html +++ b/master/coverage/framework/src/Framework/index.html @@ -309,7 +309,7 @@

Legend

High: 90% to 100%

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Hyde.php.html b/master/coverage/framework/src/Hyde.php.html index 1288dcfed5c..5806252e1ed 100644 --- a/master/coverage/framework/src/Hyde.php.html +++ b/master/coverage/framework/src/Hyde.php.html @@ -252,12 +252,12 @@ 77{ 78    public static function version(): string 79    { - 80        return HydeKernel::version(); + 80        return HydeKernel::version(); 81    } 82 83    public static function getFacadeRoot(): HydeKernel 84    { - 85        return HydeKernel::getInstance(); + 85        return HydeKernel::getInstance(); 86    } 87 88    #[Pure] @@ -276,7 +276,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Markdown/Contracts/FrontMatter/BlogPostSchema.php.html b/master/coverage/framework/src/Markdown/Contracts/FrontMatter/BlogPostSchema.php.html index 27f6eeaeb78..4623638a1ad 100644 --- a/master/coverage/framework/src/Markdown/Contracts/FrontMatter/BlogPostSchema.php.html +++ b/master/coverage/framework/src/Markdown/Contracts/FrontMatter/BlogPostSchema.php.html @@ -99,7 +99,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Markdown/Contracts/FrontMatter/FrontMatterSchema.php.html b/master/coverage/framework/src/Markdown/Contracts/FrontMatter/FrontMatterSchema.php.html index 8fdd9507642..73b86553d79 100644 --- a/master/coverage/framework/src/Markdown/Contracts/FrontMatter/FrontMatterSchema.php.html +++ b/master/coverage/framework/src/Markdown/Contracts/FrontMatter/FrontMatterSchema.php.html @@ -104,7 +104,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Markdown/Contracts/FrontMatter/PageSchema.php.html b/master/coverage/framework/src/Markdown/Contracts/FrontMatter/PageSchema.php.html index 9f772b70d7d..ce40b5aa0f7 100644 --- a/master/coverage/framework/src/Markdown/Contracts/FrontMatter/PageSchema.php.html +++ b/master/coverage/framework/src/Markdown/Contracts/FrontMatter/PageSchema.php.html @@ -95,7 +95,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Markdown/Contracts/FrontMatter/SubSchemas/AuthorSchema.php.html b/master/coverage/framework/src/Markdown/Contracts/FrontMatter/SubSchemas/AuthorSchema.php.html index d79ca6f42a5..148cd9cd5f4 100644 --- a/master/coverage/framework/src/Markdown/Contracts/FrontMatter/SubSchemas/AuthorSchema.php.html +++ b/master/coverage/framework/src/Markdown/Contracts/FrontMatter/SubSchemas/AuthorSchema.php.html @@ -96,7 +96,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Markdown/Contracts/FrontMatter/SubSchemas/FeaturedImageSchema.php.html b/master/coverage/framework/src/Markdown/Contracts/FrontMatter/SubSchemas/FeaturedImageSchema.php.html index 6c88bb248fd..c65fb9f16ad 100644 --- a/master/coverage/framework/src/Markdown/Contracts/FrontMatter/SubSchemas/FeaturedImageSchema.php.html +++ b/master/coverage/framework/src/Markdown/Contracts/FrontMatter/SubSchemas/FeaturedImageSchema.php.html @@ -102,7 +102,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Markdown/Contracts/FrontMatter/SubSchemas/NavigationSchema.php.html b/master/coverage/framework/src/Markdown/Contracts/FrontMatter/SubSchemas/NavigationSchema.php.html index d241e00b295..0bdf0c200a8 100644 --- a/master/coverage/framework/src/Markdown/Contracts/FrontMatter/SubSchemas/NavigationSchema.php.html +++ b/master/coverage/framework/src/Markdown/Contracts/FrontMatter/SubSchemas/NavigationSchema.php.html @@ -98,7 +98,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Markdown/Contracts/FrontMatter/SubSchemas/dashboard.html b/master/coverage/framework/src/Markdown/Contracts/FrontMatter/SubSchemas/dashboard.html index fc9475d4e2e..a33c0f0341b 100644 --- a/master/coverage/framework/src/Markdown/Contracts/FrontMatter/SubSchemas/dashboard.html +++ b/master/coverage/framework/src/Markdown/Contracts/FrontMatter/SubSchemas/dashboard.html @@ -141,7 +141,7 @@

Project Risks

diff --git a/master/coverage/framework/src/Markdown/Contracts/FrontMatter/SubSchemas/index.html b/master/coverage/framework/src/Markdown/Contracts/FrontMatter/SubSchemas/index.html index fbc8b7d78a0..4eec7f6f353 100644 --- a/master/coverage/framework/src/Markdown/Contracts/FrontMatter/SubSchemas/index.html +++ b/master/coverage/framework/src/Markdown/Contracts/FrontMatter/SubSchemas/index.html @@ -112,7 +112,7 @@

Legend

High: 90% to 100%

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Markdown/Contracts/FrontMatter/dashboard.html b/master/coverage/framework/src/Markdown/Contracts/FrontMatter/dashboard.html index a00993de22e..19ec5573408 100644 --- a/master/coverage/framework/src/Markdown/Contracts/FrontMatter/dashboard.html +++ b/master/coverage/framework/src/Markdown/Contracts/FrontMatter/dashboard.html @@ -140,7 +140,7 @@

Project Risks

diff --git a/master/coverage/framework/src/Markdown/Contracts/FrontMatter/index.html b/master/coverage/framework/src/Markdown/Contracts/FrontMatter/index.html index 80042c0855a..e5639ceacfc 100644 --- a/master/coverage/framework/src/Markdown/Contracts/FrontMatter/index.html +++ b/master/coverage/framework/src/Markdown/Contracts/FrontMatter/index.html @@ -124,7 +124,7 @@

Legend

High: 90% to 100%

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Markdown/Contracts/MarkdownDocumentContract.php.html b/master/coverage/framework/src/Markdown/Contracts/MarkdownDocumentContract.php.html index f3b9fc932bc..2f2366c215e 100644 --- a/master/coverage/framework/src/Markdown/Contracts/MarkdownDocumentContract.php.html +++ b/master/coverage/framework/src/Markdown/Contracts/MarkdownDocumentContract.php.html @@ -97,7 +97,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Markdown/Contracts/MarkdownPostProcessorContract.php.html b/master/coverage/framework/src/Markdown/Contracts/MarkdownPostProcessorContract.php.html index f4d46641173..b6bef8fdf6e 100644 --- a/master/coverage/framework/src/Markdown/Contracts/MarkdownPostProcessorContract.php.html +++ b/master/coverage/framework/src/Markdown/Contracts/MarkdownPostProcessorContract.php.html @@ -94,7 +94,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Markdown/Contracts/MarkdownPreProcessorContract.php.html b/master/coverage/framework/src/Markdown/Contracts/MarkdownPreProcessorContract.php.html index e7562801605..4977b7c1702 100644 --- a/master/coverage/framework/src/Markdown/Contracts/MarkdownPreProcessorContract.php.html +++ b/master/coverage/framework/src/Markdown/Contracts/MarkdownPreProcessorContract.php.html @@ -94,7 +94,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Markdown/Contracts/MarkdownShortcodeContract.php.html b/master/coverage/framework/src/Markdown/Contracts/MarkdownShortcodeContract.php.html index 4aef67f4b76..b6a335fdf55 100644 --- a/master/coverage/framework/src/Markdown/Contracts/MarkdownShortcodeContract.php.html +++ b/master/coverage/framework/src/Markdown/Contracts/MarkdownShortcodeContract.php.html @@ -90,7 +90,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Markdown/Contracts/dashboard.html b/master/coverage/framework/src/Markdown/Contracts/dashboard.html index 1e65d24f416..020771b9f04 100644 --- a/master/coverage/framework/src/Markdown/Contracts/dashboard.html +++ b/master/coverage/framework/src/Markdown/Contracts/dashboard.html @@ -139,7 +139,7 @@

Project Risks

diff --git a/master/coverage/framework/src/Markdown/Contracts/index.html b/master/coverage/framework/src/Markdown/Contracts/index.html index 48db6a9be0b..164ea3a1a77 100644 --- a/master/coverage/framework/src/Markdown/Contracts/index.html +++ b/master/coverage/framework/src/Markdown/Contracts/index.html @@ -136,7 +136,7 @@

Legend

High: 90% to 100%

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Markdown/MarkdownConverter.php.html b/master/coverage/framework/src/Markdown/MarkdownConverter.php.html index cac0e2470ea..ab6b568195c 100644 --- a/master/coverage/framework/src/Markdown/MarkdownConverter.php.html +++ b/master/coverage/framework/src/Markdown/MarkdownConverter.php.html @@ -153,10 +153,10 @@ 21     */ 22    public function __construct(array $config = []) 23    { - 24        $environment = new Environment($config); - 25        $environment->addExtension(new CommonMarkCoreExtension()); + 24        $environment = new Environment($config); + 25        $environment->addExtension(new CommonMarkCoreExtension()); 26 - 27        parent::__construct($environment); + 27        parent::__construct($environment); 28    } 29} @@ -169,7 +169,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Markdown/Models/FrontMatter.php.html b/master/coverage/framework/src/Markdown/Models/FrontMatter.php.html index 2386d7e6637..fba78d32229 100644 --- a/master/coverage/framework/src/Markdown/Models/FrontMatter.php.html +++ b/master/coverage/framework/src/Markdown/Models/FrontMatter.php.html @@ -320,7 +320,7 @@ 33 34    public function __construct(array $matter = []) 35    { - 36        $this->data = $matter; + 36        $this->data = $matter; 37    } 38 39    public function __toString(): string @@ -337,8 +337,8 @@ 50    /** @return mixed|array */ 51    public function get(string $key = null, mixed $default = null): mixed 52    { - 53        if ($key) { - 54            return Arr::get($this->data, $key, $default); + 53        if ($key) { + 54            return Arr::get($this->data, $key, $default); 55        } 56 57        return $this->data; @@ -358,7 +358,7 @@ 71 72    public function toArray(): array 73    { - 74        return $this->data; + 74        return $this->data; 75    } 76 77    public static function fromArray(array $matter): static @@ -376,7 +376,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Markdown/Models/Markdown.php.html b/master/coverage/framework/src/Markdown/Models/Markdown.php.html index 8c4134d7436..f7d4050a02a 100644 --- a/master/coverage/framework/src/Markdown/Models/Markdown.php.html +++ b/master/coverage/framework/src/Markdown/Models/Markdown.php.html @@ -310,7 +310,7 @@ 23     */ 24    public function __construct(string $body = '') 25    { - 26        $this->body = str_replace("\r\n", "\n", rtrim($body)); + 26        $this->body = str_replace("\r\n", "\n", rtrim($body)); 27    } 28 29    /** @@ -339,7 +339,7 @@ 52     */ 53    public function compile(?string $pageClass = null): string 54    { - 55        return static::render($this->body, $pageClass); + 55        return static::render($this->body, $pageClass); 56    } 57 58    /** @@ -347,7 +347,7 @@ 60     */ 61    public function toHtml(?string $pageClass = null): HtmlString 62    { - 63        return new HtmlString($this->compile($pageClass)); + 63        return new HtmlString($this->compile($pageClass)); 64    } 65 66    /** @@ -357,7 +357,7 @@ 70     */ 71    public function toArray(): array 72    { - 73        return explode("\n", $this->body); + 73        return explode("\n", $this->body); 74    } 75 76    /** @@ -378,9 +378,9 @@ 91     */ 92    public static function render(string $markdown, ?string $pageClass = null): string 93    { - 94        return $pageClass !== null - 95            ? (new MarkdownService($markdown, $pageClass))->parse() - 96            : (string) app(MarkdownConverter::class)->convert($markdown); + 94        return $pageClass !== null + 95            ? (new MarkdownService($markdown, $pageClass))->parse() + 96            : (string) app(MarkdownConverter::class)->convert($markdown); 97    } 98} @@ -393,7 +393,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Markdown/Models/MarkdownDocument.php.html b/master/coverage/framework/src/Markdown/Models/MarkdownDocument.php.html index 3a8d3f7c852..43abae0b1f2 100644 --- a/master/coverage/framework/src/Markdown/Models/MarkdownDocument.php.html +++ b/master/coverage/framework/src/Markdown/Models/MarkdownDocument.php.html @@ -251,7 +251,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Markdown/Models/dashboard.html b/master/coverage/framework/src/Markdown/Models/dashboard.html index 5a9cf10a31f..82a57af7517 100644 --- a/master/coverage/framework/src/Markdown/Models/dashboard.html +++ b/master/coverage/framework/src/Markdown/Models/dashboard.html @@ -139,7 +139,7 @@

Project Risks

diff --git a/master/coverage/framework/src/Markdown/Models/index.html b/master/coverage/framework/src/Markdown/Models/index.html index 45f73c661e7..6cc8d548db4 100644 --- a/master/coverage/framework/src/Markdown/Models/index.html +++ b/master/coverage/framework/src/Markdown/Models/index.html @@ -170,7 +170,7 @@

Legend

High: 90% to 100%

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Markdown/Processing/BladeDownProcessor.php.html b/master/coverage/framework/src/Markdown/Processing/BladeDownProcessor.php.html index 4236d253b61..ba3d91acdf1 100644 --- a/master/coverage/framework/src/Markdown/Processing/BladeDownProcessor.php.html +++ b/master/coverage/framework/src/Markdown/Processing/BladeDownProcessor.php.html @@ -388,7 +388,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Markdown/Processing/CodeblockFilepathProcessor.php.html b/master/coverage/framework/src/Markdown/Processing/CodeblockFilepathProcessor.php.html index e626e1e1f1b..ba32e75dd56 100644 --- a/master/coverage/framework/src/Markdown/Processing/CodeblockFilepathProcessor.php.html +++ b/master/coverage/framework/src/Markdown/Processing/CodeblockFilepathProcessor.php.html @@ -308,10 +308,10 @@ 43     */ 44    public static function preprocess(string $markdown): string 45    { - 46        $lines = explode("\n", $markdown); + 46        $lines = explode("\n", $markdown); 47 - 48        foreach ($lines as $index => $line) { - 49            if (static::lineMatchesPattern($line)) { + 48        foreach ($lines as $index => $line) { + 49            if (static::lineMatchesPattern($line)) { 50                // Add the meta-block two lines before the pattern, placing it just above the code block. 51                // This prevents the meta-block from interfering with other processes during compile. 52                // We then replace these markers in the post-processor. @@ -329,7 +329,7 @@ 64            } 65        } 66 - 67        return implode("\n", $lines); + 67        return implode("\n", $lines); 68    } 69 70    /** @@ -337,11 +337,11 @@ 72     */ 73    public static function postprocess(string $html): string 74    { - 75        $lines = explode("\n", $html); + 75        $lines = explode("\n", $html); 76 77        /** @var int $index */ - 78        foreach ($lines as $index => $line) { - 79            if (str_starts_with($line, '<!-- HYDE[Filepath]')) { + 78        foreach ($lines as $index => $line) { + 79            if (str_starts_with($line, '<!-- HYDE[Filepath]')) { 80                $path = static::trimHydeDirective($line); 81                unset($lines[$index]); 82                $codeBlockLine = $index + 1; @@ -353,18 +353,18 @@ 88            } 89        } 90 - 91        return implode("\n", $lines); + 91        return implode("\n", $lines); 92    } 93 94    protected static function lineMatchesPattern(string $line): bool 95    { - 96        foreach (static::$patterns as $pattern) { - 97            if (str_starts_with(strtolower($line), (string) $pattern)) { + 96        foreach (static::$patterns as $pattern) { + 97            if (str_starts_with(strtolower($line), (string) $pattern)) { 98                return true; 99            } 100        } 101 - 102        return false; + 102        return false; 103    } 104 105    protected static function trimHydeDirective(string $line): string @@ -409,7 +409,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Markdown/Processing/ColoredBlockquotes.php.html b/master/coverage/framework/src/Markdown/Processing/ColoredBlockquotes.php.html index fb754f34c95..96c0f20947b 100644 --- a/master/coverage/framework/src/Markdown/Processing/ColoredBlockquotes.php.html +++ b/master/coverage/framework/src/Markdown/Processing/ColoredBlockquotes.php.html @@ -264,7 +264,7 @@ 43     */ 44    public static function getSignatures(): array 45    { - 46        return self::$signatures; + 46        return self::$signatures; 47    } 48 49    protected static function expand(string $input): string @@ -299,7 +299,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Markdown/Processing/ShortcodeProcessor.php.html b/master/coverage/framework/src/Markdown/Processing/ShortcodeProcessor.php.html index f29e5aa780e..06f6446e816 100644 --- a/master/coverage/framework/src/Markdown/Processing/ShortcodeProcessor.php.html +++ b/master/coverage/framework/src/Markdown/Processing/ShortcodeProcessor.php.html @@ -403,21 +403,21 @@ 50 51    public static function preprocess(string $markdown): string 52    { - 53        return (new static($markdown))->run(); + 53        return (new static($markdown))->run(); 54    } 55 56    /** @internal This class may be converted to a singleton. Thus, this constructor should not be relied upon. Use preprocess instead.  */ 57    public function __construct(string $input) 58    { - 59        $this->input = $input; + 59        $this->input = $input; 60 - 61        $this->discoverShortcodes(); + 61        $this->discoverShortcodes(); 62    } 63 64    /** @internal Use the preprocess method */ 65    public function run(): string 66    { - 67        return $this->processInput()->getOutput(); + 67        return $this->processInput()->getOutput(); 68    } 69 70    /** @@ -437,7 +437,7 @@ 84     */ 85    public function addShortcodesFromArray(array $shortcodes): void 86    { - 87        foreach ($shortcodes as $shortcode) { + 87        foreach ($shortcodes as $shortcode) { 88            $this->addShortcode($shortcode); 89        } 90    } @@ -452,39 +452,39 @@ 99    { 100        // Add the built-in shortcodes. 101 - 102        foreach (ColoredBlockquotes::getSignatures() as $signature) { - 103            $this->shortcodes[$signature] = new ColoredBlockquotes(); + 102        foreach (ColoredBlockquotes::getSignatures() as $signature) { + 103            $this->shortcodes[$signature] = new ColoredBlockquotes(); 104        } 105 - 106        $this->addShortcodesFromArray([ - 107            // - 108        ]); + 106        $this->addShortcodesFromArray([ + 107            // + 108        ]); 109    } 110 111    protected function getOutput(): string 112    { - 113        return $this->output; + 113        return $this->output; 114    } 115 116    protected function expandShortcode(string $line): string 117    { - 118        return array_key_exists($signature = $this->discoverSignature($line), $this->shortcodes) + 118        return array_key_exists($signature = $this->discoverSignature($line), $this->shortcodes) 119            ? $this->shortcodes[$signature]::resolve($line) - 120            : $line; + 120            : $line; 121    } 122 123    protected function discoverSignature(string $line): string 124    { - 125        return str_contains($line, ' ') ? substr($line, 0, strpos($line, ' ')) : $line; + 125        return str_contains($line, ' ') ? substr($line, 0, strpos($line, ' ')) : $line; 126    } 127 128    protected function processInput(): static 129    { - 130        $this->output = implode("\n", array_map(function (string $line): string { - 131            return $this->expandShortcode($line); - 132        }, explode("\n", $this->input))); + 130        $this->output = implode("\n", array_map(function (string $line): string { + 131            return $this->expandShortcode($line); + 132        }, explode("\n", $this->input))); 133 - 134        return $this; + 134        return $this; 135    } 136} @@ -497,7 +497,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Markdown/Processing/dashboard.html b/master/coverage/framework/src/Markdown/Processing/dashboard.html index 64ea79e040d..9d61b4bc9dc 100644 --- a/master/coverage/framework/src/Markdown/Processing/dashboard.html +++ b/master/coverage/framework/src/Markdown/Processing/dashboard.html @@ -139,7 +139,7 @@

Project Risks

diff --git a/master/coverage/framework/src/Markdown/Processing/index.html b/master/coverage/framework/src/Markdown/Processing/index.html index 01360cd8647..e1b1ead2dfb 100644 --- a/master/coverage/framework/src/Markdown/Processing/index.html +++ b/master/coverage/framework/src/Markdown/Processing/index.html @@ -198,7 +198,7 @@

Legend

High: 90% to 100%

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Markdown/dashboard.html b/master/coverage/framework/src/Markdown/dashboard.html index f458bd312f8..15b5e535c94 100644 --- a/master/coverage/framework/src/Markdown/dashboard.html +++ b/master/coverage/framework/src/Markdown/dashboard.html @@ -138,7 +138,7 @@

Project Risks

diff --git a/master/coverage/framework/src/Markdown/index.html b/master/coverage/framework/src/Markdown/index.html index 26f322e93d4..c33195d9daf 100644 --- a/master/coverage/framework/src/Markdown/index.html +++ b/master/coverage/framework/src/Markdown/index.html @@ -182,7 +182,7 @@

Legend

High: 90% to 100%

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Pages/BladePage.php.html b/master/coverage/framework/src/Pages/BladePage.php.html index 00effc6db86..9ae048b8c16 100644 --- a/master/coverage/framework/src/Pages/BladePage.php.html +++ b/master/coverage/framework/src/Pages/BladePage.php.html @@ -202,7 +202,7 @@ 26    /** @param  string  $identifier The identifier, which also serves as the view key. */ 27    public function __construct(string $identifier = '', FrontMatter|array $matter = []) 28    { - 29        parent::__construct($identifier, $matter); + 29        parent::__construct($identifier, $matter); 30    } 31 32    /** @inheritDoc */ @@ -227,7 +227,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Pages/Concerns/BaseMarkdownPage.php.html b/master/coverage/framework/src/Pages/Concerns/BaseMarkdownPage.php.html index ad742c0f9bb..1dd671cdb3c 100644 --- a/master/coverage/framework/src/Pages/Concerns/BaseMarkdownPage.php.html +++ b/master/coverage/framework/src/Pages/Concerns/BaseMarkdownPage.php.html @@ -258,9 +258,9 @@ 37    /** @inheritDoc */ 38    public function __construct(string $identifier = '', FrontMatter|array $matter = [], Markdown|string $markdown = '') 39    { - 40        $this->markdown = $markdown instanceof Markdown ? $markdown : new Markdown($markdown); + 40        $this->markdown = $markdown instanceof Markdown ? $markdown : new Markdown($markdown); 41 - 42        parent::__construct($identifier, $matter); + 42        parent::__construct($identifier, $matter); 43    } 44 45    /** @inheritDoc */ @@ -272,10 +272,10 @@ 51    /** @inheritDoc */ 52    public function compile(): string 53    { - 54        return View::make($this->getBladeView())->with([ - 55            'title' => $this->title, - 56            'content' => $this->markdown->toHtml(static::class), - 57        ])->render(); + 54        return View::make($this->getBladeView())->with([ + 55            'title' => $this->title, + 56            'content' => $this->markdown->toHtml(static::class), + 57        ])->render(); 58    } 59 60    /** @@ -303,7 +303,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Pages/Concerns/HydePage.php.html b/master/coverage/framework/src/Pages/Concerns/HydePage.php.html index 6f4b524753e..178ef192881 100644 --- a/master/coverage/framework/src/Pages/Concerns/HydePage.php.html +++ b/master/coverage/framework/src/Pages/Concerns/HydePage.php.html @@ -951,12 +951,12 @@ 80     */ 81    public function __construct(string $identifier = '', FrontMatter|array $matter = []) 82    { - 83        $this->identifier = $identifier; - 84        $this->routeKey = RouteKey::fromPage(static::class, $identifier)->get(); - 85        $this->matter = $matter instanceof FrontMatter ? $matter : new FrontMatter($matter); + 83        $this->identifier = $identifier; + 84        $this->routeKey = RouteKey::fromPage(static::class, $identifier)->get(); + 85        $this->matter = $matter instanceof FrontMatter ? $matter : new FrontMatter($matter); 86 - 87        $this->constructFactoryData(); - 88        $this->constructMetadata(); + 87        $this->constructFactoryData(); + 88        $this->constructMetadata(); 89    } 90 91    // Section: State @@ -966,7 +966,7 @@ 95     */ 96    public static function isDiscoverable(): bool 97    { - 98        return isset(static::$sourceDirectory, static::$outputDirectory, static::$fileExtension) && filled(static::$sourceDirectory); + 98        return isset(static::$sourceDirectory, static::$outputDirectory, static::$fileExtension) && filled(static::$sourceDirectory); 99    } 100 101    // Section: Query @@ -991,7 +991,7 @@ 120     */ 121    public static function parse(string $identifier): static 122    { - 123        return (new SourceFileParser(static::class, $identifier))->get(); + 123        return (new SourceFileParser(static::class, $identifier))->get(); 124    } 125 126    /** @@ -1003,9 +1003,9 @@ 132     */ 133    public static function files(): array 134    { - 135        return Files::getFiles(static::class)->map(function (SourceFile $file): string { + 135        return Files::getFiles(static::class)->map(function (SourceFile $file): string { 136            return static::pathToIdentifier($file->getPath()); - 137        })->values()->toArray(); + 137        })->values()->toArray(); 138    } 139 140    /** @@ -1015,7 +1015,7 @@ 144     */ 145    public static function all(): PageCollection 146    { - 147        return Facades\Pages::getPages(static::class); + 147        return Facades\Pages::getPages(static::class); 148    } 149 150    // Section: Filesystem @@ -1025,7 +1025,7 @@ 154     */ 155    public static function sourceDirectory(): string 156    { - 157        return static::$sourceDirectory ?? Hyde::getSourceRoot(); + 157        return static::$sourceDirectory ?? Hyde::getSourceRoot(); 158    } 159 160    /** @@ -1033,7 +1033,7 @@ 162     */ 163    public static function outputDirectory(): string 164    { - 165        return static::$outputDirectory ?? ''; + 165        return static::$outputDirectory ?? ''; 166    } 167 168    /** @@ -1041,7 +1041,7 @@ 170     */ 171    public static function fileExtension(): string 172    { - 173        return static::$fileExtension ?? ''; + 173        return static::$fileExtension ?? ''; 174    } 175 176    /** @@ -1049,7 +1049,7 @@ 178     */ 179    public static function setSourceDirectory(string $sourceDirectory): void 180    { - 181        static::$sourceDirectory = unslash($sourceDirectory); + 181        static::$sourceDirectory = unslash($sourceDirectory); 182    } 183 184    /** @@ -1057,7 +1057,7 @@ 186     */ 187    public static function setOutputDirectory(string $outputDirectory): void 188    { - 189        static::$outputDirectory = unslash($outputDirectory); + 189        static::$outputDirectory = unslash($outputDirectory); 190    } 191 192    /** @@ -1073,7 +1073,7 @@ 202     */ 203    public static function sourcePath(string $identifier): string 204    { - 205        return unslash(static::sourceDirectory().'/'.unslash($identifier).static::fileExtension()); + 205        return unslash(static::sourceDirectory().'/'.unslash($identifier).static::fileExtension()); 206    } 207 208    /** @@ -1081,7 +1081,7 @@ 210     */ 211    public static function outputPath(string $identifier): string 212    { - 213        return RouteKey::fromPage(static::class, $identifier).'.html'; + 213        return RouteKey::fromPage(static::class, $identifier).'.html'; 214    } 215 216    /** @@ -1101,10 +1101,10 @@ 230     */ 231    public static function pathToIdentifier(string $path): string 232    { - 233        return unslash(Str::between(Hyde::pathToRelative($path), - 234            static::sourceDirectory().'/', - 235            static::fileExtension()) - 236        ); + 233        return unslash(Str::between(Hyde::pathToRelative($path), + 234            static::sourceDirectory().'/', + 235            static::fileExtension()) + 236        ); 237    } 238 239    /** @@ -1114,7 +1114,7 @@ 243     */ 244    public static function baseRouteKey(): string 245    { - 246        return static::outputDirectory(); + 246        return static::outputDirectory(); 247    } 248 249    /** @@ -1145,7 +1145,7 @@ 274     */ 275    public function getSourcePath(): string 276    { - 277        return unslash(static::sourcePath($this->identifier)); + 277        return unslash(static::sourcePath($this->identifier)); 278    } 279 280    /** @@ -1155,7 +1155,7 @@ 284     */ 285    public function getOutputPath(): string 286    { - 287        return unslash(static::outputPath($this->identifier)); + 287        return unslash(static::outputPath($this->identifier)); 288    } 289 290    // Section: Routing @@ -1172,7 +1172,7 @@ 301     */ 302    public function getRouteKey(): string 303    { - 304        return $this->routeKey; + 304        return $this->routeKey; 305    } 306 307    /** @@ -1180,7 +1180,7 @@ 309     */ 310    public function getRoute(): Route 311    { - 312        return Routes::get($this->getRouteKey()) ?? new Route($this); + 312        return Routes::get($this->getRouteKey()) ?? new Route($this); 313    } 314 315    /** @@ -1190,7 +1190,7 @@ 319     */ 320    public function getLink(): string 321    { - 322        return Hyde::formatLink($this->getOutputPath()); + 322        return Hyde::formatLink($this->getOutputPath()); 323    } 324 325    // Section: Getters @@ -1215,7 +1215,7 @@ 344     */ 345    public function getBladeView(): string 346    { - 347        return static::$template; + 347        return static::$template; 348    } 349 350    // Section: Accessors @@ -1225,7 +1225,7 @@ 354     */ 355    public function title(): string 356    { - 357        return Config::getString('hyde.name', 'HydePHP').' - '.$this->title; + 357        return Config::getString('hyde.name', 'HydePHP').' - '.$this->title; 358    } 359 360    /** @@ -1233,7 +1233,7 @@ 362     */ 363    public function metadata(): PageMetadataBag 364    { - 365        return $this->metadata; + 365        return $this->metadata; 366    } 367 368    /** @@ -1241,7 +1241,7 @@ 370     */ 371    public function showInNavigation(): bool 372    { - 373        return ! $this->navigation->hidden; + 373        return ! $this->navigation->hidden; 374    } 375 376    /** @@ -1249,7 +1249,7 @@ 378     */ 379    public function navigationMenuPriority(): int 380    { - 381        return $this->navigation->priority; + 381        return $this->navigation->priority; 382    } 383 384    /** @@ -1257,7 +1257,7 @@ 386     */ 387    public function navigationMenuLabel(): string 388    { - 389        return $this->navigation->label; + 389        return $this->navigation->label; 390    } 391 392    /** @@ -1270,20 +1270,20 @@ 399 400    public function getCanonicalUrl(): ?string 401    { - 402        if (! empty($this->matter('canonicalUrl'))) { + 402        if (! empty($this->matter('canonicalUrl'))) { 403            return $this->matter('canonicalUrl'); 404        } 405 - 406        if (Hyde::hasSiteUrl() && ! empty($this->identifier)) { - 407            return Hyde::url($this->getOutputPath()); + 406        if (Hyde::hasSiteUrl() && ! empty($this->identifier)) { + 407            return Hyde::url($this->getOutputPath()); 408        } 409 - 410        return null; + 410        return null; 411    } 412 413    protected function constructMetadata(): void 414    { - 415        $this->metadata = new PageMetadataBag($this); + 415        $this->metadata = new PageMetadataBag($this); 416    } 417} @@ -1296,7 +1296,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Pages/Concerns/dashboard.html b/master/coverage/framework/src/Pages/Concerns/dashboard.html index 35d8446c84c..2bb32656166 100644 --- a/master/coverage/framework/src/Pages/Concerns/dashboard.html +++ b/master/coverage/framework/src/Pages/Concerns/dashboard.html @@ -139,7 +139,7 @@

Project Risks

diff --git a/master/coverage/framework/src/Pages/Concerns/index.html b/master/coverage/framework/src/Pages/Concerns/index.html index a9c015d14bd..66c7c4b7f6e 100644 --- a/master/coverage/framework/src/Pages/Concerns/index.html +++ b/master/coverage/framework/src/Pages/Concerns/index.html @@ -142,7 +142,7 @@

Legend

High: 90% to 100%

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Pages/DocumentationPage.php.html b/master/coverage/framework/src/Pages/DocumentationPage.php.html index d220a9d56b6..f06eb55da46 100644 --- a/master/coverage/framework/src/Pages/DocumentationPage.php.html +++ b/master/coverage/framework/src/Pages/DocumentationPage.php.html @@ -300,7 +300,7 @@ 36 37    public static function homeRouteName(): string 38    { - 39        return unslash(static::baseRouteKey().'/index'); + 39        return unslash(static::baseRouteKey().'/index'); 40    } 41 42    /** @see https://hydephp.com/docs/1.x/documentation-pages#automatic-edit-page-button */ @@ -360,7 +360,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Pages/HtmlPage.php.html b/master/coverage/framework/src/Pages/HtmlPage.php.html index 6453e3a8755..6c7823b4e77 100644 --- a/master/coverage/framework/src/Pages/HtmlPage.php.html +++ b/master/coverage/framework/src/Pages/HtmlPage.php.html @@ -221,7 +221,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Pages/InMemoryPage.php.html b/master/coverage/framework/src/Pages/InMemoryPage.php.html index cd6c8755744..ca03d9d7d3f 100644 --- a/master/coverage/framework/src/Pages/InMemoryPage.php.html +++ b/master/coverage/framework/src/Pages/InMemoryPage.php.html @@ -469,7 +469,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Pages/MarkdownPage.php.html b/master/coverage/framework/src/Pages/MarkdownPage.php.html index a89e75f19fb..f9a97110c91 100644 --- a/master/coverage/framework/src/Pages/MarkdownPage.php.html +++ b/master/coverage/framework/src/Pages/MarkdownPage.php.html @@ -110,7 +110,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Pages/MarkdownPost.php.html b/master/coverage/framework/src/Pages/MarkdownPost.php.html index ae8934c2f59..50d0d3fed05 100644 --- a/master/coverage/framework/src/Pages/MarkdownPost.php.html +++ b/master/coverage/framework/src/Pages/MarkdownPost.php.html @@ -216,7 +216,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Pages/dashboard.html b/master/coverage/framework/src/Pages/dashboard.html index 0d5f3d726fa..746b60b70bf 100644 --- a/master/coverage/framework/src/Pages/dashboard.html +++ b/master/coverage/framework/src/Pages/dashboard.html @@ -138,7 +138,7 @@

Project Risks

diff --git a/master/coverage/framework/src/Pages/index.html b/master/coverage/framework/src/Pages/index.html index 427821f0ef5..99d84293726 100644 --- a/master/coverage/framework/src/Pages/index.html +++ b/master/coverage/framework/src/Pages/index.html @@ -266,7 +266,7 @@

Legend

High: 90% to 100%

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Support/BuildWarnings.php.html b/master/coverage/framework/src/Support/BuildWarnings.php.html index a39578f54f7..9154f4e0ca0 100644 --- a/master/coverage/framework/src/Support/BuildWarnings.php.html +++ b/master/coverage/framework/src/Support/BuildWarnings.php.html @@ -408,7 +408,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Support/Concerns/Serializable.php.html b/master/coverage/framework/src/Support/Concerns/Serializable.php.html index 5d2d2fdc93b..1236dd6a817 100644 --- a/master/coverage/framework/src/Support/Concerns/Serializable.php.html +++ b/master/coverage/framework/src/Support/Concerns/Serializable.php.html @@ -234,7 +234,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Support/Concerns/dashboard.html b/master/coverage/framework/src/Support/Concerns/dashboard.html index e6f1cb8b6bd..2378640db03 100644 --- a/master/coverage/framework/src/Support/Concerns/dashboard.html +++ b/master/coverage/framework/src/Support/Concerns/dashboard.html @@ -139,7 +139,7 @@

Project Risks

diff --git a/master/coverage/framework/src/Support/Concerns/index.html b/master/coverage/framework/src/Support/Concerns/index.html index ea4a7e56d87..32d394c5bf9 100644 --- a/master/coverage/framework/src/Support/Concerns/index.html +++ b/master/coverage/framework/src/Support/Concerns/index.html @@ -114,7 +114,7 @@

Legend

High: 90% to 100%

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Support/Contracts/SerializableContract.php.html b/master/coverage/framework/src/Support/Contracts/SerializableContract.php.html index 9583edc49b3..33f738622ab 100644 --- a/master/coverage/framework/src/Support/Contracts/SerializableContract.php.html +++ b/master/coverage/framework/src/Support/Contracts/SerializableContract.php.html @@ -114,7 +114,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Support/Contracts/dashboard.html b/master/coverage/framework/src/Support/Contracts/dashboard.html index 10f1771a765..c523ebfb2bd 100644 --- a/master/coverage/framework/src/Support/Contracts/dashboard.html +++ b/master/coverage/framework/src/Support/Contracts/dashboard.html @@ -139,7 +139,7 @@

Project Risks

diff --git a/master/coverage/framework/src/Support/Contracts/index.html b/master/coverage/framework/src/Support/Contracts/index.html index 8ad0d12726b..61d64ed0d6c 100644 --- a/master/coverage/framework/src/Support/Contracts/index.html +++ b/master/coverage/framework/src/Support/Contracts/index.html @@ -84,7 +84,7 @@

Legend

High: 90% to 100%

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Support/DataCollections.php.html b/master/coverage/framework/src/Support/DataCollections.php.html index 376b5996117..b78167afdee 100644 --- a/master/coverage/framework/src/Support/DataCollections.php.html +++ b/master/coverage/framework/src/Support/DataCollections.php.html @@ -330,7 +330,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Support/Facades/Render.php.html b/master/coverage/framework/src/Support/Facades/Render.php.html index 810ecb4aede..8d43db52f50 100644 --- a/master/coverage/framework/src/Support/Facades/Render.php.html +++ b/master/coverage/framework/src/Support/Facades/Render.php.html @@ -160,7 +160,7 @@ 27    /** @return class-string */ 28    protected static function getFacadeAccessor(): string 29    { - 30        return RenderData::class; + 30        return RenderData::class; 31    } 32} @@ -173,7 +173,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Support/Facades/dashboard.html b/master/coverage/framework/src/Support/Facades/dashboard.html index 4c13259e200..6cdd14666d2 100644 --- a/master/coverage/framework/src/Support/Facades/dashboard.html +++ b/master/coverage/framework/src/Support/Facades/dashboard.html @@ -139,7 +139,7 @@

Project Risks

diff --git a/master/coverage/framework/src/Support/Facades/index.html b/master/coverage/framework/src/Support/Facades/index.html index e4c13b4266e..f2e8ba62560 100644 --- a/master/coverage/framework/src/Support/Facades/index.html +++ b/master/coverage/framework/src/Support/Facades/index.html @@ -114,7 +114,7 @@

Legend

High: 90% to 100%

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Support/Filesystem/MediaFile.php.html b/master/coverage/framework/src/Support/Filesystem/MediaFile.php.html index be33489044e..f184ca7979d 100644 --- a/master/coverage/framework/src/Support/Filesystem/MediaFile.php.html +++ b/master/coverage/framework/src/Support/Filesystem/MediaFile.php.html @@ -435,7 +435,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Support/Filesystem/ProjectFile.php.html b/master/coverage/framework/src/Support/Filesystem/ProjectFile.php.html index c964ff596fd..c1171da2b9a 100644 --- a/master/coverage/framework/src/Support/Filesystem/ProjectFile.php.html +++ b/master/coverage/framework/src/Support/Filesystem/ProjectFile.php.html @@ -322,7 +322,7 @@ 35 36    public function __construct(string $path) 37    { - 38        $this->path = Hyde::pathToRelative($path); + 38        $this->path = Hyde::pathToRelative($path); 39    } 40 41    /** @@ -343,7 +343,7 @@ 56 57    public function getPath(): string 58    { - 59        return $this->path; + 59        return $this->path; 60    } 61 62    public function getAbsolutePath(): string @@ -371,7 +371,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Support/Filesystem/SourceFile.php.html b/master/coverage/framework/src/Support/Filesystem/SourceFile.php.html index 8e3f5380b2a..89bfa4f6144 100644 --- a/master/coverage/framework/src/Support/Filesystem/SourceFile.php.html +++ b/master/coverage/framework/src/Support/Filesystem/SourceFile.php.html @@ -202,14 +202,14 @@ 25    /** @param  class-string<\Hyde\Pages\Concerns\HydePage>  $pageClass */ 26    public static function make(string $path, string $pageClass = HydePage::class): static 27    { - 28        return new static($path, $pageClass); + 28        return new static($path, $pageClass); 29    } 30 31    /** @param  class-string<\Hyde\Pages\Concerns\HydePage>  $pageClass */ 32    public function __construct(string $path, string $pageClass = HydePage::class) 33    { - 34        parent::__construct($path); - 35        $this->pageClass = $pageClass; + 34        parent::__construct($path); + 35        $this->pageClass = $pageClass; 36    } 37 38    public function toArray(): array @@ -229,7 +229,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Support/Filesystem/dashboard.html b/master/coverage/framework/src/Support/Filesystem/dashboard.html index 84d5ff3b887..95f9b650429 100644 --- a/master/coverage/framework/src/Support/Filesystem/dashboard.html +++ b/master/coverage/framework/src/Support/Filesystem/dashboard.html @@ -139,7 +139,7 @@

Project Risks

diff --git a/master/coverage/framework/src/Support/Filesystem/index.html b/master/coverage/framework/src/Support/Filesystem/index.html index 512f592f127..fa9698ffec2 100644 --- a/master/coverage/framework/src/Support/Filesystem/index.html +++ b/master/coverage/framework/src/Support/Filesystem/index.html @@ -170,7 +170,7 @@

Legend

High: 90% to 100%

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Support/Includes.php.html b/master/coverage/framework/src/Support/Includes.php.html index 6ba2f637e59..6e49ccccaf0 100644 --- a/master/coverage/framework/src/Support/Includes.php.html +++ b/master/coverage/framework/src/Support/Includes.php.html @@ -255,11 +255,11 @@ 35     */ 36    public static function path(?string $filename = null): string 37    { - 38        static::needsDirectory(static::$includesDirectory); + 38        static::needsDirectory(static::$includesDirectory); 39 - 40        return $filename === null + 40        return $filename === null 41            ? Hyde::path(static::$includesDirectory) - 42            : Hyde::path(static::$includesDirectory.'/'.$filename); + 42            : Hyde::path(static::$includesDirectory.'/'.$filename); 43    } 44 45    /** @@ -289,10 +289,10 @@ 69     */ 70    public static function html(string $filename, ?string $default = null): ?string 71    { - 72        $path = static::path(basename($filename, '.html').'.html'); + 72        $path = static::path(basename($filename, '.html').'.html'); 73 - 74        if (! file_exists($path)) { - 75            return $default === null ? null : $default; + 74        if (! file_exists($path)) { + 75            return $default === null ? null : $default; 76        } 77 78        return file_get_contents($path); @@ -307,10 +307,10 @@ 87     */ 88    public static function markdown(string $filename, ?string $default = null): ?string 89    { - 90        $path = static::path(basename($filename, '.md').'.md'); + 90        $path = static::path(basename($filename, '.md').'.md'); 91 - 92        if (! file_exists($path)) { - 93            return $default === null ? null : Markdown::render($default); + 92        if (! file_exists($path)) { + 93            return $default === null ? null : Markdown::render($default); 94        } 95 96        return Markdown::render(file_get_contents($path)); @@ -344,7 +344,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Support/Models/DateString.php.html b/master/coverage/framework/src/Support/Models/DateString.php.html index a9767f724db..25a140f06f0 100644 --- a/master/coverage/framework/src/Support/Models/DateString.php.html +++ b/master/coverage/framework/src/Support/Models/DateString.php.html @@ -212,7 +212,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Support/Models/Redirect.php.html b/master/coverage/framework/src/Support/Models/Redirect.php.html index 13e4163303a..16a92140500 100644 --- a/master/coverage/framework/src/Support/Models/Redirect.php.html +++ b/master/coverage/framework/src/Support/Models/Redirect.php.html @@ -312,7 +312,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Support/Models/RenderData.php.html b/master/coverage/framework/src/Support/Models/RenderData.php.html index 6706ed82f3f..c5a2a8a1638 100644 --- a/master/coverage/framework/src/Support/Models/RenderData.php.html +++ b/master/coverage/framework/src/Support/Models/RenderData.php.html @@ -322,29 +322,29 @@ 35 36    public function getPage(): ?HydePage 37    { - 38        return $this->page ?? null; + 38        return $this->page ?? null; 39    } 40 41    public function getRoute(): ?Route 42    { - 43        return $this->route ?? null; + 43        return $this->route ?? null; 44    } 45 46    public function getRouteKey(): ?string 47    { - 48        return $this->routeKey ?? null; + 48        return $this->routeKey ?? null; 49    } 50 51    public function shareToView(): void 52    { - 53        View::share($this->toArray()); + 53        View::share($this->toArray()); 54    } 55 56    public function share(string $key, mixed $value): void 57    { - 58        if (property_exists($this, $key)) { - 59            $this->{$key} = $value; - 60            $this->shareToView(); + 58        if (property_exists($this, $key)) { + 59            $this->{$key} = $value; + 60            $this->shareToView(); 61        } else { 62            throw new InvalidArgumentException("Property '$key' does not exist on ".self::class); 63        } @@ -361,12 +361,12 @@ 74     */ 75    public function toArray(): array 76    { - 77        return [ - 78            'render' => $this, - 79            'page' => $this->getPage(), - 80            'route' => $this->getRoute(), - 81            'routeKey' => $this->getRouteKey(), - 82        ]; + 77        return [ + 78            'render' => $this, + 79            'page' => $this->getPage(), + 80            'route' => $this->getRoute(), + 81            'routeKey' => $this->getRouteKey(), + 82        ]; 83    } 84} @@ -379,7 +379,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Support/Models/Route.php.html b/master/coverage/framework/src/Support/Models/Route.php.html index f2940d0199c..98cf9443fc2 100644 --- a/master/coverage/framework/src/Support/Models/Route.php.html +++ b/master/coverage/framework/src/Support/Models/Route.php.html @@ -379,7 +379,7 @@ 26 27    public function __construct(HydePage $page) 28    { - 29        $this->page = $page; + 29        $this->page = $page; 30    } 31 32    /** @@ -387,7 +387,7 @@ 34     */ 35    public function __toString(): string 36    { - 37        return $this->getLink(); + 37        return $this->getLink(); 38    } 39 40    /** @@ -395,12 +395,12 @@ 42     */ 43    public function getLink(): string 44    { - 45        return Hyde::relativeLink($this->page->getLink()); + 45        return Hyde::relativeLink($this->page->getLink()); 46    } 47 48    public function getPage(): HydePage 49    { - 50        return $this->page; + 50        return $this->page; 51    } 52 53    /** @return class-string<HydePage> */ @@ -416,7 +416,7 @@ 63 64    public function getRouteKey(): string 65    { - 66        return $this->page->getRouteKey(); + 66        return $this->page->getRouteKey(); 67    } 68 69    public function getSourcePath(): string @@ -467,7 +467,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Support/Models/RouteKey.php.html b/master/coverage/framework/src/Support/Models/RouteKey.php.html index b226baa0273..436fd7e565c 100644 --- a/master/coverage/framework/src/Support/Models/RouteKey.php.html +++ b/master/coverage/framework/src/Support/Models/RouteKey.php.html @@ -252,23 +252,23 @@ 31 32    public function __construct(string $key) 33    { - 34        $this->key = $key; + 34        $this->key = $key; 35    } 36 37    public function __toString(): string 38    { - 39        return $this->key; + 39        return $this->key; 40    } 41 42    public function get(): string 43    { - 44        return $this->key; + 44        return $this->key; 45    } 46 47    /** @param class-string<\Hyde\Pages\Concerns\HydePage> $pageClass */ 48    public static function fromPage(string $pageClass, string $identifier): self 49    { - 50        return new self(unslash("{$pageClass::baseRouteKey()}/$identifier")); + 50        return new self(unslash("{$pageClass::baseRouteKey()}/$identifier")); 51    } 52} @@ -281,7 +281,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Support/Models/RouteList.php.html b/master/coverage/framework/src/Support/Models/RouteList.php.html index 5a43e1278d7..c79d13c910c 100644 --- a/master/coverage/framework/src/Support/Models/RouteList.php.html +++ b/master/coverage/framework/src/Support/Models/RouteList.php.html @@ -283,7 +283,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Support/Models/RouteListItem.php.html b/master/coverage/framework/src/Support/Models/RouteListItem.php.html index c230a272a31..8b9e7d32932 100644 --- a/master/coverage/framework/src/Support/Models/RouteListItem.php.html +++ b/master/coverage/framework/src/Support/Models/RouteListItem.php.html @@ -335,7 +335,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Support/Models/ValidationResult.php.html b/master/coverage/framework/src/Support/Models/ValidationResult.php.html index df228e584f7..e3e78659be3 100644 --- a/master/coverage/framework/src/Support/Models/ValidationResult.php.html +++ b/master/coverage/framework/src/Support/Models/ValidationResult.php.html @@ -678,7 +678,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Support/Models/dashboard.html b/master/coverage/framework/src/Support/Models/dashboard.html index b7b2458d043..77c1ccb5432 100644 --- a/master/coverage/framework/src/Support/Models/dashboard.html +++ b/master/coverage/framework/src/Support/Models/dashboard.html @@ -139,7 +139,7 @@

Project Risks

diff --git a/master/coverage/framework/src/Support/Models/index.html b/master/coverage/framework/src/Support/Models/index.html index f3d5b2f6ee0..a38cbfb4098 100644 --- a/master/coverage/framework/src/Support/Models/index.html +++ b/master/coverage/framework/src/Support/Models/index.html @@ -310,7 +310,7 @@

Legend

High: 90% to 100%

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Support/Paginator.php.html b/master/coverage/framework/src/Support/Paginator.php.html index 61b37acde33..1cef02eeb2a 100644 --- a/master/coverage/framework/src/Support/Paginator.php.html +++ b/master/coverage/framework/src/Support/Paginator.php.html @@ -833,7 +833,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Support/ReadingTime.php.html b/master/coverage/framework/src/Support/ReadingTime.php.html index e847c28cc94..5fcb97961c4 100644 --- a/master/coverage/framework/src/Support/ReadingTime.php.html +++ b/master/coverage/framework/src/Support/ReadingTime.php.html @@ -483,7 +483,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/Support/dashboard.html b/master/coverage/framework/src/Support/dashboard.html index b0b29f84325..c5e77909876 100644 --- a/master/coverage/framework/src/Support/dashboard.html +++ b/master/coverage/framework/src/Support/dashboard.html @@ -138,7 +138,7 @@

Project Risks

diff --git a/master/coverage/framework/src/Support/index.html b/master/coverage/framework/src/Support/index.html index 8f07f8e4210..2ff2cdc0e8f 100644 --- a/master/coverage/framework/src/Support/index.html +++ b/master/coverage/framework/src/Support/index.html @@ -350,7 +350,7 @@

Legend

High: 90% to 100%

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/dashboard.html b/master/coverage/framework/src/dashboard.html index 496db22e893..1a1ea815d7d 100644 --- a/master/coverage/framework/src/dashboard.html +++ b/master/coverage/framework/src/dashboard.html @@ -137,7 +137,7 @@

Project Risks

diff --git a/master/coverage/framework/src/helpers.php.html b/master/coverage/framework/src/helpers.php.html index a6fd9d6c700..89ff4054cde 100644 --- a/master/coverage/framework/src/helpers.php.html +++ b/master/coverage/framework/src/helpers.php.html @@ -492,7 +492,7 @@ 21         */ 22        function unslash(string $string): string 23        { - 24            return trim($string, '/\\'); + 24            return trim($string, '/\\'); 25        } 26    } 27 @@ -638,14 +638,14 @@ 167    if (! function_exists('\Hyde\path_join')) { 168        function path_join(string $directory, string ...$paths): string 169        { - 170            return implode('/', array_merge([$directory], $paths)); + 170            return implode('/', array_merge([$directory], $paths)); 171        } 172    } 173 174    if (! function_exists('\Hyde\normalize_slashes')) { 175        function normalize_slashes(string $string): string 176        { - 177            return str_replace('\\', '/', $string); + 177            return str_replace('\\', '/', $string); 178        } 179    } 180} @@ -659,7 +659,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/framework/src/index.html b/master/coverage/framework/src/index.html index ab165fbd1b2..04492c121d5 100644 --- a/master/coverage/framework/src/index.html +++ b/master/coverage/framework/src/index.html @@ -331,7 +331,7 @@

Legend

High: 90% to 100%

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/index.html b/master/coverage/index.html index 3fc58afebcc..74b9e61a3fe 100644 --- a/master/coverage/index.html +++ b/master/coverage/index.html @@ -138,7 +138,7 @@

Legend

High: 90% to 100%

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/junit.xml b/master/coverage/junit.xml index 30f8080fff1..137bdff71b1 100644 --- a/master/coverage/junit.xml +++ b/master/coverage/junit.xml @@ -1,1873 +1,1873 @@ - - - - - - + + + + + + - - + + - - + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1880,1109 +1880,1111 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - + + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + diff --git a/master/coverage/publications/dashboard.html b/master/coverage/publications/dashboard.html index 81eff4192b3..2ddfd1264c9 100644 --- a/master/coverage/publications/dashboard.html +++ b/master/coverage/publications/dashboard.html @@ -136,7 +136,7 @@

Project Risks

diff --git a/master/coverage/publications/index.html b/master/coverage/publications/index.html index 4ee8a305f31..9a2fae6b3e2 100644 --- a/master/coverage/publications/index.html +++ b/master/coverage/publications/index.html @@ -111,7 +111,7 @@

Legend

High: 90% to 100%

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/publications/src/Actions/CreateAction.php.html b/master/coverage/publications/src/Actions/CreateAction.php.html index 67592012df4..f47d7d946c3 100644 --- a/master/coverage/publications/src/Actions/CreateAction.php.html +++ b/master/coverage/publications/src/Actions/CreateAction.php.html @@ -435,7 +435,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/publications/src/Actions/CreatesNewPublicationPage.php.html b/master/coverage/publications/src/Actions/CreatesNewPublicationPage.php.html index 0cc40c93b5b..5dda7c9a2f5 100644 --- a/master/coverage/publications/src/Actions/CreatesNewPublicationPage.php.html +++ b/master/coverage/publications/src/Actions/CreatesNewPublicationPage.php.html @@ -366,7 +366,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/publications/src/Actions/CreatesNewPublicationType.php.html b/master/coverage/publications/src/Actions/CreatesNewPublicationType.php.html index 91c643afac8..65c5d3866d3 100644 --- a/master/coverage/publications/src/Actions/CreatesNewPublicationType.php.html +++ b/master/coverage/publications/src/Actions/CreatesNewPublicationType.php.html @@ -321,7 +321,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/publications/src/Actions/GeneratesPublicationTagPages.php.html b/master/coverage/publications/src/Actions/GeneratesPublicationTagPages.php.html index fc01f22551c..5e151ba9d51 100644 --- a/master/coverage/publications/src/Actions/GeneratesPublicationTagPages.php.html +++ b/master/coverage/publications/src/Actions/GeneratesPublicationTagPages.php.html @@ -215,7 +215,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/publications/src/Actions/PublicationFieldValidator.php.html b/master/coverage/publications/src/Actions/PublicationFieldValidator.php.html index 1e0579b95fe..f5930dad572 100644 --- a/master/coverage/publications/src/Actions/PublicationFieldValidator.php.html +++ b/master/coverage/publications/src/Actions/PublicationFieldValidator.php.html @@ -298,7 +298,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/publications/src/Actions/PublicationPageCompiler.php.html b/master/coverage/publications/src/Actions/PublicationPageCompiler.php.html index bb7cff87e0c..0f2a2e1d3d3 100644 --- a/master/coverage/publications/src/Actions/PublicationPageCompiler.php.html +++ b/master/coverage/publications/src/Actions/PublicationPageCompiler.php.html @@ -338,7 +338,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/publications/src/Actions/PublicationPageValidator.php.html b/master/coverage/publications/src/Actions/PublicationPageValidator.php.html index 2d9ed7f8532..bbb926b71b0 100644 --- a/master/coverage/publications/src/Actions/PublicationPageValidator.php.html +++ b/master/coverage/publications/src/Actions/PublicationPageValidator.php.html @@ -433,7 +433,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/publications/src/Actions/PublicationSchemaValidator.php.html b/master/coverage/publications/src/Actions/PublicationSchemaValidator.php.html index 50ebd21bc0d..029a2269e2d 100644 --- a/master/coverage/publications/src/Actions/PublicationSchemaValidator.php.html +++ b/master/coverage/publications/src/Actions/PublicationSchemaValidator.php.html @@ -479,7 +479,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/publications/src/Actions/SeedsPublicationFiles.php.html b/master/coverage/publications/src/Actions/SeedsPublicationFiles.php.html index 7e738f0328e..69bc59613c2 100644 --- a/master/coverage/publications/src/Actions/SeedsPublicationFiles.php.html +++ b/master/coverage/publications/src/Actions/SeedsPublicationFiles.php.html @@ -629,7 +629,7 @@ 211    { 212        $lines = []; 213        for ($i = 0; $i < $count; $i++) { - 214            $lines[] = $this->fakeSentence(rand(1, 15)); + 214            $lines[] = $this->fakeSentence(rand(1, 15)); 215        } 216 217        return implode("\n", $lines); @@ -645,7 +645,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/publications/src/Actions/dashboard.html b/master/coverage/publications/src/Actions/dashboard.html index 37936309d70..ea1092a2f48 100644 --- a/master/coverage/publications/src/Actions/dashboard.html +++ b/master/coverage/publications/src/Actions/dashboard.html @@ -138,7 +138,7 @@

Project Risks

diff --git a/master/coverage/publications/src/Actions/index.html b/master/coverage/publications/src/Actions/index.html index a2f1681af42..e1d942baecf 100644 --- a/master/coverage/publications/src/Actions/index.html +++ b/master/coverage/publications/src/Actions/index.html @@ -337,7 +337,7 @@

Legend

High: 90% to 100%

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/publications/src/Commands/Helpers/InputStreamHandler.php.html b/master/coverage/publications/src/Commands/Helpers/InputStreamHandler.php.html index 2400661b21b..e3e4e2f9ec3 100644 --- a/master/coverage/publications/src/Commands/Helpers/InputStreamHandler.php.html +++ b/master/coverage/publications/src/Commands/Helpers/InputStreamHandler.php.html @@ -371,7 +371,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/publications/src/Commands/Helpers/dashboard.html b/master/coverage/publications/src/Commands/Helpers/dashboard.html index dfd7c4410fa..1cca7cba23e 100644 --- a/master/coverage/publications/src/Commands/Helpers/dashboard.html +++ b/master/coverage/publications/src/Commands/Helpers/dashboard.html @@ -139,7 +139,7 @@

Project Risks

diff --git a/master/coverage/publications/src/Commands/Helpers/index.html b/master/coverage/publications/src/Commands/Helpers/index.html index 4a46d29beb8..a6042e6e603 100644 --- a/master/coverage/publications/src/Commands/Helpers/index.html +++ b/master/coverage/publications/src/Commands/Helpers/index.html @@ -114,7 +114,7 @@

Legend

High: 90% to 100%

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/publications/src/Commands/MakePublicationCommand.php.html b/master/coverage/publications/src/Commands/MakePublicationCommand.php.html index 050a5ce0e42..83f0fd55e06 100644 --- a/master/coverage/publications/src/Commands/MakePublicationCommand.php.html +++ b/master/coverage/publications/src/Commands/MakePublicationCommand.php.html @@ -608,7 +608,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/publications/src/Commands/MakePublicationTypeCommand.php.html b/master/coverage/publications/src/Commands/MakePublicationTypeCommand.php.html index d2d555928eb..da14120bc08 100644 --- a/master/coverage/publications/src/Commands/MakePublicationTypeCommand.php.html +++ b/master/coverage/publications/src/Commands/MakePublicationTypeCommand.php.html @@ -612,7 +612,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/publications/src/Commands/SeedPublicationCommand.php.html b/master/coverage/publications/src/Commands/SeedPublicationCommand.php.html index eb7fce6f829..8ae3e0dfa02 100644 --- a/master/coverage/publications/src/Commands/SeedPublicationCommand.php.html +++ b/master/coverage/publications/src/Commands/SeedPublicationCommand.php.html @@ -314,7 +314,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/publications/src/Commands/ValidatePublicationTypesCommand.php.html b/master/coverage/publications/src/Commands/ValidatePublicationTypesCommand.php.html index 23c7d1bde04..8b8026a7d5c 100644 --- a/master/coverage/publications/src/Commands/ValidatePublicationTypesCommand.php.html +++ b/master/coverage/publications/src/Commands/ValidatePublicationTypesCommand.php.html @@ -447,7 +447,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/publications/src/Commands/ValidatePublicationsCommand.php.html b/master/coverage/publications/src/Commands/ValidatePublicationsCommand.php.html index e38d623f6ab..7df6ac7cb14 100644 --- a/master/coverage/publications/src/Commands/ValidatePublicationsCommand.php.html +++ b/master/coverage/publications/src/Commands/ValidatePublicationsCommand.php.html @@ -591,7 +591,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/publications/src/Commands/ValidatingCommand.php.html b/master/coverage/publications/src/Commands/ValidatingCommand.php.html index a951486f77d..5995dbde6ac 100644 --- a/master/coverage/publications/src/Commands/ValidatingCommand.php.html +++ b/master/coverage/publications/src/Commands/ValidatingCommand.php.html @@ -302,7 +302,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/publications/src/Commands/dashboard.html b/master/coverage/publications/src/Commands/dashboard.html index 135efc5601e..1cc45847ffa 100644 --- a/master/coverage/publications/src/Commands/dashboard.html +++ b/master/coverage/publications/src/Commands/dashboard.html @@ -138,7 +138,7 @@

Project Risks

diff --git a/master/coverage/publications/src/Commands/index.html b/master/coverage/publications/src/Commands/index.html index 8df9da0cdfd..38cfd0e2df7 100644 --- a/master/coverage/publications/src/Commands/index.html +++ b/master/coverage/publications/src/Commands/index.html @@ -281,7 +281,7 @@

Legend

High: 90% to 100%

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/publications/src/Concerns/ParsesPublicationFieldInputs.php.html b/master/coverage/publications/src/Concerns/ParsesPublicationFieldInputs.php.html index 2b53501260d..d4e8110bd1f 100644 --- a/master/coverage/publications/src/Concerns/ParsesPublicationFieldInputs.php.html +++ b/master/coverage/publications/src/Concerns/ParsesPublicationFieldInputs.php.html @@ -459,7 +459,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/publications/src/Concerns/PublicationFieldTypes.php.html b/master/coverage/publications/src/Concerns/PublicationFieldTypes.php.html index a80be236b5c..c2d7e12deaf 100644 --- a/master/coverage/publications/src/Concerns/PublicationFieldTypes.php.html +++ b/master/coverage/publications/src/Concerns/PublicationFieldTypes.php.html @@ -431,7 +431,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/publications/src/Concerns/dashboard.html b/master/coverage/publications/src/Concerns/dashboard.html index 21f67faf1cb..6c111516e89 100644 --- a/master/coverage/publications/src/Concerns/dashboard.html +++ b/master/coverage/publications/src/Concerns/dashboard.html @@ -138,7 +138,7 @@

Project Risks

diff --git a/master/coverage/publications/src/Concerns/index.html b/master/coverage/publications/src/Concerns/index.html index 88edf5bd748..5f10a35339f 100644 --- a/master/coverage/publications/src/Concerns/index.html +++ b/master/coverage/publications/src/Concerns/index.html @@ -141,7 +141,7 @@

Legend

High: 90% to 100%

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/publications/src/Models/PublicationFieldDefinition.php.html b/master/coverage/publications/src/Models/PublicationFieldDefinition.php.html index 083ebec7ee1..f758455ff47 100644 --- a/master/coverage/publications/src/Models/PublicationFieldDefinition.php.html +++ b/master/coverage/publications/src/Models/PublicationFieldDefinition.php.html @@ -268,7 +268,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/publications/src/Models/PublicationFieldValue.php.html b/master/coverage/publications/src/Models/PublicationFieldValue.php.html index 1cfa71f3f97..5a0cb2bfa98 100644 --- a/master/coverage/publications/src/Models/PublicationFieldValue.php.html +++ b/master/coverage/publications/src/Models/PublicationFieldValue.php.html @@ -265,7 +265,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/publications/src/Models/PublicationType.php.html b/master/coverage/publications/src/Models/PublicationType.php.html index e9aa7aa1f64..59be3859902 100644 --- a/master/coverage/publications/src/Models/PublicationType.php.html +++ b/master/coverage/publications/src/Models/PublicationType.php.html @@ -881,7 +881,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/publications/src/Models/dashboard.html b/master/coverage/publications/src/Models/dashboard.html index c73b162219b..409206a3ba5 100644 --- a/master/coverage/publications/src/Models/dashboard.html +++ b/master/coverage/publications/src/Models/dashboard.html @@ -138,7 +138,7 @@

Project Risks

diff --git a/master/coverage/publications/src/Models/index.html b/master/coverage/publications/src/Models/index.html index 88c4ceddabf..d2f38715ffc 100644 --- a/master/coverage/publications/src/Models/index.html +++ b/master/coverage/publications/src/Models/index.html @@ -169,7 +169,7 @@

Legend

High: 90% to 100%

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/publications/src/Pages/PublicationListPage.php.html b/master/coverage/publications/src/Pages/PublicationListPage.php.html index 5468374d272..5917d646172 100644 --- a/master/coverage/publications/src/Pages/PublicationListPage.php.html +++ b/master/coverage/publications/src/Pages/PublicationListPage.php.html @@ -224,7 +224,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/publications/src/Pages/PublicationPage.php.html b/master/coverage/publications/src/Pages/PublicationPage.php.html index 8ca1d400bc3..f911fb4f9f4 100644 --- a/master/coverage/publications/src/Pages/PublicationPage.php.html +++ b/master/coverage/publications/src/Pages/PublicationPage.php.html @@ -357,7 +357,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/publications/src/Pages/dashboard.html b/master/coverage/publications/src/Pages/dashboard.html index 3aa7f7ab369..e10a3a42833 100644 --- a/master/coverage/publications/src/Pages/dashboard.html +++ b/master/coverage/publications/src/Pages/dashboard.html @@ -138,7 +138,7 @@

Project Risks

diff --git a/master/coverage/publications/src/Pages/index.html b/master/coverage/publications/src/Pages/index.html index 30433185b7a..d02a143eb66 100644 --- a/master/coverage/publications/src/Pages/index.html +++ b/master/coverage/publications/src/Pages/index.html @@ -141,7 +141,7 @@

Legend

High: 90% to 100%

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/publications/src/Providers/TranslationServiceProvider.php.html b/master/coverage/publications/src/Providers/TranslationServiceProvider.php.html index 70a162a6497..3e373aaddc5 100644 --- a/master/coverage/publications/src/Providers/TranslationServiceProvider.php.html +++ b/master/coverage/publications/src/Providers/TranslationServiceProvider.php.html @@ -168,21 +168,21 @@ 14{ 15    public function register(): void 16    { - 17        parent::register(); + 17        parent::register(); 18 - 19        if (! is_dir(lang_path())) { - 20            $this->app->useLangPath(__DIR__.'/../../resources/lang'); + 19        if (! is_dir(lang_path())) { + 20            $this->app->useLangPath(__DIR__.'/../../resources/lang'); 21        } 22 - 23        config([ - 24            'app.locale' => config('app.locale', 'en'), - 25            'app.fallback_locale' => config('app.fallback_locale', 'en'), - 26        ]); + 23        config([ + 24            'app.locale' => config('app.locale', 'en'), + 25            'app.fallback_locale' => config('app.fallback_locale', 'en'), + 26        ]); 27    } 28 29    public function boot(): void 30    { - 31        $this->loadTranslationsFrom(__DIR__.'/../../resources/lang/en/validation.php', 'validation'); + 31        $this->loadTranslationsFrom(__DIR__.'/../../resources/lang/en/validation.php', 'validation'); 32    } 33} @@ -195,7 +195,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/publications/src/Providers/dashboard.html b/master/coverage/publications/src/Providers/dashboard.html index aebc810b658..01d01a0734d 100644 --- a/master/coverage/publications/src/Providers/dashboard.html +++ b/master/coverage/publications/src/Providers/dashboard.html @@ -138,7 +138,7 @@

Project Risks

diff --git a/master/coverage/publications/src/Providers/index.html b/master/coverage/publications/src/Providers/index.html index b5d64c469c7..59936b70345 100644 --- a/master/coverage/publications/src/Providers/index.html +++ b/master/coverage/publications/src/Providers/index.html @@ -113,7 +113,7 @@

Legend

High: 90% to 100%

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/publications/src/Publications.php.html b/master/coverage/publications/src/Publications.php.html index 2ffa9b15440..65cb1169154 100644 --- a/master/coverage/publications/src/Publications.php.html +++ b/master/coverage/publications/src/Publications.php.html @@ -331,7 +331,7 @@ 68     */ 69    public static function getPublicationTags(): array 70    { - 71        return array_values(array_unique(array_keys(self::getPublicationsGroupedByTags()))); + 71        return array_values(array_unique(array_keys(self::getPublicationsGroupedByTags()))); 72    } 73 74    /** @@ -344,10 +344,10 @@ 81     */ 82    public static function getPublicationsGroupedByTags(): array 83    { - 84        $pagesByTag = []; + 84        $pagesByTag = []; 85 86        /** @var PublicationPage $publication */ - 87        foreach (PublicationPage::all() as $publication) { + 87        foreach (PublicationPage::all() as $publication) { 88            foreach (self::getPublicationTagFields($publication) as $field) { 89                foreach ((array) $publication->matter($field->name) as $tag) { 90                    $pagesByTag[$tag][] = $publication; @@ -355,7 +355,7 @@ 92            } 93        } 94 - 95        return $pagesByTag; + 95        return $pagesByTag; 96    } 97 98    /** @@ -381,7 +381,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/publications/src/PublicationsExtension.php.html b/master/coverage/publications/src/PublicationsExtension.php.html index f05c5208bc2..a60baee07de 100644 --- a/master/coverage/publications/src/PublicationsExtension.php.html +++ b/master/coverage/publications/src/PublicationsExtension.php.html @@ -438,41 +438,41 @@ 43    /** @return array<class-string<\Hyde\Pages\Concerns\HydePage>> */ 44    public static function getPageClasses(): array 45    { - 46        return [ - 47            // Since our page classes are not auto-discoverable by Hyde due to the dynamic source directories, - 48            // we run our own discovery logic in the callbacks below. - 49        ]; + 46        return [ + 47            // Since our page classes are not auto-discoverable by Hyde due to the dynamic source directories, + 48            // we run our own discovery logic in the callbacks below. + 49        ]; 50    } 51 52    public function discoverFiles(FileCollection $collection): void 53    { - 54        $this->types = $this->parsePublicationTypes(); + 54        $this->types = $this->parsePublicationTypes(); 55 - 56        $this->types->each(function (PublicationType $type) use ($collection): void { + 56        $this->types->each(function (PublicationType $type) use ($collection): void { 57            Collection::make($this->getPublicationFilesForType($type))->map(function (string $filepath) use ($collection): void { 58                $collection->put(Hyde::pathToRelative($filepath), SourceFile::make($filepath, PublicationPage::class)); 59            }); - 60        }); + 60        }); 61    } 62 63    public function discoverPages(PageCollection $collection): void 64    { - 65        $this->discoverPublicationPages($collection); + 65        $this->discoverPublicationPages($collection); 66 - 67        if (self::shouldGeneratePublicationTagPages()) { + 67        if (self::shouldGeneratePublicationTagPages()) { 68            $this->generatePublicationTagPages($collection); 69        } 70    } 71 72    protected function discoverPublicationPages(PageCollection $instance): void 73    { - 74        Files::getFiles(PublicationPage::class)->each(function (SourceFile $file) use ($instance): void { + 74        Files::getFiles(PublicationPage::class)->each(function (SourceFile $file) use ($instance): void { 75            $instance->addPage(PublicationPage::parse(Str::before($file->getPath(), PublicationPage::fileExtension()))); - 76        }); + 76        }); 77 - 78        $this->types->each(function (PublicationType $type) use ($instance): void { + 78        $this->types->each(function (PublicationType $type) use ($instance): void { 79            $this->generatePublicationListingPageForType($type, $instance); - 80        }); + 80        }); 81    } 82 83    protected function generatePublicationListingPageForType(PublicationType $type, PageCollection $instance): void @@ -511,16 +511,16 @@ 116    /** @return Collection<string, \Hyde\Publications\Pages\PublicationPage> */ 117    protected function parsePublicationTypes(): Collection 118    { - 119        return Collection::make($this->getSchemaFiles())->mapWithKeys(function (string $schemaFile): array { + 119        return Collection::make($this->getSchemaFiles())->mapWithKeys(function (string $schemaFile): array { 120            $type = PublicationType::fromFile(Hyde::pathToRelative($schemaFile)); 121 122            return [$type->getDirectory() => $type]; - 123        }); + 123        }); 124    } 125 126    protected function getSchemaFiles(): array 127    { - 128        return glob(Hyde::path(Hyde::getSourceRoot()).'/*/schema.json'); + 128        return glob(Hyde::path(Hyde::getSourceRoot()).'/*/schema.json'); 129    } 130 131    protected function getPublicationFiles(string $directory): array @@ -535,7 +535,7 @@ 140 141    protected static function shouldGeneratePublicationTagPages(): bool 142    { - 143        return count(Publications::getPublicationTags()) > 0; + 143        return count(Publications::getPublicationTags()) > 0; 144    } 145} @@ -548,7 +548,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/publications/src/PublicationsServiceProvider.php.html b/master/coverage/publications/src/PublicationsServiceProvider.php.html index 32adfa8f23a..0e016486d0b 100644 --- a/master/coverage/publications/src/PublicationsServiceProvider.php.html +++ b/master/coverage/publications/src/PublicationsServiceProvider.php.html @@ -195,18 +195,18 @@ 20     */ 21    public function register(): void 22    { - 23        $this->app->make(HydeKernel::class)->registerExtension(PublicationsExtension::class); + 23        $this->app->make(HydeKernel::class)->registerExtension(PublicationsExtension::class); 24 - 25        $this->commands([ - 26            Commands\MakePublicationTypeCommand::class, - 27            Commands\MakePublicationCommand::class, + 25        $this->commands([ + 26            Commands\MakePublicationTypeCommand::class, + 27            Commands\MakePublicationCommand::class, 28 - 29            Commands\ValidatePublicationTypesCommand::class, - 30            Commands\ValidatePublicationsCommand::class, - 31            Commands\SeedPublicationCommand::class, - 32        ]); + 29            Commands\ValidatePublicationTypesCommand::class, + 30            Commands\ValidatePublicationsCommand::class, + 31            Commands\SeedPublicationCommand::class, + 32        ]); 33 - 34        $this->registerAdditionalServiceProviders(); + 34        $this->registerAdditionalServiceProviders(); 35    } 36 37    /** @@ -214,13 +214,13 @@ 39     */ 40    public function boot(): void 41    { - 42        $this->loadViewsFrom(__DIR__.'/../resources/views', 'hyde-publications'); + 42        $this->loadViewsFrom(__DIR__.'/../resources/views', 'hyde-publications'); 43 - 44        $this->publishes([ - 45            __DIR__.'/../resources/views' => resource_path('views/vendor/hyde-publications'), - 46        ], 'hyde-publications-views'); + 44        $this->publishes([ + 45            __DIR__.'/../resources/views' => resource_path('views/vendor/hyde-publications'), + 46        ], 'hyde-publications-views'); 47 - 48        Blade::component('hyde-publications::related-publications', RelatedPublicationsComponent::class); + 48        Blade::component('hyde-publications::related-publications', RelatedPublicationsComponent::class); 49    } 50 51    /** @@ -228,8 +228,8 @@ 53     */ 54    protected function registerAdditionalServiceProviders(): void 55    { - 56        $this->app->register(TranslationServiceProvider::class); - 57        $this->app->register(ValidationServiceProvider::class); + 56        $this->app->register(TranslationServiceProvider::class); + 57        $this->app->register(ValidationServiceProvider::class); 58    } 59} @@ -242,7 +242,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/publications/src/Views/Components/RelatedPublicationsComponent.php.html b/master/coverage/publications/src/Views/Components/RelatedPublicationsComponent.php.html index aa389a7e8cb..eef5492f14a 100644 --- a/master/coverage/publications/src/Views/Components/RelatedPublicationsComponent.php.html +++ b/master/coverage/publications/src/Views/Components/RelatedPublicationsComponent.php.html @@ -393,7 +393,7 @@

Legend

Covered by small (and larger) testsCovered by medium (and large) testsCovered by large tests (and tests of unknown size)Not coveredNot coverable

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/publications/src/Views/Components/dashboard.html b/master/coverage/publications/src/Views/Components/dashboard.html index b240b7b4ce8..ee78e437664 100644 --- a/master/coverage/publications/src/Views/Components/dashboard.html +++ b/master/coverage/publications/src/Views/Components/dashboard.html @@ -139,7 +139,7 @@

Project Risks

diff --git a/master/coverage/publications/src/Views/Components/index.html b/master/coverage/publications/src/Views/Components/index.html index 6d937c22843..6e280c82bd4 100644 --- a/master/coverage/publications/src/Views/Components/index.html +++ b/master/coverage/publications/src/Views/Components/index.html @@ -114,7 +114,7 @@

Legend

High: 90% to 100%

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/publications/src/Views/dashboard.html b/master/coverage/publications/src/Views/dashboard.html index 634ea14ec5c..8e2c1d5abbc 100644 --- a/master/coverage/publications/src/Views/dashboard.html +++ b/master/coverage/publications/src/Views/dashboard.html @@ -138,7 +138,7 @@

Project Risks

diff --git a/master/coverage/publications/src/Views/index.html b/master/coverage/publications/src/Views/index.html index 57878777a48..f7cc8a7a1aa 100644 --- a/master/coverage/publications/src/Views/index.html +++ b/master/coverage/publications/src/Views/index.html @@ -113,7 +113,7 @@

Legend

High: 90% to 100%

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/coverage/publications/src/dashboard.html b/master/coverage/publications/src/dashboard.html index 7aa516c018c..fe9ecbb3601 100644 --- a/master/coverage/publications/src/dashboard.html +++ b/master/coverage/publications/src/dashboard.html @@ -137,7 +137,7 @@

Project Risks

diff --git a/master/coverage/publications/src/index.html b/master/coverage/publications/src/index.html index dd1589ddc9a..25ff5629a07 100644 --- a/master/coverage/publications/src/index.html +++ b/master/coverage/publications/src/index.html @@ -364,7 +364,7 @@

Legend

High: 90% to 100%

- Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:08:21 UTC 2024. + Generated by php-code-coverage 10.1.7 using PHP 8.1.27 and PHPUnit 10.4.2 at Sun Mar 10 14:11:23 UTC 2024.

diff --git a/master/index.html b/master/index.html index 7e42d7fa6d9..1a0db393033 100644 --- a/master/index.html +++ b/master/index.html @@ -7,16 +7,16 @@

Index of hydephp/develop/master [ICO]NameLast modifiedSizeDescription
[PARENTDIR]Parent Directory  -   - [TXT]README.md157 B  - [DIR]api-docs/ -   - [DIR]coverage/ -   - [DIR]dev-docs/ -   - [TXT]index.html10.18 kB  - [DIR]media/ -   - [DIR]preview/ -   - [DIR]test-fixtures/ -   + [TXT]README.md157 B  + [DIR]api-docs/ -   + [DIR]coverage/ -   + [DIR]dev-docs/ -   + [TXT]index.html10.18 kB  + [DIR]media/ -   + [DIR]preview/ -   + [DIR]test-fixtures/ -  
-
directory-listing.php/v1.0.0-rc.4 (Linux) PHP/8.1.2-1ubuntu2.14 compiled at in 2.39ms
+
directory-listing.php/v1.0.0-rc.4 (Linux) PHP/8.1.2-1ubuntu2.14 compiled at in 2.40ms
diff --git a/master/preview/blade.html b/master/preview/blade.html index 387a73404ce..efcb836c9c3 100644 --- a/master/preview/blade.html +++ b/master/preview/blade.html @@ -98,7 +98,7 @@

You can even use arbitrary PHP.

<div class="text-center">
    @php
        echo "Hello World! ";

        echo "This PHP was executed at " . date("Y-m-d H:i:s");
    @endphp
</div>
- Hello World! This PHP was executed at 2024-03-10 14:07:34 + Hello World! This PHP was executed at 2024-03-10 14:10:10
@@ -106,8 +106,8 @@

You can even use arbitrary PHP.