Skip to content
This repository was archived by the owner on Mar 12, 2025. It is now read-only.

Commit 5b3534e

Browse files
committed
fixed saving composer.json
1 parent cded763 commit 5b3534e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

RoboFile.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public function prepare()
1515
$config['require-dev']['codeception/codeception'] = '*';
1616
$config['replace'] = ['codeception/phpunit-wrapper' => '*'];
1717

18-
file_put_contents(__DIR__ . '/composer.json', json_decode($config));
18+
file_put_contents(__DIR__ . '/composer.json', json_encode($config));
1919
}
2020

2121
public function test($params)

0 commit comments

Comments
 (0)