Skip to content

Commit 002038f

Browse files
Merge pull request #21 from laminas-api-tools/1.9.x-merge-up-into-1.10.x_S1Y9Qm57
Merge release 1.9.1 into 1.10.x
2 parents 38b0413 + d8c385a commit 002038f

28 files changed

+11289
-347
lines changed
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: "Continuous Integration"
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- '[0-9]+.[0-9]+.x'
8+
- 'refs/pull/*'
9+
tags:
10+
11+
jobs:
12+
matrix:
13+
name: Generate job matrix
14+
runs-on: ubuntu-latest
15+
outputs:
16+
matrix: ${{ steps.matrix.outputs.matrix }}
17+
steps:
18+
- name: Gather CI configuration
19+
id: matrix
20+
uses: laminas/laminas-ci-matrix-action@v1
21+
22+
qa:
23+
name: QA Checks
24+
needs: [matrix]
25+
runs-on: ${{ matrix.operatingSystem }}
26+
strategy:
27+
fail-fast: false
28+
matrix: ${{ fromJSON(needs.matrix.outputs.matrix) }}
29+
steps:
30+
- name: ${{ matrix.name }}
31+
uses: laminas/laminas-continuous-integration-action@v1
32+
with:
33+
job: ${{ matrix.job }}
34+
services:
35+
mongodb:
36+
image: mongo:4.4

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
/.phpcs-cache
22
/.phpunit.result.cache
33
/clover.xml
4-
/composer.lock
54
/coveralls-upload.json
65
/phpunit.xml
76
/vendor/

.laminas-ci.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"extensions": [
3+
"mongodb",
4+
"pdo",
5+
"pdo-sqlite"
6+
]
7+
}

.laminas-ci/pre-run.sh

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#!/bin/bash
2+
3+
set -e
4+
5+
JOB=$3
6+
PHP_VERSION=$(echo "${JOB}" | jq -r '.php')
7+
8+
if [[ "$PHP_VERSION" =~ 8. ]];then
9+
composer require --ignore-platform-req=php --dev --no-interaction --prefer-dist alcaeus/mongo-php-adapter
10+
else
11+
composer require --dev --no-interaction --prefer-dist alcaeus/mongo-php-adapter
12+
fi
13+

.travis.yml

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

CHANGELOG.md

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

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
Laminas Doctrine QueryBuilder
22
========================
33

4-
[![Build Status](https://travis-ci.com/laminas-api-tools/api-tools-doctrine-querybuilder.svg)](https://travis-ci.com/laminas-api-tools/api-tools-doctrine-querybuilder)
5-
[![Coverage Status](https://coveralls.io/repos/github/laminas-api-tools/api-tools-doctrine-querybuilder/badge.svg)](https://coveralls.io/github/laminas-api-tools/api-tools-doctrine-querybuilder)
6-
[![Total Downloads](https://poser.pugx.org/laminas-api-tools/api-tools-doctrine-querybuilder/downloads)](https://packagist.org/packages/laminas-api-tools/api-tools-doctrine-querybuilder)
4+
[![Build Status](https://github.com/laminas-api-tools/api-tools-doctrine-querybuilder/actions/workflows/continuous-integration.yml/badge.svg)](https://github.com/laminas-api-tools/api-tools-doctrine-querybuilder/actions/workflows/continuous-integration.yml)
75

86
This library provides query builder directives from array parameters. This library was designed
97
to apply filters from an HTTP request to give an API fluent filter and order-by dialects.

composer.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@
4242
},
4343
"require-dev": {
4444
"doctrine/dbal": "^2.12.1 || ^3.0.0",
45-
"doctrine/orm": "^2.7.5",
4645
"doctrine/doctrine-mongo-odm-module": "^1.0 || ^2.0.2 || ^3.0.2",
4746
"doctrine/doctrine-orm-module": "^2.1.3",
47+
"doctrine/orm": "^2.7.5",
4848
"laminas-api-tools/api-tools-provider": "^1.2",
4949
"laminas/laminas-coding-standard": "~2.1.4",
5050
"laminas/laminas-i18n": "^2.7.3",
@@ -53,7 +53,9 @@
5353
"laminas/laminas-test": "^2.6.1 || ^3.0.1",
5454
"phpspec/prophecy-phpunit": "^2.0",
5555
"phpunit/phpunit": "^9.5.0",
56-
"symfony/yaml": "^2.3 || ^3.0 || ^4.0"
56+
"psalm/plugin-phpunit": "^0.15",
57+
"symfony/yaml": "^2.3 || ^3.0 || ^4.0",
58+
"vimeo/psalm": "^4.7"
5759
},
5860
"suggest": {
5961
"doctrine/doctrine-mongo-odm-module": "^1.0 || ^2.0.2 || ^3.0.2, if you wish to use the Doctrine ODM",

0 commit comments

Comments
 (0)