Skip to content

Commit cee4667

Browse files
committed
chore: cleanup setup
1 parent b8cb82e commit cee4667

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

‎.env.example.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@
1010
'DB_HOST' => '',
1111
'DB_USERNAME' => '',
1212
'DB_PASSWORD' => '',
13-
'DB_DATABASE' => sys_get_temp_dir() . '/leaf-auth-tests.sqlite',
13+
'DB_DATABASE' => ':memory:', // in-memory sqlite: no files, no cleanup, fastest
1414
];

‎composer.json‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"php",
1111
"framework"
1212
],
13-
"homepage": "https://leafphp.netlify.app/#/",
13+
"homepage": "https://leafphp.dev",
1414
"type": "library",
1515
"license": "MIT",
1616
"authors": [
@@ -29,7 +29,7 @@
2929
"src/functions.php"
3030
]
3131
},
32-
"minimum-stability": "stable",
32+
"minimum-stability": "dev",
3333
"prefer-stable": true,
3434
"require": {
3535
"php": "^8.2",
@@ -55,7 +55,8 @@
5555
"leafs/leaf": "^5.0",
5656
"league/oauth2-google": "*",
5757
"leafs/billing": "^5.0",
58-
"rector/rector": "*"
58+
"rector/rector": "*",
59+
"ext-pdo_sqlite": "*"
5960
},
6061
"scripts": {
6162
"test": "@php vendor/bin/alchemy test",

0 commit comments

Comments
 (0)