Skip to content

Commit b5a9f06

Browse files
authoredOct 23, 2023
feat: update codely coding standard (#367)
1 parent 805b6ff commit b5a9f06

File tree

249 files changed

+4856
-4877
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

249 files changed

+4856
-4877
lines changed
 

‎apps/backoffice/backend/config/bundles.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
declare(strict_types=1);
44

55
return [
6-
Symfony\Bundle\FrameworkBundle\FrameworkBundle::class => ['all' => true],
7-
FriendsOfBehat\SymfonyExtension\Bundle\FriendsOfBehatSymfonyExtensionBundle::class => ['test' => true],
8-
// WouterJ\EloquentBundle\WouterJEloquentBundle::class => ['test' => true]
6+
Symfony\Bundle\FrameworkBundle\FrameworkBundle::class => ['all' => true],
7+
FriendsOfBehat\SymfonyExtension\Bundle\FriendsOfBehatSymfonyExtensionBundle::class => ['test' => true],
8+
// WouterJ\EloquentBundle\WouterJEloquentBundle::class => ['test' => true]
99
];

‎apps/backoffice/backend/public/index.php

+7-7
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,20 @@
99
require dirname(__DIR__) . '/../../bootstrap.php';
1010

1111
if ($_SERVER['APP_DEBUG']) {
12-
umask(0000);
12+
umask(0000);
1313

14-
Debug::enable();
14+
Debug::enable();
1515
}
1616

1717
if ($trustedProxies = $_SERVER['TRUSTED_PROXIES'] ?? $_ENV['TRUSTED_PROXIES'] ?? false) {
18-
Request::setTrustedProxies(
19-
explode(',', $trustedProxies),
20-
Request::HEADER_X_FORWARDED_FOR | Request::HEADER_X_FORWARDED_PORT | Request::HEADER_X_FORWARDED_PROTO
21-
);
18+
Request::setTrustedProxies(
19+
explode(',', $trustedProxies),
20+
Request::HEADER_X_FORWARDED_FOR | Request::HEADER_X_FORWARDED_PORT | Request::HEADER_X_FORWARDED_PROTO
21+
);
2222
}
2323

2424
if ($trustedHosts = $_SERVER['TRUSTED_HOSTS'] ?? $_ENV['TRUSTED_HOSTS'] ?? false) {
25-
Request::setTrustedHosts([$trustedHosts]);
25+
Request::setTrustedHosts([$trustedHosts]);
2626
}
2727

2828
$kernel = new BackofficeBackendKernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG']);

0 commit comments

Comments
 (0)
Please sign in to comment.