schmittjoh / jmscommandbundle Goto Github PK
View Code? Open in Web Editor NEWProvides useful commands to ease development with Symfony2.
Home Page: http://jmsyst.com/bundles/JMSCommandBundle
Provides useful commands to ease development with Symfony2.
Home Page: http://jmsyst.com/bundles/JMSCommandBundle
For documentation, see: Resources/doc For license, see: Resources/meta/LICENSE
in the generated AppKernel, i had to change
use Symfony\Component\HttpKernel\Util\Filesystem;
to
use Symfony\Component\Filesystem\Filesystem;
i think this has been refactored for symfony 2.1 - i use the current master.
There are two fixes in Symfony2 that should be incorporated into the functional test generator to prevent issues with multiple functional tests running from multiple bundles.
and
I think that this bundle should be marked as deprecated, as it does not support newer Symfony distributions...
Quite simply, Filesystem
is now a component and not part of HttpKernel
:
php app/console licensify StTemplatingBundle --license Apache2
PHP Fatal error: Class 'Symfony\Component\HttpKernel\Util\Filesystem' not found in /Users/my-project/vendor/bundles/JMS/CommandBundle/Command/LicensifyCommand.php on line 101
PHP Stack trace:
PHP 1. {main}() /Users/my-project/app/console:0
PHP 2. Symfony\Component\Console\Application->run() /Users/my-project/app/console:18
PHP 3. Symfony\Bundle\FrameworkBundle\Console\Application->doRun() /Users/my-project/vendor/symfony/src/Symfony/Component/Console/Application.php:106
PHP 4. Symfony\Component\Console\Application->doRun() /Users/my-project/vendor/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:75
PHP 5. Symfony\Component\Console\Command\Command->run() /Users/my-project/vendor/symfony/src/Symfony/Component/Console/Application.php:193
PHP 6. JMS\CommandBundle\Command\LicensifyCommand->execute() /Users/my-project/vendor/symfony/src/Symfony/Component/Console/Command/Command.php:237
Fatal error: Class 'Symfony\Component\HttpKernel\Util\Filesystem' not found in /Users/my-project/vendor/bundles/JMS/CommandBundle/Command/LicensifyCommand.php on line 101
Call Stack:
0.0003 639392 1. {main}() /Users/my-project/app/console:0
0.0207 3315352 2. Symfony\Component\Console\Application->run() /Users/my-project/app/console:18
0.0239 3641920 3. Symfony\Bundle\FrameworkBundle\Console\Application->doRun() /Users/my-project/vendor/symfony/src/Symfony/Component/Console/Application.php:106
5.4127 75558384 4. Symfony\Component\Console\Application->doRun() /Users/my-project/vendor/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:75
5.4139 75558384 5. Symfony\Component\Console\Command\Command->run() /Users/my-project/vendor/symfony/src/Symfony/Component/Console/Application.php:193
5.4144 75560032 6. JMS\CommandBundle\Command\LicensifyCommand->execute() /Users/my-project/vendor/symfony/src/Symfony/Component/Console/Command/Command.php:23
The base Kernel class unserializes calls the constructor with env and debug.
https://github.com/symfony/symfony/blob/master/src/Symfony/Component/HttpKernel/Kernel.php#L754
https://github.com/schmittjoh/JMSCommandBundle/blob/master/Resources/skeleton/Application/AppKernel.php#L13
Hi Johannes, guys
Received this by running exceptionify command:
Property Doctrine\Common\Lexer::$tokens does not exist
I'm using Symfony 2.2.1
Here is snippet from my composer file:
"symfony/symfony": "2.2.*",
"doctrine/orm": "~2.2,>=2.2.3",
"doctrine/doctrine-bundle": "1.2.*",
When I run $ bin/dev exceptionify MyBundle
I get no errors. However, no classes were generated by the command.
My version: Symfony version 2.1.0-DEV - app/dev/debug
I'll try to look into it more detailed after the weekend. Any suggestions?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.