Skip to content

Commit 7ea4f6a

Browse files
authored
v2.0.0
__BREAKING CHANGES__ * Require php `>=7.4` * Uses php7 type hinting throughout with `declare(strict_types=1);` * Uses `"ruflin/elastica": "^7.0"`
1 parent 57a8aa7 commit 7ea4f6a

36 files changed

+412
-1106
lines changed

.codeclimate.yml

Lines changed: 0 additions & 18 deletions
This file was deleted.

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
language: php
22

33
php:
4-
- 7.1
5-
- 7.2
4+
- 7.4
65

76
before_script:
87
- composer self-update

CHANGELOG-2.x.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# CHANGELOG for 2.x
2+
This changelog references the relevant changes done in 2.x versions.
3+
4+
5+
## v2.0.0
6+
__BREAKING CHANGES__
7+
8+
* Require php `>=7.4`
9+
* Uses php7 type hinting throughout with `declare(strict_types=1);`
10+
* Uses `"ruflin/elastica": "^7.0"`

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ query-parser-php
22
=============
33

44
[![Build Status](https://api.travis-ci.org/gdbots/query-parser-php.svg)](https://travis-ci.org/gdbots/query-parser-php)
5-
[![Code Climate](https://codeclimate.com/github/gdbots/query-parser-php/badges/gpa.svg)](https://codeclimate.com/github/gdbots/query-parser-php)
6-
[![Test Coverage](https://codeclimate.com/github/gdbots/query-parser-php/badges/coverage.svg)](https://codeclimate.com/github/gdbots/query-parser-php/coverage)
75

86
Php library that converts search queries into words, phrases, hashtags, mentions, etc.
97

composer.json

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,11 @@
55
"type": "library",
66
"license": "Apache-2.0",
77
"require": {
8-
"php": ">=7.1",
9-
"gdbots/common": "~0.1 || ^1.0"
8+
"php": ">=7.4"
109
},
1110
"require-dev": {
12-
"phpunit/phpunit": "~6.4",
13-
"ruflin/elastica": "~5.3"
11+
"phpunit/phpunit": "^9.2",
12+
"ruflin/elastica": "^7.0"
1413
},
1514
"autoload": {
1615
"psr-4": {
@@ -24,10 +23,5 @@
2423
},
2524
"scripts": {
2625
"test": "vendor/bin/phpunit"
27-
},
28-
"extra": {
29-
"branch-alias": {
30-
"dev-master": "0.3.x-dev"
31-
}
3226
}
3327
}

0 commit comments

Comments
 (0)