Skip to content

Commit

Permalink
Use latest readme parser
Browse files Browse the repository at this point in the history
  • Loading branch information
ernilambar committed Nov 15, 2024
1 parent d6551d0 commit fa3ffb6
Show file tree
Hide file tree
Showing 5 changed files with 298 additions and 151 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/php-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,10 @@ jobs:
fail-fast: true
matrix:
php:
- '7.3'
- '7.4'
- '8.0'
- '8.1'
wordpress: [ 'latest' ]
include:
- php: '7.2'
wordpress: '6.3'
- php: '8.2'
wordpress: 'latest'
coverage: true
Expand Down Expand Up @@ -115,9 +111,6 @@ jobs:
fail-fast: true
matrix:
php:
- '7.2'
- '7.3'
- '7.4'
- '8.0'
- '8.1'
- '8.2'
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ local.properties
.cproject
.buildpath
nbproject/
patches.lock.json

############
## Build
Expand Down
22 changes: 17 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,13 @@
"require": {
"php": ">=7.2.24",
"ext-json": "*",
"afragen/wordpress-plugin-readme-parser": "dev-master#67fba498d0b112acf84386b95e4905c539a33f0b",
"afragen/wordpress-plugin-readme-parser": "dev-master#c3758599348148be684b3c4ad1105d09b6230d51",
"automattic/vipwpcs": "^3.0.0",
"composer/installers": "^2.2",
"dealerdirect/phpcodesniffer-composer-installer": "^1.0.0",
"plugin-check/phpcs-sniffs": "@dev",
"wp-coding-standards/wpcs": "^3.1.0"
"wp-coding-standards/wpcs": "^3.1.0",
"cweagans/composer-patches": "2.0.0-beta2"
},
"require-dev": {
"phpcompatibility/php-compatibility": "^9.3",
Expand Down Expand Up @@ -51,14 +52,25 @@
"config": {
"allow-plugins": {
"composer/installers": true,
"cweagans/composer-patches": false,
"dealerdirect/phpcodesniffer-composer-installer": true,
"phpstan/extension-installer": true
"phpstan/extension-installer": true,
"cweagans/composer-patches": true
},
"platform": {
"php": "7.2.24"
"php": "8.0.0"
},
"preferred-install": {
"afragen/wordpress-plugin-readme-parser": "source"
}
},
"extra": {
"composer-exit-on-patch-failure": true,
"patches": {
"afragen/wordpress-plugin-readme-parser": {
"fix readme parser":"patches/readme-parser.patch"
}
}
},
"scripts": {
"behat": "BEHAT_FEATURES_FOLDER=tests/behat/features run-behat-tests",
"behat-rerun": "BEHAT_FEATURES_FOLDER=tests/behat/features rerun-behat-tests",
Expand Down
Loading

0 comments on commit fa3ffb6

Please sign in to comment.