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

UML 2906 Running PHPcs/PHPcbf on Service Front #2396

Closed
wants to merge 32 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
2e86915
phpcbf run on app/web
Lbagg1 Nov 2, 2023
09fdf4b
phpcbf in app/test/ActorTest
Lbagg1 Nov 2, 2023
e27e5d3
phpcbf test/CommonTest/Validator
Lbagg1 Nov 2, 2023
ad3d453
phpcbftest/CommonTest/View
Lbagg1 Nov 2, 2023
7fa44aa
phpbfctest/CommonTest/Middleware
Lbagg1 Nov 2, 2023
cc38e5f
phpbfc test/CommonTest/Service
Lbagg1 Nov 2, 2023
796e7e4
phpbfc test/CommonTest/Handler
Lbagg1 Nov 2, 2023
1a4d74c
phpbfctest/CommonTest/Entity
Lbagg1 Nov 2, 2023
2a32954
phpbfc test/CommonTest/Form
Lbagg1 Nov 2, 2023
5c22d0b
phpbfctest/CommonTest/Command
Lbagg1 Nov 2, 2023
850f200
phpcbf/test/CommonTest
Lbagg1 Nov 2, 2023
910c76c
phpcbf test/ViewerTest/Handler/Factory/
Lbagg1 Nov 2, 2023
5560da0
phpcfbapp/src/Viewer
Lbagg1 Nov 2, 2023
ab21061
phpbfc app/src/Common
Lbagg1 Nov 2, 2023
0001aa6
phpcbf app/src/Actor
Lbagg1 Nov 2, 2023
2cf22f8
phpcbf app/public
Lbagg1 Nov 2, 2023
9614403
phpbfc app/features
Lbagg1 Nov 2, 2023
3b9d593
phpcbf app/config
Lbagg1 Nov 2, 2023
ac4d9f4
cbf app/console
Lbagg1 Nov 2, 2023
7ee4b72
php-cs-fixer service-front/app/features
Lbagg1 Nov 2, 2023
04b2b60
phpcs-fixer service-front/app/test/CommonTest
Lbagg1 Nov 2, 2023
8634d45
php-cs-fixer service-front/app/test/ActorTest
Lbagg1 Nov 2, 2023
acf299b
php-cs-fixer service-front/app/src/Viewer
Lbagg1 Nov 2, 2023
7ed8eaa
php-cs-fixer service-front/app/src/Common
Lbagg1 Nov 2, 2023
4d99195
php-cs-fixer service-front/app/test/ViewerTest
Lbagg1 Nov 2, 2023
9cb809c
php-cs-fixer service-front/app/src/Actor
Lbagg1 Nov 2, 2023
d5f6766
php-cs-fixer service-front/app
Lbagg1 Nov 2, 2023
2f0e0a7
phpcbf app
Lbagg1 Nov 2, 2023
3cb8038
Merge branch 'main' into uml-2906-run-phpcs-service-front
Lbagg1 Nov 2, 2023
a941945
phpcbf after pulling main
Lbagg1 Nov 2, 2023
97b328a
code cover added to CancelCode.php
Lbagg1 Nov 2, 2023
cef9da7
linting fix
Lbagg1 Nov 2, 2023
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
11 changes: 8 additions & 3 deletions service-front/app/config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
'config_cache_path' => '/tmp/config-cache.php',
];

$aggregator = new ConfigAggregator([
$aggregator = new ConfigAggregator(
[
\Mezzio\Flash\ConfigProvider::class,
\Laminas\Diactoros\ConfigProvider::class,
\Laminas\Cache\ConfigProvider::class,
Expand Down Expand Up @@ -40,7 +41,9 @@
// Swoole config to overwrite some services (if installed)
class_exists(\Mezzio\Swoole\ConfigProvider::class)
? \Mezzio\Swoole\ConfigProvider::class
: function(){ return[]; },
: function () {
return[];
},

// App module(s) config
Common\ConfigProvider::class,
Expand All @@ -57,6 +60,8 @@ class_exists(\Mezzio\Swoole\ConfigProvider::class)

// Load development config if it exists
new PhpFileProvider(realpath(__DIR__) . '/development.config.php'),
], $cacheConfig['config_cache_path']);
],
$cacheConfig['config_cache_path']
);

return $aggregator->getMergedConfig();
2 changes: 1 addition & 1 deletion service-front/app/config/container.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use Elie\PHPDI\Config\Config;
use Elie\PHPDI\Config\ContainerFactory;

$config = require __DIR__ . '/config.php';
$config = include __DIR__ . '/config.php';
$factory = new ContainerFactory();

return $factory(new Config($config));
Loading
Loading