Changeset 7730 for trunk/library
- Timestamp:
- 01/11/13 08:48:41 (11 years ago)
- Location:
- trunk/library
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/library/PEAR/PEAR/Command/Registry.php
r7681 r7730 985 985 $info[$infoindex] .= "$type $name"; 986 986 if (isset($package['uri'])) { 987 $info[$infoindex] .= "\n Download URI: $package[uri]";987 $info[$infoindex] .= "\n Download URI: {$package['uri']}"; 988 988 continue; 989 989 } -
trunk/library/PEAR/PEAR/PackageFile/Generator/v1.php
r7681 r7730 202 202 $ret .= "<!DOCTYPE package SYSTEM \"http://pear.php.net/dtd/package-1.0\">\n"; 203 203 $ret .= "<package version=\"1.0\" packagerversion=\"1.9.4\">\n" . 204 " <name> $pkginfo[package]</name>";204 " <name>{$pkginfo['package']}</name>"; 205 205 if (isset($pkginfo['extends'])) { 206 206 $ret .= "\n<extends>{$pkginfo['extends']}</extends>"; -
trunk/library/PEAR/PEAR/PackageFile/v2.php
r7673 r7730 329 329 $mymaintainers = $this->getMaintainers(); 330 330 $yourmaintainers = $pf1->getMaintainers(); 331 $yourmaintainers_count = count($yourmaintainers); 332 for ($i1 = 0; $i1 < $yourmaintainers_count; ++$i1) { 331 for ($i1 = 0; $i1 < count($yourmaintainers); ++$i1) { 333 332 $reset = false; 334 $mymaintainers_count = count($mymaintainers); 335 for ($i2 = 0; $i2 < $mymaintainers_count; ++$i2) { 333 for ($i2 = 0; $i2 < count($mymaintainers); ++$i2) { 336 334 if ($mymaintainers[$i2]['handle'] == $yourmaintainers[$i1]['handle']) { 337 335 if ($mymaintainers[$i2]['role'] != $yourmaintainers[$i1]['role']) { -
trunk/library/PEAR/PEAR/RunTest.php
r7655 r7730 656 656 $data .= " 657 657 ---- EXPECTED RETURN 658 $section_text[RETURNS] 658 {$section_text['RETURNS']} 659 659 ---- ACTUAL RETURN 660 660 $return_value -
trunk/library/PEAR/scripts/pearcmd.php
r5146 r7730 337 337 } 338 338 $put .= 339 "Usage: $progname [ options] command [command-options] <parameters>\n".339 "Usage: $progname ['options'] command ['command-options'] <parameters>\n". 340 340 "Type \"$progname help options\" to list all options.\n". 341 341 "Type \"$progname help shortcuts\" to list all command shortcuts.\n". … … 385 385 } elseif ($help = PEAR_Command::getHelp($command)) { 386 386 if (is_string($help)) { 387 return "$progname $command [ options] $help\n";387 return "$progname $command ['options'] $help\n"; 388 388 } 389 389 … … 392 392 } 393 393 394 return "$progname $command [ options] $help[0]\n$help[1]";394 return "$progname $command ['options'] $help[0]\n$help[1]"; 395 395 } 396 396 -
trunk/library/csstidy/class.csstidy_optimise.php
r7712 r7730 302 302 $color_tmp = substr($color,4,strlen($color)-5); 303 303 $color_tmp = explode(',',$color_tmp); 304 for ( $i = 0; $i < count($color_tmp); ++$i ) 304 $color_tmp_count = count($color_tmp); 305 for ( $i = 0; $i < $color_tmp_count; ++$i ) 305 306 { 306 307 $color_tmp[$i] = trim ($color_tmp[$i]);
Note: See TracChangeset
for help on using the changeset viewer.