Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,5 @@ jobs:
run: composer update -o --no-interaction --no-progress ${{ matrix.COMPOSER_FLAGS }}
- name: "composer-require-checker"
run: vendor/bin/composer-require-checker check composer.json
- name: "PHP CS Fixer"
run: vendor/bin/php-cs-fixer check -v
9 changes: 4 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,12 @@
],
"require": {
"php": "^7.4 || ^8.0",
"symfony/process": "^4.4 || ^5 || ^6 || ^7"
"symfony/process": "^5.4 || ^6.4 || ^7.2"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.1",
"maglnet/composer-require-checker": "^2 || ^3",
"phpunit/phpunit": "^7.5.20 || ^8.5.14 || ^9.5",
"symfony/phpunit-bridge": "^5.3.7 || ^6 || ^7"
"friendsofphp/php-cs-fixer": "^3.75",
"maglnet/composer-require-checker": "^3.8 || ^4",
"phpunit/phpunit": "^9.6.22 || ^10.5.45 || ^11.5.12"
},
"config": {
"optimize-autoloader": true,
Expand Down
4 changes: 0 additions & 4 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@
</testsuite>
</testsuites>

<listeners>
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener"/>
</listeners>

<filter>
<whitelist>
<directory>./src</directory>
Expand Down
2 changes: 1 addition & 1 deletion src/CommandExecutor.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public function getResult(bool $checkCode = true): CliResult
if ($checkCode && 0 !== $this->result->getCode()) {
throw new ExecutionException(
$this->result,
sprintf(
\sprintf(
"Cannot execute `%s`:\nCode: %s\nExit text: %s\nError output: %s\nDetails:\n%s",
$process->getCommandLine(),
$this->result->getCode(),
Expand Down
2 changes: 1 addition & 1 deletion src/ScriptExecutor.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public function getResult(bool $checkCode = true): CliResult
if ($checkCode && 0 !== $this->result->getCode()) {
throw new ExecutionException(
$this->result,
sprintf(
\sprintf(
"Cannot execute `%s`:\n%s\nCode: %s\nExit text: %s\nError output: %s\nDetails:\n%s",
$command,
implode("\n", array_map(static function ($line) { return "$ {$line}"; }, $tmpFileLines)),
Expand Down