Merge branch 'feature/leave-examples-in-package' into 'master'
build: add example files to package See merge request !8
... | @@ -6,7 +6,7 @@ | ... | @@ -6,7 +6,7 @@ |
"homepage": "https://gitlab.com/wpdesk/wp-code-sniffer", | "homepage": "https://gitlab.com/wpdesk/wp-code-sniffer", | ||
"type": "phpcodesniffer-standard", | "type": "phpcodesniffer-standard", | ||
"prefer-stable": true, | "prefer-stable": true, | ||
"version": "1.2.1", | "version": "1.2.2", | ||
"authors": [ | "authors": [ | ||
{ | { | ||
"name": "grola", | "name": "grola", | ||
... | @@ -14,24 +14,24 @@ | ... | @@ -14,24 +14,24 @@ |
} | } | ||
], | ], | ||
"require": { | "require": { | ||
"php": ">=7.0", | "php": ">=7.0", | ||
"dealerdirect/phpcodesniffer-composer-installer": "0.6|^0.7", | "dealerdirect/phpcodesniffer-composer-installer": "0.6|^0.7", | ||
"squizlabs/php_codesniffer": "^3.6", | "squizlabs/php_codesniffer": "^3.6", | ||
"wp-coding-standards/wpcs": "^2.3", | "wp-coding-standards/wpcs": "^2.3", | ||
"phpcompatibility/phpcompatibility-wp": "^2.1.1" | "phpcompatibility/phpcompatibility-wp": "^2.1.1" | ||
}, | |||
"require-dev": { | |||
"roave/security-advisories": "dev-latest" | |||
}, | }, | ||
"require-dev": { | |||
"roave/security-advisories": "dev-latest" | |||
}, | |||
"scripts": { | "scripts": { | ||
"install-codestandards" : [ | "install-codestandards" : [ | ||
"Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin::run" | "Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin::run" | ||
], | ], | ||
"pre-package-install": [ | "pre-package-install": [ | ||
"@install-codestandards" | "@install-codestandards" | ||
], | ], | ||
"post-package-update": [ | "post-package-update": [ | ||
"@install-codestandards" | "@install-codestandards" | ||
] | ] | ||
} | } | ||
} | } |
Please register or sign in to comment