Go to file
Mazen Touati a8cb87217f
Make the ranges of emoji more accurate
The new ranges are now 100% accurate by not including any Unicode point
that is not defined into the reference file.

For example, in the old ranges there is this interval:

    [\x{3297}-\x{3299}]

That is not accurate because there is no "3298" Unicode point in the
specs. It may be used by another character and it will cause the check
to fail if the user included that particular character.

The new ranges for that previous example are now:

    \x{3297}
    \x{3299}

And so on...

This commit will make the ranges more accurate with maximum tolerance to
other charcters and also rename the constant name from "GROUPS" to
"RANGES" since they are ranges, not groups.
2019-02-10 12:44:51 +01:00
docs Make the ranges of emoji more accurate 2019-02-10 12:44:51 +01:00
library Make the ranges of emoji more accurate 2019-02-10 12:44:51 +01:00
tests Apply contribution guidelines to "Graph" rule 2019-02-10 12:25:11 +01:00
.docheader Add license check by file to build 2016-10-29 12:31:13 +02:00
.gitattributes Create ".gitattributes" file 2017-02-10 14:55:35 +01:00
.gitignore Set up "squizlabs/php_codesniffer" 2019-02-03 19:39:14 +01:00
.php_cs Enforce the use of "@covers" annotation 2018-07-23 21:37:38 +02:00
.scrutinizer.yml Migrate to new PHP Analysis 2018-01-09 16:19:27 +01:00
.travis.yml Set up "squizlabs/php_codesniffer" 2019-02-03 19:39:14 +01:00
CHANGELOG.md Organize documentation for "Read the Docs" 2018-08-23 01:59:39 +02:00
composer.json Add some code sniffs that we already use 2019-02-09 14:07:47 +01:00
CONTRIBUTING.md Remove PHP-CS-Fixer 2019-02-03 16:26:23 +01:00
couscous.yml Add Google Analytics tracking ID to "couscous.yml" 2015-02-18 08:49:05 -02:00
LICENSE.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
mkdocs.yml Create MkDocs configuration file 2018-12-11 09:25:41 +01:00
phpcs.xml.dist Apply "SlevomatCodingStandard.ControlStructures.UselessIfConditionWithReturn" 2019-02-09 14:24:08 +01:00
phpstan.neon.dist Increate PHPStan level to 7 2019-02-04 01:12:08 +01:00
phpunit.xml.dist Upgrade PHPUnit version 2018-09-03 17:37:44 +02:00
README.md Update PHP support 2018-12-02 11:09:24 +01:00

Respect\Validation

Build Status Scrutinizer Code Quality Code Coverage Latest Stable Version Total Downloads License

The most awesome validation engine ever created for PHP.

  • Complex rules made simple: v::numericVal()->positive()->between(1, 255)->validate($input).
  • Granularity control for advanced reporting.
  • More than 130 (fully tested) validation rules.
  • A concrete API for non fluent usage.

Documentation

Documentation can be found in https://respect-validation.readthedocs.io and also in the docs/ folder.

Table of contents