Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apply fixes from StyleCI #407

Merged
merged 1 commit into from
Aug 28, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions config/bundles.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/*
* This file is part of the Symfony CMF package.
*
* (c) Symfony CMF
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

return [
Symfony\Bundle\FrameworkBundle\FrameworkBundle::class => ['all' => true],
Symfony\Bundle\SecurityBundle\SecurityBundle::class => ['all' => true],
Expand Down
9 changes: 9 additions & 0 deletions public/index.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/*
* This file is part of the Symfony CMF package.
*
* (c) Symfony CMF
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

use App\Kernel;
use Symfony\Component\Debug\Debug;
use Symfony\Component\Dotenv\Dotenv;
Expand Down
2 changes: 1 addition & 1 deletion public/reload-fixtures.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function outputNice($output)
}
}

$commandFile = __DIR__ . '/../bin/reloadFixtures.sh';
$commandFile = __DIR__.'/../bin/reloadFixtures.sh';
if (!file_exists($commandFile)) {
outputNice('File not found at: '.$commandFile);
}
Expand Down
2 changes: 1 addition & 1 deletion src/DataFixtures/PHPCR/LoadStaticPageData.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public function load(ObjectManager $manager)
$yaml = new Parser();
$data = $yaml->parse(
file_get_contents(
__DIR__ . '/../../Resources/data/page.yml'
__DIR__.'/../../Resources/data/page.yml'
)
);

Expand Down
9 changes: 9 additions & 0 deletions src/Kernel.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/*
* This file is part of the Symfony CMF package.
*
* (c) Symfony CMF
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace App;

use App\DependencyInjection\Compiler\DocumentClassPass;
Expand Down
3 changes: 0 additions & 3 deletions tests/Functional/AdminDashboardTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@

namespace App\Tests\Functional;

use Symfony\Component\HttpFoundation\Cookie;
use Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken;

class AdminDashboardTest extends WebTestCase
{
public function testRedirectToDashboard()
Expand Down