Skip to content

Commit 07a3a4c

Browse files
committed
fixed format on newly added files
1 parent f8c0d51 commit 07a3a4c

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

public/index.php

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

33
use App\Kernel;
44

5-
require_once dirname(__DIR__) . '/vendor/autoload_runtime.php';
5+
require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
66

77
$environment = $_SERVER['APP_ENV'] ?? 'dev';
88
if (!is_string($environment)) {

rector.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,23 @@
33
declare(strict_types=1);
44

55
use Rector\Config\RectorConfig;
6+
use Rector\Doctrine\Set\DoctrineSetList;
7+
use Rector\PHPUnit\Set\PHPUnitSetList;
68
use Rector\Set\ValueObject\LevelSetList;
79
use Rector\Set\ValueObject\SetList;
810
use Rector\Symfony\Set\SymfonySetList;
9-
use Rector\Doctrine\Set\DoctrineSetList;
10-
use Rector\PHPUnit\Set\PHPUnitSetList;
1111

1212
return RectorConfig::configure()
1313
// Define paths to be analyzed by Rector
1414
->withPaths([
15-
__DIR__ . '/src',
16-
__DIR__ . '/tests',
15+
__DIR__.'/src',
16+
__DIR__.'/tests',
1717
])
1818

1919
// For Symfony projects, load the container XML to enable smarter refactoring based on service definitions.
2020
// Adjust the path according to your Symfony version and environment.
2121
// Typically, it's located at var/cache/{env}/App_Kernel{Env}DebugContainer.xml
22-
->withSymfonyContainerXml(__DIR__ . '/var/cache/dev/App_KernelDevDebugContainer.xml')
22+
->withSymfonyContainerXml(__DIR__.'/var/cache/dev/App_KernelDevDebugContainer.xml')
2323

2424
// Apply framework-specific rules based on Composer dependencies.
2525
// This enables automatic refactoring for frameworks like Symfony, Doctrine, etc., including version upgrades.

tests/bootstrap.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
use Symfony\Component\Dotenv\Dotenv;
44

5-
require dirname(__DIR__) . '/vendor/autoload.php';
5+
require dirname(__DIR__).'/vendor/autoload.php';
66

7-
//if (method_exists(Dotenv::class, 'bootEnv')) {
8-
(new Dotenv())->bootEnv(dirname(__DIR__) . '/.env');
9-
//}
7+
// if (method_exists(Dotenv::class, 'bootEnv')) {
8+
(new Dotenv())->bootEnv(dirname(__DIR__).'/.env');
9+
// }
1010

1111
if ($_SERVER['APP_DEBUG']) {
1212
umask(0000);

0 commit comments

Comments
 (0)