File tree Expand file tree Collapse file tree 4 files changed +13
-14
lines changed Expand file tree Collapse file tree 4 files changed +13
-14
lines changed Original file line number Diff line number Diff line change 4
4
$ finder = Symfony \CS \Finder::create ()
5
5
->ignoreDotFiles (true )
6
6
->ignoreVCS (true )
7
- ->exclude ('app ' )
7
+ ->exclude ('app/Resources ' )
8
+ ->exclude ('app/config ' )
9
+ ->exclude ('app/data ' )
8
10
->exclude ('var ' )
9
11
->exclude ('vendor ' )
10
- ->exclude ('web ' )
12
+ ->exclude ('web/bundles ' )
13
+ ->exclude ('web/css ' )
14
+ ->exclude ('web/fonts ' )
15
+ ->exclude ('web/js ' )
11
16
->in (__DIR__ )
12
17
;
13
18
Original file line number Diff line number Diff line change 3
3
use Doctrine \Common \Annotations \AnnotationRegistry ;
4
4
use Composer \Autoload \ClassLoader ;
5
5
6
- /**
7
- * @var ClassLoader $loader
8
- */
6
+ /** @var ClassLoader $loader */
9
7
$ loader = require __DIR__ .'/../vendor/autoload.php ' ;
10
8
11
9
AnnotationRegistry::registerLoader ([$ loader , 'loadClass ' ]);
Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
3
// This is the front controller used when executing the application in the
4
- // production environment ('prod'). See
5
- //
4
+ // production environment ('prod'). See:
6
5
// * http://symfony.com/doc/current/cookbook/configuration/front_controllers_and_kernel.html
7
6
// * http://symfony.com/doc/current/cookbook/configuration/environments.html
8
7
17
16
// If your web server provides APC support for PHP applications, uncomment these
18
17
// lines to use APC for class autoloading. This can improve application performance
19
18
// very significantly. See http://symfony.com/doc/current/components/class_loader/cache_class_loader.html#apcclassloader
20
- //
19
+
21
20
// NOTE: The first argument of ApcClassLoader() is the prefix used to prevent
22
21
// cache key conflicts. In a real Symfony application, make sure to change
23
22
// it to a value that it's unique in the web server. A common practice is to use
24
23
// the domain name associated to the Symfony application (e.g. 'example_com').
25
- //
24
+
26
25
// $apcLoader = new Symfony\Component\ClassLoader\ApcClassLoader(sha1(__FILE__), $loader);
27
26
// $loader->unregister();
28
27
// $apcLoader->register(true);
Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
3
// This is the front controller used when executing the application in the
4
- // development environment ('dev'). See
5
- //
4
+ // development environment ('dev'). See:
6
5
// * http://symfony.com/doc/current/cookbook/configuration/front_controllers_and_kernel.html
7
6
// * http://symfony.com/doc/current/cookbook/configuration/environments.html
8
7
25
24
exit ('You are not allowed to access this file. Check ' .basename (__FILE__ ).' for more information. ' );
26
25
}
27
26
28
- /**
29
- * @var Composer\Autoload\ClassLoader $loader
30
- */
27
+ /** @var Composer\Autoload\ClassLoader $loader */
31
28
$ loader = require __DIR__ .'/../app/autoload.php ' ;
32
29
Debug::enable ();
33
30
You can’t perform that action at this time.
0 commit comments