Skip to content

Commit 4d57ee7

Browse files
authored
Merge pull request #892 from bavix/remove-paratest
[11.x] remove brianium/paratest
2 parents 5acdfca + c46b8c1 commit 4d57ee7

File tree

3 files changed

+5
-9
lines changed

3 files changed

+5
-9
lines changed

.github/workflows/phpunits.yaml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ jobs:
119119

120120
- name: Check codeclimate
121121
id: codeclimate-check
122-
run: echo "execute=${{ matrix.php-versions == '8.2' && matrix.caches == 'array' && matrix.databases == 'testing' }}" >> $GITHUB_OUTPUT
122+
run: echo "execute=${{ matrix.php-versions == '8.3' && matrix.caches == 'array' && matrix.locks == 'redis' && matrix.databases == 'testing' }}" >> $GITHUB_OUTPUT
123123

124124
- name: Prepare codeclimate
125125
id: codeclimate-prepare
@@ -137,11 +137,7 @@ jobs:
137137
- name: Run test suite
138138
id: unit-run
139139
run: |
140-
if [[ $DB_CONNECTION == "mariadb" ]]; then
141-
composer unit
142-
else
143-
composer parabench
144-
fi
140+
composer parabench
145141
env:
146142
WALLET_CACHE_DRIVER: ${{ matrix.caches }}
147143
WALLET_LOCK_DRIVER: ${{ matrix.locks }}

composer.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
"ramsey/uuid": "^4.0"
3333
},
3434
"require-dev": {
35-
"brianium/paratest": "^7.4",
3635
"driftingly/rector-laravel": "^1.0",
3736
"ergebnis/phpstan-rules": "^2.1",
3837
"infection/infection": "~0.27",
@@ -62,8 +61,6 @@
6261
},
6362
"scripts": {
6463
"docs": "@php -S localhost:3000 -t ./docs",
65-
"unit":"@php vendor/bin/phpunit --coverage-xml=build/coverage-xml --log-junit=build/junit.xml",
66-
"paraunit":"@php vendor/bin/paratest --coverage-xml=build/coverage-xml --log-junit=build/junit.xml",
6764
"parabench":"@php ./vendor/bin/testbench package:test --coverage-xml=build/coverage-xml --log-junit=build/junit.xml",
6865
"infect": "@php vendor/bin/infection --coverage=build --min-msi=50 -j$(nproc) --only-covering-test-cases",
6966
"phpstan": ["@phpstan-src", "@phpstan-tests"],

tests/Infra/Models/ItemMultiPrice.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ public function getMetaProduct(): ?array
6262
return null;
6363
}
6464

65+
/**
66+
* @return array<string, string>
67+
*/
6568
protected function casts(): array
6669
{
6770
return [

0 commit comments

Comments
 (0)