-
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.
Merge pull request #291 from 10up/upkeep/php-reqs
upkeep/php-reqs: Update PHP compat check to prevent fatal error
- Loading branch information
Showing
8 changed files
with
632 additions
and
653 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
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
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
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.