File tree 8 files changed +49
-108
lines changed
FrameworkBundle/Tests/Functional/app
SecurityBundle/Tests/Functional/app
8 files changed +49
-108
lines changed Original file line number Diff line number Diff line change 5
5
- 5.3
6
6
- 5.4
7
7
8
- before_script : php vendors. php
8
+ before_script : wget http://getcomposer.org/composer.phar && php composer.phar --install-suggests install
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ $loader = require_once __DIR__.'/vendor/.composer/autoload.php';
4
+ $loader->add('Symfony\\Tests', __DIR__.'/tests');
5
+
6
+ use Doctrine\Common\Annotations\AnnotationRegistry;
7
+
8
+ if (!function_exists('intl_get_error_code')) {
9
+ require_once __DIR__.'/src/Symfony/Component/Locale/Resources/stubs/functions.php';
10
+
11
+ $loader->add('IntlDateFormatter', __DIR__.'/src/Symfony/Component/Locale/Resources/stubs');
12
+ $loader->add('Collator', __DIR__.'/src/Symfony/Component/Locale/Resources/stubs');
13
+ $loader->add('Locale', __DIR__.'/src/Symfony/Component/Locale/Resources/stubs');
14
+ $loader->add('NumberFormatter', __DIR__.'/src/Symfony/Component/Locale/Resources/stubs');
15
+ }
16
+
17
+ AnnotationRegistry::registerLoader(array($loader, 'loadClass'));
18
+ AnnotationRegistry::registerFile(__DIR__.'/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/Driver/DoctrineAnnotations.php');
19
+
20
+ if (is_file(__DIR__.'/vendor/swiftmailer/swiftmailer/lib/classes/Swift.php')) {
21
+ require_once __DIR__.'/vendor/swiftmailer/swiftmailer/lib/classes/Swift.php';
22
+ Swift::registerAutoload(__DIR__.'/vendor/swiftmailer/swiftmailer/lib/swift_init.php');
23
+ }
24
+
25
+ if (is_file($file = __DIR__.'/vendor/propel/propel/runtime/lib/Propel.php')) {
26
+ require_once $file;
27
+ }
Original file line number Diff line number Diff line change 52
52
"symfony/yaml" : " self.version"
53
53
},
54
54
"suggest" : {
55
- "doctrine/data-fixtures" : " 1.0.*"
55
+ "doctrine/dbal" : " 2.2.*" ,
56
+ "doctrine/orm" : " 2.2.*" ,
57
+ "doctrine/data-fixtures" : " 1.0.*" ,
58
+ "propel/propel1" : " dev-master"
56
59
},
57
60
"autoload" : {
58
61
"psr-0" : {
Original file line number Diff line number Diff line change 9
9
processIsolation =" false"
10
10
stopOnFailure =" false"
11
11
syntaxCheck =" false"
12
- bootstrap =" autoload.php.dist"
12
+ bootstrap =" composer. autoload.php.dist"
13
13
>
14
14
<testsuites >
15
15
<testsuite name =" Symfony Test Suite" >
Original file line number Diff line number Diff line change 22
22
break ;
23
23
}
24
24
25
+ if (
26
+ file_exists ($ dir .'/vendor/.composer/autoload.php ' )
27
+ && file_exists ($ dir .'/composer.autoload.php.dist ' )
28
+ ) {
29
+ require_once $ dir .'/composer.autoload.php.dist ' ;
30
+ break ;
31
+ }
32
+
25
33
if (file_exists ($ dir .'/autoload.php.dist ' )) {
26
34
require_once $ dir .'/autoload.php.dist ' ;
27
35
break ;
Original file line number Diff line number Diff line change 22
22
break ;
23
23
}
24
24
25
+ if (
26
+ file_exists ($ dir .'/vendor/.composer/autoload.php ' )
27
+ && file_exists ($ dir .'/composer.autoload.php.dist ' )
28
+ ) {
29
+ require_once $ dir .'/composer.autoload.php.dist ' ;
30
+ break ;
31
+ }
32
+
25
33
if (is_file ($ dir .'/autoload.php.dist ' )) {
26
34
require_once $ dir .'/autoload.php.dist ' ;
27
35
break ;
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments