phalcon / phalcon-devtools

Phalcon Developer Tools
https://docs.phalcon.io/latest/en/devtools
Other
1.33k stars 630 forks source link

Update DatabaseProvider.php #1451

Closed simonhochrein closed 4 years ago

simonhochrein commented 4 years ago

Fix [notice] E_USER_NOTICE: SQLite does not allow the charset to be changed in the DSN. in /home/user/.config/composer/vendor/phalcon/devtools/src/Providers/DatabaseProvider.php on line 69

Hello!

In raising this pull request, I confirm the following (please check boxes):

Small description of change: This fixes an error that shows in the log when attempting to use Sqlite as the adapter in config.php.

[notice] E_USER_NOTICE: SQLite does not allow the charset to be changed in the DSN. in /home/user/.config/composer/vendor/phalcon/devtools/src/Providers/DatabaseProvider.php on line 69

I tested this on the computer that was having the problem and the error no longer occurs.

Thanks

Jeckerson commented 4 years ago

@simonhochrein Please change destination branch to 4.0.x.

simonhochrein commented 4 years ago

Done.