Remove spurious carriage returns and trailing spaces.

This commit is contained in:
Daniele Alessandri
2011-08-20 16:27:59 +02:00
parent 62744fbb02
commit db51f6e0d0
+6 -7
View File
@@ -1,12 +1,12 @@
#!/usr/bin/php
<?php
// This script can be used to automatically glue all the .php files of Predis
// into a single monolithic script file that can be used without an autoloader,
// This script can be used to automatically glue all the .php files of Predis
// into a single monolithic script file that can be used without an autoloader,
// just like the other previous versions of the library.
//
// Much of its complexity is due to the fact that we cannot simply join PHP
// files, but namespaces and classes definitions must follow a precise order
// when dealing with subclassing and inheritance.
// Much of its complexity is due to the fact that we cannot simply join PHP
// files, but namespaces and classes definitions must follow a precise order
// when dealing with subclassing and inheritance.
//
// The current implementation is pretty naïve, but it should do for now.
//
@@ -176,7 +176,6 @@ class PhpNamespace implements IteratorAggregate {
}
$ns = substr($fqn, 0, $nsSepLast);
return $ns !== '' ? $ns : null;
}
public function addClass(PhpClass $class) {
@@ -371,7 +370,7 @@ class PhpClass {
public function guessFQN($classes) {
$useDirectives = $this->getNamespace()->getUseDirectives();
return array_map(array($useDirectives, 'getFQN'), $classes);
return array_map(array($useDirectives, 'getFQN'), $classes);
}
public function getImplementedInterfaces($all = false) {