-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This library was developed as part of another application, and proved to be (a) sufficiently useful, and (b) reasonably easy to program to. Extracted to a standalone library, along with QA tooling.
- Loading branch information
0 parents
commit d7177e2
Showing
12 changed files
with
5,097 additions
and
0 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,3 @@ | ||
.phpcs-cache | ||
.phpunit.result.cache | ||
vendor/ |
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,54 @@ | ||
{ | ||
"name": "phly/phly-rule-validation", | ||
"description": "Simple rule-based validation framework", | ||
"type": "library", | ||
"license": "BSD-3-Clause", | ||
"keywords": [ | ||
"validation" | ||
], | ||
"support": { | ||
"issues": "https://github.com/phly/phly-rule-validation/issues", | ||
"source": "https://github.com/phly/phly-rule-validation", | ||
"rss": "https://github.com/phly/phly-rule-validation/releases.atom" | ||
}, | ||
"config": { | ||
"sort-packages": true, | ||
"platform": { | ||
"php": "8.2.99" | ||
}, | ||
"allow-plugins": { | ||
"dealerdirect/phpcodesniffer-composer-installer": true | ||
} | ||
}, | ||
"require": { | ||
"php": "~8.2.0", | ||
"ramsey/collection": "^2.0" | ||
}, | ||
"require-dev": { | ||
"laminas/laminas-coding-standard": "~2.5.0", | ||
"phpunit/phpunit": "^10.1", | ||
"psalm/plugin-phpunit": "^0.18.4", | ||
"vimeo/psalm": "^5.7.7", | ||
"roave/security-advisories": "dev-master" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"Phly\\RuleValidation\\": "src/" | ||
} | ||
}, | ||
"autoload-dev": { | ||
"psr-4": { | ||
"PhlyTest\\": "test/" | ||
} | ||
}, | ||
"scripts": { | ||
"check": [ | ||
"@cs-check", | ||
"@test" | ||
], | ||
"cs-check": "phpcs", | ||
"cs-fix": "phpcbf", | ||
"test": "phpunit --colors=always", | ||
"test-coverage": "phpunit --colors=always --coverage-clover clover.xml" | ||
} | ||
} |
Oops, something went wrong.