Skip to content
This repository was archived by the owner on Nov 27, 2020. It is now read-only.

Commit 04317c9

Browse files
committed
Merge branch '2.8' into 3.1
* 2.8: Display a directory separator adapted to the OS Symfony is running on updated VENDORS for 2.8.10 updated VENDORS for 2.7.17 Change inline var PHPDoc syntax
2 parents 99e45d1 + 6920db7 commit 04317c9

File tree

6 files changed

+6
-14
lines changed

6 files changed

+6
-14
lines changed

app/Resources/views/default/index.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<svg id="icon-status" width="1792" height="1792" viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"><path d="M1671 566q0 40-28 68l-724 724-136 136q-28 28-68 28t-68-28l-136-136-362-362q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 295 656-657q28-28 68-28t68 28l136 136q28 28 28 68z" fill="#759E1A"/></svg>
1313

1414
Your application is now ready. You can start working on it at:
15-
<code>{{ base_dir }}/</code>
15+
<code>{{ base_dir }}</code>
1616
</p>
1717
</div>
1818

app/autoload.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@
33
use Doctrine\Common\Annotations\AnnotationRegistry;
44
use Composer\Autoload\ClassLoader;
55

6-
/**
7-
* @var ClassLoader $loader
8-
*/
6+
/** @var ClassLoader $loader */
97
$loader = require __DIR__.'/../vendor/autoload.php';
108

119
AnnotationRegistry::registerLoader([$loader, 'loadClass']);

bin/console

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ use Symfony\Component\Debug\Debug;
1111

1212
set_time_limit(0);
1313

14-
/**
15-
* @var Composer\Autoload\ClassLoader $loader
16-
*/
14+
/** @var Composer\Autoload\ClassLoader $loader */
1715
$loader = require __DIR__.'/../app/autoload.php';
1816

1917
$input = new ArgvInput();

src/AppBundle/Controller/DefaultController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public function indexAction(Request $request)
1515
{
1616
// replace this example code with whatever you need
1717
return $this->render('default/index.html.twig', [
18-
'base_dir' => realpath($this->getParameter('kernel.root_dir').'/..'),
18+
'base_dir' => realpath($this->getParameter('kernel.root_dir').'/..').DIRECTORY_SEPARATOR,
1919
]);
2020
}
2121
}

web/app.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22

33
use Symfony\Component\HttpFoundation\Request;
44

5-
/**
6-
* @var Composer\Autoload\ClassLoader
7-
*/
5+
/** @var \Composer\Autoload\ClassLoader $loader */
86
$loader = require __DIR__.'/../app/autoload.php';
97
include_once __DIR__.'/../var/bootstrap.php.cache';
108

web/app_dev.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@
1818
exit('You are not allowed to access this file. Check '.basename(__FILE__).' for more information.');
1919
}
2020

21-
/**
22-
* @var Composer\Autoload\ClassLoader $loader
23-
*/
21+
/** @var \Composer\Autoload\ClassLoader $loader */
2422
$loader = require __DIR__.'/../app/autoload.php';
2523
Debug::enable();
2624

0 commit comments

Comments
 (0)