PMCORE-876 The files are not shown, when we create a PM_Table from an external DB

This commit is contained in:
Roly Gutierrez
2020-04-03 10:59:24 -04:00
parent 449f7a2315
commit f8aba2ab03
12 changed files with 1605 additions and 5 deletions

View File

@@ -23,7 +23,7 @@
* Stores the file name and line number of a XML file
*
* @author Andreas Aderhold <andi@binarycloud.com>
* @copyright <20> 2001,2002 THYRELL. All rights reserved
* @copyright 2001,2002 THYRELL. All rights reserved
* @version $Revision: 1.6 $ $Date: 2003/12/24 13:02:09 $
* @access public
* @package phing.parser
@@ -43,7 +43,7 @@ class Location {
* @param integer the column number
* @access public
*/
function Location($fileName = null, $lineNumber = null, $columnNumber = null) {
function __construct($fileName = null, $lineNumber = null, $columnNumber = null) {
$this->fileName = $fileName;
$this->lineNumber = $lineNumber;
$this->columnNumber = $columnNumber;

View File

@@ -446,7 +446,7 @@ class Win32FileSystem extends FileSystem {
/* -- Basic infrastructure -- */
/** compares file paths lexicographically */
function compare(PhingFile $f1, PhingFile $f2) {
function compare($f1, $f2) {
$f1Path = $f1->getPath();
$f2Path = $f2->getPath();
return (boolean) strcasecmp((string) $f1Path, (string) $f2Path);