Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for rich-text type #72

Merged
merged 10 commits into from
Apr 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/deploytowp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
php-version: '7.0'
coverage: none
tools: composer

Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/test-unit-php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,6 @@ jobs:
php-version: '8.0'
tools: composer

- name: Install prefixed dependencies
run: |
composer install --prefer-dist --no-suggest --no-progress --no-interaction
rm -rf vendor/*

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/upload-asset-on-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
php-version: '7.0'
coverage: none
tools: composer, cs2pr

Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ phpcs.xml
phpunit.xml
Thumbs.db
wp-cli.local.yml
composer.lock
node_modules/
vendor/
.idea/
Expand Down
33 changes: 14 additions & 19 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,41 +1,36 @@
{
"name": "spacedmonkey/wp-rest-blocks",
"type": "wordpress-plugin",
"description": "Add gutenberg blocks data into post / page / widget REST API endpoints.",
"homepage": "http://wp-api.org/",
"license": "GPL-3.0-or-later",
"type": "wordpress-plugin",
"authors": [
{
"name": "Jonny Harris",
"homepage": "https://www.spacedmonkey.com/"
}
],
"homepage": "http://wp-api.org/",
"support": {
"issues": "https://github.com/spacedmonkey/wp-rest-blocks/issues"
},
"require": {
"composer/installers": "^1.10",
"php": "^7.0 || ^8.0",
"composer/installers": "^1.10",
"tburry/pquery": "^1.1"
},
"config": {
"discard-changes": true,
"platform": {
"php": "7.0"
},
"sort-packages": true,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"composer/installers": true
}
},
"require-dev": {
"squizlabs/php_codesniffer": "^3.6",
"wp-coding-standards/wpcs": "^3.0",
"sirbrillig/phpcs-variable-analysis": "^2.11",
"dealerdirect/phpcodesniffer-composer-installer": "^1.0",
"phpcompatibility/phpcompatibility-wp": "^2.1",
"yoast/wp-test-utils": "^1.0.0"
"sirbrillig/phpcs-variable-analysis": "^2.11",
"wp-coding-standards/wpcs": "^3.0",
"yoast/wp-test-utils": "^1.2.0"
},
"config": {
"allow-plugins": {
"composer/installers": true,
"dealerdirect/phpcodesniffer-composer-installer": true
},
"discard-changes": true,
"sort-packages": true
},
"scripts": {
"phpcbf": "phpcbf",
Expand Down
Loading
Loading