Maurício Meneghini Fauth
dc1a890126
Extract function to load services from services file
...
Extracts to ContainerBuilder::loadServices(), removes service alias
support and add unit tests.
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
2026-01-07 22:37:05 -03:00
Maurício Meneghini Fauth
79393bfa70
Remove unnecessary array nesting in services files
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
2026-01-07 13:28:31 -03:00
Maurício Meneghini Fauth
b4e3ba8409
Remove '@' char from service arguments in services file
...
As only other services are used as arguments, there's no need for it.
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
2026-01-07 12:41:01 -03:00
Maurício Meneghini Fauth
5548f8fe5b
Replace lang global var with Current::$lang prop
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
2024-12-24 12:01:03 -03:00
Kamil Tekiela
8015e4de72
Move DatabaseInterface to Dbal
...
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2024-12-22 18:34:53 +00:00
Maurício Meneghini Fauth
55d922c313
Add tests for app/services* files
...
Fixes error introduced by
https://github.com/phpmyadmin/phpmyadmin/pull/18625 .
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2024-03-09 17:02:07 -03:00
Maurício Meneghini Fauth
606f66b5df
Rename tests/classes to tests/unit
...
This directory is for unit tests only, so let's rename it to unit to be
more clear.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2024-02-23 13:29:07 -03:00