Skip to content

Commit 2cd9421

Browse files
authored
Merge pull request #10 from 8fold/prepare-major
Prepare major
2 parents 1b86650 + f6c3f01 commit 2cd9421

18 files changed

+598
-1805
lines changed

.github/workflows/php.yml renamed to .github/workflows/php81.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
name: PHP 7.4
1+
name: PHP 8.1
22

33
on:
44
push:
55
branches: [main]
66
pull_request:
77
branches: [main]
8+
89
jobs:
910
build:
1011
runs-on: ubuntu-latest
@@ -15,7 +16,7 @@ jobs:
1516
- name: Setup PHP Action
1617
uses: shivammathur/[email protected]
1718
with:
18-
php-version: '7.4'
19+
php-version: '8.1'
1920

2021
- name: Validate composer.json and composer.lock
2122
run: composer validate

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,13 @@ Output (unformatted):
112112
<tag /></root>
113113
```
114114

115+
### Compatibility
116+
117+
|XML Builder version |PHP version |
118+
|:------------------:|:----------:|
119+
|1+ |8.0+ |
120+
|0+ |7.4+ |
121+
115122
## Details
116123

117124
This library primarily came about from an experiment in which PHP was viewed

composer.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,12 @@
1010
}
1111
],
1212
"require": {
13-
"php": "^7.4||^8.0"
13+
"php": "^8.0"
1414
},
1515
"require-dev": {
16-
"squizlabs/php_codesniffer": "^3.6",
17-
"phpstan/phpstan": "^0.12",
18-
"pestphp/pest": "^1.20",
19-
"psr/log": "^1.0.1"
16+
"phpstan/phpstan": "^1.2.0",
17+
"phpunit/phpunit": "^9.5",
18+
"squizlabs/php_codesniffer": "^3.6"
2019
},
2120
"autoload": {
2221
"psr-4": {
@@ -25,6 +24,7 @@
2524
},
2625
"autoload-dev": {
2726
"psr-4": {
27+
"Eightfold\\XMLBuilder\\Tests\\": "./tests"
2828
}
2929
},
3030
"config": {
@@ -36,6 +36,6 @@
3636
"production": ["@style", "@stan", "@test"],
3737
"style": "./vendor/bin/phpcs --standard=phpcs.xml -p ./src",
3838
"stan": "./vendor/bin/phpstan analyze",
39-
"test": "./vendor/bin/pest"
39+
"test": "./vendor/bin/phpunit"
4040
}
4141
}

0 commit comments

Comments
 (0)