Completed
Pull Request — develop (#235)
by ANTHONIUS
07:49
created
module/Jobs/src/Jobs/Entity/StatusInterface.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
     /**
22 22
      * A new job was created.
23 23
      */
24
-    const CREATED =  /*@translate*/ 'created';
24
+    const CREATED = /*@translate*/ 'created';
25 25
 
26 26
     /**
27 27
      * A new job is waiting for approval
@@ -36,12 +36,12 @@  discard block
 block discarded – undo
36 36
     /**
37 37
      * A Job is accepted an is going to be published
38 38
      */
39
-    const PUBLISH  = /*@translate*/ 'publish';
39
+    const PUBLISH = /*@translate*/ 'publish';
40 40
 
41 41
     /**
42 42
      * A Job is online
43 43
      */
44
-    const ACTIVE  = /*@translate*/ 'active';
44
+    const ACTIVE = /*@translate*/ 'active';
45 45
 
46 46
     /**
47 47
      * A job was is set inactive
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
     /**
52 52
      * A job was expired
53 53
      */
54
-    const EXPIRED  = /*@translate*/ 'expired';
54
+    const EXPIRED = /*@translate*/ 'expired';
55 55
     
56 56
     public function __construct($status = self::CREATED);
57 57
 
Please login to merge, or discard this patch.
module/Core/src/Core/Paginator/PaginatorFactoryAbstract.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
         $repository     = $repositories->get($this->getRepository());
51 51
         $queryBuilder   = $repository->createQueryBuilder();
52 52
         $filter         = $serviceLocator->getServiceLocator()->get('filterManager')->get($this->getFilter());
53
-        $adapter       = new \Core\Paginator\Adapter\DoctrineMongoLateCursor($queryBuilder, $filter, $this->options);
53
+        $adapter = new \Core\Paginator\Adapter\DoctrineMongoLateCursor($queryBuilder, $filter, $this->options);
54 54
         $service        = new Paginator($adapter);
55 55
 
56 56
         $this->setCreationOptions([]);
Please login to merge, or discard this patch.
module/Organizations/src/Organizations/Entity/OrganizationReference.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -195,7 +195,7 @@
 block discarded – undo
195 195
         return $this->proxy('__isset', $property);
196 196
     }
197 197
 
198
-    public function notEmpty($property, array $args=[])
198
+    public function notEmpty($property, array $args = [])
199 199
     {
200 200
         return $this->proxy('notEmpty', $args);
201 201
     }
Please login to merge, or discard this patch.
module/Core/src/Core/Form/View/Helper/FormContainer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -96,9 +96,9 @@
 block discarded – undo
96 96
         } elseif ($element instanceof SummaryForm) {
97 97
             $content .= $this->getView()->summaryForm($element);
98 98
         } elseif ($element instanceof Container) {
99
-            $content.= $this->render($element, $layout, $parameter);
99
+            $content .= $this->render($element, $layout, $parameter);
100 100
         } else {
101
-            $content.= $this->getView()->form($element, $layout, $parameter);
101
+            $content .= $this->getView()->form($element, $layout, $parameter);
102 102
         }
103 103
 
104 104
         return $content;
Please login to merge, or discard this patch.
module/Orders/config/router.config.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
  * @license MIT
7 7
  * @copyright  2013 - 2016 Cross Solution <http://cross-solution.de>
8 8
  */
9
-return [ 'router' => [ 'routes' => [ 'lang' => [ 'child_routes' => [
9
+return ['router' => ['routes' => ['lang' => ['child_routes' => [
10 10
 
11 11
     'orders' => [
12 12
         'type' => 'Segment',
Please login to merge, or discard this patch.
module/Orders/config/acl.config.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
  * @copyright  2013 - 2016 Cross Solution <http://cross-solution.de>
8 8
  */
9 9
 
10
-return [ 'acl' => [
10
+return ['acl' => [
11 11
 
12 12
     'rules' => [
13 13
         'admin' => [
Please login to merge, or discard this patch.
module/Orders/src/Entity/Order.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -236,7 +236,7 @@  discard block
 block discarded – undo
236 236
      */
237 237
     public function setPrice($amount)
238 238
     {
239
-        $tax    = $this->getTaxRate()  / 100;
239
+        $tax = $this->getTaxRate() / 100;
240 240
         $taxAmount = $amount * $tax;
241 241
 
242 242
         $this->prices = [
@@ -248,7 +248,7 @@  discard block
 block discarded – undo
248 248
         return $this;
249 249
     }
250 250
 
251
-    public function getPrice($type="net")
251
+    public function getPrice($type = "net")
252 252
     {
253 253
         if (!$this->prices || !array_key_exists($type, $this->prices)) {
254 254
             return 0;
@@ -264,7 +264,7 @@  discard block
 block discarded – undo
264 264
      *
265 265
      * @return array
266 266
      */
267
-    public function getPrices($calculate=false)
267
+    public function getPrices($calculate = false)
268 268
     {
269 269
         /*if (!$this->prices || $calculate) {
270 270
             $this->calculatePrices();
Please login to merge, or discard this patch.
module/Orders/src/Repository/Orders.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,14 +22,14 @@
 block discarded – undo
22 22
  */
23 23
 class Orders extends AbstractRepository
24 24
 {
25
-    public function createJobOrder(array $data=[])
25
+    public function createJobOrder(array $data = [])
26 26
     {
27 27
         $data['type'] = OrderInterface::TYPE_JOB;
28 28
 
29 29
         return $this->create($data);
30 30
     }
31 31
 
32
-    public function create(array $data=[], $counterName = null, $counterFormat = null)
32
+    public function create(array $data = [], $counterName = null, $counterFormat = null)
33 33
     {
34 34
         if (isset($data['counter'])) {
35 35
             $counterName = $data['counter'];
Please login to merge, or discard this patch.
module/Core/src/Core/Entity/EntityInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,5 +36,5 @@
 block discarded – undo
36 36
      * @return bool
37 37
      * @throws \Core\Entity\Exception\OutOfBoundsException if the property does not exists.
38 38
      */
39
-    public function notEmpty($property, array $args=[]);
39
+    public function notEmpty($property, array $args = []);
40 40
 }
Please login to merge, or discard this patch.