@@ -96,7 +96,7 @@ discard block |
||
| 96 | 96 | ); |
| 97 | 97 | |
| 98 | 98 | $container = $this->container; |
| 99 | - $path = preg_replace_callback('#%(.*?)%#', static function ($matches) use ($container) { |
|
| 99 | + $path = preg_replace_callback('#%(.*?)%#', static function($matches) use ($container) { |
|
| 100 | 100 | return '<abbr title="' . htmlspecialchars($matches[0]) . '">' |
| 101 | 101 | . htmlspecialchars($container->getParameter($matches[1])) |
| 102 | 102 | . '</abbr>' |
@@ -105,7 +105,7 @@ discard block |
||
| 105 | 105 | |
| 106 | 106 | $defaults = $route->getDefaults(); |
| 107 | 107 | $requirements = $route->getRequirements(); |
| 108 | - $path = preg_replace_callback('#{(.*?)}#', function ($matches) use ($defaults, $requirements) { |
|
| 108 | + $path = preg_replace_callback('#{(.*?)}#', function($matches) use ($defaults, $requirements) { |
|
| 109 | 109 | $title = ''; |
| 110 | 110 | if (isset($defaults[$matches[1]])) { |
| 111 | 111 | $title .= $this->trans('Default: %value%', ['%value%' => htmlspecialchars($defaults[$matches[1]])]); |
@@ -15,6 +15,6 @@ |
||
| 15 | 15 | |
| 16 | 16 | use Zikula\ExtensionsModule\Abstract<?php echo $type; ?>; |
| 17 | 17 | |
| 18 | -class <?php echo $name; ?> extends Abstract<?php echo $type."\n"; ?> |
|
| 18 | +class <?php echo $name; ?> extends Abstract<?php echo $type . "\n"; ?> |
|
| 19 | 19 | { |
| 20 | 20 | } |
@@ -22,10 +22,10 @@ |
||
| 22 | 22 | "class": "<?php echo str_replace('\\', '\\\\', $namespace); ?>\\<?php echo $bundleClass; ?>", |
| 23 | 23 | "displayname": "<?php echo $bundleClass; ?>", |
| 24 | 24 | "icon": "fas fa-layer-group", |
| 25 | - "url": "<?php echo mb_strtolower($vendor.$name.$type); ?>", |
|
| 25 | + "url": "<?php echo mb_strtolower($vendor . $name . $type); ?>", |
|
| 26 | 26 | <?php if ('Module' === $type) { ?> |
| 27 | 27 | "securityschema": { |
| 28 | - "<?php echo $vendor.$name.$type; ?>::": "::" |
|
| 28 | + "<?php echo $vendor . $name . $type; ?>::": "::" |
|
| 29 | 29 | }, |
| 30 | 30 | <?php } ?> |
| 31 | 31 | "capabilities": { |