Skip to content

Commit 0c7e674

Browse files
committed
1 parent f2748ef commit 0c7e674

File tree

4 files changed

+12
-20
lines changed

4 files changed

+12
-20
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
composer.lock
22
vendor
3-
tests/.env
43
.idea
4+
config

.travis.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,8 @@
11
language: php
22

33
php:
4-
- 7.0
5-
- 7.1
64
- 7.2
75

86
install: travis_retry composer install --no-interaction --prefer-source
9-
107
script: vendor/bin/phpunit --configuration phpunit.xml --coverage-clover clover.xml
11-
12-
before_script: phpenv config-add travis-php.ini
13-
148
after_script: bash <(curl -s https://codecov.io/bash)

composer.json

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
{
22
"name": "chillerlan/php-bbcode",
3-
"description": "A powerful, extensive recursive regexp BBCode parser. PHP 7+",
3+
"description": "A powerful, extensive recursive regexp BBCode parser. PHP 7.2+",
44
"homepage": "https://github.com/chillerlan/php-bbcode",
55
"license": "MIT",
66
"type": "library",
7+
"minimum-stability": "dev",
78
"keywords": [
89
"bbcode", "parser", "html5", "markdown"
910
],
@@ -18,24 +19,25 @@
1819
"issues": "https://github.com/chillerlan/php-bbcode/issues",
1920
"source": "https://github.com/chillerlan/php-bbcode"
2021
},
21-
"minimum-stability": "stable",
2222
"require": {
23-
"php": ">=7.0.0",
24-
"chillerlan/php-curl": "^1.0",
23+
"php": "^7.2",
24+
"psr/log": "^1.0",
25+
"psr/simple-cache": "^1.0",
2526
"chillerlan/php-traits": "^1.1"
2627
},
2728
"require-dev": {
28-
"phpunit/phpunit": "^6.5",
29-
"chillerlan/php-database": "^1.0"
29+
"phpunit/phpunit": "^7.1",
30+
"chillerlan/php-database": "^2.0",
31+
"ezyang/htmlpurifier": "^4.10"
3032
},
3133
"autoload": {
3234
"psr-4": {
33-
"chillerlan\\bbcode\\": "src/"
35+
"chillerlan\\BBCode\\": "src/"
3436
}
3537
},
3638
"autoload-dev": {
3739
"psr-4": {
38-
"chillerlan\\bbcodeTest\\": "tests/",
40+
"chillerlan\\BBCodeTest\\": "tests/",
3941
"chillerlan\\bbcodeExamples\\": "examples/"
4042
}
4143
}

phpunit.xml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,7 @@
1717
</filter>
1818
<testsuites>
1919
<testsuite name="bbcode test suite">
20-
<directory suffix=".php">./tests/critical</directory>
21-
<directory suffix=".php">./tests/normal</directory>
22-
<directory suffix=".php" phpVersion="5.6.0" phpVersionOperator=">=">./tests/php5</directory>
23-
<directory suffix=".php" phpVersion="7.0.0" phpVersionOperator=">=">./tests/php7</directory>
24-
<exclude>./tests/Includes</exclude>
20+
<directory suffix=".php">./tests</directory>
2521
</testsuite>
2622
</testsuites>
2723
</phpunit>

0 commit comments

Comments
 (0)