Skip to content

Commit d2199b1

Browse files
authored
Merge pull request #217: Fix reconnection on MySQL disconnected by inactivity
2 parents 713122e + 7dfd98e commit d2199b1

File tree

10 files changed

+2215
-666
lines changed

10 files changed

+2215
-666
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ jobs:
1818
matrix:
1919
php-versions: ['8.0', '8.1', '8.2', '8.3']
2020
steps:
21+
- name: Install ODBC driver.
22+
run: |
23+
sudo curl https://packages.microsoft.com/config/ubuntu/$(lsb_release -rs)/prod.list | sudo tee /etc/apt/sources.list.d/mssql-release.list
24+
sudo ACCEPT_EULA=Y apt-get install -y msodbcsql18
25+
2126
- name: Checkout
2227
uses: actions/checkout@v2
2328
- name: Setup DB services

.gitignore

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
.idea/
2-
.env
1+
/.idea/
2+
/.dolt/
33
/runtime/
44
/vendor/
55
/tests/runtime/*
6+
/.env
67
*.db

.idea/icon.svg

Lines changed: 15 additions & 0 deletions
Loading

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,12 @@
5555
},
5656
"require-dev": {
5757
"ergebnis/composer-normalize": "^2.42",
58-
"infection/infection": "^0.26.10",
58+
"infection/infection": ">=0.26.10",
5959
"mockery/mockery": "^1.5",
6060
"phpunit/phpunit": "^9.5",
61-
"spiral/code-style": "~2.2.0",
61+
"spiral/code-style": "^2.2.0",
6262
"spiral/tokenizer": "^2.14 || ^3.0",
63-
"vimeo/psalm": "^5.18"
63+
"vimeo/psalm": "^5.26 || ^6.6"
6464
},
6565
"conflict": {
6666
"spiral/database": "*"

0 commit comments

Comments
 (0)