Skip to content

Commit

Permalink
#43 Refactoring Codacy Issue
Browse files Browse the repository at this point in the history
  • Loading branch information
bfoujols committed Dec 29, 2023
1 parent 017e39c commit 6be162d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/EduFramework/Core/View/TwigCore.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ public function __construct(string $path)
self::$twig = new Environment($loader, [

Check notice on line 38 in src/EduFramework/Core/View/TwigCore.php

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

src/EduFramework/Core/View/TwigCore.php#L38

Opening parenthesis of a multi-line function call must be the last content on the line
'cache' => false,

Check notice on line 39 in src/EduFramework/Core/View/TwigCore.php

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

src/EduFramework/Core/View/TwigCore.php#L39

Array key not aligned correctly; expected 48 spaces but found 12
'debug' => true,

Check notice on line 40 in src/EduFramework/Core/View/TwigCore.php

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

src/EduFramework/Core/View/TwigCore.php#L40

Array key not aligned correctly; expected 48 spaces but found 12
]);
]

Check notice on line 41 in src/EduFramework/Core/View/TwigCore.php

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

src/EduFramework/Core/View/TwigCore.php#L41

Closing parenthesis not aligned correctly; expected 47 space(s) but found 12
);
// Ajoutez l'extension Debug
self::$twig->addExtension(new DebugExtension());
self::$twig->addExtension(new StudooDebugExtension());
Expand Down

0 comments on commit 6be162d

Please sign in to comment.