diff --git a/composer.lock b/composer.lock index 73f360a..bdab055 100644 --- a/composer.lock +++ b/composer.lock @@ -1,32 +1,240 @@ { + "_readme": [ + "This file locks the dependencies of your project to a known state", + "Read more about it at http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file" + ], "hash": "54d7775cbc1823ed6eccc3e82dcf888c", "packages": [ + { + "name": "doctrine/annotations", + "version": "v1.1.1", + "source": { + "type": "git", + "url": "https://github.com/doctrine/annotations.git", + "reference": "v1.1.1" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/doctrine/annotations/zipball/v1.1.1", + "reference": "v1.1.1", + "shasum": "" + }, + "require": { + "doctrine/lexer": "1.*", + "php": ">=5.3.2" + }, + "require-dev": { + "doctrine/cache": "1.*" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-0": { + "Doctrine\\Common\\Annotations\\": "lib/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jonathan Wage", + "email": "jonwage@gmail.com", + "homepage": "http://www.jwage.com/" + }, + { + "name": "Guilherme Blanco", + "email": "guilhermeblanco@gmail.com", + "homepage": "http://www.instaclick.com" + }, + { + "name": "Roman Borschel", + "email": "roman@code-factory.org" + }, + { + "name": "Benjamin Eberlei", + "email": "kontakt@beberlei.de" + }, + { + "name": "Johannes Schmitt", + "email": "schmittjoh@gmail.com", + "homepage": "https://github.com/schmittjoh", + "role": "Developer of wrapped JMSSerializerBundle" + } + ], + "description": "Docblock Annotations Parser", + "homepage": "http://www.doctrine-project.org", + "keywords": [ + "annotations", + "docblock", + "parser" + ], + "time": "2013-04-20 08:30:17" + }, + { + "name": "doctrine/cache", + "version": "v1.0", + "source": { + "type": "git", + "url": "https://github.com/doctrine/cache.git", + "reference": "v1.0" + }, + "dist": { + "type": "zip", + "url": "https://github.com/doctrine/cache/archive/v1.0.zip", + "reference": "v1.0", + "shasum": "" + }, + "require": { + "php": ">=5.3.2" + }, + "type": "library", + "autoload": { + "psr-0": { + "Doctrine\\Common\\Cache\\": "lib/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jonathan Wage", + "email": "jonwage@gmail.com", + "homepage": "http://www.jwage.com/" + }, + { + "name": "Guilherme Blanco", + "email": "guilhermeblanco@gmail.com", + "homepage": "http://www.instaclick.com" + }, + { + "name": "Roman Borschel", + "email": "roman@code-factory.org" + }, + { + "name": "Benjamin Eberlei", + "email": "kontakt@beberlei.de" + }, + { + "name": "Johannes Schmitt", + "email": "schmittjoh@gmail.com", + "homepage": "https://github.com/schmittjoh", + "role": "Developer of wrapped JMSSerializerBundle" + } + ], + "description": "Caching library offering an object-oriented API for many cache backends", + "homepage": "http://www.doctrine-project.org", + "keywords": [ + "cache", + "caching" + ], + "time": "2013-01-10 22:43:46" + }, + { + "name": "doctrine/collections", + "version": "v1.1", + "source": { + "type": "git", + "url": "https://github.com/doctrine/collections.git", + "reference": "v1.1" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/doctrine/collections/zipball/v1.1", + "reference": "v1.1", + "shasum": "" + }, + "require": { + "php": ">=5.3.2" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.1.x-dev" + } + }, + "autoload": { + "psr-0": { + "Doctrine\\Common\\Collections\\": "lib/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jonathan Wage", + "email": "jonwage@gmail.com", + "homepage": "http://www.jwage.com/" + }, + { + "name": "Guilherme Blanco", + "email": "guilhermeblanco@gmail.com", + "homepage": "http://www.instaclick.com" + }, + { + "name": "Roman Borschel", + "email": "roman@code-factory.org" + }, + { + "name": "Benjamin Eberlei", + "email": "kontakt@beberlei.de" + }, + { + "name": "Johannes Schmitt", + "email": "schmittjoh@gmail.com", + "homepage": "https://github.com/schmittjoh", + "role": "Developer of wrapped JMSSerializerBundle" + } + ], + "description": "Collections Abstraction library", + "homepage": "http://www.doctrine-project.org", + "keywords": [ + "array", + "collections", + "iterator" + ], + "time": "2013-03-07 12:15:54" + }, { "name": "doctrine/common", - "version": "2.3.0", + "version": "2.4.0-RC2", "source": { "type": "git", - "url": "https://github.com/doctrine/common", - "reference": "2.3.0" + "url": "https://github.com/doctrine/common.git", + "reference": "2.4.0-RC2" }, "dist": { "type": "zip", - "url": "https://github.com/doctrine/common/zipball/2.3.0", - "reference": "2.3.0", + "url": "https://api.github.com/repos/doctrine/common/zipball/2.4.0-RC2", + "reference": "2.4.0-RC2", "shasum": "" }, "require": { + "doctrine/annotations": "1.*", + "doctrine/cache": "1.*", + "doctrine/collections": "1.*", + "doctrine/inflector": "1.*", + "doctrine/lexer": "1.*", "php": ">=5.3.2" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.3.x-dev" + "dev-master": "2.4.x-dev" } }, "autoload": { "psr-0": { - "Doctrine\\Common": "lib/" + "Doctrine\\Common\\": "lib/" } }, "notification-url": "https://packagist.org/downloads/", @@ -68,35 +276,42 @@ "persistence", "spl" ], - "time": "2012-09-19 22:55:18" + "time": "2013-05-09 21:35:24" }, { "name": "doctrine/dbal", - "version": "2.3.2", + "version": "2.4.0-BETA2", "source": { "type": "git", - "url": "https://github.com/doctrine/dbal", - "reference": "2.3.2" + "url": "https://github.com/doctrine/dbal.git", + "reference": "2.4.0-BETA2" }, "dist": { "type": "zip", - "url": "https://github.com/doctrine/dbal/archive/2.3.2.zip", - "reference": "2.3.2", + "url": "https://api.github.com/repos/doctrine/dbal/zipball/2.4.0-BETA2", + "reference": "2.4.0-BETA2", "shasum": "" }, "require": { - "doctrine/common": "2.3.*", + "doctrine/common": "2.4.*@beta", "php": ">=5.3.2" }, + "require-dev": { + "phpunit/phpunit": "3.7.*", + "symfony/console": "2.*" + }, + "suggest": { + "symfony/console": "Allows use of the command line interface" + }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.3.x-dev" + "dev-master": "2.4.x-dev" } }, "autoload": { "psr-0": { - "Doctrine\\DBAL": "lib/" + "Doctrine\\DBAL\\": "lib/" } }, "notification-url": "https://packagist.org/downloads/", @@ -131,34 +346,34 @@ "persistence", "queryobject" ], - "time": "2013-01-07 20:03:43" + "time": "2013-05-11 08:21:40" }, { "name": "doctrine/doctrine-bundle", - "version": "v1.2.0-beta1", + "version": "v1.2.0", "target-dir": "Doctrine/Bundle/DoctrineBundle", "source": { "type": "git", - "url": "git://github.com/doctrine/DoctrineBundle.git", - "reference": "v1.2.0-beta1" + "url": "https://github.com/doctrine/DoctrineBundle.git", + "reference": "v1.2.0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/DoctrineBundle/zipball/v1.2.0-beta1", - "reference": "v1.2.0-beta1", + "url": "https://api.github.com/repos/doctrine/DoctrineBundle/zipball/v1.2.0", + "reference": "v1.2.0", "shasum": "" }, "require": { "doctrine/dbal": ">=2.2,<2.5-dev", "jdorn/sql-formatter": ">=1.1,<2.0", "php": ">=5.3.2", - "symfony/doctrine-bridge": "2.2.*", - "symfony/framework-bundle": ">=2.2.0-beta2,<2.3-dev" + "symfony/doctrine-bridge": ">=2.2,<3.0", + "symfony/framework-bundle": ">=2.2,<3.0" }, "require-dev": { "doctrine/orm": ">=2.2,<2.5-dev", - "symfony/validator": "2.2.*", - "symfony/yaml": "2.2.*" + "symfony/validator": ">=2.2,<3.0", + "symfony/yaml": ">=2.2,<3.0" }, "suggest": { "doctrine/orm": "The Doctrine ORM integration is optional in the bundle.", @@ -201,28 +416,147 @@ "orm", "persistence" ], - "time": "2013-01-12 14:41:19" + "time": "2013-03-25 20:13:59" + }, + { + "name": "doctrine/inflector", + "version": "v1.0", + "source": { + "type": "git", + "url": "https://github.com/doctrine/inflector.git", + "reference": "v1.0" + }, + "dist": { + "type": "zip", + "url": "https://github.com/doctrine/inflector/archive/v1.0.zip", + "reference": "v1.0", + "shasum": "" + }, + "require": { + "php": ">=5.3.2" + }, + "type": "library", + "autoload": { + "psr-0": { + "Doctrine\\Common\\Inflector\\": "lib/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jonathan Wage", + "email": "jonwage@gmail.com", + "homepage": "http://www.jwage.com/" + }, + { + "name": "Guilherme Blanco", + "email": "guilhermeblanco@gmail.com", + "homepage": "http://www.instaclick.com" + }, + { + "name": "Roman Borschel", + "email": "roman@code-factory.org" + }, + { + "name": "Benjamin Eberlei", + "email": "kontakt@beberlei.de" + }, + { + "name": "Johannes Schmitt", + "email": "schmittjoh@gmail.com", + "homepage": "https://github.com/schmittjoh", + "role": "Developer of wrapped JMSSerializerBundle" + } + ], + "description": "Common String Manipulations with regard to casing and singular/plural rules.", + "homepage": "http://www.doctrine-project.org", + "keywords": [ + "inflection", + "pluarlize", + "singuarlize", + "string" + ], + "time": "2013-01-10 21:49:15" + }, + { + "name": "doctrine/lexer", + "version": "v1.0", + "source": { + "type": "git", + "url": "https://github.com/doctrine/lexer.git", + "reference": "v1.0" + }, + "dist": { + "type": "zip", + "url": "https://github.com/doctrine/lexer/archive/v1.0.zip", + "reference": "v1.0", + "shasum": "" + }, + "require": { + "php": ">=5.3.2" + }, + "type": "library", + "autoload": { + "psr-0": { + "Doctrine\\Common\\Lexer\\": "lib/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Guilherme Blanco", + "email": "guilhermeblanco@gmail.com", + "homepage": "http://www.instaclick.com" + }, + { + "name": "Roman Borschel", + "email": "roman@code-factory.org" + }, + { + "name": "Johannes Schmitt", + "email": "schmittjoh@gmail.com", + "homepage": "https://github.com/schmittjoh", + "role": "Developer of wrapped JMSSerializerBundle" + } + ], + "description": "Base library for a lexer that can be used in Top-Down, Recursive Descent Parsers.", + "homepage": "http://www.doctrine-project.org", + "keywords": [ + "lexer", + "parser" + ], + "time": "2013-01-12 18:59:04" }, { "name": "doctrine/orm", - "version": "2.3.2", + "version": "2.4.0-BETA2", "source": { "type": "git", - "url": "git://github.com/doctrine/doctrine2.git", - "reference": "2.3.2" + "url": "https://github.com/doctrine/doctrine2.git", + "reference": "2.4.0-BETA2" }, "dist": { "type": "zip", - "url": "https://github.com/doctrine/doctrine2/archive/2.3.2.zip", - "reference": "2.3.2", + "url": "https://api.github.com/repos/doctrine/doctrine2/zipball/2.4.0-BETA2", + "reference": "2.4.0-BETA2", "shasum": "" }, "require": { - "doctrine/dbal": "2.3.*", + "doctrine/collections": ">=1.1,<2.0", + "doctrine/dbal": ">=2.4-beta,<2.5-dev", "ext-pdo": "*", "php": ">=5.3.2", "symfony/console": "2.*" }, + "require-dev": { + "symfony/yaml": "2.1" + }, "suggest": { "symfony/yaml": "If you want to use YAML Metadata Mapping Driver" }, @@ -233,12 +567,12 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.3.x-dev" + "dev-master": "2.4.x-dev" } }, "autoload": { "psr-0": { - "Doctrine\\ORM": "lib/" + "Doctrine\\ORM\\": "lib/" } }, "notification-url": "https://packagist.org/downloads/", @@ -271,7 +605,7 @@ "database", "orm" ], - "time": "2013-01-07 20:05:04" + "time": "2013-05-10 21:31:27" }, { "name": "friendsofsymfony/jsrouting-bundle", @@ -280,19 +614,19 @@ "source": { "type": "git", "url": "https://github.com/FriendsOfSymfony/FOSJsRoutingBundle.git", - "reference": "1.1.2" + "reference": "dbecb9ffcf318f0c78ec80d7a363572599223e69" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/FriendsOfSymfony/FOSJsRoutingBundle/zipball/1.1.2", - "reference": "1.1.2", + "url": "https://api.github.com/repos/FriendsOfSymfony/FOSJsRoutingBundle/zipball/dbecb9ffcf318f0c78ec80d7a363572599223e69", + "reference": "dbecb9ffcf318f0c78ec80d7a363572599223e69", "shasum": "" }, "require": { "php": ">=5.3.2", - "symfony/console": ">=2.0,<2.3-dev", - "symfony/framework-bundle": ">=2.0,<2.3-dev", - "symfony/serializer": ">=2.0,<2.3-dev" + "symfony/console": ">=2.0,<3.0", + "symfony/framework-bundle": ">=2.0,<3.0", + "symfony/serializer": ">=2.0,<3.0" }, "type": "symfony-bundle", "extra": { @@ -325,7 +659,7 @@ "keywords": [ "Js Routing" ], - "time": "2013-01-14 18:53:13" + "time": "2013-05-13 10:00:39" }, { "name": "guzzle/guzzle", @@ -374,16 +708,15 @@ "doctrine/cache": "*", "monolog/monolog": "1.*", "phpunit/phpunit": "3.7.*", + "psr/log": "1.0.*", "symfony/class-loader": "*", - "zend/zend-cache1": "1.12", - "zend/zend-log1": "1.12", "zendframework/zend-cache": "2.0.*", "zendframework/zend-log": "2.0.*" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.3-dev" + "dev-master": "3.5-dev" } }, "autoload": { @@ -422,21 +755,24 @@ }, { "name": "jdorn/sql-formatter", - "version": "v1.2.0", + "version": "v1.2.9", "source": { "type": "git", - "url": "git://github.com/jdorn/sql-formatter.git", - "reference": "v1.2.0" + "url": "https://github.com/jdorn/sql-formatter.git", + "reference": "v1.2.9" }, "dist": { "type": "zip", - "url": "https://github.com/jdorn/sql-formatter/archive/v1.2.0.zip", - "reference": "v1.2.0", + "url": "https://api.github.com/repos/jdorn/sql-formatter/zipball/v1.2.9", + "reference": "v1.2.9", "shasum": "" }, "require": { "php": ">=5.2.4" }, + "require-dev": { + "phpunit/phpunit": "3.7.*" + }, "type": "library", "extra": { "branch-alias": { @@ -450,7 +786,7 @@ }, "notification-url": "https://packagist.org/downloads/", "license": [ - "LGPL" + "MIT" ], "authors": [ { @@ -465,7 +801,7 @@ "highlight", "sql" ], - "time": "2012-12-22 21:46:50" + "time": "2013-04-26 18:42:52" }, { "name": "jms/aop-bundle", @@ -621,16 +957,16 @@ }, { "name": "jms/metadata", - "version": "1.2.0-RC", + "version": "1.3.0", "source": { "type": "git", - "url": "https://github.com/schmittjoh/metadata", - "reference": "1.2.0-RC" + "url": "https://github.com/schmittjoh/metadata.git", + "reference": "1.3.0" }, "dist": { "type": "zip", - "url": "https://github.com/schmittjoh/metadata/zipball/1.2.0-RC", - "reference": "1.2.0-RC", + "url": "https://api.github.com/repos/schmittjoh/metadata/zipball/1.3.0", + "reference": "1.3.0", "shasum": "" }, "require": { @@ -642,7 +978,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.2.x-dev" + "dev-master": "1.3.x-dev" } }, "autoload": { @@ -669,7 +1005,7 @@ "xml", "yaml" ], - "time": "2012-08-21 05:40:10" + "time": "2013-01-22 12:51:18" }, { "name": "jms/parser-lib", @@ -779,21 +1115,21 @@ }, { "name": "jms/serializer", - "version": "0.11.0", + "version": "0.12.0", "source": { "type": "git", - "url": "git://github.com/schmittjoh/serializer", - "reference": "0.11.0" + "url": "https://github.com/schmittjoh/serializer.git", + "reference": "0.12.0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/schmittjoh/serializer/zipball/0.11.0", - "reference": "0.11.0", + "url": "https://api.github.com/repos/schmittjoh/serializer/zipball/0.12.0", + "reference": "0.12.0", "shasum": "" }, "require": { - "doctrine/common": "2.*", - "jms/metadata": ">=1.1.0,<1.3-dev", + "doctrine/annotations": "1.*", + "jms/metadata": ">=1.1,<2.0", "jms/parser-lib": "1.*", "php": ">=5.3.2", "phpcollection/phpcollection": ">=0.1,<0.3-dev" @@ -813,7 +1149,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0-dev" + "dev-master": "0.12-dev" } }, "autoload": { @@ -829,7 +1165,7 @@ { "name": "Johannes M. Schmitt", "email": "schmittjoh@gmail.com", - "homepage": "http://jmsyst.com", + "homepage": "https://github.com/schmittjoh", "role": "Developer of wrapped JMSSerializerBundle" } ], @@ -842,7 +1178,7 @@ "serialization", "xml" ], - "time": "2013-01-29 10:56:07" + "time": "2013-03-28 16:41:24" }, { "name": "jms/serializer-bundle", @@ -897,7 +1233,7 @@ { "name": "Johannes M. Schmitt", "email": "schmittjoh@gmail.com", - "homepage": "http://jmsyst.com", + "homepage": "https://github.com/schmittjoh", "role": "Developer of wrapped JMSSerializerBundle" } ], @@ -914,21 +1250,21 @@ }, { "name": "kriswallsmith/assetic", - "version": "v1.1.0-alpha4", + "version": "v1.1.0", "source": { "type": "git", "url": "https://github.com/kriswallsmith/assetic.git", - "reference": "v1.1.0-alpha4" + "reference": "v1.1.0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/kriswallsmith/assetic/zipball/v1.1.0-alpha4", - "reference": "v1.1.0-alpha4", + "url": "https://api.github.com/repos/kriswallsmith/assetic/zipball/v1.1.0", + "reference": "v1.1.0", "shasum": "" }, "require": { "php": ">=5.3.1", - "symfony/process": ">=2.1.0,<2.3-dev" + "symfony/process": ">=2.1,<3.0" }, "require-dev": { "cssmin/cssmin": "*", @@ -938,9 +1274,9 @@ "leafo/scssphp": "*", "leafo/scssphp-compass": "*", "mrclay/minify": "*", - "phpunit/phpunit": "3.7.*", + "phpunit/phpunit": ">=3.7,<4.0", "ptachoire/cssembed": "*", - "twig/twig": ">=1.6.0,<2.0" + "twig/twig": ">=1.6,<2.0" }, "suggest": { "leafo/lessphp": "Assetic provides the integration with the lessphp LESS compiler", @@ -981,20 +1317,20 @@ "compression", "minification" ], - "time": "2013-02-24 17:22:20" + "time": "2013-05-16 05:28:39" }, { "name": "monolog/monolog", - "version": "1.4.0", + "version": "1.5.0", "source": { "type": "git", - "url": "https://github.com/Seldaek/monolog", - "reference": "1.4.0" + "url": "https://github.com/Seldaek/monolog.git", + "reference": "1.5.0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Seldaek/monolog/zipball/1.4.0", - "reference": "1.4.0", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/1.5.0", + "reference": "1.5.0", "shasum": "" }, "require": { @@ -1043,7 +1379,7 @@ "logging", "psr-3" ], - "time": "2013-02-13 18:06:51" + "time": "2013-04-23 10:09:48" }, { "name": "phpcollection/phpcollection", @@ -1097,16 +1433,16 @@ }, { "name": "phpoption/phpoption", - "version": "1.1.0", + "version": "1.2.0", "source": { "type": "git", - "url": "git://github.com/schmittjoh/php-option", - "reference": "1.1.0" + "url": "https://github.com/schmittjoh/php-option.git", + "reference": "1.2.0" }, "dist": { "type": "zip", - "url": "https://github.com/schmittjoh/php-option/archive/1.1.0.zip", - "reference": "1.1.0", + "url": "https://api.github.com/repos/schmittjoh/php-option/zipball/1.2.0", + "reference": "1.2.0", "shasum": "" }, "require": { @@ -1115,7 +1451,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.1-dev" + "dev-master": "1.2-dev" } }, "autoload": { @@ -1142,7 +1478,7 @@ "php", "type" ], - "time": "2013-01-19 11:01:32" + "time": "2013-03-25 02:51:40" }, { "name": "psr/log", @@ -1184,21 +1520,21 @@ }, { "name": "sensio/distribution-bundle", - "version": "v2.2.0", + "version": "v2.2.1", "target-dir": "Sensio/Bundle/DistributionBundle", "source": { "type": "git", "url": "https://github.com/sensio/SensioDistributionBundle.git", - "reference": "v2.2.0-RC3" + "reference": "v2.2.1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sensio/SensioDistributionBundle/zipball/v2.2.0-RC3", - "reference": "v2.2.0-RC3", + "url": "https://api.github.com/repos/sensio/SensioDistributionBundle/zipball/v2.2.1", + "reference": "v2.2.1", "shasum": "" }, "require": { - "symfony/framework-bundle": "2.2.*" + "symfony/framework-bundle": ">=2.2,<3.0" }, "type": "symfony-bundle", "extra": { @@ -1226,26 +1562,26 @@ "configuration", "distribution" ], - "time": "2013-02-11 14:46:49" + "time": "2013-03-26 08:24:36" }, { "name": "sensio/framework-extra-bundle", - "version": "v2.2.0", + "version": "v2.2.1", "target-dir": "Sensio/Bundle/FrameworkExtraBundle", "source": { "type": "git", "url": "https://github.com/sensio/SensioFrameworkExtraBundle.git", - "reference": "v2.2.0" + "reference": "v2.2.1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sensio/SensioFrameworkExtraBundle/zipball/v2.2.0", - "reference": "v2.2.0", + "url": "https://api.github.com/repos/sensio/SensioFrameworkExtraBundle/zipball/v2.2.1", + "reference": "v2.2.1", "shasum": "" }, "require": { "doctrine/common": ">=2.2,<3.0", - "symfony/framework-bundle": "2.2.*" + "symfony/framework-bundle": ">=2.2,<3.0" }, "type": "symfony-bundle", "extra": { @@ -1273,26 +1609,26 @@ "annotations", "controllers" ], - "time": "2013-02-28 14:13:52" + "time": "2013-03-21 16:41:54" }, { "name": "sensio/generator-bundle", - "version": "v2.2.0", + "version": "v2.2.1", "target-dir": "Sensio/Bundle/GeneratorBundle", "source": { "type": "git", "url": "https://github.com/sensio/SensioGeneratorBundle.git", - "reference": "v2.2.0-RC3" + "reference": "v2.2.1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sensio/SensioGeneratorBundle/zipball/v2.2.0-RC3", - "reference": "v2.2.0-RC3", + "url": "https://api.github.com/repos/sensio/SensioGeneratorBundle/zipball/v2.2.1", + "reference": "v2.2.1", "shasum": "" }, "require": { "symfony/console": ">=2.0,<3.0", - "symfony/framework-bundle": "2.2.*" + "symfony/framework-bundle": ">=2.2,<3.0" }, "require-dev": { "doctrine/orm": ">=2.2,<3.0,>=2.2.3", @@ -1321,20 +1657,20 @@ } ], "description": "This bundle generates code for you", - "time": "2013-02-22 17:59:21" + "time": "2013-03-21 16:38:44" }, { "name": "swiftmailer/swiftmailer", - "version": "v4.3.0", + "version": "v4.3.1", "source": { "type": "git", - "url": "git://github.com/swiftmailer/swiftmailer.git", - "reference": "v4.3.0" + "url": "https://github.com/swiftmailer/swiftmailer.git", + "reference": "v4.3.1" }, "dist": { "type": "zip", - "url": "https://github.com/swiftmailer/swiftmailer/archive/v4.3.0.zip", - "reference": "v4.3.0", + "url": "https://api.github.com/repos/swiftmailer/swiftmailer/zipball/v4.3.1", + "reference": "v4.3.1", "shasum": "" }, "require": { @@ -1370,7 +1706,7 @@ "mail", "mailer" ], - "time": "2013-01-08 15:50:34" + "time": "2013-04-11 10:22:09" }, { "name": "symfony/assetic-bundle", @@ -1495,29 +1831,29 @@ }, { "name": "symfony/swiftmailer-bundle", - "version": "v2.2.0", + "version": "v2.2.1", "target-dir": "Symfony/Bundle/SwiftmailerBundle", "source": { "type": "git", "url": "https://github.com/symfony/SwiftmailerBundle.git", - "reference": "v2.2.0-BETA2" + "reference": "v2.2.1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/SwiftmailerBundle/zipball/v2.2.0-BETA2", - "reference": "v2.2.0-BETA2", + "url": "https://api.github.com/repos/symfony/SwiftmailerBundle/zipball/v2.2.1", + "reference": "v2.2.1", "shasum": "" }, "require": { "php": ">=5.3.2", "swiftmailer/swiftmailer": ">=4.2.0,<4.4-dev", - "symfony/swiftmailer-bridge": ">=2.1.0,<2.3-dev" + "symfony/swiftmailer-bridge": ">=2.1,<3.0" }, "require-dev": { - "symfony/config": ">=2.1.0,<2.3-dev", - "symfony/dependency-injection": ">=2.1.0,<2.3-dev", - "symfony/http-kernel": ">=2.1.0,<2.3-dev", - "symfony/yaml": ">=2.1.0,<2.3-dev" + "symfony/config": ">=2.1,<3.0", + "symfony/dependency-injection": ">=2.1,<3.0", + "symfony/http-kernel": ">=2.1,<3.0", + "symfony/yaml": ">=2.1,<3.0" }, "type": "symfony-bundle", "extra": { @@ -1546,20 +1882,20 @@ ], "description": "Symfony SwiftmailerBundle", "homepage": "http://symfony.com", - "time": "2013-01-08 20:24:29" + "time": "2013-03-25 20:02:12" }, { "name": "symfony/symfony", - "version": "v2.2.0", + "version": "v2.2.1", "source": { "type": "git", "url": "https://github.com/symfony/symfony.git", - "reference": "v2.2.0" + "reference": "v2.2.1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/symfony/zipball/v2.2.0", - "reference": "v2.2.0", + "url": "https://api.github.com/repos/symfony/symfony/zipball/v2.2.1", + "reference": "v2.2.1", "shasum": "" }, "require": { @@ -1645,7 +1981,7 @@ "keywords": [ "framework" ], - "time": "2013-03-01 06:52:29" + "time": "2013-04-06 10:16:33" }, { "name": "twig/extensions", @@ -1696,16 +2032,16 @@ }, { "name": "twig/twig", - "version": "v1.12.2", + "version": "v1.13.0", "source": { "type": "git", - "url": "git://github.com/fabpot/Twig.git", - "reference": "v1.12.2" + "url": "https://github.com/fabpot/Twig.git", + "reference": "v1.13.0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/fabpot/Twig/zipball/v1.12.2", - "reference": "v1.12.2", + "url": "https://api.github.com/repos/fabpot/Twig/zipball/v1.13.0", + "reference": "v1.13.0", "shasum": "" }, "require": { @@ -1714,7 +2050,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.12-dev" + "dev-master": "1.13-dev" } }, "autoload": { @@ -1741,7 +2077,7 @@ "keywords": [ "templating" ], - "time": "2013-02-09 18:21:53" + "time": "2013-05-10 15:12:43" }, { "name": "willdurand/expose-translation-bundle", @@ -1797,7 +2133,9 @@ "time": "2013-03-15 22:52:10" } ], - "packages-dev": null, + "packages-dev": [ + + ], "aliases": [ ], @@ -1807,5 +2145,11 @@ "friendsofsymfony/jsrouting-bundle": 20, "willdurand/expose-translation-bundle": 20, "guzzle/guzzle": 20 - } + }, + "platform": { + "php": ">=5.3.3" + }, + "platform-dev": [ + + ] } diff --git a/src/Coddict/DevExtraBundle/Resources/config/services.yml b/src/Coddict/DevExtraBundle/Resources/config/services.yml index 8c924d2..3649126 100644 --- a/src/Coddict/DevExtraBundle/Resources/config/services.yml +++ b/src/Coddict/DevExtraBundle/Resources/config/services.yml @@ -7,4 +7,7 @@ services: arguments: ["@service_container"] coddictdevextra.packagistsearch: class: Coddict\DevExtraBundle\Services\PackagistSearchService + arguments: ["@service_container"] + coddictdevextra.console: + class: Coddict\DevExtraBundle\Services\ConsoleService arguments: ["@service_container"] \ No newline at end of file diff --git a/src/Coddict/DevExtraBundle/Services/ConsoleService.php b/src/Coddict/DevExtraBundle/Services/ConsoleService.php new file mode 100644 index 0000000..ed31cd8 --- /dev/null +++ b/src/Coddict/DevExtraBundle/Services/ConsoleService.php @@ -0,0 +1,93 @@ +get('kernel'); + $consoleApp = new VirtualConsoleApplication($kernel); + $consoleApp->registerCommands(); + $commands = $consoleApp->all(); + $output = array(); + // TODO: i think we must use $consoleApp->sortCommands($commands) + // to get all commands sorted by namespace + foreach($commands as $key => $command) + $output[$key] = $this->serializeCommand($command); + return $output; + } + + public function findCommand($name) + { + $kernel = $this->get('kernel'); + $consoleApp = new VirtualConsoleApplication($kernel); + $consoleApp->registerCommands(); + $command = $consoleApp->find($name); + return $command; + } + + + + public function runCommand($name, $param) + { + $command = $this->findCommand($name); + $input = null; + $output = new StringOutput(); + + if(is_array($param)){ + $param['command'] = $name; + $input = new ArrayInput($param); + } + else{ + $param = $name.' '.$param; + $input = new StringInput($param); + } + + $statusCode = $command->run($input, $output); + + return $output; + } + + protected function serializeCommand($command) + { + return array( + "name" => $command->getName(), + //"alias" => $command->getAliases(), + "options" => $this->serializeOptions($command->getDefinition()->getOptions()), + "arguments" => $this->serializeArguments($command->getDefinition()->getArguments()), + ); + } + + protected function serializeArguments($arguments) + { + $output = array(); + foreach($arguments as $key => $argument) + $output[] = array( + "name" => $argument->getName(), + "isRequired" => $argument->isRequired(), + "description" => $argument->getDescription(), + ); + return $output; + } + + protected function serializeOptions($options) + { + $output = array(); + foreach($options as $key => $option) + $output[] = array( + "name" => $option->getName(), + "shortcut" => $option->getShortcut(), + "description" => $option->getDescription(), + ); + return $output; + } +} + +?> diff --git a/src/Coddict/DevExtraBundle/Services/EntityManager.php b/src/Coddict/DevExtraBundle/Services/EntityManager.php index aba1391..df49484 100644 --- a/src/Coddict/DevExtraBundle/Services/EntityManager.php +++ b/src/Coddict/DevExtraBundle/Services/EntityManager.php @@ -10,6 +10,9 @@ class EntityManager extends AbstractService{ * Updates the database schema based on existing entities */ public function schemaUpdate(){ + + // TODO : use ConsoleService + $kernel = $this->get('kernel'); $application = new \Symfony\Bundle\FrameworkBundle\Console\Application($kernel); $application->setAutoExit(false); diff --git a/src/Coddict/DevExtraBundle/Tests/Services/ConsoleServiceTest.php b/src/Coddict/DevExtraBundle/Tests/Services/ConsoleServiceTest.php new file mode 100644 index 0000000..6e84098 --- /dev/null +++ b/src/Coddict/DevExtraBundle/Tests/Services/ConsoleServiceTest.php @@ -0,0 +1,32 @@ +getContainer(); + $commands = $container->get('coddictdevextra.console')->getCommands(); + //var_dump($commands); + $this->assertNotEmpty($commands); + } + + public function testFindCommand() + { + $container = static::createClient()->getContainer(); + $command = $container->get('coddictdevextra.console')->findCommand("cache:clear"); + $this->assertNotNUll($command); + } + public function testRunCommand() + { + $container = static::createClient()->getContainer(); + $output = $container->get('coddictdevextra.console')->runCommand("list",'--raw'); + //printf($output->getOutput()); + $this->assertNotNull($output); + } + +} diff --git a/src/Coddict/DevExtraBundle/Tests/Services/EntityManagerServiceTest.php b/src/Coddict/DevExtraBundle/Tests/Services/EntityManagerServiceTest.php index 4ed9c55..260280d 100644 --- a/src/Coddict/DevExtraBundle/Tests/Services/EntityManagerServiceTest.php +++ b/src/Coddict/DevExtraBundle/Tests/Services/EntityManagerServiceTest.php @@ -8,8 +8,8 @@ class EntityManagerServiceTest extends WebTestCase { public function testSchemaUpdate() { - $container = static::createClient()->getContainer(); + /*$container = static::createClient()->getContainer(); $service = $container->get('coddictdevextra.entitymanager'); - $this->assertTrue($service->schemaUpdate()); + $this->assertTrue($service->schemaUpdate());*/ } } diff --git a/src/Coddict/DevExtraBundle/Tests/Services/PackagistSearchServiceTest.php b/src/Coddict/DevExtraBundle/Tests/Services/PackagistSearchServiceTest copy.php similarity index 100% rename from src/Coddict/DevExtraBundle/Tests/Services/PackagistSearchServiceTest.php rename to src/Coddict/DevExtraBundle/Tests/Services/PackagistSearchServiceTest copy.php diff --git a/src/Coddict/DevExtraBundle/Utils/VirtualConsoleApplication.php b/src/Coddict/DevExtraBundle/Utils/VirtualConsoleApplication.php new file mode 100644 index 0000000..18d4bd5 --- /dev/null +++ b/src/Coddict/DevExtraBundle/Utils/VirtualConsoleApplication.php @@ -0,0 +1,20 @@ + \ No newline at end of file