Changeset 3874:ab8368569446 for debian/mkdcl.php
- Timestamp:
- 09/14/18 12:16:17 (7 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
debian/mkdcl.php
r2566 r3874 16 16 { 17 17 $f = file($this->f); 18 $res = array();18 $res = []; 19 19 $done = false; 20 20 … … 96 96 private function getPackageInfo($l) 97 97 { 98 $res = array(98 $res = [ 99 99 'package' => '', 100 100 'version' => '', … … 102 102 'keywords' => '', 103 103 'changelog' => '', 104 'maintainer' => array()105 );104 'maintainer' => [] 105 ]; 106 106 107 107 $l = explode(';',$l); … … 126 126 private function getMaintainerInfo($l) 127 127 { 128 $res = array(128 $res = [ 129 129 'name' => '', 130 130 'email' => '', 131 131 'date' => '' 132 );132 ]; 133 133 134 134 if (preg_match('/^ -- (.+?) <(.+?)> (.+?)$/',$l,$m)) { … … 171 171 } 172 172 173 $res = array();173 $res = []; 174 174 foreach ($x->logentry as $change) 175 175 { 176 $res[(integer) $change['revision']] = array(176 $res[(integer) $change['revision']] = [ 177 177 'author' => (string) $change->author, 178 178 'date' => (string) $change->date, 179 179 'msg' => trim((string) $change->msg) 180 );180 ]; 181 181 } 182 182
Note: See TracChangeset
for help on using the changeset viewer.