Skip to content

Commit 22c8688

Browse files
committed
Fixed CI
1 parent ec34502 commit 22c8688

File tree

22 files changed

+146
-55
lines changed

22 files changed

+146
-55
lines changed

bootstrap/bootstrap.php

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
<?php
22

3+
/*
4+
* This file is part of the Symfony CMF package.
5+
*
6+
* (c) 2011-2015 Symfony CMF
7+
*
8+
* For the full copyright and license information, please view the LICENSE
9+
* file that was distributed with this source code.
10+
*/
11+
312
$vendorDir = realpath(__DIR__.'/../../..');
413

514
if (!$loader = include $vendorDir.'/autoload.php') {
@@ -13,7 +22,7 @@
1322

1423
use Doctrine\Common\Annotations\AnnotationRegistry;
1524

16-
AnnotationRegistry::registerLoader(function($class) use ($loader) {
25+
AnnotationRegistry::registerLoader(function ($class) use ($loader) {
1726
$loader->loadClass($class);
1827

1928
// this was class_exists($class, false) i.e. do not autoload.

bootstrap/kernel_bootstrap.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
<?php
22

3+
/*
4+
* This file is part of the Symfony CMF package.
5+
*
6+
* (c) 2011-2015 Symfony CMF
7+
*
8+
* For the full copyright and license information, please view the LICENSE
9+
* file that was distributed with this source code.
10+
*/
11+
312
$rootDir = realpath(__DIR__.'/../../../..');
413
$phpUnitFile = $rootDir.'/phpunit.xml.dist';
514

resources/config/default.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
<?php
22

3+
/*
4+
* This file is part of the Symfony CMF package.
5+
*
6+
* (c) 2011-2015 Symfony CMF
7+
*
8+
* For the full copyright and license information, please view the LICENSE
9+
* file that was distributed with this source code.
10+
*/
11+
312
@trigger_error('The resources/config/'.basename(__FILE__).' file is deprecated since version 1.3 and will be removed in 2.0. Include the config file in your own library instead.');
413

514
$kernelRootDir = $container->getParameter('kernel.root_dir');

resources/config/dist/framework.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
<?php
22

3+
/*
4+
* This file is part of the Symfony CMF package.
5+
*
6+
* (c) 2011-2015 Symfony CMF
7+
*
8+
* For the full copyright and license information, please view the LICENSE
9+
* file that was distributed with this source code.
10+
*/
11+
312
@trigger_error('The resources/config/dist/'.basename(__FILE__).' file is deprecated since version 1.3 and will be removed in 2.0. Include the config file in your own library instead.');
413

514
$config = array(

resources/config/dist/phpcr_odm.php

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,19 @@
11
<?php
22

3+
/*
4+
* This file is part of the Symfony CMF package.
5+
*
6+
* (c) 2011-2015 Symfony CMF
7+
*
8+
* For the full copyright and license information, please view the LICENSE
9+
* file that was distributed with this source code.
10+
*/
11+
312
@trigger_error('The resources/config/dist/'.basename(__FILE__).' file is deprecated since version 1.3 and will be removed in 2.0. Include the config file in your own library instead.');
413

514
$config = array(
615
'session' => array(
7-
'backend' => '%phpcr_backend%',
16+
'backend' => '%phpcr_backend%',
817
'workspace' => '%phpcr_workspace%',
918
'username' => '%phpcr_user%',
1019
'password' => '%phpcr_pass%',
@@ -34,7 +43,6 @@
3443
$phpcrOdmDocPrefix = sprintf('%s\Tests\Resources\Document', $bundleFQN);
3544

3645
if (file_exists($phpcrOdmDocDir)) {
37-
3846
$config['odm']['mappings']['test_additional'] = array(
3947
'type' => 'annotation',
4048
'prefix' => $phpcrOdmDocPrefix,

resources/config/doctrine_orm.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
<?php
22

3+
/*
4+
* This file is part of the Symfony CMF package.
5+
*
6+
* (c) 2011-2015 Symfony CMF
7+
*
8+
* For the full copyright and license information, please view the LICENSE
9+
* file that was distributed with this source code.
10+
*/
11+
312
@trigger_error('The resources/config/'.basename(__FILE__).' file is deprecated since version 1.3 and will be removed in 2.0. Include the config file in your own library instead.');
413

514
$loader->import(CMF_TEST_CONFIG_DIR.'/dist/doctrine_orm.yml');

resources/config/phpcr_odm.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
<?php
22

3+
/*
4+
* This file is part of the Symfony CMF package.
5+
*
6+
* (c) 2011-2015 Symfony CMF
7+
*
8+
* For the full copyright and license information, please view the LICENSE
9+
* file that was distributed with this source code.
10+
*/
11+
312
@trigger_error('The resources/config/'.basename(__FILE__).' file is deprecated since version 1.3 and will be removed in 2.0. Include the config file in your own library instead.');
413

514
$loader->import(CMF_TEST_CONFIG_DIR.'/dist/phpcr_odm.php');

resources/config/sonata_admin.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
<?php
22

3+
/*
4+
* This file is part of the Symfony CMF package.
5+
*
6+
* (c) 2011-2015 Symfony CMF
7+
*
8+
* For the full copyright and license information, please view the LICENSE
9+
* file that was distributed with this source code.
10+
*/
11+
312
@trigger_error('The resources/config/'.basename(__FILE__).' file is deprecated since version 1.3 and will be removed in 2.0. Include the config file in your own library instead.');
413

514
$loader->import(CMF_TEST_CONFIG_DIR.'/dist/sonata_admin.yml');

resources/web/app_test.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
<?php
22

3+
/*
4+
* This file is part of the Symfony CMF package.
5+
*
6+
* (c) 2011-2015 Symfony CMF
7+
*
8+
* For the full copyright and license information, please view the LICENSE
9+
* file that was distributed with this source code.
10+
*/
11+
312
use Symfony\Component\HttpFoundation\Request;
413

514
require_once __DIR__.'/../../bootstrap/bootstrap.php';

resources/web/router.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
<?php
22

3+
/*
4+
* This file is part of the Symfony CMF package.
5+
*
6+
* (c) 2011-2015 Symfony CMF
7+
*
8+
* For the full copyright and license information, please view the LICENSE
9+
* file that was distributed with this source code.
10+
*/
11+
312
$req = $_SERVER['REQUEST_URI'];
413
$asset = preg_replace('/\?.*/', '', __DIR__.$req);
514

0 commit comments

Comments
 (0)