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 14, 2024
1 parent d6551d0 commit 6fab9d9
Show file tree
Hide file tree
Showing 5 changed files with 232 additions and 140 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/php-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ jobs:
WP_ENV_PHP_VERSION: ${{ matrix.php }}
WP_ENV_CORE: ${{ matrix.wordpress == 'trunk' && 'WordPress/WordPress' || format( 'https://wordpress.org/wordpress-{0}.zip', matrix.wordpress ) }}
steps:
- name: Install patch
run: sudo apt-get install -y patch

- uses: actions/checkout@v4

- uses: shivammathur/setup-php@v2
Expand Down
15 changes: 12 additions & 3 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": "^1.7"
},
"require-dev": {
"phpcompatibility/php-compatibility": "^9.3",
Expand Down Expand Up @@ -51,14 +52,22 @@
"config": {
"allow-plugins": {
"composer/installers": true,
"cweagans/composer-patches": false,
"cweagans/composer-patches": true,
"dealerdirect/phpcodesniffer-composer-installer": true,
"phpstan/extension-installer": true
},
"platform": {
"php": "7.2.24"
}
},
"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 6fab9d9

Please sign in to comment.