Сравнить коммиты

...

3 Коммитов
1.0 ... master

Автор SHA1 Сообщение Дата
7ca10aafc0 new file: phpunit.xml 2015-02-05 01:16:00 +03:00
efe8565b81 Add phpunit.xml
modified:   .gitignore
	phpunit.xml
2015-02-05 01:14:05 +03:00
6aad21d35f mod README.md 2015-02-05 01:08:53 +03:00
3 изменённых файлов: 22 добавлений и 2 удалений

2
.gitignore поставляемый
Просмотреть файл

@ -1,4 +1,4 @@
# files
vendor/
phpunit.xml
#phpunit.xml
composer.lock

Просмотреть файл

@ -2,8 +2,8 @@ PHP TOC Generator
=================
Geneates Table of Contents from H1...H6 Tags in HTML Content
------------------------------------------------------------
[![Build Status](https://travis-ci.org/IgorVBelousov/toc.svg)](https://travis-ci.org/IgorVBelousov/toc)
This package provides a simple, framework-agnostic library to build
a Table-of-Contents from HTML markup. It does so by parsing *H1...H6* tags. It can also automatically add appropriate *id* anchor attributes to header tags.

20
phpunit.xml Обычный файл
Просмотреть файл

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="./tests/bootstrap.php" colors="true">
<testsuites>
<testsuite name="PHP TOC Test Suite">
<directory suffix="Test.php">./tests</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory>./</directory>
<exclude>
<directory>./tests</directory>
<directory>./vendor</directory>
</exclude>
</whitelist>
</filter>
</phpunit>