Skip to content

Commit b14593d

Browse files
committed
update tests to support php7.4, remove php7.1, and update doc for public properties
1 parent 0b169f3 commit b14593d

File tree

5 files changed

+288
-288
lines changed

5 files changed

+288
-288
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
language: php
22
php:
3-
- '7.1'
43
- '7.2'
54
- '7.3'
5+
- '7.4'
66

77
sudo: false
88

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ $classifier->fromJson($stateJson);
5555

5656
Returns an instance of a Naive-Bayes Classifier.
5757

58-
Pass in an optional `options` object to configure the instance. If you specify a `tokenizer` of `iTokenizer` instance in `options`, it will be used as the instance's tokenizer.
58+
Pass in an optional `options` object to configure the instance. If you specify a `tokenizer` function in `options`, it will be used as the instance's tokenizer.
5959

6060
### `$classifier->learn(text, category)`
6161

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@
2626
}],
2727
"type": "library",
2828
"require": {
29-
"php": ">=7.1"
29+
"php": ">=7.2"
3030
},
3131
"require-dev": {
32-
"phpunit/phpunit": "~6.3.0"
32+
"phpunit/phpunit": "^8.0"
3333
},
3434
"autoload": {
3535
"psr-4": {

0 commit comments

Comments
 (0)