-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extract PHP Validator from main project
Xulieta is evolving to a composable plugin system on version 1.0.x. So the [main package][xulieta] have the foundation to read common documents and the logic to make it extensible by separated packages. This way each project can choose exactly what should be checked and lower the barrier have more people comming up with new validators. [xulieta]: https://github.com/codelicia/xulieta Signed-off-by: 💻 Eher <[email protected]>
- Loading branch information
Showing
8 changed files
with
4,227 additions
and
7 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 |
---|---|---|
@@ -1,6 +1,4 @@ | ||
composer.phar | ||
.phpcs-cache | ||
.phpunit.result.cache | ||
/vendor/ | ||
|
||
# Commit your application's lock file https://getcomposer.org/doc/01-basic-usage.md#commit-your-composer-lock-file-to-version-control | ||
# You may choose to ignore a library lock file http://getcomposer.org/doc/02-libraries.md#lock-file | ||
# composer.lock | ||
composer.phar |
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,2 +1,4 @@ | ||
# xulieta-php | ||
Xulieta plugin to validate PHP | ||
🌹 Xulieta - PHP | ||
================ | ||
|
||
This is a plugin to lint PHP on Documentation file using [Xulieta](https://github.com/codelicia/xulieta). |
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,45 @@ | ||
{ | ||
"name": "codelicia/xulieta-php", | ||
"description": "Xulieta plugin to validate PHP", | ||
"type": "library", | ||
"license": "MIT", | ||
"autoload": { | ||
"psr-4": { | ||
"Codelicia\\XulietaPhp\\": "src/" | ||
} | ||
}, | ||
"authors": [ | ||
{ | ||
"name": "Jefersson Nathan", | ||
"email": "[email protected]" | ||
}, | ||
{ | ||
"name": "Alexandre Eher", | ||
"email": "[email protected]" | ||
} | ||
], | ||
"config": { | ||
"allow-plugins": { | ||
"ocramius/package-versions": true, | ||
"dealerdirect/phpcodesniffer-composer-installer": true | ||
} | ||
}, | ||
"extra": { | ||
"xulieta": { | ||
"validator": ["Codelicia\\XulietaPhp\\PhpValidator"] | ||
} | ||
}, | ||
"require-dev": { | ||
"codelicia/xulieta": "1.0.x-dev as 1.0.0", | ||
"doctrine/coding-standard": "^9.0", | ||
"phpunit/phpunit": "^9.5" | ||
}, | ||
"scripts": { | ||
"phpunit": "vendor/bin/phpunit", | ||
"phpcs": "vendor/bin/phpcs", | ||
"test": [ | ||
"@phpcs", | ||
"@phpunit" | ||
] | ||
} | ||
} |
Oops, something went wrong.