Passed
Push — master ( 1d8f1f...cf6496 )
by Caen
03:40
created
framework/src/Framework/Exceptions/InvalidConfigurationException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
      *
52 52
      * @experimental
53 53
      */
54
-    public static function try(callable $callback, ?string $message = null): mixed
54
+    public static function try(callable $callback, ?string $message = null) : mixed
55 55
     {
56 56
         try {
57 57
             return $callback();
Please login to merge, or discard this patch.
packages/framework/src/Framework/Exceptions/ParseException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
 
21 21
     public function __construct(string $file = '', ?Throwable $previous = null)
22 22
     {
23
-        parent::__construct($this->formatMessage($file, $previous), previous: $previous);
23
+        parent::__construct($this->formatMessage($file, $previous), previous : $previous);
24 24
     }
25 25
 
26 26
     protected function formatMessage(string $file, ?Throwable $previous): string
Please login to merge, or discard this patch.
src/Markdown/Contracts/FrontMatter/SubSchemas/FeaturedImageSchema.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
     public const FEATURED_IMAGE_SCHEMA = [
16 16
         'source' => 'string', // Name of a file in _media/ or a remote URL (required)
17 17
         'altText' => 'string', // The alt text (important for accessibility)
18
-        'alt' => 'string',     // Alternative to altText (simplified schema)
18
+        'alt' => 'string', // Alternative to altText (simplified schema)
19 19
         'titleText' => 'string', // The title text (hover tooltip & metadata)
20 20
         'caption' => 'string', // The caption text (simplified schema)
21 21
         'licenseName' => 'string', // The name of the license (e.g. "CC BY 4.0")
Please login to merge, or discard this patch.
packages/framework/src/Markdown/Processing/HeadingRenderer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
 
36 36
     public function render(Node $node, ChildNodeRendererInterface $childRenderer): string
37 37
     {
38
-        if (! ($node instanceof Heading)) {
38
+        if (!($node instanceof Heading)) {
39 39
             throw new \InvalidArgumentException('Incompatible node type: '.get_class($node));
40 40
         }
41 41
 
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
         return config('markdown.permalinks.enabled', true)
59 59
             && $level >= config('markdown.permalinks.min_level', 2)
60 60
             && $level <= config('markdown.permalinks.max_level', 6)
61
-            && ! str_contains($content, 'class="heading-permalink"')
61
+            && !str_contains($content, 'class="heading-permalink"')
62 62
             && in_array($this->pageClass, config('markdown.permalinks.pages', [DocumentationPage::class]));
63 63
     }
64 64
 
Please login to merge, or discard this patch.
packages/framework/src/Markdown/Processing/DynamicMarkdownLinkProcessor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
 class DynamicMarkdownLinkProcessor implements MarkdownPostProcessorContract
13 13
 {
14 14
     /** @var array<string, \Hyde\Support\Filesystem\MediaFile>|null */
15
-    protected static ?array $assetMapCache = null;
15
+    protected static ? array $assetMapCache = null;
16 16
 
17 17
     public static function postprocess(string $html): string
18 18
     {
Please login to merge, or discard this patch.