Skip to content

Commit

Permalink
update php compat check to use 10up-lib/wp-compat-validation-tool
Browse files Browse the repository at this point in the history
  • Loading branch information
Sidsector9 committed Jul 9, 2024
1 parent 53592cf commit 3de8e88
Show file tree
Hide file tree
Showing 4 changed files with 618 additions and 644 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ bower_components
languages
release
vendor
10up-lib
composer.lock
phpunit.xml
.idea
Expand Down
103 changes: 61 additions & 42 deletions composer.json
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"]
}
}
}
Loading

0 comments on commit 3de8e88

Please sign in to comment.