chore: change MySQL library composer source (#2)

[victorwesterlund/libmysqldriver](https://packagist.org/packages/victorwesterlund/libmysqldriver) has been replaced by [vlw/mysql](https://packagist.org/packages/vlw/mysql) for [reasons stated here](https://codeberg.org/vlw/php-mysql/pulls/36). This PR reflects this change.

Reviewed-on: https://codeberg.org/vlw/vlw.se/pulls/2
Co-authored-by: Victor Westerlund <victor.vesterlund@gmail.com>
Co-committed-by: Victor Westerlund <victor.vesterlund@gmail.com>
This commit is contained in:
Victor Westerlund 2024-09-27 09:41:14 +00:00 committed by Victor Westerlund
parent ae1e992c5f
commit 0483e092dd
3 changed files with 32 additions and 42 deletions

View file

@ -2,7 +2,7 @@
"require": {
"reflect/plugin-rules": "^1.5",
"victorwesterlund/xenum": "dev-master",
"victorwesterlund/libmysqldriver": "dev-master"
"vlw/mysql": "dev-master"
},
"minimum-stability": "dev"
}

70
api/composer.lock generated
View file

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "13ba5cc60bab24ac8ef5b1018fe4249b",
"content-hash": "f3f2b3cb3bd789eee6af4a93f4a6e0f9",
"packages": [
{
"name": "reflect/plugin-rules",
@ -43,44 +43,6 @@
},
"time": "2024-01-17T11:07:44+00:00"
},
{
"name": "victorwesterlund/libmysqldriver",
"version": "dev-master",
"source": {
"type": "git",
"url": "https://github.com/VictorWesterlund/php-libmysqldriver.git",
"reference": "adc2fda90a3b8308e8a9df202d5ec418a9220ff8"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/VictorWesterlund/php-libmysqldriver/zipball/adc2fda90a3b8308e8a9df202d5ec418a9220ff8",
"reference": "adc2fda90a3b8308e8a9df202d5ec418a9220ff8",
"shasum": ""
},
"default-branch": true,
"type": "library",
"autoload": {
"psr-4": {
"libmysqldriver\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"GPL-3.0-only"
],
"authors": [
{
"name": "Victor Westerlund",
"email": "victor.vesterlund@gmail.com"
}
],
"description": "Abstraction library for common mysqli features",
"support": {
"issues": "https://github.com/VictorWesterlund/php-libmysqldriver/issues",
"source": "https://github.com/VictorWesterlund/php-libmysqldriver/tree/3.6.1"
},
"time": "2024-04-29T08:17:12+00:00"
},
{
"name": "victorwesterlund/xenum",
"version": "dev-master",
@ -118,6 +80,34 @@
"source": "https://github.com/VictorWesterlund/php-xenum/tree/1.1.1"
},
"time": "2023-11-20T10:10:39+00:00"
},
{
"name": "vlw/mysql",
"version": "dev-master",
"source": {
"type": "git",
"url": "https://codeberg.org/vlw/php-mysql",
"reference": "619f43b3bfab9eb034dca3e54c7466055240c861"
},
"default-branch": true,
"type": "library",
"autoload": {
"psr-4": {
"vlw\\MySQL\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"GPL-3.0-or-later"
],
"authors": [
{
"name": "Victor Westerlund",
"email": "victor@vlw.se"
}
],
"description": "Abstraction library for common MySQL/MariaDB DML operations with php-mysqli",
"time": "2024-09-25T13:28:15+00:00"
}
],
"packages-dev": [],
@ -125,7 +115,7 @@
"minimum-stability": "dev",
"stability-flags": {
"victorwesterlund/xenum": 20,
"victorwesterlund/libmysqldriver": 20
"vlw/mysql": 20
},
"prefer-stable": false,
"prefer-lowest": false,

View file

@ -7,7 +7,7 @@
use Reflect\Response;
use ReflectRules\Ruleset;
use libmysqldriver\MySQL;
use vlw\MySQL\MySQL;
enum Databases: string {
case VLW = "vlw";