File tree Expand file tree Collapse file tree 7 files changed +11
-6
lines changed
Expand file tree Collapse file tree 7 files changed +11
-6
lines changed Original file line number Diff line number Diff line change 33composer.lock
44vendor
55coverage
6+ composer.phar
Original file line number Diff line number Diff line change 11# Parable Console
22
3+ ## 1.0.1
4+
5+ - Make sure that all nullable property values are set to ` null ` explicitly.
6+
37## 1.0.0
48
59Just a re-release locking the interface in place. First final release!
Original file line number Diff line number Diff line change 11dependencies :
2- composer install \
2+ ./ composer.phar install \
33 --no-interaction \
44 --no-plugins \
55 --no-scripts
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ class Application
1212 protected array $ commands = [];
1313 /** @var string[] */
1414 protected array $ commandNames = [];
15- protected ?Command $ activeCommand ;
15+ protected ?Command $ activeCommand = null ;
1616 protected ?string $ defaultCommand = null ;
1717 protected bool $ onlyUseDefaultCommand = false ;
1818
Original file line number Diff line number Diff line change @@ -15,8 +15,8 @@ class Parameter
1515
1616 /** @var string[] */
1717 protected array $ parameters = [];
18- protected ?string $ scriptName ;
19- protected ?string $ commandName ;
18+ protected ?string $ scriptName = null ;
19+ protected ?string $ commandName = null ;
2020 protected array $ options = [];
2121 protected array $ flagOptions = [];
2222 protected array $ arguments = [];
Original file line number Diff line number Diff line change 44
55abstract class AbstractParameter
66{
7- protected ?string $ name ;
7+ protected ?string $ name = null ;
88 protected mixed $ defaultValue ;
99 protected bool $ hasBeenProvided = false ;
1010 protected ?string $ providedValue = null ;
Original file line number Diff line number Diff line change 88class ArgumentParameter extends AbstractParameter
99{
1010 protected int $ required ;
11- protected ?int $ order ;
11+ protected ?int $ order = null ;
1212
1313 public function __construct (
1414 string $ name ,
You can’t perform that action at this time.
0 commit comments