Skip to content

Commit 1488d7f

Browse files
committed
Issue #22:Replaced dot-twigrenderer with mezzio-twigrenderer
Signed-off-by: sergiu <sergiubota@rospace.com>
1 parent 3cb0898 commit 1488d7f

File tree

4 files changed

+15
-22
lines changed

4 files changed

+15
-22
lines changed

composer.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,20 +43,22 @@
4343
}
4444
},
4545
"require": {
46-
"php": "~8.2.0 || ~8.3.0 || ~8.4",
46+
"php": "~8.2.0 || ~8.3.0 || ~8.4.0",
4747
"ext-sockets": "*",
4848
"clue/socket-raw": "^v1.6.0",
4949
"dotkernel/dot-cache": "^4.3",
5050
"dotkernel/dot-cli": "^3.9",
5151
"dotkernel/dot-data-fixtures": "^1.4.0",
5252
"dotkernel/dot-dependency-injection": "^1.2",
53-
"dotkernel/dot-log": "4.0.4",
53+
"dotkernel/dot-log": "4.1.0",
5454
"dotkernel/dot-mail": "^5.3.0",
55-
"dotkernel/dot-twigrenderer": "3.6.0",
5655
"laminas/laminas-component-installer": "^3.5",
5756
"laminas/laminas-config-aggregator": "^1.18",
57+
"psr-mock/http-message-implementation": "^1.0 || ^2.0",
58+
"laminas/laminas-authentication": "2.18.0",
5859
"mezzio/mezzio": "^3.20",
5960
"mezzio/mezzio-authentication-oauth2": "^2.11",
61+
"mezzio/mezzio-twigrenderer": "2.17.0",
6062
"netglue/laminas-messenger": "^2.3.0",
6163
"ramsey/uuid": "^4.5.0",
6264
"ramsey/uuid-doctrine": "^2.1.0",

config/autoload/templates.global.php

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22

33
declare(strict_types=1);
44

5-
use Dot\Twig\Extension\DateExtension;
6-
use Dot\Twig\Extension\TranslationExtension;
7-
use Laminas\ServiceManager\Factory\InvokableFactory;
85
use Mezzio\Template\TemplateRendererInterface;
96
use Mezzio\Twig\TwigEnvironmentFactory;
107
use Mezzio\Twig\TwigRendererFactory;
@@ -13,10 +10,8 @@
1310
return [
1411
'dependencies' => [
1512
'factories' => [
16-
DateExtension::class => InvokableFactory::class,
1713
Environment::class => TwigEnvironmentFactory::class,
1814
TemplateRendererInterface::class => TwigRendererFactory::class,
19-
TranslationExtension::class => InvokableFactory::class,
2015
],
2116
],
2217
'debug' => false,
@@ -29,10 +24,7 @@
2924
'auto_reload' => true,
3025
'autoescape' => 'html',
3126
'cache_dir' => 'data/cache/twig',
32-
'extensions' => [
33-
DateExtension::class,
34-
TranslationExtension::class,
35-
],
27+
'extensions' => [],
3628
'globals' => [
3729
'appName' => $app['name'] ?? '',
3830
],

config/config.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
Dot\DataFixtures\ConfigProvider::class,
3030
Dot\DependencyInjection\ConfigProvider::class,
3131
Dot\Mail\ConfigProvider::class,
32-
Dot\Twig\ConfigProvider::class,
3332
Dot\Cache\ConfigProvider::class,
3433

3534
// Core modules

src/Core/src/App/src/InputFilter/AbstractInputFilter.php

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44

55
namespace Core\App\InputFilter;
66

7-
use Laminas\InputFilter\InputFilter;
8-
9-
/**
10-
* @template TFilteredValues
11-
* @extends InputFilter<TFilteredValues>
12-
*/
13-
abstract class AbstractInputFilter extends InputFilter
14-
{
15-
}
7+
//use Laminas\InputFilter\InputFilter;
8+
//
9+
///**
10+
// * @template TFilteredValues
11+
// * @extends InputFilter<TFilteredValues>
12+
// */
13+
//abstract class AbstractInputFilter extends InputFilter
14+
//{
15+
//}

0 commit comments

Comments
 (0)