MIF_E31222691/laravel/cli/tasks
Jakobud 433318181b In the call() method, the exception wasn't being thrown if only 1 or more than 2 arguments were passed to the method. Fixed conditional statement to only accept exactly 2 arguments.
In the route() method, URI::current() was evaluating as '/' in all situations. It was never evaluating as the route that you specified when executing the command. This could be part of a larger underlying bug with Symfony's HttpFoundation\Request class. It might be a band-aid fix, but replacing URI::current() with $_SERVER['REQUEST_URI'] allows the method to run the correct route.
These fixes uncovered what I believe is potentially another bug. When var_dump($route->response()) is run, "NULL" and a newline is appended to the output. It's something to do with var_dump(), as echo $route->response() echo's the correct output without the extra "NULL".

Signed-off-by: Jakobud <jake.e.wilson@gmail.com>
2012-07-26 16:00:46 -06:00
..
bundle Merge pull request #558 from ProgerXP/patch-locks-dev 2012-04-19 06:23:42 -07:00
migrate Resolver::resolve() uses Str::classify() to determine class names 2012-04-09 11:02:11 -05:00
session cleaning up the session cli task. 2012-02-13 23:26:17 -06:00
test Fix missing semicolon in laravel/cli/test/runner.php. 2012-07-13 00:21:18 +03:00
help.json cleaned up help task 2012-07-16 10:28:40 +02:00
help.php cleaned up help task 2012-07-16 10:28:40 +02:00
key.php cleaning up code. 2012-02-06 20:19:29 -06:00
route.php In the call() method, the exception wasn't being thrown if only 1 or more than 2 arguments were passed to the method. Fixed conditional statement to only accept exactly 2 arguments. 2012-07-26 16:00:46 -06:00
task.php merged skunkworks into develop. 2012-01-16 13:59:24 -06:00