Passed
Push — master ( 379144...3def33 )
by Paweł
05:07 queued 01:01
created
deploy.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@  discard block
 block discarded – undo
7 7
 set('application', 'owncourses');
8 8
 set('default_stage', 'demo');
9 9
 
10
-set('env', static function () {
10
+set('env', static function() {
11 11
     return [
12 12
         'APP_ENV' => has('symfony_env') ? get('symfony_env') : 'prod',
13 13
     ];
@@ -24,13 +24,13 @@  discard block
 block discarded – undo
24 24
 
25 25
 inventory('hosts.yml');
26 26
 
27
-task('deploy:assets:install', static function () {
27
+task('deploy:assets:install', static function() {
28 28
     run('{{bin/console}} ckeditor:install');
29 29
     run('{{bin/console}} assets:install {{release_path}}/public');
30 30
 })->desc('Install bundle assets');
31 31
 after('deploy:symlink', 'deploy:assets:install');
32 32
 
33
-task('deploy:composer:dump-env', static function () {
33
+task('deploy:composer:dump-env', static function() {
34 34
     run('cd {{release_path}} && {{bin/composer}} symfony:dump-env prod');
35 35
 })->desc('Install bundle assets');
36 36
 after('deploy:symlink', 'deploy:composer:dump-env');
Please login to merge, or discard this patch.
src/Controller/ApiNotificationsController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
 
64 64
     private function getProcessedNotifications(array $notifications, UserInterface $user): array
65 65
     {
66
-        $readByUserNotifications = \array_map(function ($notification) {
66
+        $readByUserNotifications = \array_map(function($notification) {
67 67
             return $notification->getId();
68 68
         }, $user->getNotifications()->toArray());
69 69
 
Please login to merge, or discard this patch.