Skip to content

Commit f35d1bb

Browse files
committed
#12 : PHP CS/MD/Unit Fixes
1 parent 5aba246 commit f35d1bb

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

src/PhpProject/Writer/GanttProject.php

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -69,24 +69,25 @@ public function save($pFilename = null)
6969
$oXML->writeAttribute('view-date', date('Y-m-d', $arrProjectInfo['date_start']));
7070
}
7171
$oXML->writeAttribute('version', '2.0');
72-
// view
73-
$oXML->startElement('view');
74-
$oXML->writeAttribute('id', 'resource-table');
72+
73+
// view
74+
$oXML->startElement('view');
75+
$oXML->writeAttribute('id', 'resource-table');
7576

76-
// field
77-
$oXML->startElement('field');
78-
$oXML->writeAttribute('id', '0');
79-
$oXML->writeAttribute('name', 'Nom');
80-
$oXML->writeAttribute('width', '56');
81-
$oXML->writeAttribute('valuetype', '0');
82-
$oXML->endElement();
83-
84-
$oXML->startElement('field');
85-
$oXML->writeAttribute('id', '1');
86-
$oXML->writeAttribute('name', 'Rôle par défaut');
87-
$oXML->writeAttribute('width', '43');
88-
$oXML->writeAttribute('valuetype', '1');
89-
$oXML->endElement();
77+
// field
78+
$oXML->startElement('field');
79+
$oXML->writeAttribute('id', '0');
80+
$oXML->writeAttribute('name', 'Nom');
81+
$oXML->writeAttribute('width', '56');
82+
$oXML->writeAttribute('valuetype', '0');
83+
$oXML->endElement();
84+
85+
$oXML->startElement('field');
86+
$oXML->writeAttribute('id', '1');
87+
$oXML->writeAttribute('name', 'Rôle par défaut');
88+
$oXML->writeAttribute('width', '43');
89+
$oXML->writeAttribute('valuetype', '1');
90+
$oXML->endElement();
9091

9192
// >view
9293
$oXML->endElement();
@@ -192,7 +193,6 @@ public function save($pFilename = null)
192193
$this->_writeResource($oXML, $oResource);
193194
}
194195

195-
196196
// >resources
197197
$oXML->endElement();
198198

0 commit comments

Comments
 (0)