1
0
Fork 0

Fix line endings

pull/603/head
Jordi Boggiano 2012-04-19 21:56:05 +02:00
parent 22fe296ad0
commit 32643581ba
2 changed files with 54 additions and 54 deletions

View File

@ -1,29 +1,29 @@
* 1.0.0-alpha3 * 1.0.0-alpha3
* Schema: Added 'require-dev' for development-time requirements (tests, etc), install with --dev * Schema: Added 'require-dev' for development-time requirements (tests, etc), install with --dev
* Schema: Removed 'recommend' * Schema: Removed 'recommend'
* Schema: 'suggest' is now informational and can use any description for a package, not only a constraint * Schema: 'suggest' is now informational and can use any description for a package, not only a constraint
* Break: .composer/autoload.php and other files in vendor/.composer have been moved to vendor/ * Break: .composer/autoload.php and other files in vendor/.composer have been moved to vendor/
* Added caching of repository metadata (faster startup times & failover if packagist is down) * Added caching of repository metadata (faster startup times & failover if packagist is down)
* Added include_path support for legacy projects that are full of require_once statements * Added include_path support for legacy projects that are full of require_once statements
* Added installation notifications API to allow better statistics on Composer repositories * Added installation notifications API to allow better statistics on Composer repositories
* Improved repository protocol to have large cacheable parts * Improved repository protocol to have large cacheable parts
* 1.0.0-alpha2 (2012-04-03) * 1.0.0-alpha2 (2012-04-03)
* Added `create-project` command to install a project from scratch with composer * Added `create-project` command to install a project from scratch with composer
* Added automated `classmap` autoloading support for non-PSR-0 compliant projects * Added automated `classmap` autoloading support for non-PSR-0 compliant projects
* Added human readable error reporting when deps can not be solved * Added human readable error reporting when deps can not be solved
* Added support for private GitHub and SVN repositories (use --no-interaction for CI) * Added support for private GitHub and SVN repositories (use --no-interaction for CI)
* Added "file" downloader type to download plain files * Added "file" downloader type to download plain files
* Added support for authentication with svn repositories * Added support for authentication with svn repositories
* Added autoload support for PEAR repositories * Added autoload support for PEAR repositories
* Improved clones from GitHub which now automatically select between git/https/http protocols * Improved clones from GitHub which now automatically select between git/https/http protocols
* Improved `validate` command to give more feedback * Improved `validate` command to give more feedback
* Improved the `search` & `show` commands output * Improved the `search` & `show` commands output
* Removed dependency on filter_var * Removed dependency on filter_var
* Various robustness & error handling improvements, docs fixes and more bug fixes * Various robustness & error handling improvements, docs fixes and more bug fixes
* 1.0.0-alpha1 (2012-03-01) * 1.0.0-alpha1 (2012-03-01)
* Initial release * Initial release

View File

@ -1,25 +1,25 @@
<?php <?php
/* /*
* This file is part of Composer. * This file is part of Composer.
* *
* (c) Nils Adermann <naderman@naderman.de> * (c) Nils Adermann <naderman@naderman.de>
* Jordi Boggiano <j.boggiano@seld.be> * Jordi Boggiano <j.boggiano@seld.be>
* *
* For the full copyright and license information, please view the LICENSE * For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
function includeIfExists($file) { function includeIfExists($file) {
if (file_exists($file)) { if (file_exists($file)) {
return include $file; return include $file;
} }
} }
if ((!$loader = includeIfExists(__DIR__.'/../vendor/autoload.php')) && (!$loader = includeIfExists(__DIR__.'/../../../autoload.php'))) { if ((!$loader = includeIfExists(__DIR__.'/../vendor/autoload.php')) && (!$loader = includeIfExists(__DIR__.'/../../../autoload.php'))) {
die('You must set up the project dependencies, run the following commands:'.PHP_EOL. die('You must set up the project dependencies, run the following commands:'.PHP_EOL.
'curl -s http://getcomposer.org/installer | php'.PHP_EOL. 'curl -s http://getcomposer.org/installer | php'.PHP_EOL.
'php composer.phar install'.PHP_EOL); 'php composer.phar install'.PHP_EOL);
} }
return $loader; return $loader;