Skip to content

Commit

Permalink
CS fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
boenrobot committed Aug 18, 2012
1 parent da0da26 commit 80ec937
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
20 changes: 10 additions & 10 deletions packagexmlsetup.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,15 +71,15 @@
$compatible->files[
"test/{$package->channel}/{$package->name}/bootstrap.php"
]->getArrayCopy(), $srcDirTask
);
);

$compatible->files[
"doc/{$package->channel}/{$package->name}/phpdoc.dist.xml"
] = array_merge_recursive(
$compatible->files[
"doc/{$package->channel}/{$package->name}/phpdoc.dist.xml"
]->getArrayCopy(), $srcDirTask
);
);

$compatible->files["doc/{$package->channel}/{$package->name}/doxygen.ini"]
= array_merge_recursive(
Expand All @@ -97,7 +97,7 @@
)
)
)
);
);
}

$oldCwd = getcwd();
Expand All @@ -116,12 +116,12 @@
$package->files[$filename]->getArrayCopy(), $srcFileTasks
);

if ($hasCompatible) {
$compatibleFilename = str_replace('src/', 'php/', $filename);
$compatible->files[$compatibleFilename] = array_merge_recursive(
$compatible->files[$compatibleFilename]->getArrayCopy(),
$srcFileTasks
);
}
if ($hasCompatible) {
$compatibleFilename = str_replace('src/', 'php/', $filename);
$compatible->files[$compatibleFilename] = array_merge_recursive(
$compatible->files[$compatibleFilename]->getArrayCopy(),
$srcFileTasks
);
}
}
chdir($oldCwd);
2 changes: 1 addition & 1 deletion stub.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
if (count(get_included_files()) > 1) {
Phar::mapPhar();
require_once 'phar://' . __FILE__ . DIRECTORY_SEPARATOR .
include_once 'phar://' . __FILE__ . DIRECTORY_SEPARATOR .
'@PACKAGE_NAME@-@PACKAGE_VERSION@' . DIRECTORY_SEPARATOR . 'src'
. DIRECTORY_SEPARATOR . 'PEAR2' . DIRECTORY_SEPARATOR . 'Autoload.php';
} else {
Expand Down

0 comments on commit 80ec937

Please sign in to comment.