File tree Expand file tree Collapse file tree 4 files changed +30
-2
lines changed Expand file tree Collapse file tree 4 files changed +30
-2
lines changed Original file line number Diff line number Diff line change 1
1
# php validate
2
2
3
+ [ ![ License] ( https://img.shields.io/packagist/l/inhere/php-validate.svg?style=flat-square )] ( LICENSE )
4
+ [ ![ Php Version] ( https://img.shields.io/badge/php-%3E=7.0-brightgreen.svg?maxAge=2592000 )] ( https://packagist.org/packages/inhere/php-validate )
5
+ [ ![ Latest Stable Version] ( http://img.shields.io/packagist/v/inhere/php-validate.svg )] ( https://packagist.org/packages/inhere/php-validate )
6
+
3
7
一个简洁小巧且功能完善的php验证、过滤库。仅有几个文件,无依赖。
4
8
5
9
- 简单方便,支持添加自定义验证器
26
30
** 注意:**
27
31
28
32
- master 分支是要求 ` php >= 7 ` 的(推荐使用)。
29
- - php5 分支是支持 php 5 的代码分支(不再维护)
33
+ - php5 分支是支持 php 5 的代码分支
30
34
31
35
## 安装
32
36
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+
3
+ <phpunit backupGlobals =" false"
4
+ backupStaticAttributes =" false"
5
+ bootstrap =" ./tests/boot.php"
6
+ colors =" false"
7
+ convertErrorsToExceptions =" true"
8
+ convertNoticesToExceptions =" true"
9
+ convertWarningsToExceptions =" true"
10
+ stopOnFailure =" false"
11
+ syntaxCheck =" false"
12
+ >
13
+ <testsuites >
14
+ <testsuite name =" Php Validate-Filter Test Suite" >
15
+ <directory >./tests/</directory >
16
+ </testsuite >
17
+ </testsuites >
18
+
19
+ <filter >
20
+ <whitelist >
21
+ <directory suffix =" .php" >./examples</directory >
22
+ </whitelist >
23
+ </filter >
24
+ </phpunit >
File renamed without changes.
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
3
# phpunit6.phar --colors --coverage-html ./coverage/
4
- phpunit6.phar --colors --bootstrap tests/bootstap .php tests
4
+ phpunit6.phar --colors --bootstrap tests/boot .php tests
You can’t perform that action at this time.
0 commit comments