feat: update readme #247
Annotations
3 warnings
Run Infection:
src/Command/ManifestGenerateCommand.php#L35
Escaped Mutant for Mutator "LogicalOr":
@@ @@
protected function execute(InputInterface $input, OutputInterface $output): int
{
$io = new SymfonyStyle($input, $output);
- if ($this->appUrl === null || $this->appSecret === null || $this->environment === null || $this->projectDir === null) {
+ if ($this->appUrl === null && $this->appSecret === null || $this->environment === null || $this->projectDir === null) {
$io->error('Missing environment variables');
return Command::FAILURE;
}
|
Run Infection:
src/Command/ManifestGenerateCommand.php#L35
Escaped Mutant for Mutator "LogicalOr":
@@ @@
protected function execute(InputInterface $input, OutputInterface $output): int
{
$io = new SymfonyStyle($input, $output);
- if ($this->appUrl === null || $this->appSecret === null || $this->environment === null || $this->projectDir === null) {
+ if (($this->appUrl === null || $this->appSecret === null) && $this->environment === null || $this->projectDir === null) {
$io->error('Missing environment variables');
return Command::FAILURE;
}
|
Run Infection:
src/Command/ManifestGenerateCommand.php#L35
Escaped Mutant for Mutator "LogicalOr":
@@ @@
protected function execute(InputInterface $input, OutputInterface $output): int
{
$io = new SymfonyStyle($input, $output);
- if ($this->appUrl === null || $this->appSecret === null || $this->environment === null || $this->projectDir === null) {
+ if (($this->appUrl === null || $this->appSecret === null || $this->environment === null) && $this->projectDir === null) {
$io->error('Missing environment variables');
return Command::FAILURE;
}
|
Loading