Skip to content

Commit 3dd1fef

Browse files
authored
Merge pull request #75 from netglue/dependabot/composer/webmozart/assert-1.11.0
Bump webmozart/assert from 1.10.0 to 1.11.0
2 parents 689ce8e + 8db55f1 commit 3dd1fef

File tree

8 files changed

+370
-313
lines changed

8 files changed

+370
-313
lines changed

.github/workflows/continuous-integration.yml

+53
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ on:
66
branches:
77
- main
88

9+
env:
10+
default_php: "8.1"
11+
php_extensions: ""
12+
913
jobs:
1014
matrix:
1115
name: Generate job matrix
@@ -31,3 +35,52 @@ jobs:
3135
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
3236
with:
3337
job: ${{ matrix.job }}
38+
39+
composer-require-checker:
40+
name: "Check for missing dependencies"
41+
runs-on: "ubuntu-latest"
42+
43+
steps:
44+
- name: "Checkout"
45+
uses: actions/checkout@v3
46+
47+
- name: "Install PHP"
48+
uses: shivammathur/setup-php@v2
49+
with:
50+
php-version: ${{ env.default_php }}
51+
ini-values: memory_limit=-1
52+
extensions: ${{ env.php_extensions }}
53+
54+
- uses: "ramsey/[email protected]"
55+
with:
56+
dependency-versions: "highest"
57+
58+
- name: "Set global composer bin-dir"
59+
run: composer global config bin-dir /usr/local/bin
60+
61+
- name: "Install require checker"
62+
run: composer global require maglnet/composer-require-checker
63+
64+
- name: "Check"
65+
run: /usr/local/bin/composer-require-checker check
66+
67+
mutation-tests:
68+
name: "Mutation Tests"
69+
runs-on: "ubuntu-latest"
70+
71+
steps:
72+
- name: "Checkout"
73+
uses: "actions/checkout@v3"
74+
75+
- name: "Install PHP"
76+
uses: "shivammathur/setup-php@v2"
77+
with:
78+
coverage: "xdebug"
79+
php-version: ${{ env.default_php }}
80+
81+
- uses: "ramsey/[email protected]"
82+
with:
83+
dependency-versions: "highest"
84+
85+
- name: "Run mutation tests with Xdebug and infection/infection"
86+
run: "vendor/bin/infection --configuration=infection-custom.json"

.github/workflows/dependency-checks.yml

-89
This file was deleted.

.github/workflows/infection.yml

-28
This file was deleted.

composer.json

+6-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,12 @@
3737
"vimeo/psalm": "^4.10"
3838
},
3939
"config": {
40-
"sort-packages": true
40+
"sort-packages": true,
41+
"allow-plugins": {
42+
"dealerdirect/phpcodesniffer-composer-installer": true,
43+
"infection/extension-installer": true,
44+
"ergebnis/composer-normalize": true
45+
}
4146
},
4247
"extra": {
4348
"composer-normalize": {

0 commit comments

Comments
 (0)