Skip to content

Commit

Permalink
updated:添加常用 CI 的状态图片及删除多余文件 example.php
Browse files Browse the repository at this point in the history
  • Loading branch information
zqhong committed Mar 6, 2017
1 parent 3eb1b49 commit b4fc681
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,19 @@ checks:
php:
code_rating: true
duplication: true

filter:
paths:
- src/*
excluded_paths:
- vendor/*
- tests/*
- tests/*

build:
tests:
override:
-
command: 'phpunit --coverage-clover=.coverage'
coverage:
file: '.coverage'
format: 'clover'
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# Route - 一个高性能的 PHP 请求路由
[![StyleCI](https://styleci.io/repos/84079657/shield?branch=master)](https://styleci.io/repos/84079657)
[![Build Status](https://travis-ci.org/zqhong/route.svg?branch=master)](https://travis-ci.org/zqhong/route)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/zqhong/route/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/zqhong/route/?branch=master)
[![Code Coverage](https://scrutinizer-ci.com/g/zqhong/route/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/zqhong/route/?branch=master)

思路参考[nikic/FastRoute](https://github.com/nikic/FastRoute),实现原理:[Fast request routing using regular expressions](http://nikic.github.io/2014/02/18/Fast-request-routing-using-regular-expressions.html)

# Example
Expand Down
Empty file removed example.php
Empty file.

0 comments on commit b4fc681

Please sign in to comment.