Skip to content

Commit

Permalink
Various fixes
Browse files Browse the repository at this point in the history
- Render, see #67
- Rearranged code, based on usage
- Fixed PHPUnit bootstrap
- Added PHP 7.1 for testing
- Added future tests, currently disabled due to bugs
  • Loading branch information
JanPetterMG committed Aug 10, 2016
1 parent 3add9f7 commit 814737c
Show file tree
Hide file tree
Showing 10 changed files with 955 additions and 588 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
sudo: false
language: php
php:
- 7.1
- 7.0
- 5.6
- 5.5
- 5.4
- hhvm
before_install:
- composer selfupdate
Expand Down
67 changes: 39 additions & 28 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,32 +1,43 @@
{
"name": "t1gor/robots-txt-parser",
"description": "PHP class to parse robots.txt rules according to Google, Yandex, W3C and The Web Robots Pages specifications.",
"keywords": ["robots.txt", "parser", "Google", "Yandex", "W3C", "The Web Robots Pages"],
"homepage": "https://github.com/t1gor/Robots.txt-Parser-Class",
"type": "library",
"license": "MIT",
"minimum-stability": "dev",
"require-dev": {
"php": ">=5.4.0",
"phpunit/phpunit": ">=3.7",
"codeclimate/php-test-reporter": ">=0.2"
"name": "t1gor/robots-txt-parser",
"description": "PHP class to parse robots.txt rules according to Google, Yandex, W3C and The Web Robots Pages specifications.",
"keywords": [
"robots.txt",
"parser",
"Google",
"Yandex",
"W3C",
"The Web Robots Pages"
],
"homepage": "https://github.com/t1gor/Robots.txt-Parser-Class",
"type": "library",
"license": "MIT",
"require": {
"php": ">=5.4.0",
"ext-mbstring": "*"
},
"require-dev": {
"phpunit/phpunit": ">=3.7",
"codeclimate/php-test-reporter": ">=0.2"
},
"authors": [
{
"name": "Igor Timoshenkov",
"email": "[email protected]",
"role": "creator"
},
"authors": [
{
"name": "Igor Timoshenkov",
"email": "[email protected]",
"role": "creator"
},
{
"name": "Jan-Petter Gundersen",
"email": "[email protected]",
"role": "contributor"
}
],
"autoload": {
"classmap": [ "source/robotstxtparser.php" ]
},
"scripts": {
"test": "phpunit"
{
"name": "Jan-Petter Gundersen",
"email": "[email protected]",
"role": "contributor"
}
],
"autoload": {
"classmap": [
"source/robotstxtparser.php"
]
},
"scripts": {
"test": "phpunit"
}
}
Loading

0 comments on commit 814737c

Please sign in to comment.