Skip to content

Commit

Permalink
Release 15.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
GrahamCampbell committed Feb 26, 2023
1 parent d022ce5 commit 3c0bcf9
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 9 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@ CHANGE LOG
==========


## V15.0 (26/02/2023)

* Support Laravel 8-10 only
* Support PHP 7.4-8.2 only
* Added additional types
* Switched to Commonmark ^2.3.9


## V14.0 (30/05/2022)

* Dropped PHP < 7.4
Expand Down
18 changes: 9 additions & 9 deletions src/MarkdownServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public function boot(): void
*
* @return void
*/
protected function setupConfig(): void
private function setupConfig(): void
{
$source = realpath($raw = __DIR__.'/../config/markdown.php') ?: $raw;

Expand All @@ -77,7 +77,7 @@ protected function setupConfig(): void
*
* @return void
*/
protected function enableCompiler(): void
private function enableCompiler(): void
{
$app = $this->app;

Expand All @@ -95,7 +95,7 @@ protected function enableCompiler(): void
*
* @return void
*/
protected function enablePhpEngine(): void
private function enablePhpEngine(): void
{
$app = $this->app;

Expand All @@ -114,7 +114,7 @@ protected function enablePhpEngine(): void
*
* @return void
*/
protected function enableBladeEngine(): void
private function enableBladeEngine(): void
{
$app = $this->app;

Expand All @@ -129,7 +129,7 @@ protected function enableBladeEngine(): void
$app->view->addExtension('md.blade.php', 'blademd');
}

protected function enableBladeDirective(): void
private function enableBladeDirective(): void
{
$app = $this->app;

Expand Down Expand Up @@ -164,7 +164,7 @@ public function register(): void
*
* @return void
*/
protected function registerEnvironment(): void
private function registerEnvironment(): void
{
$this->app->singleton('markdown.environment', function (Container $app): Environment {
$config = $app->config->get('markdown');
Expand All @@ -188,7 +188,7 @@ protected function registerEnvironment(): void
*
* @return void
*/
protected function registerMarkdown(): void
private function registerMarkdown(): void
{
$this->app->singleton('markdown.converter', function (Container $app): MarkdownConverter {
$environment = $app['markdown.environment'];
Expand All @@ -205,7 +205,7 @@ protected function registerMarkdown(): void
*
* @return void
*/
protected function registerCompiler(): void
private function registerCompiler(): void
{
$this->app->singleton('markdown.compiler', function (Container $app): CommonMarkCompiler {
$converter = $app['markdown.converter'];
Expand All @@ -223,7 +223,7 @@ protected function registerCompiler(): void
*
* @return void
*/
protected function registerDirective(): void
private function registerDirective(): void
{
$this->app->singleton('markdown.directive', function (Container $app): CommonMarkDirective {
$converter = $app['markdown.converter'];
Expand Down

0 comments on commit 3c0bcf9

Please sign in to comment.