Completed
Push — master ( 58f753...77021e )
by Carsten
08:12 queued 10s
created
module/Core/test/CoreTestUtils/Mock/ServiceManager/PluginManagerMock.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -175,7 +175,7 @@
 block discarded – undo
175 175
                                 $methodName,
176 176
                                 '*' == $name ? '' : $name,
177 177
                                 $count,
178
-                                null === $options ? '' : ' with options hash ' . $optHash,
178
+                                null === $options ? '' : ' with options hash '.$optHash,
179 179
                                 $actual
180 180
                             )
181 181
                         );
Please login to merge, or discard this patch.
test/OrganizationsTest/Auth/Dependency/EmployeeListListenerTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
             ->getMock();
73 73
         $translator->expects($this->once())
74 74
             ->method('translate')
75
-            ->with($this->callback(function ($string) {
75
+            ->with($this->callback(function($string) {
76 76
                 return is_string($string);
77 77
             }))
78 78
             ->willReturn($expected);
Please login to merge, or discard this patch.
Organizations/test/OrganizationsTest/Auth/Dependency/ListListenerTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
             ->getMock();
73 73
         $translator->expects($this->once())
74 74
             ->method('translate')
75
-            ->with($this->callback(function ($string) {
75
+            ->with($this->callback(function($string) {
76 76
                 return is_string($string);
77 77
             }))
78 78
             ->willReturn($expected);
Please login to merge, or discard this patch.
Applications/test/ApplicationsTest/Auth/Dependency/ListListenerTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
             ->getMock();
73 73
         $translator->expects($this->once())
74 74
             ->method('translate')
75
-            ->with($this->callback(function ($string) {
75
+            ->with($this->callback(function($string) {
76 76
                 return is_string($string);
77 77
             }))
78 78
             ->willReturn($expected);
Please login to merge, or discard this patch.
module/Core/test/CoreTestUtils/Constraint/DefaultAttributesValues.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
 
82 82
     protected function failureDescription($other): string
83 83
     {
84
-        return ($other instanceof \ReflectionClass ? $other->getName() : get_class($other)) . ' ' . $this->toString();
84
+        return ($other instanceof \ReflectionClass ? $other->getName() : get_class($other)).' '.$this->toString();
85 85
     }
86 86
 
87 87
     protected function additionalFailureDescription($other): string
Please login to merge, or discard this patch.
module/Jobs/src/Entity/Decorator/JsonLdProvider.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
             $dateEnd->add(new \DateInterval("P180D"));
59 59
             $dateEnd = $dateEnd->format('Y-m-d H:i:s');
60 60
         }
61
-        $array=[
61
+        $array = [
62 62
             '@context'=>'http://schema.org/',
63 63
             '@type' => 'JobPosting',
64 64
             'title' => $this->job->getTitle(),
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
     private function getLogo() {
91 91
         $organization = $this->job->getOrganization();
92 92
 
93
-        $organizationLogo = ($organization && $organization->getImage())? $organization->getImage()->getUri() : $this->job->getLogoRef();
93
+        $organizationLogo = ($organization && $organization->getImage()) ? $organization->getImage()->getUri() : $this->job->getLogoRef();
94 94
         return $organizationLogo;
95 95
     }
96 96
 
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
      */
104 104
     private function getLocations($locations)
105 105
     {
106
-        $array=[];
106
+        $array = [];
107 107
         foreach ($locations as $location) { /* @var \Core\Entity\LocationInterface $location */
108 108
             array_push(
109 109
                 $array,
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
                     '@type' => 'Place',
112 112
                     'address' => [
113 113
                         '@type' => 'PostalAddress',
114
-                        'streetAddress' => $location->getStreetname() .' '.$location->getStreetnumber(),
114
+                        'streetAddress' => $location->getStreetname().' '.$location->getStreetnumber(),
115 115
                         'postalCode' => $location->getPostalCode(),
116 116
                         'addressLocality' => $location->getCity(),
117 117
                         'addressCountry' => $location->getCountry(),
@@ -135,9 +135,9 @@  discard block
 block discarded – undo
135 135
         $html = $values->getHtml();
136 136
 
137 137
         if ($html) {
138
-            $description=sprintf("%s", $values->getHtml() );
138
+            $description = sprintf("%s", $values->getHtml());
139 139
         } else {
140
-            $description=sprintf(
140
+            $description = sprintf(
141 141
                 "<p>%s</p>".
142 142
                 "<h1>%s</h1>".
143 143
                 "<h3>Requirements</h3><p>%s</p>".
Please login to merge, or discard this patch.
module/Jobs/src/Listener/JobEntityDependencyListener.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
  */
26 26
 class JobEntityDependencyListener extends AbstractDependenciesListener
27 27
 {
28
-    protected $entityClasses = [ Job::class ];
28
+    protected $entityClasses = [Job::class];
29 29
 
30 30
     protected function dependencyCheck(DependencyResultEvent $event)
31 31
     {
Please login to merge, or discard this patch.
module/Jobs/src/Form/JobboardSearch.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
                 'attributes' => [
67 67
                     'value'            => '10', // default distance
68 68
                     'data-default-index' => '1',
69
-                    'data-searchbox'   => -1,  // hide the search box
69
+                    'data-searchbox'   => -1, // hide the search box
70 70
                     'data-allowclear'  => 'false', // allow to clear a selected value
71 71
                     'data-placeholder' => /*@translate*/ 'Distance',
72 72
                     'data-width'       => '100%',
Please login to merge, or discard this patch.
module/Auth/test/AuthTest/Controller/PasswordControllerFunctionalTest.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -23,9 +23,9 @@  discard block
 block discarded – undo
23 23
 
24 24
     protected function setUp(): void
25 25
     {
26
-        $logDir = __DIR__ . '/../../../../../log/';
27
-        $errorLogFile = $logDir . 'error.log';
28
-        $yawikLogFile = $logDir . 'yawik.log';
26
+        $logDir = __DIR__.'/../../../../../log/';
27
+        $errorLogFile = $logDir.'error.log';
28
+        $yawikLogFile = $logDir.'yawik.log';
29 29
 
30 30
         if ((file_exists($errorLogFile) && !is_writable($errorLogFile))
31 31
             || (file_exists($yawikLogFile) && !is_writable($yawikLogFile))
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
             ->getMock();
42 42
         $this->repositoriesMock->expects($this->any())->method('get')
43 43
             ->will($this->returnValueMap([
44
-                [ 'Organizations/OrganizationImage', $orgImageRepo ]
44
+                ['Organizations/OrganizationImage', $orgImageRepo]
45 45
             ]));
46 46
         
47 47
         $manager = $this->getMockBuilder(Manager::class)
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
     public function assertResponseStatusCode($code)
104 104
     {
105 105
         if ($this->useConsoleRequest) {
106
-            if (! in_array($code, [0, 1])) {
106
+            if (!in_array($code, [0, 1])) {
107 107
                 throw new \PHPUnit_Framework_ExpectationFailedException($this->createFailureMessage(
108 108
                     'Console status code assert value must be O (valid) or 1 (error)'
109 109
                 ));
Please login to merge, or discard this patch.