Hello guys,
I noticed some errors trying the demo you provided in the demo directory.
There is a missing semicolor i fixed in #65, but still, after this fix the demo does not work, the command ./vendor/bin/mannequin gives these errors:
PHP Fatal error: Uncaught Error: Cannot call constructor in /Users/mrosati/Downloads/Mannequin-master/demo/vendor/lastcall/mannequin-twig/TwigExtension.php:68
Stack trace:
#0 /Users/mrosati/Downloads/Mannequin-master/demo/.mannequin.php(31): LastCall\Mannequin\Twig\TwigExtension->__construct(Array)
#1 /Users/mrosati/Downloads/Mannequin-master/demo/vendor/lastcall/mannequin-core/Mannequin.php(108): require('/Users/mrosati/...')
#2 /Users/mrosati/Downloads/Mannequin-master/demo/vendor/pimple/pimple/src/Pimple/Container.php(118): LastCall\Mannequin\Core\Mannequin->LastCall\Mannequin\Core\{closure}(Object(LastCall\Mannequin\Core\Mannequin))
#3 /Users/mrosati/Downloads/Mannequin-master/demo/vendor/lastcall/mannequin-core/Mannequin.php(300): Pimple\Container->offsetGet('config')
#4 /Users/mrosati/Downloads/Mannequin-master/demo/vendor/lastcall/mannequin-core/Mannequin.php(235): LastCall\Mannequin\Core\Mannequin->getExtensions()
#5 /Users/mrosati/Downloads/Mannequin-master/demo/vendor/lastcall/mannequin-core/bin/mannequin(47): LastC in /Users/mrosati/Downloads/Mannequin-master/demo/vendor/lastcall/mannequin-twig/TwigExtension.php on line 68
Fatal error: Uncaught Error: Cannot call constructor in /Users/mrosati/Downloads/Mannequin-master/demo/vendor/lastcall/mannequin-twig/TwigExtension.php on line 68
Error: Cannot call constructor in /Users/mrosati/Downloads/Mannequin-master/demo/vendor/lastcall/mannequin-twig/TwigExtension.php on line 68
Call Stack:
0.0016 364120 1. {main}() /Users/mrosati/Downloads/Mannequin-master/demo/vendor/lastcall/mannequin-core/bin/mannequin:0
0.0153 1702368 2. LastCall\Mannequin\Core\Mannequin->boot() /Users/mrosati/Downloads/Mannequin-master/demo/vendor/lastcall/mannequin-core/bin/mannequin:47
0.0169 1796040 3. LastCall\Mannequin\Core\Mannequin->getExtensions() /Users/mrosati/Downloads/Mannequin-master/demo/vendor/lastcall/mannequin-core/Mannequin.php:235
0.0169 1796040 4. LastCall\Mannequin\Core\Mannequin->offsetGet(???) /Users/mrosati/Downloads/Mannequin-master/demo/vendor/lastcall/mannequin-core/Mannequin.php:300
0.0169 1796040 5. LastCall\Mannequin\Core\Mannequin->LastCall\Mannequin\Core\{closure}(???) /Users/mrosati/Downloads/Mannequin-master/demo/vendor/pimple/pimple/src/Pimple/Container.php:118
0.0170 1804352 6. require('/Users/mrosati/Downloads/Mannequin-master/demo/.mannequin.php') /Users/mrosati/Downloads/Mannequin-master/demo/vendor/lastcall/mannequin-core/Mannequin.php:108
0.0182 1912640 7. LastCall\Mannequin\Twig\TwigExtension->__construct(???) /Users/mrosati/Downloads/Mannequin-master/demo/.mannequin.php:31
Hello guys, I noticed some errors trying the demo you provided in the
demo
directory. There is a missing semicolor i fixed in #65, but still, after this fix the demo does not work, the command./vendor/bin/mannequin
gives these errors: