Skip to content

Commit 53fdfcc

Browse files
authored
Merge pull request #117 from Jurj-Bogdan/remove-mongodb
Remove MongoDB Support and Prepare Documentation for v3.0
2 parents 487b6de + 2b62ae9 commit 53fdfcc

39 files changed

+912
-1375
lines changed

Diff for: .github/workflows/continuous-integration.yml

-4
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ jobs:
2222
needs: [matrix]
2323
runs-on: ${{ matrix.operatingSystem }}
2424
services:
25-
mongo:
26-
image: mongo
2725
mysql:
2826
image: mysql:8
2927
env:
@@ -61,8 +59,6 @@ jobs:
6159
with:
6260
job: ${{ matrix.job }}
6361
env:
64-
TESTS_LAMINAS_SESSION_ADAPTER_DRIVER_MONGODB: true
65-
TESTS_LAMINAS_SESSION_ADAPTER_DRIVER_MONGODB_CONNECTION_STRING: mongodb://mongo/
6662
TESTS_LAMINAS_SESSION_ADAPTER_DRIVER_MYSQL: true
6763
TESTS_LAMINAS_SESSION_ADAPTER_DRIVER_MYSQL_HOSTNAME: mysql
6864
TESTS_LAMINAS_SESSION_ADAPTER_DRIVER_MYSQL_USERNAME: gha

Diff for: .laminas-ci.json

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"extensions": [
3-
"mongodb",
43
"mysql",
54
"pgsql",
65
"xdebug"

Diff for: .laminas-ci/install-mongodb-extension-via-pecl.sh

-15
This file was deleted.

Diff for: .laminas-ci/pre-install.sh

-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ WORKING_DIRECTORY=$2
44
JOB=$3
55
PHP_VERSION=$(echo "${JOB}" | jq -r '.php')
66

7-
87
if [ ! -z "$GITHUB_BASE_REF" ] && [[ "$GITHUB_BASE_REF" =~ ^[0-9]+\.[0-9] ]]; then
98
readarray -td. TARGET_BRANCH_VERSION_PARTS <<<"${GITHUB_BASE_REF}.";
109
unset 'TARGET_BRANCH_VERSION_PARTS[-1]';
@@ -15,5 +14,3 @@ if [ ! -z "$GITHUB_BASE_REF" ] && [[ "$GITHUB_BASE_REF" =~ ^[0-9]+\.[0-9] ]]; th
1514
export COMPOSER_ROOT_VERISON="${MAJOR_OF_TARGET_BRANCH}.${MINOR_OF_TARGET_BRANCH}.99"
1615
echo "Exported COMPOSER_ROOT_VERISON as ${COMPOSER_ROOT_VERISON}"
1716
fi
18-
19-
${WORKING_DIRECTORY}/.laminas-ci/install-mongodb-extension-via-pecl.sh "${PHP_VERSION}" || exit 1

Diff for: composer.json

+1-3
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@
4545
"laminas/laminas-db": "^2.20.0",
4646
"laminas/laminas-http": "^2.20",
4747
"laminas/laminas-validator": "^2.64.1",
48-
"mongodb/mongodb": "~1.20.0",
4948
"phpunit/phpunit": "^10.5.38",
5049
"psalm/plugin-phpunit": "^0.19.0",
5150
"vimeo/psalm": "^5.26.1"
@@ -55,8 +54,7 @@
5554
"laminas/laminas-db": "Laminas\\Db component",
5655
"laminas/laminas-http": "Laminas\\Http component",
5756
"laminas/laminas-servicemanager": "Laminas\\ServiceManager component",
58-
"laminas/laminas-validator": "Laminas\\Validator component",
59-
"mongodb/mongodb": "If you want to use the MongoDB session save handler"
57+
"laminas/laminas-validator": "Laminas\\Validator component"
6058
},
6159
"autoload": {
6260
"psr-4": {

0 commit comments

Comments
 (0)