Skip to content

Commit 52229f6

Browse files
committed
some up ...
1 parent 4ccfd63 commit 52229f6

File tree

4 files changed

+30
-2
lines changed

4 files changed

+30
-2
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# php validate
22

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+
37
一个简洁小巧且功能完善的php验证、过滤库。仅有几个文件,无依赖。
48

59
- 简单方便,支持添加自定义验证器
@@ -26,7 +30,7 @@
2630
**注意:**
2731

2832
- master 分支是要求 `php >= 7` 的(推荐使用)。
29-
- php5 分支是支持 php 5 的代码分支(不再维护)
33+
- php5 分支是支持 php 5 的代码分支
3034

3135
## 安装
3236

phpunit.xml.dist

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
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.

tests/test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/bash
22

33
# phpunit6.phar --colors --coverage-html ./coverage/
4-
phpunit6.phar --colors --bootstrap tests/bootstap.php tests
4+
phpunit6.phar --colors --bootstrap tests/boot.php tests

0 commit comments

Comments
 (0)