Skip to content

Commit

Permalink
update tests to support php7.4, remove php7.1, and update doc for pub…
Browse files Browse the repository at this point in the history
…lic properties
  • Loading branch information
noogen committed Jan 6, 2020
1 parent 0b169f3 commit b14593d
Show file tree
Hide file tree
Showing 5 changed files with 288 additions and 288 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
language: php
php:
- '7.1'
- '7.2'
- '7.3'
- '7.4'

sudo: false

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ $classifier->fromJson($stateJson);

Returns an instance of a Naive-Bayes Classifier.

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.
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.

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

Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@
}],
"type": "library",
"require": {
"php": ">=7.1"
"php": ">=7.2"
},
"require-dev": {
"phpunit/phpunit": "~6.3.0"
"phpunit/phpunit": "^8.0"
},
"autoload": {
"psr-4": {
Expand Down
Loading

0 comments on commit b14593d

Please sign in to comment.