-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
924 additions
and
11,022 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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
version: 2.1 | ||
|
||
jobs: | ||
test: | ||
docker: | ||
- image: circleci/php:7.3.3-stretch-node-browsers | ||
steps: | ||
- checkout | ||
- prepare-environment | ||
- run: composer phpcs | ||
|
||
commands: | ||
prepare-environment: | ||
description: "Install dependencies." | ||
steps: | ||
- run: composer install | ||
|
||
workflows: | ||
version: 2 | ||
check-wp-cs: | ||
jobs: | ||
- test |
This file was deleted.
Oops, something went wrong.
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,12 +1,33 @@ | ||
{ | ||
"require-dev": { | ||
"squizlabs/php_codesniffer": "3.*", | ||
"wp-coding-standards/wpcs": "^0.13.1", | ||
"wimg/php-compatibility": "^8.0" | ||
}, | ||
"scripts": { | ||
"post-update-cmd": [ | ||
"./vendor/bin/phpcs --config-set installed_paths vendor/wp-coding-standards/wpcs/,vendor/wimg/php-compatibility/" | ||
] | ||
} | ||
"name": "studiopress/genesis-portfolio-pro", | ||
"type": "wordpress-plugin", | ||
"description": "Plugin that add a new Portfolio post type where you can add portfolio entries with images and galleries to show of your visual content.", | ||
"homepage": "https://github.com/studiopress/genesis-portfolio-pro", | ||
"license": "GPL-2.0-or-later", | ||
"require": { | ||
"php": "^5.6 || ^7", | ||
"composer/installers": "^1" | ||
}, | ||
"require-dev": { | ||
"php": "^5.6 || ^7", | ||
"dealerdirect/phpcodesniffer-composer-installer": "*", | ||
"squizlabs/php_codesniffer": "^3.3.1", | ||
"phpcompatibility/phpcompatibility-wp": "*", | ||
"wp-coding-standards/wpcs": "^1" | ||
}, | ||
"config": { | ||
"sort-order": true | ||
}, | ||
"minimum-stability": "dev", | ||
"prefer-stable": true, | ||
"scripts": { | ||
"phpcs": "phpcs --standard=WordPress --ignore=vendor/,node_modules/,assets/ --extensions=php -p ./", | ||
"phpcs-compat": "phpcs --extensions=php --standard=PHPCompatibilityWP --ignore=vendor/,node_modules/,assets/ --runtime-set testVersion 5.6- -p ./", | ||
"phpcbf": "phpcbf --standard=WordPress --ignore=vendor/,node_modules/,assets/ --extensions=php -p ./" | ||
}, | ||
"support": { | ||
"issues": "https://github.com/studiopress/genesis-portfolio-pro/issues", | ||
"source": "https://github.com/studiopress/genesis-portfolio-pro" | ||
} | ||
} | ||
|
Oops, something went wrong.