Skip to content

Commit 5af5c73

Browse files
committed
Updated to installer 1.0
1 parent 00b87d1 commit 5af5c73

File tree

4 files changed

+13
-14
lines changed

4 files changed

+13
-14
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
],
1010
"require": {
1111
"php": "^7.0",
12-
"api-clients/installer": "dev-master",
12+
"api-clients/installer": "^1.0",
1313
"composer/composer": "^1.3",
1414
"symfony/yaml": "^3.2"
1515
},

composer.lock

Lines changed: 8 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/ResourcesYml.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public function __construct(Filesystem $filesystem)
2525
}
2626

2727
/**
28-
* @return OperationInterface\
28+
* @return OperationInterface
2929
*/
3030
public static function create(): OperationInterface
3131
{
@@ -34,10 +34,10 @@ public static function create(): OperationInterface
3434

3535
/**
3636
* @param array $replacements
37-
* @param array $environment
37+
* @param array $config
3838
* @param SymfonyStyle $style
3939
*/
40-
public function operate(array $replacements, array $environment, SymfonyStyle $style)
40+
public function operate(array $replacements, array $config, SymfonyStyle $style)
4141
{
4242
$path = str_replace(
4343
'composer.json',

tests/ResourcesYmlTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace ApiClients\Tests\Tools\Installer\Operation\Client;
44

55
use ApiClients\Tools\Installer\Filesystem;
6-
use ApiClients\Tools\Installer\Operation\ResourcesYml;
6+
use ApiClients\Tools\Installer\Operation\Client\ResourcesYml;
77
use ApiClients\Tools\TestUtilities\TestCase;
88
use Composer\Factory;
99
use Symfony\Component\Console\Style\SymfonyStyle;

0 commit comments

Comments
 (0)