Skip to content

Commit

Permalink
Merge pull request #53 from Evaneos/fix_at_in_yaml
Browse files Browse the repository at this point in the history
Escape '@string'
  • Loading branch information
kipit authored Jan 23, 2024
2 parents db16d75 + f851087 commit c60d6b9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions config/errors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@ classes:
arguments: [ 'error', true ] # minimum level (taken from constant E_*), 2nd parameter to enable or disable conversion of errors into Exceptions
singleton: true
call:
setLogger: [ @AppLogger ]
setOnFatalRenderer: [ @AppOnCrashHandler ]
setLogger: [ '@AppLogger' ]
setOnFatalRenderer: [ '@AppOnCrashHandler' ]
AppOnCrashHandler:
class: \Pyrite\Exception\SymfonyUncaughtExceptionRendererAdapter
arguments: [ true ] # true to enable StackTrace
singleton: true
call:
setLogger: [ @AppLogger ]
setLogger: [ '@AppLogger' ]
AppLogger:
class: \Monolog\Logger
singleton: true
arguments: [ 'APP' ]
call:
pushHandler: [ @AppLoggerHandler ]
pushHandler: [ '@AppLoggerHandler' ]
AppLoggerHandler:
class: \Monolog\Handler\ErrorLogHandler
arguments: [ 0, 400 ]
6 changes: 3 additions & 3 deletions config/pyrite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ classes:
RedirectionLayer:
class: \Pyrite\Layer\RedirectionLayer
call:
setUrlGenerator: [ @UrlGenerator ]
setUrlGenerator: [ '@UrlGenerator' ]
RedirectionFromBagLayer:
class: \Pyrite\Layer\RedirectionFromBagLayer
ViewRenderer:
class: \Pyrite\Layer\ViewRendererLayer
arguments: [ @TemplateRenderer ]
arguments: [ '@TemplateRenderer' ]
call:
setRootDir: [ %root_dir ]
Executor:
Expand Down Expand Up @@ -74,7 +74,7 @@ classes:
class: Pyrite\Templating\Renderer
arguments: [ %root_dir ]
call:
registerEngine: [ @TwigTemplateEngine, 'twig' ]
registerEngine: [ '@TwigTemplateEngine', 'twig' ]
TwigTemplateEngine:
class: Pyrite\Templating\TwigEngine
arguments: [ $container ]

0 comments on commit c60d6b9

Please sign in to comment.