-
-
Notifications
You must be signed in to change notification settings - Fork 7
Port to Yii2 (Initial Commit). #46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
0279a40
6294175
9626828
6e17f08
c50503a
2a0bc9f
927d6a0
ceb586f
87ac1c3
6fb4e51
f120e48
7c5ec52
1f76e94
f727af7
e39a6b9
af2a755
39af712
87e30a6
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,4 +30,4 @@ jobs: | |
os: >- | ||
['ubuntu-latest'] | ||
php: >- | ||
['8.0', '8.1'] | ||
['8.1', '8.2'] |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,4 +28,4 @@ jobs: | |
os: >- | ||
['ubuntu-latest'] | ||
php: >- | ||
['8.0', '8.1', '8.2'] | ||
['8.1', '8.2'] |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,52 @@ | ||
{ | ||
"name": "yiisoft/db-elasticsearch", | ||
"description": "Yii Framework Elasticsearch Query and ActiveRecord", | ||
"keywords": ["yii", "elasticsearch", "active-record", "search", "fulltext"], | ||
"description": "Elasticsearch integration and ActiveRecord for the Yii framework", | ||
"keywords": [ | ||
"yii2", | ||
"elasticsearch", | ||
"active-record", | ||
"search", | ||
"fulltext" | ||
], | ||
"type": "library", | ||
"license": "BSD-3-Clause", | ||
"support": { | ||
"issues": "https://github.com/yiisoft/yii-elasticsearch/issues", | ||
"issues": "https://github.com/yiisoft/yii2-elasticsearch/issues", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Shouldn't it be this package? |
||
"forum": "http://www.yiiframework.com/forum/", | ||
"wiki": "http://www.yiiframework.com/wiki/", | ||
"irc": "irc://irc.freenode.net/yii", | ||
"source": "https://github.com/yiisoft/yii-elasticsearch" | ||
"source": "https://github.com/yiisoft/yii2-elasticsearch" | ||
}, | ||
"authors": [ | ||
{ | ||
"name": "Carsten Brandt", | ||
"email": "mail@cebe.cc" | ||
} | ||
], | ||
"minimum-stability": "dev", | ||
"prefer-stable": true, | ||
"require": { | ||
"yiisoft/arrays": "^3.0@dev", | ||
"yiisoft/di": "^3.0@dev", | ||
"yiisoft/strings": "^3.0@dev", | ||
"yiisoft/yii-core": "^3.0@dev", | ||
"ext-curl": "*" | ||
"php": "^8.1", | ||
"ext-curl": "*", | ||
"ext-json": "*", | ||
"ext-mbstring": "*", | ||
"paragonie/random_compat": ">=1", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't think we need the compat library. randon is properly supported in new versions of PHP. |
||
"psr/log": "^2.0|^3.0", | ||
"yiisoft/arrays": "^3.0", | ||
"yiisoft/json": "^1.0" | ||
}, | ||
"require-dev": { | ||
"yiisoft/log": "^3.0@dev", | ||
"yiisoft/cache": "^3.0@dev", | ||
"yiisoft/active-record": "^3.0@dev", | ||
"phpunit/phpunit": "^9.0", | ||
"hiqdev/composer-config-plugin": "^1.0@dev" | ||
"maglnet/composer-require-checker": "^4.2", | ||
"phpunit/phpunit": "^9.6|^10.0", | ||
"rector/rector": "^0.15", | ||
"vimeo/psalm": "^4.8|^5.8" | ||
}, | ||
"autoload": { | ||
"psr-4": { "Yiisoft\\Db\\ElasticSearch\\": "src" } | ||
"psr-4": { | ||
"Yiisoft\\Elasticsearch\\": "src" | ||
} | ||
}, | ||
"autoload-dev": { | ||
"psr-4": {"Yiisoft\\Db\\ElasticSearch\\Tests\\": "tests"} | ||
"psr-4": { | ||
"Yiisoft\\Elasticsearch\\Tests\\": "tests" | ||
} | ||
}, | ||
"config": { | ||
"allow-plugins": { | ||
"yiisoft/yii2-composer": true | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No need for it. |
||
} | ||
}, | ||
"extra": { | ||
"branch-alias": { | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<phpunit bootstrap="./tests/bootstrap.php" | ||
colors="true" | ||
convertErrorsToExceptions="true" | ||
convertNoticesToExceptions="true" | ||
convertWarningsToExceptions="true" | ||
stopOnFailure="false"> | ||
<testsuites> | ||
<testsuite name="Test Suite"> | ||
<directory>./tests</directory> | ||
</testsuite> | ||
</testsuites> | ||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" colors="true" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.1/phpunit.xsd"> | ||
<coverage/> | ||
<testsuites> | ||
<testsuite name="Elasticsearch"> | ||
<directory>./tests</directory> | ||
</testsuite> | ||
</testsuites> | ||
<source> | ||
<include> | ||
<directory>./src</directory> | ||
</include> | ||
</source> | ||
</phpunit> |
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.