Skip to content

Commit 6ff6b5e

Browse files
committed
Reorg of pear package validation script
1 parent fca9cad commit 6ff6b5e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed
File renamed without changes.

scripts/ValidatePEARPackageXML.php renamed to scripts/ValidatePEAR/ValidatePEARPackageXML.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ class ValidatePEARPackageXML
6464
*/
6565
public function __construct()
6666
{
67-
$this->projectRoot = dirname(__DIR__).'/';
67+
$this->projectRoot = dirname(dirname(__DIR__)).'/';
6868
$this->packageXML = simplexml_load_file($this->projectRoot.'package.xml');
6969

7070
$allFiles = (new FileList($this->projectRoot, $this->projectRoot))->getList();

scripts/validate-pear-package.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
* @license https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
1313
*/
1414

15-
require_once __DIR__.'/FileList.php';
16-
require_once __DIR__.'/ValidatePEARPackageXML.php';
15+
require_once __DIR__.'/ValidatePEAR/FileList.php';
16+
require_once __DIR__.'/ValidatePEAR/ValidatePEARPackageXML.php';
1717

1818
$validate = new ValidatePEARPackageXML();
1919
$validate->validate();

0 commit comments

Comments
 (0)