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
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Tests Execution
on:
workflow_dispatch:
pull_request:
types: [opened, reopened]
types: [opened, reopened, synchronize]
paths-ignore:
- '**.md'
- 'docs/**'
Expand All @@ -16,7 +16,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
php: [8.3, 8.2, 8.1, 8.0, 7.4]
php: [8.5, 8.4, 8.3, 8.2, 8.1, 8.0, 7.4]

name: ${{ matrix.os }} - PHP${{ matrix.php }}

Expand All @@ -32,8 +32,8 @@ jobs:
extensions: dom, curl, libxml, mbstring, zip, bcmath, intl
coverage: xdebug

- name: Install composer
run: composer install --no-interaction --prefer-dist
- name: Update composer
run: composer update --prefer-stable --no-interaction --prefer-dist

- name: Execute tests on Linux with cover
if: ${{ matrix.os == 'ubuntu-latest' && matrix.php == '8.3' }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [8.3, 8.2, 8.1, 8.0, 7.4]
php: [8.5, 8.4, 8.3, 8.2, 8.1, 8.0, 7.4]

name: macos-latest - PHP${{ matrix.php }}

Expand All @@ -26,8 +26,8 @@ jobs:
extensions: dom, curl, libxml, mbstring, zip, bcmath, intl
coverage: none

- name: Install composer
run: composer install --no-interaction --prefer-dist
- name: Update composer
run: composer update --prefer-stable --no-interaction --prefer-dist

- name: Execute tests on MacOs
run: sudo vendor/bin/phpunit --exclude MacOsFailures --testdox
4 changes: 2 additions & 2 deletions .github/workflows/test_ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ jobs:
extensions: dom, curl, libxml, mbstring, zip, bcmath, intl
coverage: none

- name: Install composer
run: composer install --no-interaction --prefer-dist
- name: Update composer
run: composer update --prefer-stable --no-interaction --prefer-dist

- name: Execute tests on Linux
run: sudo vendor/bin/phpunit --testdox
4 changes: 2 additions & 2 deletions .github/workflows/test_win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [8.3, 8.2, 8.1, 8.0, 7.4]
php: [8.5, 8.4, 8.3, 8.2, 8.1, 8.0, 7.4]

name: windows-latest - PHP${{ matrix.php }}

Expand All @@ -26,7 +26,7 @@ jobs:
extensions: dom, curl, libxml, mbstring, zip, bcmath, intl
coverage: none

- name: Install composer
- name: Update composer
run: composer install --no-interaction --prefer-dist

- name: Execute tests on Windows
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"php": ">=7.4"
},
"require-dev": {
"phpunit/phpunit": ">=9.6",
"phpunit/phpunit": "9.6.*",
"phpstan/phpstan": ">=1.10",
"vimeo/psalm": ">=5",
"squizlabs/php_codesniffer": "*"
Expand Down
2 changes: 1 addition & 1 deletion src/DiffCodeMultiRunner.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ final class DiffCodeMultiRunner extends MultiRunner
public function __construct(
int $maxNumberParallelProcesses,
?string $baseFolder = null,
OsCommandsWrapper $osCommandsWrapper = null
?OsCommandsWrapper $osCommandsWrapper = null
) {
parent::__construct($maxNumberParallelProcesses, $osCommandsWrapper);

Expand Down