Commit graph

1377 commits

Author SHA1 Message Date
Art4
510f4e02c8 Add support for WorkerLogger decorator in LoggerManager, deprecate core Logger class, deprecate DI::workerLogger() 2025-01-12 08:21:30 +00:00
Art4
0804413c41 LegacyLoggerFactory uses Logger as factory 2025-01-11 21:05:35 +00:00
Art4
b40db06ef3 Merge branch 'develop' into refactor-logger 2025-01-11 17:08:07 +00:00
Art4
48154a090a Create LoggerManager::changeLogChannel() 2025-01-11 08:05:50 +00:00
Art4
d9af357663 Create LegacyLoggerFactory 2025-01-10 21:58:21 +00:00
Art4
2df76617c1 Rename LoggerFactory into LoggerManager 2025-01-10 15:21:56 +00:00
Art4
96af0e6ebb LoggerFactory can create ProfilerLogger 2025-01-10 13:28:42 +00:00
Art4
f65a838594 Always return NullLogger if debug is disabled 2025-01-10 12:36:13 +00:00
Art4
4a8533aa11 LoggerFactory returns same object 2025-01-10 10:33:55 +00:00
Art4
9bcb470caa Create new LoggerFactory 2025-01-10 10:30:11 +00:00
Art4
7107acb15c Fix namespace for DiceContainer test 2025-01-09 19:53:47 +00:00
Art4
f40fb6b099 Fix code style 2025-01-09 09:21:10 +00:00
Art4
27fa4c0cdf Remove Dice rules for unused $devLogger service 2025-01-09 09:16:52 +00:00
Art4
57c96b89a1 Remove unused import 2025-01-08 23:10:31 +00:00
Art4
c762c62029 Remove DiceContainer::fromDice() 2025-01-08 23:00:38 +00:00
Art4
320fe18654 Create Container interface, add DiceContainer as implementation 2025-01-08 22:59:29 +00:00
Art4
316fac0161 Add tests for Container::fromBasePath() 2025-01-08 22:52:30 +00:00
Philipp
22ce079222
Make PHP-CS happy :-) 2025-01-05 23:13:45 +01:00
Philipp
560bf345da
Add UnitTest for Container 2025-01-05 23:13:44 +01:00
Philipp
2238ea8d52
Add license 2025-01-05 23:13:43 +01:00
Philipp
c726675189
Add doc & fix test 2025-01-05 23:13:43 +01:00
Philipp
40fbb02149
Move Container logic into own class 2025-01-05 23:13:41 +01:00
Art4
ae0cab36dc Improve BasePath tests 2024-12-23 14:51:58 +00:00
Art4
6f570a08e5 declare strict mode in unit tests 2024-12-22 18:48:46 +00:00
Art4
75772d874f refactor BasePathTest 2024-12-22 18:47:57 +00:00
Art4
ea07b83fd0 adjust tests 2024-12-20 13:21:35 +00:00
Art4
9ef3fdc857 move load() call outside of constructor to remove side effects 2024-12-19 21:01:41 +00:00
Art4
23e3af4a09 Create tests for App 2024-12-19 20:37:56 +00:00
Art4
a583cc9b0e replace more calls of DI::app(), add workaround for tests 2024-12-18 21:19:01 +00:00
Art4
ba65cad1cd Replace DI::app() with DI::appHelper() in more tests 2024-12-18 21:06:55 +00:00
Art4
b2a383a9cb Replace DI::app() with DI::appHelper() in Module\Api\Friendica namespace tests 2024-12-18 20:55:39 +00:00
Art4
1d441ab657 remove unnecessary Di::app() all 2024-12-18 19:57:00 +00:00
Art4
4f1b917e42 Remove unused AppDouble class 2024-12-15 22:15:46 +00:00
Art4
b60f9863c6 clean use statements 2024-12-15 21:51:22 +00:00
Art4
f8bb565fa5 Rename StorageTest with StorageTestCase 2024-12-15 21:36:40 +00:00
Art4
8401b5b0ee rename StorageConfigTest to StorageConfigTestCase 2024-12-15 21:32:23 +00:00
Art4
b09fb1047f Rename AbstractLoggerTest to LoggerTestCase 2024-12-15 21:28:34 +00:00
Art4
75632a1490 Rename LockTest to LockTestCase 2024-12-15 21:15:21 +00:00
Art4
a676e738e0 Rename MemoryCacheTest to MemoryCacheTestCase 2024-12-15 21:09:57 +00:00
Art4
0826cb50bd Rename CacheTest to CacheTestCase 2024-12-15 21:06:49 +00:00
Art4
75fee6784e Rename PConfigTest to PConfigTestCase 2024-12-15 16:13:53 +00:00
Art4
f3f52efe18 Inline KeyValueStorageTest into DBKeyValueStorageTest 2024-12-14 21:33:16 +00:00
Art4
54ee36a6aa Rename ConsoleTest to ConsoleTestCase 2024-12-14 08:16:37 +00:00
Art4
9f8023b91f rename and move ApiTest to ApiTestCase 2024-12-14 07:56:34 +00:00
Art4
cb6269eddb Fix path to tests 2024-12-14 07:55:22 +00:00
Art4
346b42fba5 Fix use statements 2024-12-14 07:55:22 +00:00
Art4
5430d65799 rename DatabaseTest to DatabaseTestCase 2024-12-14 07:55:22 +00:00
Art4
42b543cd24 rename FixtureTest to FixtureTestCase 2024-12-14 07:55:22 +00:00
Art4
ee579280c7 Rename MockedTest to MockedTestCase 2024-12-14 07:55:22 +00:00
Art4
9a28eee477 Add suffix for PHPUnit test cases 2024-12-14 07:55:22 +00:00