-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update php compat check to use 10up-lib/wp-compat-validation-tool
- Loading branch information
1 parent
53592cf
commit 3de8e88
Showing
4 changed files
with
618 additions
and
644 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ bower_components | |
languages | ||
release | ||
vendor | ||
10up-lib | ||
composer.lock | ||
phpunit.xml | ||
.idea | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,63 @@ | ||
{ | ||
"name": "10up/simple-local-avatars", | ||
"description": "Adds an avatar upload field to user profiles. Generates requested sizes on demand just like Gravatar!", | ||
"type": "wordpress-plugin", | ||
"keywords": [ | ||
"wordpress", | ||
"10up" | ||
], | ||
"homepage": "https://github.com/10up/simple-local-avatars", | ||
"license": ["GPL-2.0-or-later"], | ||
"authors": [ | ||
{ | ||
"name": "10up", | ||
"homepage": "https://10up.com/" | ||
} | ||
], | ||
"support": { | ||
"issues": "https://github.com/10up/simple-local-avatars/issues", | ||
"source": "https://github.com/10up/simple-local-avatars" | ||
}, | ||
"require": { | ||
"php": ">=7.4" | ||
}, | ||
"require-dev": { | ||
"10up/phpcs-composer": "dev-master", | ||
"10up/wp_mock": "0.4.2", | ||
"yoast/phpunit-polyfills": "^1.0" | ||
}, | ||
"scripts": { | ||
"lint": [ | ||
"phpcs . --runtime-set testVersion 7.4-" | ||
], | ||
"lint-fix": [ | ||
"phpcbf ." | ||
], | ||
"phpcs:compat": "vendor/bin/phpcs simple-local-avatars.php includes --standard=PHPCompatibilityWP --extensions=php --runtime-set testVersion 7.4-" | ||
}, | ||
"minimum-stability": "dev", | ||
"config": { | ||
"allow-plugins": { | ||
"dealerdirect/phpcodesniffer-composer-installer": true | ||
} | ||
} | ||
"name": "10up/simple-local-avatars", | ||
"description": "Adds an avatar upload field to user profiles. Generates requested sizes on demand just like Gravatar!", | ||
"type": "wordpress-plugin", | ||
"keywords": [ | ||
"wordpress", | ||
"10up" | ||
], | ||
"homepage": "https://github.com/10up/simple-local-avatars", | ||
"license": ["GPL-2.0-or-later"], | ||
"authors": [ | ||
{ | ||
"name": "10up", | ||
"homepage": "https://10up.com/" | ||
} | ||
], | ||
"support": { | ||
"issues": "https://github.com/10up/simple-local-avatars/issues", | ||
"source": "https://github.com/10up/simple-local-avatars" | ||
}, | ||
"require": { | ||
"php": ">=7.4", | ||
"10up/wp-compat-validation-tool": "dev-trunk" | ||
}, | ||
"require-dev": { | ||
"10up/phpcs-composer": "dev-master", | ||
"10up/wp_mock": "0.4.2", | ||
"yoast/phpunit-polyfills": "^1.0" | ||
}, | ||
"scripts": { | ||
"lint": [ | ||
"phpcs . --runtime-set testVersion 7.4-" | ||
], | ||
"lint-fix": [ | ||
"phpcbf ." | ||
], | ||
"phpcs:compat": "vendor/bin/phpcs simple-local-avatars.php includes --standard=PHPCompatibilityWP --extensions=php --runtime-set testVersion 7.4-", | ||
"post-install-cmd": [ | ||
"./10up-lib/wp-compat-validation-tool/replace-namespace.sh SimpleLocalAvatarsValidator" | ||
], | ||
"post-update-cmd": [ | ||
"./10up-lib/wp-compat-validation-tool/replace-namespace.sh SimpleLocalAvatarsValidator" | ||
] | ||
}, | ||
"minimum-stability": "dev", | ||
"config": { | ||
"allow-plugins": { | ||
"dealerdirect/phpcodesniffer-composer-installer": true, | ||
"composer/installers": true | ||
} | ||
}, | ||
"repositories": [ | ||
{ | ||
"type": "git", | ||
"url": "https://github.com/10up/wp-compat-validation-tool.git" | ||
} | ||
], | ||
"extra": { | ||
"installer-paths": { | ||
"./{$name}/": ["10up/wp-compat-validation-tool"] | ||
} | ||
} | ||
} |
Oops, something went wrong.