Skip to content

Commit 51bd586

Browse files
committed
Updated
1 parent bc04861 commit 51bd586

File tree

3 files changed

+30
-23
lines changed

3 files changed

+30
-23
lines changed

.github/workflows/pr.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
runs-on: ubuntu-latest
2424
strategy:
2525
matrix:
26-
php-versions: [ '8.1' ]
26+
php-versions: [ '8.3' ]
2727
dependency-version: [ prefer-lowest, prefer-stable ]
2828
steps:
2929
- uses: actions/checkout@master
@@ -55,7 +55,7 @@ jobs:
5555
runs-on: ubuntu-latest
5656
strategy:
5757
matrix:
58-
php-versions: [ '8.1' ]
58+
php-versions: [ '8.3' ]
5959
steps:
6060
- uses: actions/checkout@master
6161
- name: Setup PHP, with composer and extensions

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -108,11 +108,11 @@ run the checks locally.
108108
### PHP
109109

110110
```shell
111-
docker run --rm --volume ${PWD}:/app --workdir /app itkdev/php8.1-fpm composer install
111+
docker run --rm --volume ${PWD}:/app --workdir /app itkdev/php8.3-fpm composer install
112112
# Fix (some) coding standards issues
113-
docker run --rm --volume ${PWD}:/app --workdir /app itkdev/php8.1-fpm composer coding-standards-apply
113+
docker run --rm --volume ${PWD}:/app --workdir /app itkdev/php8.3-fpm composer coding-standards-apply
114114
# Check that code adheres to the coding standards
115-
docker run --rm --volume ${PWD}:/app --workdir /app itkdev/php8.1-fpm composer coding-standards-check
115+
docker run --rm --volume ${PWD}:/app --workdir /app itkdev/php8.3-fpm composer coding-standards-check
116116
```
117117

118118
### Markdown
@@ -130,5 +130,5 @@ Running statis code analysis on a standalone Drupal module is a bit tricky, so w
130130
analysis:
131131

132132
```shell
133-
docker run --rm --volume ${PWD}:/app --workdir /app itkdev/php8.1-fpm ./scripts/code-analysis
133+
docker run --rm --volume ${PWD}:/app --workdir /app itkdev/php8.3-fpm ./scripts/code-analysis
134134
```

composer.json

+24-17
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,18 @@
22
"name": "os2web/os2web_datalookup",
33
"description": "Provides integration with Danish data lookup services such as Service platformen or Datafordeler.",
44
"license": "EUPL-1.2",
5+
"type": "drupal-module",
56
"require": {
7+
"ext-soap": "*",
68
"os2web/os2web_key": "^1.0"
79
},
10+
"require-dev": {
11+
"dealerdirect/phpcodesniffer-composer-installer": "^1.0",
12+
"drupal/coder": "^8.3",
13+
"ergebnis/composer-normalize": "^2.45",
14+
"os2web/os2web_audit": "^0.1",
15+
"phpunit/phpunit": "^9.5"
16+
},
817
"repositories": {
918
"drupal": {
1019
"type": "composer",
@@ -15,29 +24,27 @@
1524
"url": "https://asset-packagist.org"
1625
}
1726
},
18-
"require-dev": {
19-
"dealerdirect/phpcodesniffer-composer-installer": "^1.0",
20-
"drupal/coder": "^8.3",
21-
"phpunit/phpunit": "^9.5",
22-
"os2web/os2web_audit": "^0.1"
27+
"minimum-stability": "dev",
28+
"prefer-stable": true,
29+
"config": {
30+
"allow-plugins": {
31+
"dealerdirect/phpcodesniffer-composer-installer": true,
32+
"ergebnis/composer-normalize": true
33+
},
34+
"sort-packages": true
2335
},
2436
"scripts": {
25-
"coding-standards-check/phpcs": [
26-
"phpcs --standard=phpcs.xml.dist"
27-
],
28-
"coding-standards-check": [
29-
"@coding-standards-check/phpcs"
37+
"coding-standards-apply": [
38+
"@coding-standards-apply/phpcs"
3039
],
3140
"coding-standards-apply/phpcs": [
3241
"phpcbf --standard=phpcs.xml.dist"
3342
],
34-
"coding-standards-apply": [
35-
"@coding-standards-apply/phpcs"
43+
"coding-standards-check": [
44+
"@coding-standards-check/phpcs"
45+
],
46+
"coding-standards-check/phpcs": [
47+
"phpcs --standard=phpcs.xml.dist"
3648
]
37-
},
38-
"config": {
39-
"allow-plugins": {
40-
"dealerdirect/phpcodesniffer-composer-installer": true
41-
}
4249
}
4350
}

0 commit comments

Comments
 (0)