diff --git a/CHANGELOG.md b/CHANGELOG.md index d3b1551fe..dcfc52655 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ 1. [](#improved) * Added support for validation of multiple email in the `type: email` field [grav-plugin-email#31](https://github.com/getgrav/grav-plugin-email/issues/31) + * Unified PHP code header styling 1. [](#bugfix) * Fix backend validation for file fields marked as required [grav-plugin-form#78](https://github.com/getgrav/grav-plugin-form/issues/78) diff --git a/index.php b/index.php index 5806f3990..77725b92a 100644 --- a/index.php +++ b/index.php @@ -1,4 +1,11 @@ createObject($cache['data']); - + $this->finalizeObject(); - + return true; } diff --git a/system/src/Grav/Common/Config/CompiledBlueprints.php b/system/src/Grav/Common/Config/CompiledBlueprints.php index b7614b501..6e2caf9b9 100644 --- a/system/src/Grav/Common/Config/CompiledBlueprints.php +++ b/system/src/Grav/Common/Config/CompiledBlueprints.php @@ -1,13 +1,16 @@ fireEvent('onPageFallBackUrl'); - + /** @var Uri $uri */ $uri = $this['uri']; diff --git a/system/src/Grav/Common/GravTrait.php b/system/src/Grav/Common/GravTrait.php index c517cbb7c..9746d3924 100644 --- a/system/src/Grav/Common/GravTrait.php +++ b/system/src/Grav/Common/GravTrait.php @@ -1,12 +1,13 @@ items = $date_range; return $this; } diff --git a/system/src/Grav/Common/Page/Header.php b/system/src/Grav/Common/Page/Header.php index ad59c26d3..cbba4af0f 100644 --- a/system/src/Grav/Common/Page/Header.php +++ b/system/src/Grav/Common/Page/Header.php @@ -1,14 +1,16 @@ get('system.param_sep') . '[^\:\#\/\?]*)/'; } diff --git a/system/src/Grav/Common/User/Authentication.php b/system/src/Grav/Common/User/Authentication.php index 4d3660385..9982e39f0 100644 --- a/system/src/Grav/Common/User/Authentication.php +++ b/system/src/Grav/Common/User/Authentication.php @@ -1,12 +1,13 @@ = filemtime($file)) { header('HTTP/1.1 304 Not Modified'); diff --git a/system/src/Grav/Console/Cli/BackupCommand.php b/system/src/Grav/Console/Cli/BackupCommand.php index 235e402cf..3c7e557e9 100644 --- a/system/src/Grav/Console/Cli/BackupCommand.php +++ b/system/src/Grav/Console/Cli/BackupCommand.php @@ -1,4 +1,11 @@