diff --git a/composer.json b/composer.json index 92cdeaa..f166838 100644 --- a/composer.json +++ b/composer.json @@ -11,7 +11,7 @@ "spatie/yaml-front-matter": "^2.1.1", "spatie/browsershot": "^5.2.0", "assertchris/ellison": "^1.0.2", - "tempest/markdown": "^1.0.1", + "tempest/markdown": "^1.2.2", "ext-gd": "*" }, "require-dev": { diff --git a/composer.lock b/composer.lock index 785e622..2767156 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "2395441b4e9dfd5ef31429b4b4079b55", + "content-hash": "4a5484c5de0a104560349724c65f7d39", "packages": [ { "name": "assertchris/ellison", @@ -505,16 +505,16 @@ }, { "name": "giggsey/libphonenumber-for-php-lite", - "version": "9.0.38", + "version": "9.0.39", "source": { "type": "git", "url": "https://github.com/giggsey/libphonenumber-for-php-lite.git", - "reference": "a165edb4765b39abc4f4af3bde9ed3b5f9690384" + "reference": "35cd53ef595b709218756965a3fc22263ed9b24e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/giggsey/libphonenumber-for-php-lite/zipball/a165edb4765b39abc4f4af3bde9ed3b5f9690384", - "reference": "a165edb4765b39abc4f4af3bde9ed3b5f9690384", + "url": "https://api.github.com/repos/giggsey/libphonenumber-for-php-lite/zipball/35cd53ef595b709218756965a3fc22263ed9b24e", + "reference": "35cd53ef595b709218756965a3fc22263ed9b24e", "shasum": "" }, "require": { @@ -579,7 +579,7 @@ "issues": "https://github.com/giggsey/libphonenumber-for-php-lite/issues", "source": "https://github.com/giggsey/libphonenumber-for-php-lite" }, - "time": "2026-09-01T10:41:38+00:00" + "time": "2026-09-10T13:00:46+00:00" }, { "name": "graham-campbell/result-type", @@ -1208,16 +1208,16 @@ }, { "name": "league/commonmark", - "version": "2.10.0", + "version": "2.10.1", "source": { "type": "git", "url": "https://github.com/thephpleague/commonmark.git", - "reference": "d2d1aa8b35e072966c89bc0c66cf926e56767dc4" + "reference": "9d489ab67a02960fd8ffe624d93f751daf95439e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/commonmark/zipball/d2d1aa8b35e072966c89bc0c66cf926e56767dc4", - "reference": "d2d1aa8b35e072966c89bc0c66cf926e56767dc4", + "url": "https://api.github.com/repos/thephpleague/commonmark/zipball/9d489ab67a02960fd8ffe624d93f751daf95439e", + "reference": "9d489ab67a02960fd8ffe624d93f751daf95439e", "shasum": "" }, "require": { @@ -1311,7 +1311,7 @@ "type": "tidelift" } ], - "time": "2026-08-11T16:06:25+00:00" + "time": "2026-09-07T13:44:26+00:00" }, { "name": "league/config", @@ -1650,16 +1650,16 @@ }, { "name": "monolog/monolog", - "version": "3.11.0", + "version": "3.12.0", "source": { "type": "git", "url": "https://github.com/Seldaek/monolog.git", - "reference": "147f303310f06334f03f409e49d7ad1e275ff05a" + "reference": "72c534fc0ab181ef52d92a68382318631e301608" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Seldaek/monolog/zipball/147f303310f06334f03f409e49d7ad1e275ff05a", - "reference": "147f303310f06334f03f409e49d7ad1e275ff05a", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/72c534fc0ab181ef52d92a68382318631e301608", + "reference": "72c534fc0ab181ef52d92a68382318631e301608", "shasum": "" }, "require": { @@ -1685,6 +1685,7 @@ "phpstan/phpstan-strict-rules": "^2", "phpunit/phpunit": "^10.5.17 || ^11.0.7", "predis/predis": "^1.1 || ^2", + "psr/clock": "^1.0", "rollbar/rollbar": "^4.0", "ruflin/elastica": "^7 || ^8", "symfony/mailer": "^5.4 || ^6", @@ -1703,6 +1704,7 @@ "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server", "mongodb/mongodb": "Allow sending log messages to a MongoDB server (via library)", "php-amqplib/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib", + "psr/clock": "Required to pass a clock to the Logger and control the timestamp of log records", "rollbar/rollbar": "Allow sending log messages to Rollbar", "ruflin/elastica": "Allow sending log messages to an Elastic Search server" }, @@ -1737,7 +1739,7 @@ ], "support": { "issues": "https://github.com/Seldaek/monolog/issues", - "source": "https://github.com/Seldaek/monolog/tree/3.11.0" + "source": "https://github.com/Seldaek/monolog/tree/3.12.0" }, "funding": [ { @@ -1749,7 +1751,7 @@ "type": "tidelift" } ], - "time": "2026-09-02T12:39:56+00:00" + "time": "2026-09-09T08:34:20+00:00" }, { "name": "nette/php-generator", @@ -2115,11 +2117,11 @@ }, { "name": "phpstan/phpstan", - "version": "2.2.12", + "version": "2.2.13", "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/174b0d88710f00a42598886504dd7a146f91ace5", - "reference": "174b0d88710f00a42598886504dd7a146f91ace5", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/9ba9ac76ee9c5cf5b56d58eb5deec6315b7a0260", + "reference": "9ba9ac76ee9c5cf5b56d58eb5deec6315b7a0260", "shasum": "" }, "require": { @@ -2175,7 +2177,7 @@ "type": "github" } ], - "time": "2026-08-31T19:09:43+00:00" + "time": "2026-09-03T20:38:19+00:00" }, { "name": "psr-discovery/discovery", @@ -4830,16 +4832,16 @@ }, { "name": "tempest/framework", - "version": "v3.19.1", + "version": "v3.19.2", "source": { "type": "git", "url": "https://github.com/tempestphp/tempest-framework.git", - "reference": "1bc3b22f15e91aa629234b3fbafb1870a5effc45" + "reference": "cf472f00186a5aaa7ddcfd9d2a3eee8f4689f90e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/tempestphp/tempest-framework/zipball/1bc3b22f15e91aa629234b3fbafb1870a5effc45", - "reference": "1bc3b22f15e91aa629234b3fbafb1870a5effc45", + "url": "https://api.github.com/repos/tempestphp/tempest-framework/zipball/cf472f00186a5aaa7ddcfd9d2a3eee8f4689f90e", + "reference": "cf472f00186a5aaa7ddcfd9d2a3eee8f4689f90e", "shasum": "" }, "require": { @@ -4952,7 +4954,7 @@ "php-di/php-di": "^7.0", "phpat/phpat": "^0.11.0", "phpbench/phpbench": "^1.4", - "phpstan/phpstan": "2.2.6", + "phpstan/phpstan": "2.2.13", "phpunit/phpunit": "^12.5.22", "predis/predis": "^3.0.0", "riskio/oauth2-auth0": "^2.4", @@ -5061,7 +5063,7 @@ "description": "The PHP framework that gets out of your way.", "support": { "issues": "https://github.com/tempestphp/tempest-framework/issues", - "source": "https://github.com/tempestphp/tempest-framework/tree/v3.19.1" + "source": "https://github.com/tempestphp/tempest-framework/tree/v3.19.2" }, "funding": [ { @@ -5069,7 +5071,7 @@ "type": "github" } ], - "time": "2026-09-03T11:20:19+00:00" + "time": "2026-09-08T11:00:13+00:00" }, { "name": "tempest/highlight", @@ -5132,16 +5134,16 @@ }, { "name": "tempest/markdown", - "version": "1.2.1", + "version": "1.2.2", "source": { "type": "git", "url": "https://github.com/tempestphp/markdown.git", - "reference": "98507e12095acdd8ef4df53de13e9eaabdc47f94" + "reference": "99871ca18e5dccc0d928bb6ca54a4b4ee691ded6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/tempestphp/markdown/zipball/98507e12095acdd8ef4df53de13e9eaabdc47f94", - "reference": "98507e12095acdd8ef4df53de13e9eaabdc47f94", + "url": "https://api.github.com/repos/tempestphp/markdown/zipball/99871ca18e5dccc0d928bb6ca54a4b4ee691ded6", + "reference": "99871ca18e5dccc0d928bb6ca54a4b4ee691ded6", "shasum": "" }, "require": { @@ -5178,7 +5180,7 @@ "description": "Fast and extensible Markdown in PHP", "support": { "issues": "https://github.com/tempestphp/markdown/issues", - "source": "https://github.com/tempestphp/markdown/tree/1.2.1" + "source": "https://github.com/tempestphp/markdown/tree/1.2.2" }, "funding": [ { @@ -5186,7 +5188,7 @@ "type": "github" } ], - "time": "2026-08-05T07:20:32+00:00" + "time": "2026-09-04T21:54:13+00:00" }, { "name": "tempest/responsive-image", @@ -5404,16 +5406,16 @@ "packages-dev": [ { "name": "carthage-software/mago", - "version": "1.47.5", + "version": "1.48.0", "source": { "type": "git", "url": "https://github.com/carthage-software/mago.git", - "reference": "3d6c87dccaa74b4048b90e208abe7f2832114f2e" + "reference": "a86492ee82e490461b79371f0562432904b6f2a2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/carthage-software/mago/zipball/3d6c87dccaa74b4048b90e208abe7f2832114f2e", - "reference": "3d6c87dccaa74b4048b90e208abe7f2832114f2e", + "url": "https://api.github.com/repos/carthage-software/mago/zipball/a86492ee82e490461b79371f0562432904b6f2a2", + "reference": "a86492ee82e490461b79371f0562432904b6f2a2", "shasum": "" }, "require": { @@ -5455,7 +5457,7 @@ ], "support": { "issues": "https://github.com/carthage-software/mago/issues", - "source": "https://github.com/carthage-software/mago/tree/1.47.5" + "source": "https://github.com/carthage-software/mago/tree/1.48.0" }, "funding": [ { @@ -5463,7 +5465,7 @@ "type": "github" } ], - "time": "2026-09-02T16:54:06+00:00" + "time": "2026-09-10T04:18:20+00:00" }, { "name": "myclabs/deep-copy", @@ -5990,16 +5992,16 @@ }, { "name": "phpunit/phpunit", - "version": "12.5.34", + "version": "12.5.35", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "6cbff63d670de92cb1cb3d2ff9f40327e9da9c7f" + "reference": "345ac22e42cb14cdc7aa8428655d8bb8c82a4aab" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/6cbff63d670de92cb1cb3d2ff9f40327e9da9c7f", - "reference": "6cbff63d670de92cb1cb3d2ff9f40327e9da9c7f", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/345ac22e42cb14cdc7aa8428655d8bb8c82a4aab", + "reference": "345ac22e42cb14cdc7aa8428655d8bb8c82a4aab", "shasum": "" }, "require": { @@ -6068,7 +6070,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", "security": "https://github.com/sebastianbergmann/phpunit/security/policy", - "source": "https://github.com/sebastianbergmann/phpunit/tree/12.5.34" + "source": "https://github.com/sebastianbergmann/phpunit/tree/12.5.35" }, "funding": [ { @@ -6076,7 +6078,7 @@ "type": "other" } ], - "time": "2026-08-27T08:38:28+00:00" + "time": "2026-09-09T04:48:50+00:00" }, { "name": "revolt/event-loop", diff --git a/src/Markdown/Extensions/Paragraph/ParagraphToken.php b/src/Markdown/Extensions/Paragraph/ParagraphToken.php index d74d532..1ef7717 100644 --- a/src/Markdown/Extensions/Paragraph/ParagraphToken.php +++ b/src/Markdown/Extensions/Paragraph/ParagraphToken.php @@ -3,7 +3,6 @@ namespace App\Markdown\Extensions\Paragraph; use App\Markdown\Extensions\GitHubLink\GitHubLinkRule; -use App\Markdown\Extensions\Link\LinkRule; use App\Web\Documentation\Version; use Tempest\Markdown\Parser; use Tempest\Markdown\Rules\BoldAndItalicRule; @@ -11,6 +10,7 @@ use Tempest\Markdown\Rules\CodeRule; use Tempest\Markdown\Rules\ImageRule; use Tempest\Markdown\Rules\ItalicRule; +use Tempest\Markdown\Rules\LinkRule; use Tempest\Markdown\Rules\StrikethroughRule; use Tempest\Markdown\Rules\TextRule; use Tempest\Markdown\Token;