Upgraded to Symfony 2.1-beta2

This commit is contained in:
Polonkai Gergely
2012-07-15 14:56:31 +02:00
parent c1232c9792
commit bb7aee6fee
455 changed files with 21001 additions and 18480 deletions

View File

@@ -1,19 +0,0 @@
<?php
if (!@include __DIR__ . '/../vendor/.composer/autoload.php') {
die("You must set up the project dependencies, run the following commands:
wget http://getcomposer.org/composer.phar
php composer.phar install
");
}
spl_autoload_register(function($class) {
if (0 === strpos($class, 'Symfony\\Bundle\\MonologBundle')) {
$path = __DIR__.'/../'.implode('/', array_slice(explode('\\', $class), 3)).'.php';
if (!stream_resolve_include_path($path)) {
return false;
}
require_once $path;
return true;
}
});

View File

@@ -23,7 +23,8 @@
"monolog/monolog": "1.*"
},
"require-dev": {
"symfony/yaml": "2.1.*"
"symfony/yaml": "2.1.*",
"symfony/config": "2.1.*"
},
"autoload": {
"psr-0": { "Symfony\\Bundle\\MonologBundle": "" }

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit colors="true" bootstrap="Tests/bootstrap.php">
<phpunit colors="true" bootstrap="vendor/autoload.php">
<testsuites>
<testsuite name="MonologBundle for the Symfony Framework">
<directory>./Tests</directory>