Commit Graph

40139 Commits (develop)

Author SHA1 Message Date
Hypolite Petovan e7e0ae3784
Merge pull request #14603 from Art4/create-app-from-container
Add `App::fromDice()` factory method
2024-12-21 21:35:01 -05:00
Art4 0bdc1d9f57 Let phpstan check index.php 2024-12-20 20:56:26 +00:00
Art4 2f9f873f4b refactor App::runFrontend() 2024-12-20 13:38:38 +00:00
Art4 7a4542cd50 refactor App 2024-12-20 13:24:25 +00:00
Art4 ea07b83fd0 adjust tests 2024-12-20 13:21:35 +00:00
Art4 0ab9c23bb9 Refactor App::fromDice() 2024-12-20 12:30:26 +00:00
Art4 9e4f39b4fb Inline runFrontend() call into App::processRequest() method 2024-12-20 10:07:59 +00:00
Art4 ee5b210682 Inline mode call into App::processRequest() 2024-12-20 10:05:13 +00:00
Art4 7a7b8d3e27 Inline App::load() call in new processRequest() method 2024-12-20 10:04:02 +00:00
Art4 40fa8559e5 Merge branch 'develop' into create-app-from-container 2024-12-20 09:26:14 +01:00
Hypolite Petovan 3e3fe92567
Merge pull request #14602 from Art4/remove-apphelper-implementation-from-app
Remove `AppHelper` implementation in `App` class
2024-12-19 17:58:14 -05: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 af51441d88 require AppHelper in App 2024-12-19 20:26:38 +00:00
Art4 241031f1fa inject container inside app instance 2024-12-19 20:24:24 +00:00
Art4 16bdd76be1 Create PSR-7 request 2024-12-19 20:07:37 +00:00
Art4 d6ec1d7d6b Prevent App class to be used with dependency injection 2024-12-19 20:03:42 +00:00
Art4 d05b2dd8c2 Merge branch 'remove-apphelper-implementation-from-app' into create-app-from-container 2024-12-19 19:51:51 +00:00
Art4 1c4d021b67 Merge branch 'develop' into remove-apphelper-implementation-from-app 2024-12-19 19:50:36 +00:00
Hypolite Petovan d0d9712ac3
Merge pull request #14593 from Art4/replace-app-with-apphelper-in-tests
Replace App with AppHelper in tests
2024-12-19 07:30:33 -05:00
Art4 1c7446bf9a Create App::fromDice() factory method 2024-12-18 22:16:34 +00:00
Art4 23b19b76b5 Provide appHelper in Page run() method 2024-12-18 21:57:39 +00:00
Art4 6b948c82d7 Remove AppHelper implementation from App class 2024-12-18 21:30:36 +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 e16d9ace34 Merge branch 'develop' into replace-app-with-apphelper-in-tests 2024-12-18 19:47:57 +00:00
Hypolite Petovan 2ebac8207f
Merge pull request #14599 from Art4/fix-phpstan-errors
Fix phpstan errors
2024-12-16 21:01:36 -05:00
Art4 99d6599747 Merge branch 'fix-phpstan-errors' into replace-app-with-apphelper-in-tests 2024-12-16 22:37:37 +00:00
Art4 228ca0bfac Fix type 2024-12-16 22:36:15 +00:00
Art4 cc9ff34e45 Fix phpstan errors 2024-12-16 22:32:12 +00:00
Art4 c70da6641f Merge branch 'develop' into replace-app-with-apphelper-in-tests 2024-12-16 22:13:47 +00:00
Hypolite Petovan 657ccaf226
Merge pull request #14597 from Art4/rearange-testcases
Rearrange testcases
2024-12-16 09:23:40 -05:00
Hypolite Petovan 65ca688da6
Merge pull request #14598 from Art4/merge-2024.09-rc-into-develop
Merge 2024.09-rc into develop
2024-12-16 09:22:10 -05:00
Hypolite Petovan 012cce1ac7
Merge pull request #14590 from Art4/phpstan-level-2-in-addons
Fix PHPStan errors level 2 in addons
2024-12-16 09:14:29 -05:00
Art4 c6c29b29b1 Merge branch '2024.09-rc' into merge-2024.09-rc-into-develop 2024-12-16 11:06:45 +01:00
Art4 4f1b917e42 Remove unused AppDouble class 2024-12-15 22:15:46 +00:00
Art4 c24d36c02e Merge branch 'rearange-testcases' into replace-app-with-apphelper-in-tests 2024-12-15 22:03:06 +00:00
Art4 f7d8240d2c Merge branch 'develop' into replace-app-with-apphelper-in-tests 2024-12-15 21:58:13 +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 78f7285e00 Merge branch 'develop' into phpstan-level-2-in-addons 2024-12-15 06:57:52 +00:00
Hypolite Petovan 8210f5c7e5
Merge pull request #14584 from Art4/phpstan-level-2
PHPStan level 2
2024-12-14 16:54:02 -05:00