Skip to content

Commit f57890b

Browse files
committed
Merge branch 'hotfix/missing-name'
2 parents d8e6d18 + 75e624e commit f57890b

File tree

3 files changed

+46
-23
lines changed

3 files changed

+46
-23
lines changed

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,28 @@
22

33
All notable changes to this project will be documented in this file, in reverse chronological order by release.
44

5+
## 0.1.1 - 2018-05-15
6+
7+
### Added
8+
9+
- Nothing.
10+
11+
### Changed
12+
13+
- Nothing.
14+
15+
### Deprecated
16+
17+
- Nothing.
18+
19+
### Removed
20+
21+
- Nothing.
22+
23+
### Fixed
24+
25+
- [#1](https://github.com/xtreamwayz/expressive-console/pull/1) fixes an issue with commands where the name is needed to determin what config is loaded.
26+
527
## 0.1.0 - 2018-04-29
628

729
- Initial release.

composer.lock

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

src/LazyLoadingCommand.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ public function __construct(string $name, string $commandClass, ContainerInterfa
2929
/** @var Command $command */
3030
$command = (new ReflectionClass($commandClass))->newInstanceWithoutConstructor();
3131
$command->setDefinition(new InputDefinition());
32+
$command->setName($name);
3233
$command->configure();
3334

3435
$this->setName($name);

0 commit comments

Comments
 (0)