Art4
cad3311afb
Replace calls for App::setContactId() with AppHelper
2024-11-08 22:50:08 +00:00
Art4
6f14645a5f
Replace calls for App::getProfileOwner() with AppHelper
2024-11-08 22:45:14 +00:00
Art4
6a6a5af3b2
Replace calls of App::setProfileOwner with AppHelper
2024-11-08 16:20:55 +00:00
Art4
9477e1b55f
Move AppHelper code to AppLegacy, create interface for AppHelper
2024-11-08 16:07:24 +00:00
Art4
85f74c80e8
extract redirect method into AppHelper
2024-11-08 12:13:20 +00:00
Art4
470c47f45c
Extract config methods into AppHelper
2024-11-08 12:06:30 +00:00
Art4
0fc9f7f0b4
extract ThemeInfo methods into AppHelper
2024-11-08 11:05:02 +00:00
Art4
6fd74bccb0
Remove unused dependencies
2024-11-08 09:44:01 +00:00
Art4
48b2cff53d
extract getter and setter for current theme into AppHelper
2024-11-08 09:39:16 +00:00
Art4
bbf7d50295
Merge branch 'add-static-code-analysis' into refactoring-of-app-class
2024-11-08 08:31:31 +00:00
Art4
256ed12b51
Move test into Unit test namespace
2024-11-08 08:17:27 +00:00
Art4
dc80d35088
Fix cs
2024-11-08 08:15:03 +00:00
Art4
4203ce5d51
Merge branch 'add-static-code-analysis' into refactoring-of-app-class
2024-11-08 08:03:16 +00:00
Art4
1c3a33ab49
Fix namespace
2024-11-08 08:01:07 +00:00
Art4
60a9833130
Replace App with AppHelper in Worker classes
2024-11-08 07:42:35 +00:00
Art4
1d5fc6a4bf
Extract Queue getter and setter into AppHelper
2024-11-08 07:30:36 +00:00
Art4
f0ce7ea61e
Extract App::getProfileOwner() and setProfileOwner() into AppHelper
2024-11-06 13:36:38 +01:00
Art4
b5317f8e46
Refactor App, add AppHelper in constructor
2024-11-06 12:26:33 +00:00
Art4
00d2e24dd2
Refactor Security\Authentication class, remove dependency for App instance
2024-11-06 13:21:57 +01:00
Art4
c0bd3b5ff0
Extract App::setContactId() and App::getContactId() into AppHelper
2024-11-06 13:11:26 +01:00
Art4
94b4009397
Improve code style in Security\Authentication
2024-11-06 13:06:54 +01:00
Art4
ae36d66ddc
Replace App with AppHelper in Calendar/Event/API.php
2024-11-06 12:52:48 +01:00
Art4
7c6505cc55
Replace App with AppHelper in Network classes
2024-11-06 08:14:50 +00:00
Art4
9074258b78
Replace static calls of DI::app() with DI::apphelper()
2024-11-06 07:57:43 +00:00
Art4
4f16bbe5f5
deprecate App::ge DI::app(),tTimeZone() and App::setTimezone()
2024-11-06 07:52:46 +00:00
Art4
81b0bab084
Create AppHelper class
2024-11-06 07:32:07 +00:00
Art4
d29a18e56f
Refactor App class
2024-11-06 07:21:50 +00:00
Art4
dfb821d3b5
Ignore false positive PHPStan error
...
see https://github.com/friendica/friendica-addons/pull/1363
2024-11-05 15:26:24 +00:00
Art4
a28a207774
Fix name of Mode class
2024-11-05 12:20:43 +00:00
Art4
eff96cc140
add missing use statement
2024-11-05 12:17:41 +00:00
Art4
4b971f84fd
Fix returns in Console commands
2024-11-05 12:13:18 +00:00
Art4
01ba276455
Add missing return
...
This needs some refactoring: returning nothing implicit returns null, thas will be convert to int 0.
I return false instead of nothing to keep this behaviour for BC.
2024-11-05 11:52:23 +00:00
Art4
bf04b3e57d
Fix usage of static
2024-11-05 11:27:29 +00:00
Art4
f024de4350
add missing property in FixAPDeliveryWorkerTaskParameters
2024-11-05 11:25:35 +00:00
Art4
3c229443e8
Remove missleading template phpdoc
2024-11-05 07:14:24 +00:00
Art4
4e49c45021
Remove support for apc
2024-11-05 07:07:58 +00:00
Art4
8448d719e7
Remove support for apc
...
apc is deprecated since PHP 5.5 and not compatible with PHP 7
2024-11-04 20:34:42 +00:00
Art4
ad6be21b56
Fix defaults in Contact model
2024-11-04 20:02:44 +00:00
Art4
28f2b7fc81
Fix variable name
...
The variable was renamed but this line was accidently overseen
see 62eb16e9ad (diff-785d24b46fdf749363656f33208f941ea0eca809c7c76452180a0bfc16df68a3R2555)
2024-11-04 15:28:10 +00:00
Art4
3535c7c4cd
Remove unused code
2024-11-04 15:09:33 +00:00
Art4
71add60f59
remove unused code
...
this code was never called because $body is never declared
and hence the if could never be true
2024-11-04 15:04:06 +00:00
Art4
57c188d01d
Fix wrong use of static
2024-11-04 13:46:33 +00:00
Art4
4a9c7d2f30
Remove call of non-existing functions
...
This functions were removed in commit a97b3f690c9e4476ba638236897507100f77af6f
- twitter_statuses_show()
- twitter_media_entities()
- twitter_expand_entities()
see a97b3f690c
2024-11-04 13:56:08 +01:00
Art4
b5c2cbc597
Refactor Friendica\Module\Debug\ItemBody class
2024-11-04 13:36:57 +01:00
Art4
979468e7fb
refactor of Friendica\Object\Api\Mastodon\Preferences class
2024-11-04 13:30:26 +01:00
Art4
0bb8e3af80
add test for Preferences class
2024-11-04 13:22:26 +01:00
Art4
9ae7b9cf01
Fix warnings in Receiver.php
2024-11-04 11:58:08 +00:00
Art4
3a8058ec09
Extract visible_whitespace() into separate method in ActivityPubConversion
2024-11-03 15:54:37 +01:00
Art4
e984057ceb
Extract visible_whitespace() into separate method
2024-11-03 15:52:46 +01:00
Art4
c5dac44c8f
add missing return statement
2024-11-03 15:49:44 +01:00