Merge branch 'feature/new-cs-rules' into 'master'
feat: rewrite CS rules See merge request !6
No related branches found
No related tags found
Showing
- .editorconfig 74 additions, 7 deletions.editorconfig
- .gitattributes 0 additions, 3 deletions.gitattributes
- .gitlab-ci.yml 0 additions, 8 deletions.gitlab-ci.yml
- CHANGELOG.md 13 additions, 3 deletionsCHANGELOG.md
- README.md 10 additions, 14 deletionsREADME.md
- WPDeskPlugin/ruleset.xml 145 additions, 17 deletionsWPDeskPlugin/ruleset.xml
- apigen.neon 0 additions, 27 deletionsapigen.neon
- composer.json 19 additions, 18 deletionscomposer.json
- phpcs.xml.dist 35 additions, 2 deletionsphpcs.xml.dist
- phpunit-integration.xml 0 additions, 34 deletionsphpunit-integration.xml
- phpunit-unit.xml 0 additions, 21 deletionsphpunit-unit.xml
- tests/integration/bootstrap.php 0 additions, 38 deletionstests/integration/bootstrap.php
- tests/unit/bootstrap.php 0 additions, 23 deletionstests/unit/bootstrap.php
.gitlab-ci.yml
deleted
100644 → 0
apigen.neon
deleted
100644 → 0
{ | ||
"name": "wpdesk/wp-code-sniffer", | ||
"description": "Library for WP Desk Coding standards in plugins.", | ||
"description": "Library for WP Desk Coding Standards in plugins.", | ||
"license": "MIT", | ||
"keywords": ["wordpress", "code sniffer", "admin"], | ||
"keywords": ["wordpress", "code sniffer", "admin", "phpcs"], | ||
"homepage": "https://gitlab.com/wpdesk/wp-code-sniffer", | ||
"type": "phpcodesniffer-standard", | ||
"prefer-stable": true, | ||
"version": "1.2.0", | ||
"authors": [ | ||
{ | ||
"name": "grola", | ||
... | ... | @@ -13,24 +14,24 @@ |
} | ||
], | ||
"require": { | ||
"php": ">=7.0", | ||
"dealerdirect/phpcodesniffer-composer-installer": "0.6|^0.7", | ||
"phpcompatibility/php-compatibility": "^9.3", | ||
"squizlabs/php_codesniffer": "^3.5", | ||
"wp-coding-standards/wpcs": "^2.2" | ||
}, | ||
"require-dev": { | ||
"phpunit/phpunit": "<7", | ||
"mockery/mockery": "*", | ||
"10up/wp_mock": "*" | ||
}, | ||
"autoload": { | ||
}, | ||
"autoload-dev": { | ||
"squizlabs/php_codesniffer": "^3.6", | ||
"wp-coding-standards/wpcs": "^2.3", | ||
"phpcompatibility/phpcompatibility-wp": "^2.1.1" | ||
}, | ||
"require-dev": { | ||
"roave/security-advisories": "dev-latest" | ||
}, | ||
"scripts": { | ||
"phpcs": "phpcs" | ||
}, | ||
"extra": { | ||
"class": "WPDesk\\Composer\\Codeception\\Plugin" | ||
"install-codestandards" : [ | ||
"Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin::run" | ||
], | ||
"pre-package-install": [ | ||
"@install-codestandards" | ||
], | ||
"post-package-update": [ | ||
"@install-codestandards" | ||
] | ||
} | ||
} |
phpunit-integration.xml
deleted
100644 → 0
phpunit-unit.xml
deleted
100644 → 0
tests/integration/bootstrap.php
deleted
100644 → 0
tests/unit/bootstrap.php
deleted
100644 → 0
Please register or sign in to comment