Changeset 13fc574
- Timestamp:
- 01/25/12 08:57:32 (4 months ago)
- Branches:
- master
- Children:
- ca1d246
- Parents:
- 2469001 (diff), 0483922 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - git-author:
- Michiel Rook <mrook@…> (01/25/12 08:57:32)
- git-committer:
- Michiel Rook <mrook@…> (01/25/12 08:57:32)
- Location:
- classes/phing/tasks/ext
- Files:
-
- 4 edited
-
coverage/CoverageReportTask.php (modified) (1 diff)
-
phk/PhkPackageTask.php (modified) (1 diff)
-
coverage/CoverageReportTransformer.php (modified) (1 diff)
-
phpunit/PHPUnitReportTask.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
classes/phing/tasks/ext/coverage/CoverageReportTask.php
r42f77c6 r0483922 239 239 $html = $geshi->parse_code(); 240 240 241 $lines = split("<li>|</li>", $html);241 $lines = preg_split("#</?li>#", $html); 242 242 243 243 // skip first and last line -
classes/phing/tasks/ext/phk/PhkPackageTask.php
rf05a911 r0483922 225 225 */ 226 226 $output = trim(ob_get_clean()); 227 $output = split("\n", $output);227 $output = explode("\n", $output); 228 228 foreach ($output as $line) { 229 229 /* -
classes/phing/tasks/ext/coverage/CoverageReportTransformer.php
r9afe919 r2eb9b25 108 108 109 109 $proc = new XSLTProcessor(); 110 if ( version_compare(PHP_VERSION,'5.4',"<"))110 if (defined('XSL_SECPREF_WRITE_FILE')) 111 111 { 112 ini_set("xsl.security_prefs", XSL_SECPREF_WRITE_FILE | XSL_SECPREF_CREATE_DIRECTORY); 113 } 114 else 115 { 116 $proc->setSecurityPrefs(XSL_SECPREF_WRITE_FILE | XSL_SECPREF_CREATE_DIRECTORY); 112 if (version_compare(PHP_VERSION,'5.4',"<")) 113 { 114 ini_set("xsl.security_prefs", XSL_SECPREF_WRITE_FILE | XSL_SECPREF_CREATE_DIRECTORY); 115 } 116 else 117 { 118 $proc->setSecurityPrefs(XSL_SECPREF_WRITE_FILE | XSL_SECPREF_CREATE_DIRECTORY); 119 } 117 120 } 118 121 -
classes/phing/tasks/ext/phpunit/PHPUnitReportTask.php
r9afe919 r2eb9b25 150 150 151 151 $proc = new XSLTProcessor(); 152 if (version_compare(PHP_VERSION,'5.4',"<")) 153 { 154 ini_set("xsl.security_prefs", XSL_SECPREF_WRITE_FILE | XSL_SECPREF_CREATE_DIRECTORY); 155 } 156 else 157 { 158 $proc->setSecurityPrefs(XSL_SECPREF_WRITE_FILE | XSL_SECPREF_CREATE_DIRECTORY); 152 if (defined('XSL_SECPREF_WRITE_FILE')) 153 { 154 if (version_compare(PHP_VERSION,'5.4',"<")) 155 { 156 ini_set("xsl.security_prefs", XSL_SECPREF_WRITE_FILE | XSL_SECPREF_CREATE_DIRECTORY); 157 } 158 else 159 { 160 $proc->setSecurityPrefs(XSL_SECPREF_WRITE_FILE | XSL_SECPREF_CREATE_DIRECTORY); 161 } 159 162 } 160 163
Note: See TracChangeset
for help on using the changeset viewer.
