Skip to content

Commit 5ffe44c

Browse files
committed
Remove debug output
1 parent 04004a4 commit 5ffe44c

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

.travis/merge-dev.php

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,8 @@
99
$sourceFile = $argv[1];
1010
$targetFile = $argv[2];
1111

12-
$targetUnsafeJson = file_get_contents($targetFile);
13-
var_dump(getcwd(), $sourceFile, $targetFile, $targetUnsafeJson);
14-
$targetUnsafeJson = \preg_replace('#"psr-0": {.*?},#s', '', $targetUnsafeJson);
15-
1612
$sourceJson = json_decode(file_get_contents($sourceFile), true);
17-
// Remove unnecessary PSR-0 section, it causes JSON syntax errors due to empty key
18-
$targetJson = json_decode($targetUnsafeJson, true);
19-
20-
var_dump($sourceJson, $targetUnsafeJson, $targetJson, json_last_error_msg());
13+
$targetJson = json_decode(file_get_contents($targetFile), true);
2114

2215
foreach ($sourceJson['autoload-dev']['psr-4'] ?? [] as $key => $value) {
2316
$pathPrefix = dirname($sourceFile) . DIRECTORY_SEPARATOR;

0 commit comments

Comments
 (0)