Completed
Push — master ( 7cfe93...bf03fd )
by Mewes
03:36
created
Twig/Node/XlsHeaderNode.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -33,15 +33,15 @@
 block discarded – undo
33 33
         $compiler->addDebugInfo($this)
34 34
             ->write('$headerType = ')
35 35
             ->subcompile($this->getNode('type'))
36
-            ->raw(';' . PHP_EOL)
37
-            ->write('$headerType = $headerType ? $headerType : \'header\';' . PHP_EOL)
36
+            ->raw(';'.PHP_EOL)
37
+            ->write('$headerType = $headerType ? $headerType : \'header\';'.PHP_EOL)
38 38
             ->write('$headerProperties = ')
39 39
             ->subcompile($this->getNode('properties'))
40
-            ->raw(';' . PHP_EOL)
41
-            ->write('$phpExcel->startHeaderFooter($headerType, $headerProperties);' . PHP_EOL)
42
-            ->write('unset($headerType, $headerProperties);' . PHP_EOL)
40
+            ->raw(';'.PHP_EOL)
41
+            ->write('$phpExcel->startHeaderFooter($headerType, $headerProperties);'.PHP_EOL)
42
+            ->write('unset($headerType, $headerProperties);'.PHP_EOL)
43 43
             ->subcompile($this->getNode('body'))
44 44
             ->addDebugInfo($this)
45
-            ->write('$phpExcel->endHeaderFooter();' . PHP_EOL);
45
+            ->write('$phpExcel->endHeaderFooter();'.PHP_EOL);
46 46
     }
47 47
 }
Please login to merge, or discard this patch.
Twig/Node/XlsLeftNode.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -28,11 +28,11 @@
 block discarded – undo
28 28
     public function compile(Twig_Compiler $compiler)
29 29
     {
30 30
         $compiler->addDebugInfo($this)
31
-            ->write('$phpExcel->startAlignment(\'left\');' . PHP_EOL)
31
+            ->write('$phpExcel->startAlignment(\'left\');'.PHP_EOL)
32 32
             ->write("ob_start();\n")
33 33
             ->subcompile($this->getNode('body'))
34
-            ->write('$leftValue = trim(ob_get_clean());' . PHP_EOL)
35
-            ->write('$phpExcel->endAlignment($leftValue);' . PHP_EOL)
36
-            ->write('unset($leftValue);' . PHP_EOL);
34
+            ->write('$leftValue = trim(ob_get_clean());'.PHP_EOL)
35
+            ->write('$phpExcel->endAlignment($leftValue);'.PHP_EOL)
36
+            ->write('unset($leftValue);'.PHP_EOL);
37 37
     }
38 38
 }
Please login to merge, or discard this patch.
Twig/Node/XlsRightNode.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -28,11 +28,11 @@
 block discarded – undo
28 28
     public function compile(Twig_Compiler $compiler)
29 29
     {
30 30
         $compiler->addDebugInfo($this)
31
-            ->write('$phpExcel->startAlignment(\'right\');' . PHP_EOL)
31
+            ->write('$phpExcel->startAlignment(\'right\');'.PHP_EOL)
32 32
             ->write("ob_start();\n")
33 33
             ->subcompile($this->getNode('body'))
34
-            ->write('$rightValue = trim(ob_get_clean());' . PHP_EOL)
35
-            ->write('$phpExcel->endAlignment($rightValue);' . PHP_EOL)
36
-            ->write('unset($rightValue);' . PHP_EOL);
34
+            ->write('$rightValue = trim(ob_get_clean());'.PHP_EOL)
35
+            ->write('$phpExcel->endAlignment($rightValue);'.PHP_EOL)
36
+            ->write('unset($rightValue);'.PHP_EOL);
37 37
     }
38 38
 }
Please login to merge, or discard this patch.
Twig/Node/XlsRowNode.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -32,11 +32,11 @@
 block discarded – undo
32 32
         $compiler->addDebugInfo($this)
33 33
             ->write('$rowIndex = ')
34 34
             ->subcompile($this->getNode('index'))
35
-            ->raw(';' . PHP_EOL)
36
-            ->write('$phpExcel->startRow($rowIndex);' . PHP_EOL)
37
-            ->write('unset($rowIndex);' . PHP_EOL)
35
+            ->raw(';'.PHP_EOL)
36
+            ->write('$phpExcel->startRow($rowIndex);'.PHP_EOL)
37
+            ->write('unset($rowIndex);'.PHP_EOL)
38 38
             ->subcompile($this->getNode('body'))
39 39
             ->addDebugInfo($this)
40
-            ->write('$phpExcel->endRow();' . PHP_EOL);
40
+            ->write('$phpExcel->endRow();'.PHP_EOL);
41 41
     }
42 42
 }
Please login to merge, or discard this patch.
Twig/Node/XlsSheetNode.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -33,17 +33,17 @@
 block discarded – undo
33 33
         $compiler->addDebugInfo($this)
34 34
             ->write('$sheetIndex = ')
35 35
             ->subcompile($this->getNode('index'))
36
-            ->raw(';' . PHP_EOL)
36
+            ->raw(';'.PHP_EOL)
37 37
             ->write('$sheetProperties = ')
38 38
             ->subcompile($this->getNode('properties'))
39
-            ->raw(';' . PHP_EOL)
40
-            ->write('$phpExcel->startSheet($sheetIndex, $sheetProperties);' . PHP_EOL)
41
-            ->write('unset($sheetIndex, $sheetProperties);' . PHP_EOL);
39
+            ->raw(';'.PHP_EOL)
40
+            ->write('$phpExcel->startSheet($sheetIndex, $sheetProperties);'.PHP_EOL)
41
+            ->write('unset($sheetIndex, $sheetProperties);'.PHP_EOL);
42 42
 
43 43
         if ($this->hasNode('body')) {
44 44
             $compiler->subcompile($this->getNode('body'));
45 45
         }
46 46
 
47
-        $compiler->addDebugInfo($this)->write('$phpExcel->endSheet();' . PHP_EOL);
47
+        $compiler->addDebugInfo($this)->write('$phpExcel->endSheet();'.PHP_EOL);
48 48
     }
49 49
 }
Please login to merge, or discard this patch.
Twig/TokenParser/AbstractTokenParser.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,8 +35,8 @@
 block discarded – undo
35 35
     protected function parseBody()
36 36
     {
37 37
         $tokenParser = $this; // PHP 5.3 fix
38
-        $body = $this->parser->subparse(function (Twig_Token $token) use ($tokenParser) {
39
-            return $token->test('end' . $tokenParser->getTag());
38
+        $body = $this->parser->subparse(function(Twig_Token $token) use ($tokenParser) {
39
+            return $token->test('end'.$tokenParser->getTag());
40 40
         },
41 41
             true);
42 42
         $this->parser->getStream()->expect(Twig_Token::BLOCK_END_TYPE);
Please login to merge, or discard this patch.
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,8 @@
 block discarded – undo
35 35
     protected function parseBody()
36 36
     {
37 37
         $tokenParser = $this; // PHP 5.3 fix
38
-        $body = $this->parser->subparse(function (Twig_Token $token) use ($tokenParser) {
38
+        $body = $this->parser->subparse(function (Twig_Token $token) use ($tokenParser)
39
+        {
39 40
             return $token->test('end' . $tokenParser->getTag());
40 41
         },
41 42
             true);
Please login to merge, or discard this patch.
Twig/TokenParser/XlsDocumentTokenParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
     /**
69 69
      * @param Twig_Node $node
70 70
      */
71
-    private function removeTextNodesRecursively(Twig_Node &$node)
71
+    private function removeTextNodesRecursively(Twig_Node&$node)
72 72
     {
73 73
         foreach ($node->getIterator() as $key => $subNode) {
74 74
             if ($subNode instanceof Twig_Node_Text) {
Please login to merge, or discard this patch.
Wrapper/XlsCellWrapper.php 2 patches
Spacing   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -51,55 +51,55 @@
 block discarded – undo
51 51
     {
52 52
         $wrapper = $this; // PHP 5.3 fix
53 53
 
54
-        $this->mappings['break'] = function ($value) use ($wrapper) {
54
+        $this->mappings['break'] = function($value) use ($wrapper) {
55 55
             $wrapper->sheetWrapper->getObject()->setBreak($wrapper->object->getCoordinate(), $value);
56 56
         };
57
-        $this->mappings['dataType'] = function ($value) use ($wrapper) {
57
+        $this->mappings['dataType'] = function($value) use ($wrapper) {
58 58
             $wrapper->object->setDataType($value);
59 59
         };
60
-        $this->mappings['dataValidation']['allowBlank'] = function ($value) use ($wrapper) {
60
+        $this->mappings['dataValidation']['allowBlank'] = function($value) use ($wrapper) {
61 61
             $wrapper->object->getDataValidation()->setAllowBlank($value);
62 62
         };
63
-        $this->mappings['dataValidation']['error'] = function ($value) use ($wrapper) {
63
+        $this->mappings['dataValidation']['error'] = function($value) use ($wrapper) {
64 64
             $wrapper->object->getDataValidation()->setError($value);
65 65
         };
66
-        $this->mappings['dataValidation']['errorStyle'] = function ($value) use ($wrapper) {
66
+        $this->mappings['dataValidation']['errorStyle'] = function($value) use ($wrapper) {
67 67
             $wrapper->object->getDataValidation()->setErrorStyle($value);
68 68
         };
69
-        $this->mappings['dataValidation']['errorTitle'] = function ($value) use ($wrapper) {
69
+        $this->mappings['dataValidation']['errorTitle'] = function($value) use ($wrapper) {
70 70
             $wrapper->object->getDataValidation()->setErrorTitle($value);
71 71
         };
72
-        $this->mappings['dataValidation']['formula1'] = function ($value) use ($wrapper) {
72
+        $this->mappings['dataValidation']['formula1'] = function($value) use ($wrapper) {
73 73
             $wrapper->object->getDataValidation()->setFormula1($value);
74 74
         };
75
-        $this->mappings['dataValidation']['formula2'] = function ($value) use ($wrapper) {
75
+        $this->mappings['dataValidation']['formula2'] = function($value) use ($wrapper) {
76 76
             $wrapper->object->getDataValidation()->setFormula2($value);
77 77
         };
78
-        $this->mappings['dataValidation']['operator'] = function ($value) use ($wrapper) {
78
+        $this->mappings['dataValidation']['operator'] = function($value) use ($wrapper) {
79 79
             $wrapper->object->getDataValidation()->setOperator($value);
80 80
         };
81
-        $this->mappings['dataValidation']['prompt'] = function ($value) use ($wrapper) {
81
+        $this->mappings['dataValidation']['prompt'] = function($value) use ($wrapper) {
82 82
             $wrapper->object->getDataValidation()->setPrompt($value);
83 83
         };
84
-        $this->mappings['dataValidation']['promptTitle'] = function ($value) use ($wrapper) {
84
+        $this->mappings['dataValidation']['promptTitle'] = function($value) use ($wrapper) {
85 85
             $wrapper->object->getDataValidation()->setPromptTitle($value);
86 86
         };
87
-        $this->mappings['dataValidation']['showDropDown'] = function ($value) use ($wrapper) {
87
+        $this->mappings['dataValidation']['showDropDown'] = function($value) use ($wrapper) {
88 88
             $wrapper->object->getDataValidation()->setShowDropDown($value);
89 89
         };
90
-        $this->mappings['dataValidation']['showErrorMessage'] = function ($value) use ($wrapper) {
90
+        $this->mappings['dataValidation']['showErrorMessage'] = function($value) use ($wrapper) {
91 91
             $wrapper->object->getDataValidation()->setShowErrorMessage($value);
92 92
         };
93
-        $this->mappings['dataValidation']['showInputMessage'] = function ($value) use ($wrapper) {
93
+        $this->mappings['dataValidation']['showInputMessage'] = function($value) use ($wrapper) {
94 94
             $wrapper->object->getDataValidation()->setShowInputMessage($value);
95 95
         };
96
-        $this->mappings['dataValidation']['type'] = function ($value) use ($wrapper) {
96
+        $this->mappings['dataValidation']['type'] = function($value) use ($wrapper) {
97 97
             $wrapper->object->getDataValidation()->setType($value);
98 98
         };
99
-        $this->mappings['style'] = function ($value) use ($wrapper) {
99
+        $this->mappings['style'] = function($value) use ($wrapper) {
100 100
             $wrapper->sheetWrapper->getObject()->getStyle($wrapper->object->getCoordinate())->applyFromArray($value);
101 101
         };
102
-        $this->mappings['url'] = function ($value) use ($wrapper) {
102
+        $this->mappings['url'] = function($value) use ($wrapper) {
103 103
             $wrapper->object->getHyperlink()->setUrl($value);
104 104
         };
105 105
     }
Please login to merge, or discard this patch.
Braces   +34 added lines, -17 removed lines patch added patch discarded remove patch
@@ -51,55 +51,72 @@
 block discarded – undo
51 51
     {
52 52
         $wrapper = $this; // PHP 5.3 fix
53 53
 
54
-        $this->mappings['break'] = function ($value) use ($wrapper) {
54
+        $this->mappings['break'] = function ($value) use ($wrapper)
55
+        {
55 56
             $wrapper->sheetWrapper->getObject()->setBreak($wrapper->object->getCoordinate(), $value);
56 57
         };
57
-        $this->mappings['dataType'] = function ($value) use ($wrapper) {
58
+        $this->mappings['dataType'] = function ($value) use ($wrapper)
59
+        {
58 60
             $wrapper->object->setDataType($value);
59 61
         };
60
-        $this->mappings['dataValidation']['allowBlank'] = function ($value) use ($wrapper) {
62
+        $this->mappings['dataValidation']['allowBlank'] = function ($value) use ($wrapper)
63
+        {
61 64
             $wrapper->object->getDataValidation()->setAllowBlank($value);
62 65
         };
63
-        $this->mappings['dataValidation']['error'] = function ($value) use ($wrapper) {
66
+        $this->mappings['dataValidation']['error'] = function ($value) use ($wrapper)
67
+        {
64 68
             $wrapper->object->getDataValidation()->setError($value);
65 69
         };
66
-        $this->mappings['dataValidation']['errorStyle'] = function ($value) use ($wrapper) {
70
+        $this->mappings['dataValidation']['errorStyle'] = function ($value) use ($wrapper)
71
+        {
67 72
             $wrapper->object->getDataValidation()->setErrorStyle($value);
68 73
         };
69
-        $this->mappings['dataValidation']['errorTitle'] = function ($value) use ($wrapper) {
74
+        $this->mappings['dataValidation']['errorTitle'] = function ($value) use ($wrapper)
75
+        {
70 76
             $wrapper->object->getDataValidation()->setErrorTitle($value);
71 77
         };
72
-        $this->mappings['dataValidation']['formula1'] = function ($value) use ($wrapper) {
78
+        $this->mappings['dataValidation']['formula1'] = function ($value) use ($wrapper)
79
+        {
73 80
             $wrapper->object->getDataValidation()->setFormula1($value);
74 81
         };
75
-        $this->mappings['dataValidation']['formula2'] = function ($value) use ($wrapper) {
82
+        $this->mappings['dataValidation']['formula2'] = function ($value) use ($wrapper)
83
+        {
76 84
             $wrapper->object->getDataValidation()->setFormula2($value);
77 85
         };
78
-        $this->mappings['dataValidation']['operator'] = function ($value) use ($wrapper) {
86
+        $this->mappings['dataValidation']['operator'] = function ($value) use ($wrapper)
87
+        {
79 88
             $wrapper->object->getDataValidation()->setOperator($value);
80 89
         };
81
-        $this->mappings['dataValidation']['prompt'] = function ($value) use ($wrapper) {
90
+        $this->mappings['dataValidation']['prompt'] = function ($value) use ($wrapper)
91
+        {
82 92
             $wrapper->object->getDataValidation()->setPrompt($value);
83 93
         };
84
-        $this->mappings['dataValidation']['promptTitle'] = function ($value) use ($wrapper) {
94
+        $this->mappings['dataValidation']['promptTitle'] = function ($value) use ($wrapper)
95
+        {
85 96
             $wrapper->object->getDataValidation()->setPromptTitle($value);
86 97
         };
87
-        $this->mappings['dataValidation']['showDropDown'] = function ($value) use ($wrapper) {
98
+        $this->mappings['dataValidation']['showDropDown'] = function ($value) use ($wrapper)
99
+        {
88 100
             $wrapper->object->getDataValidation()->setShowDropDown($value);
89 101
         };
90
-        $this->mappings['dataValidation']['showErrorMessage'] = function ($value) use ($wrapper) {
102
+        $this->mappings['dataValidation']['showErrorMessage'] = function ($value) use ($wrapper)
103
+        {
91 104
             $wrapper->object->getDataValidation()->setShowErrorMessage($value);
92 105
         };
93
-        $this->mappings['dataValidation']['showInputMessage'] = function ($value) use ($wrapper) {
106
+        $this->mappings['dataValidation']['showInputMessage'] = function ($value) use ($wrapper)
107
+        {
94 108
             $wrapper->object->getDataValidation()->setShowInputMessage($value);
95 109
         };
96
-        $this->mappings['dataValidation']['type'] = function ($value) use ($wrapper) {
110
+        $this->mappings['dataValidation']['type'] = function ($value) use ($wrapper)
111
+        {
97 112
             $wrapper->object->getDataValidation()->setType($value);
98 113
         };
99
-        $this->mappings['style'] = function ($value) use ($wrapper) {
114
+        $this->mappings['style'] = function ($value) use ($wrapper)
115
+        {
100 116
             $wrapper->sheetWrapper->getObject()->getStyle($wrapper->object->getCoordinate())->applyFromArray($value);
101 117
         };
102
-        $this->mappings['url'] = function ($value) use ($wrapper) {
118
+        $this->mappings['url'] = function ($value) use ($wrapper)
119
+        {
103 120
             $wrapper->object->getHyperlink()->setUrl($value);
104 121
         };
105 122
     }
Please login to merge, or discard this patch.
Wrapper/XlsDocumentWrapper.php 3 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@
 block discarded – undo
136 136
             $format = $this->attributes['format'];
137 137
         }
138 138
 
139
-         // try symfony request
139
+            // try symfony request
140 140
         else {
141 141
             try {
142 142
                 $format = $this->context['app']->getRequest()->getRequestFormat();
Please login to merge, or discard this patch.
Spacing   +19 added lines, -19 removed lines patch added patch discarded remove patch
@@ -48,58 +48,58 @@  discard block
 block discarded – undo
48 48
     {
49 49
         $wrapper = $this; // PHP 5.3 fix
50 50
 
51
-        $this->mappings['category'] = function ($value) use ($wrapper) {
51
+        $this->mappings['category'] = function($value) use ($wrapper) {
52 52
             $wrapper->object->getProperties()->setCategory($value);
53 53
         };
54
-        $this->mappings['company'] = function ($value) use ($wrapper) {
54
+        $this->mappings['company'] = function($value) use ($wrapper) {
55 55
             $wrapper->object->getProperties()->setCompany($value);
56 56
         };
57
-        $this->mappings['created'] = function ($value) use ($wrapper) {
57
+        $this->mappings['created'] = function($value) use ($wrapper) {
58 58
             $wrapper->object->getProperties()->setCreated($value);
59 59
         };
60
-        $this->mappings['creator'] = function ($value) use ($wrapper) {
60
+        $this->mappings['creator'] = function($value) use ($wrapper) {
61 61
             $wrapper->object->getProperties()->setCreator($value);
62 62
         };
63
-        $this->mappings['defaultStyle'] = function ($value) use ($wrapper) {
63
+        $this->mappings['defaultStyle'] = function($value) use ($wrapper) {
64 64
             $wrapper->object->getDefaultStyle()->applyFromArray($value);
65 65
         };
66
-        $this->mappings['description'] = function ($value) use ($wrapper) {
66
+        $this->mappings['description'] = function($value) use ($wrapper) {
67 67
             $wrapper->object->getProperties()->setDescription($value);
68 68
         };
69
-        $this->mappings['format'] = function ($value) use ($wrapper) {
69
+        $this->mappings['format'] = function($value) use ($wrapper) {
70 70
             $wrapper->attributes['format'] = $value;
71 71
         };
72
-        $this->mappings['keywords'] = function ($value) use ($wrapper) {
72
+        $this->mappings['keywords'] = function($value) use ($wrapper) {
73 73
             $wrapper->object->getProperties()->setKeywords($value);
74 74
         };
75
-        $this->mappings['lastModifiedBy'] = function ($value) use ($wrapper) {
75
+        $this->mappings['lastModifiedBy'] = function($value) use ($wrapper) {
76 76
             $wrapper->object->getProperties()->setLastModifiedBy($value);
77 77
         };
78
-        $this->mappings['manager'] = function ($value) use ($wrapper) {
78
+        $this->mappings['manager'] = function($value) use ($wrapper) {
79 79
             $wrapper->object->getProperties()->setManager($value);
80 80
         };
81
-        $this->mappings['modified'] = function ($value) use ($wrapper) {
81
+        $this->mappings['modified'] = function($value) use ($wrapper) {
82 82
             $wrapper->object->getProperties()->setModified($value);
83 83
         };
84
-        $this->mappings['security']['lockRevision'] = function ($value) use ($wrapper) {
84
+        $this->mappings['security']['lockRevision'] = function($value) use ($wrapper) {
85 85
             $wrapper->object->getSecurity()->setLockRevision($value);
86 86
         };
87
-        $this->mappings['security']['lockStructure'] = function ($value) use ($wrapper) {
87
+        $this->mappings['security']['lockStructure'] = function($value) use ($wrapper) {
88 88
             $wrapper->object->getSecurity()->setLockStructure($value);
89 89
         };
90
-        $this->mappings['security']['lockWindows'] = function ($value) use ($wrapper) {
90
+        $this->mappings['security']['lockWindows'] = function($value) use ($wrapper) {
91 91
             $wrapper->object->getSecurity()->setLockWindows($value);
92 92
         };
93
-        $this->mappings['security']['revisionsPassword'] = function ($value) use ($wrapper) {
93
+        $this->mappings['security']['revisionsPassword'] = function($value) use ($wrapper) {
94 94
             $wrapper->object->getSecurity()->setRevisionsPassword($value);
95 95
         };
96
-        $this->mappings['security']['workbookPassword'] = function ($value) use ($wrapper) {
96
+        $this->mappings['security']['workbookPassword'] = function($value) use ($wrapper) {
97 97
             $wrapper->object->getSecurity()->setWorkbookPassword($value);
98 98
         };
99
-        $this->mappings['subject'] = function ($value) use ($wrapper) {
99
+        $this->mappings['subject'] = function($value) use ($wrapper) {
100 100
             $wrapper->object->getProperties()->setSubject($value);
101 101
         };
102
-        $this->mappings['title'] = function ($value) use ($wrapper) {
102
+        $this->mappings['title'] = function($value) use ($wrapper) {
103 103
             $wrapper->object->getProperties()->setTitle($value);
104 104
         };
105 105
     }
@@ -140,7 +140,7 @@  discard block
 block discarded – undo
140 140
         else {
141 141
             try {
142 142
                 $format = $this->context['app']->getRequest()->getRequestFormat();
143
-            } catch(\Exception $e) {
143
+            } catch (\Exception $e) {
144 144
                 $format = null;
145 145
             }
146 146
         }
Please login to merge, or discard this patch.
Braces   +36 added lines, -18 removed lines patch added patch discarded remove patch
@@ -48,58 +48,76 @@
 block discarded – undo
48 48
     {
49 49
         $wrapper = $this; // PHP 5.3 fix
50 50
 
51
-        $this->mappings['category'] = function ($value) use ($wrapper) {
51
+        $this->mappings['category'] = function ($value) use ($wrapper)
52
+        {
52 53
             $wrapper->object->getProperties()->setCategory($value);
53 54
         };
54
-        $this->mappings['company'] = function ($value) use ($wrapper) {
55
+        $this->mappings['company'] = function ($value) use ($wrapper)
56
+        {
55 57
             $wrapper->object->getProperties()->setCompany($value);
56 58
         };
57
-        $this->mappings['created'] = function ($value) use ($wrapper) {
59
+        $this->mappings['created'] = function ($value) use ($wrapper)
60
+        {
58 61
             $wrapper->object->getProperties()->setCreated($value);
59 62
         };
60
-        $this->mappings['creator'] = function ($value) use ($wrapper) {
63
+        $this->mappings['creator'] = function ($value) use ($wrapper)
64
+        {
61 65
             $wrapper->object->getProperties()->setCreator($value);
62 66
         };
63
-        $this->mappings['defaultStyle'] = function ($value) use ($wrapper) {
67
+        $this->mappings['defaultStyle'] = function ($value) use ($wrapper)
68
+        {
64 69
             $wrapper->object->getDefaultStyle()->applyFromArray($value);
65 70
         };
66
-        $this->mappings['description'] = function ($value) use ($wrapper) {
71
+        $this->mappings['description'] = function ($value) use ($wrapper)
72
+        {
67 73
             $wrapper->object->getProperties()->setDescription($value);
68 74
         };
69
-        $this->mappings['format'] = function ($value) use ($wrapper) {
75
+        $this->mappings['format'] = function ($value) use ($wrapper)
76
+        {
70 77
             $wrapper->attributes['format'] = $value;
71 78
         };
72
-        $this->mappings['keywords'] = function ($value) use ($wrapper) {
79
+        $this->mappings['keywords'] = function ($value) use ($wrapper)
80
+        {
73 81
             $wrapper->object->getProperties()->setKeywords($value);
74 82
         };
75
-        $this->mappings['lastModifiedBy'] = function ($value) use ($wrapper) {
83
+        $this->mappings['lastModifiedBy'] = function ($value) use ($wrapper)
84
+        {
76 85
             $wrapper->object->getProperties()->setLastModifiedBy($value);
77 86
         };
78
-        $this->mappings['manager'] = function ($value) use ($wrapper) {
87
+        $this->mappings['manager'] = function ($value) use ($wrapper)
88
+        {
79 89
             $wrapper->object->getProperties()->setManager($value);
80 90
         };
81
-        $this->mappings['modified'] = function ($value) use ($wrapper) {
91
+        $this->mappings['modified'] = function ($value) use ($wrapper)
92
+        {
82 93
             $wrapper->object->getProperties()->setModified($value);
83 94
         };
84
-        $this->mappings['security']['lockRevision'] = function ($value) use ($wrapper) {
95
+        $this->mappings['security']['lockRevision'] = function ($value) use ($wrapper)
96
+        {
85 97
             $wrapper->object->getSecurity()->setLockRevision($value);
86 98
         };
87
-        $this->mappings['security']['lockStructure'] = function ($value) use ($wrapper) {
99
+        $this->mappings['security']['lockStructure'] = function ($value) use ($wrapper)
100
+        {
88 101
             $wrapper->object->getSecurity()->setLockStructure($value);
89 102
         };
90
-        $this->mappings['security']['lockWindows'] = function ($value) use ($wrapper) {
103
+        $this->mappings['security']['lockWindows'] = function ($value) use ($wrapper)
104
+        {
91 105
             $wrapper->object->getSecurity()->setLockWindows($value);
92 106
         };
93
-        $this->mappings['security']['revisionsPassword'] = function ($value) use ($wrapper) {
107
+        $this->mappings['security']['revisionsPassword'] = function ($value) use ($wrapper)
108
+        {
94 109
             $wrapper->object->getSecurity()->setRevisionsPassword($value);
95 110
         };
96
-        $this->mappings['security']['workbookPassword'] = function ($value) use ($wrapper) {
111
+        $this->mappings['security']['workbookPassword'] = function ($value) use ($wrapper)
112
+        {
97 113
             $wrapper->object->getSecurity()->setWorkbookPassword($value);
98 114
         };
99
-        $this->mappings['subject'] = function ($value) use ($wrapper) {
115
+        $this->mappings['subject'] = function ($value) use ($wrapper)
116
+        {
100 117
             $wrapper->object->getProperties()->setSubject($value);
101 118
         };
102
-        $this->mappings['title'] = function ($value) use ($wrapper) {
119
+        $this->mappings['title'] = function ($value) use ($wrapper)
120
+        {
103 121
             $wrapper->object->getProperties()->setTitle($value);
104 122
         };
105 123
     }
Please login to merge, or discard this patch.