Skip to content

Commit

Permalink
v2.0.0
Browse files Browse the repository at this point in the history
__BREAKING CHANGES__

* Require php `>=7.4`
* Uses php7 type hinting throughout with `declare(strict_types=1);`
* Uses `"ruflin/elastica": "^7.0"`
  • Loading branch information
gdbrown authored Jun 14, 2020
1 parent 57a8aa7 commit 7ea4f6a
Show file tree
Hide file tree
Showing 36 changed files with 412 additions and 1,106 deletions.
18 changes: 0 additions & 18 deletions .codeclimate.yml

This file was deleted.

3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
language: php

php:
- 7.1
- 7.2
- 7.4

before_script:
- composer self-update
Expand Down
10 changes: 10 additions & 0 deletions CHANGELOG-2.x.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# CHANGELOG for 2.x
This changelog references the relevant changes done in 2.x versions.


## v2.0.0
__BREAKING CHANGES__

* Require php `>=7.4`
* Uses php7 type hinting throughout with `declare(strict_types=1);`
* Uses `"ruflin/elastica": "^7.0"`
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ query-parser-php
=============

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

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

Expand Down
12 changes: 3 additions & 9 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,11 @@
"type": "library",
"license": "Apache-2.0",
"require": {
"php": ">=7.1",
"gdbots/common": "~0.1 || ^1.0"
"php": ">=7.4"
},
"require-dev": {
"phpunit/phpunit": "~6.4",
"ruflin/elastica": "~5.3"
"phpunit/phpunit": "^9.2",
"ruflin/elastica": "^7.0"
},
"autoload": {
"psr-4": {
Expand All @@ -24,10 +23,5 @@
},
"scripts": {
"test": "vendor/bin/phpunit"
},
"extra": {
"branch-alias": {
"dev-master": "0.3.x-dev"
}
}
}
Loading

0 comments on commit 7ea4f6a

Please sign in to comment.