Skip to content

Commit c63d605

Browse files
authored
Bump symfony/http-foundation (#833)
* Bump symfony/http-foundation * Validate the package audit * Ignore plugins * Allow plugin * Testing CI
1 parent 8e789d5 commit c63d605

File tree

27 files changed

+86
-1
lines changed

27 files changed

+86
-1
lines changed

.github/workflows/tests.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,16 @@ jobs:
3434

3535
- name: Validate all packages
3636
run: |
37+
original_dir=$(pwd)
38+
3739
for package in $(echo '${{ steps.output_data.outputs.matrix }}' | jq -r '.[]'); do
3840
echo "Validating package: $package"
39-
composer validate --strict --working-dir="src/mantle/$package"
41+
cd "$original_dir/src/mantle/$package" || exit 1
42+
43+
composer install --no-interaction --no-progress --no-plugins --prefer-dist
44+
45+
composer validate --strict
46+
composer audit --no-dev --locked --ansi --no-interaction
4047
done
4148
lint-tests:
4249
if: github.event.pull_request.draft == false

src/mantle/application/composer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@
3131
},
3232
"minimum-stability": "dev",
3333
"config": {
34+
"allow-plugins": {
35+
"alleyinteractive/composer-wordpress-autoloader": true
36+
},
3437
"sort-packages": true
3538
}
3639
}

src/mantle/assets/composer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@
2929
]
3030
},
3131
"config": {
32+
"allow-plugins": {
33+
"alleyinteractive/composer-wordpress-autoloader": true
34+
},
3235
"sort-packages": true
3336
}
3437
}

src/mantle/auth/composer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323
}
2424
],
2525
"config": {
26+
"allow-plugins": {
27+
"alleyinteractive/composer-wordpress-autoloader": true
28+
},
2629
"sort-packages": true
2730
}
2831
}

src/mantle/blocks/composer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@
3131
},
3232
"minimum-stability": "dev",
3333
"config": {
34+
"allow-plugins": {
35+
"alleyinteractive/composer-wordpress-autoloader": true
36+
},
3437
"sort-packages": true
3538
}
3639
}

src/mantle/cache/composer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@
2929
]
3030
},
3131
"config": {
32+
"allow-plugins": {
33+
"alleyinteractive/composer-wordpress-autoloader": true
34+
},
3235
"sort-packages": true
3336
}
3437
}

src/mantle/config/composer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@
2929
},
3030
"minimum-stability": "dev",
3131
"config": {
32+
"allow-plugins": {
33+
"alleyinteractive/composer-wordpress-autoloader": true
34+
},
3235
"sort-packages": true
3336
}
3437
}

src/mantle/console/composer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@
2727
}
2828
],
2929
"config": {
30+
"allow-plugins": {
31+
"alleyinteractive/composer-wordpress-autoloader": true
32+
},
3033
"sort-packages": true
3134
}
3235
}

src/mantle/container/composer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@
2626
}
2727
],
2828
"config": {
29+
"allow-plugins": {
30+
"alleyinteractive/composer-wordpress-autoloader": true
31+
},
2932
"sort-packages": true
3033
}
3134
}

src/mantle/contracts/composer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@
2525
}
2626
],
2727
"config": {
28+
"allow-plugins": {
29+
"alleyinteractive/composer-wordpress-autoloader": true
30+
},
2831
"sort-packages": true
2932
}
3033
}

0 commit comments

Comments
 (0)