Commit graph

40173 commits

Author SHA1 Message Date
Hypolite Petovan
19cd11cc8e
Merge pull request #14538 from Art4/restore-github-actions
Add optional GitHub Action for PHP tests
2024-12-22 22:06:58 -05:00
Art4
b801e176aa Merge database and unit tests into one workflow 2024-12-22 14:36:19 +00:00
Art4
432f28ecd1 merge code quality checks into on workflow 2024-12-22 14:29:13 +00:00
Art4
af4cac91b1 Run PHP-CS-Fixer with PHP 8.3 2024-12-22 07:27:07 +00:00
Art4
f8b96c562a Add codestyle check 2024-12-22 07:23:49 +00:00
Art4
af655ff392 rename workflows and test cases 2024-12-22 07:05:25 +00:00
Art4
9803bd731c Merge branch 'develop' into restore-github-actions 2024-12-22 07:02:24 +00:00
Art4
3b8aac4c55 Add tests with PHP 8.5 2024-12-22 06:56:30 +00:00
Art4
1b4ace329e Rename tests, use composer v2 2024-12-22 06:55:09 +00:00
Art4
dd4467043a Set bin path to phpunit 2024-12-22 06:51:37 +00:00
Art4
57da3416c5 clone addon repository 2024-12-22 06:41:11 +00:00
Art4
ab22464d55 better healtcheck for mariadb 2024-12-22 06:38:16 +00:00
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
c949032fc7 Remove src tests 2024-12-20 21:49:34 +00:00
Art4
722164711c test only src tests 2024-12-20 21:36:06 +00:00
Art4
2fba79929d add tests workflow 2024-12-20 21:32:59 +00:00
Art4
81b87e9ca4 Add workflow for unit tests 2024-12-20 21:26:05 +00:00
Art4
d9841eeea3 Add Github workflow for PHPStan 2024-12-20 21:07:53 +00: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
ce6ae1d98c Merge branch 'develop' into restore-github-actions 2024-12-18 22:27:07 +00: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