Skip to content

Commit 114315f

Browse files
committed
Add a test to cover that we have an SQLite version compatible with Laravel 11
1 parent f165a07 commit 114315f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/test_2_extensions.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,8 @@
123123
'sockets' => function_exists('socket_connect'),
124124
'spl' => class_exists(\SplQueue::class),
125125
'sqlite3' => class_exists(\SQLite3::class),
126+
// Laravel 11 requires SQLite >= 3.35.0
127+
'sqlite_version' => version_compare('3.35.0', \SQLite3::version()['versionString'], '<='),
126128
'tokenizer' => function_exists('token_get_all'),
127129
'libxml' => function_exists('libxml_get_errors'),
128130
'xml' => function_exists('xml_parse'),

0 commit comments

Comments
 (0)