rapotor / consolebundle Goto Github PK
View Code? Open in Web Editor NEWExecute Symfony2 command directly from the application
Execute Symfony2 command directly from the application
First: I don't know if I should place this issue here of in fosub.
I wanted to implement the design for the login form in my application. As soon as I was extending my own template (which has a tag) the login form was rendering twice. When I remove the tag it rendered fine. It was only rendering twice in my development environment, so I thought I could comment out the non-standard bundles in my dev environment. As soon as I commented out the ConsoleBundle it worked again.
Any ideas what can cause this problem ? If you need any code ask me and I'll post them.
Add unit tests to Tests/
Hello,
Interactive commands (like bundle generation) don't seem to work :
[ErrorException]
Notice: Use of undefined constant STDIN - assumed 'STDIN' in /vendor/symfony/src/Symfony/Component/Console/Helper/DialogHelper.php line 38
Thanks for this great bundle, anyway :)
The requirement "symfony/console": "dev-master" is now exclusively for symfony 2.2/dev-master.
It has to be "symfony/console": "2.1" or "symfony/console": ">=2.1"
Because of the Console formatter refactoring in Symfony 2.1, the bundle is broken now, throwing a PHP Fatal error because it does not call the parent constructor.
Currently, the output of the commands is quite unreadable as it writes it in white on a gray background
Because it's even better when it's documented!
Currently, when we change page or reload it, the history of commands is lost. We should use local storage (html5 feature) to improve it.
Btw, shouldn't we use jQuery?
After a fresh installation I get:
Fatal error: Call to undefined method Sf2gen\Bundle\ConsoleBundle\Formatter\OutputFormatterHtml::getStyleStack() in C:\xampp\htdocs\jumboauction\vendor\bundles\Sf2gen\Bundle\ConsoleBundle\Formatter\OutputFormatterHtml.php on line 45
Hi,
I've seen it the controller: what this issue is about?
Please can you use the phpdoc tag /** @todo My todo */
when defining todos within the code? :)
When one argument contains a space in a quoted string, the bundle splits it into 2 arguments instead of taking the quoting into account
When I use new_process: true and send a command, the bundle answer me The command "'.$sf2Command.'" was successful
whereas it was not.
Actually this message is defined when $output is empty. But it seems that $output can be empty because the command is not successful, but didn't thrown any exception. Thus we should add an additional test.
But the actual issue is why commands are not successful when using a new process? Does somebody can reproduce this bug or am I the only one? I couldn't find out the source of the problem. The process seems to be ok, but in the case of a cache:clear for example, my cache is not cleared at all.
Everything is ok with new_process to false.
I am hesitating between two solutions:
Initially; the first solution should be easy. The second one could be for a future.
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.