Skip to content

Commit

Permalink
phpunit sf6
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard Riki Popeliš committed Jul 19, 2024
1 parent 76d9a11 commit a44ad92
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/phpunit_lowest_mysql57_psql10.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
php-version: ${{ matrix.php }}

- name: Composer update
run: composer update --prefer-lowest --no-progress --no-interaction
run: composer update --prefer-lowest --no-progress --no-interaction && composer require symfony/console:<7.0.0

- name: PHPunit
run: vendor/bin/phpunit --coverage-text
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/phpunit_lowest_mysql8_psql14.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
php-version: ${{ matrix.php }}

- name: Composer update
run: composer update --prefer-lowest --no-progress --no-interaction
run: composer update --prefer-lowest --no-progress --no-interaction && composer require symfony/console:<7.0.0

- name: PHPunit
run: vendor/bin/phpunit --coverage-text
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/phpunit_mysql57_psql10.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
php-version: ${{ matrix.php }}

- name: Composer update
run: composer update --no-progress --no-interaction
run: composer update --no-progress --no-interaction && composer require symfony/console:<7.0.0

- name: PHPunit
run: vendor/bin/phpunit --coverage-text
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/phpunit_mysql8_psql14.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
run: composer update --no-progress --no-interaction

- name: PHPunit
run: vendor/bin/phpunit --coverage-text
run: vendor/bin/phpunit --coverage-text && composer require symfony/console:<7.0.0
env:
PHOENIX_MYSQL_HOST: 127.0.0.1
PHOENIX_MYSQL_PORT: ${{ job.services.mysql.ports[3306] }}
Expand Down
6 changes: 3 additions & 3 deletions tests/Mock/Command/Input.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public function bind(InputDefinition $definition): void
{
}

public function getArgument(string $name): ?string
public function getArgument(string $name)
{
return $this->arguments[$name] ?? null;
}
Expand All @@ -32,7 +32,7 @@ public function getFirstArgument(): ?string
return null;
}

public function getOption(string $name): ?string
public function getOption(string $name)
{
return $this->options[$name] ?? null;
}
Expand All @@ -42,7 +42,7 @@ public function getOptions(): array
return $this->options;
}

public function getParameterOption($values, $default = false, $onlyParams = false): ?string
public function getParameterOption($values, $default = false, $onlyParams = false)
{
return null;
}
Expand Down

0 comments on commit a44ad92

Please sign in to comment.