Skip to content
This repository has been archived by the owner on Mar 1, 2023. It is now read-only.

Commit

Permalink
added viserio/foundation
Browse files Browse the repository at this point in the history
  • Loading branch information
prisis committed Aug 31, 2018
1 parent e6b21c8 commit 9e5287b
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 7 deletions.
13 changes: 13 additions & 0 deletions .changelog
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?php
declare(strict_types=1);

use ChangelogGenerator\ChangelogConfig;

return [
(new ChangelogConfig(
'narrowspark',
'skeleton-generators',
'v0.1.1',
['Added', 'Changed', 'Deprecated', 'Removed', 'Fixed', 'Security']
))
];
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@
"ext-mbstring": "*"
},
"require-dev": {
"cakephp/chronos": "^1.2",
"mockery/mockery": "^1.1",
"narrowspark/automatic-common": "^0.3.0",
"narrowspark/coding-standard": "^1.1.2",
"narrowspark/testing-helper": "^7.0",
"cakephp/chronos": "^1.2.0",
"mockery/mockery": "^1.1.0",
"narrowspark/automatic-common": "^0.4.0",
"narrowspark/coding-standard": "^1.2.0",
"narrowspark/testing-helper": "^7.0.0",
"phpunit/phpunit": "^7.2.0"
},
"config": {
Expand Down
4 changes: 3 additions & 1 deletion src/ConsoleGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ public function getSkeletonType(): string
*/
public function getDependencies(): array
{
return [];
return [
'viserio/foundation' => 'dev-master',
];
}

/**
Expand Down
7 changes: 6 additions & 1 deletion tests/ConsoleGeneratorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,12 @@ public function testProjectType(): void

public function testGetDependencies(): void
{
static::assertSame([], $this->generator->getDependencies());
static::assertSame(
[
'viserio/foundation' => 'dev-master',
],
$this->generator->getDependencies()
);
}

public function testGetDevDependencies(): void
Expand Down

0 comments on commit 9e5287b

Please sign in to comment.