Roland Häder
3e522ed512
Fixed:
...
- prevent NULL from being handled over to XML::escape()
- still I wonder that an object can be? It is a string-only accepting method
2022-06-21 01:42:37 +02:00
Roland Häder
b6fa022a73
Changes:
...
- added type-hints
- added some documentation
- marked some generic methods to be moved to Util\Strings class instead
2022-06-20 23:50:24 +02:00
Michael
3444c29b0b
Avoid warning "Undefined namespace prefix"
2022-05-21 06:04:34 +00:00
Michael
6f43821ebf
Issue 11368: Prevent namespace prefix warning
2022-03-22 21:07:35 +00:00
Balázs Úr
e56a53647b
Update copyright
2022-01-02 08:27:47 +01:00
Michael
f6faae5bb1
Replace deprecated log
calls
2021-10-20 18:53:52 +00:00
Balázs Úr
054c301ef0
Update copyright
2021-03-29 08:40:20 +02:00
Michael
34257e78ca
Function renamed
2020-09-13 19:40:38 +00:00
Michael
20b25a1acd
New function "queryValue"
2020-09-12 19:23:23 +00:00
Michael
f521689ced
Suppress XML logging of errors
2020-04-27 14:35:50 +00:00
nupplaPhil
85dc9bb96b
Add license info at Friendica PHP files
2020-02-09 16:18:46 +01:00
Michael
0a4119adaf
@brief is removed completely
2020-01-19 06:05:23 +00:00
Michael
6f3019ecdd
Revert PR 7158 since it breaks umlauts
2019-05-19 09:34:49 +00:00
Hypolite Petovan
8fb9722cdc
Replace htmlspecialchars_decode with html_entity_decode in XML::unescape
...
- Replace htmlspecialchars with htmlentities in XML::escape
- This allows for converting all entities from Diaspora messages to regular characters
2019-05-18 13:15:51 -04:00
Hypolite Petovan
8c1db51a76
Improve Logger calls
...
- Replace various deprecated Logger::log calls
- Reassign log level for verbose log calls
2019-02-23 17:32:11 -05:00
Hypolite Petovan
64847e7cc8
Fix types in doc blocks/prototypes
2019-01-23 09:06:58 -05:00
Hypolite Petovan
4a95ca280d
Remove unused code
...
- Remove commented code
- Remove unused/immediately overwritten variables
- Remove extraneous parameters
- Remove unreachable code
- Remove duplicate array keys
2019-01-21 10:48:40 -05:00
Hypolite Petovan
3282ce5389
Fix PHPDoc comments project-wide
2019-01-21 10:35:51 -05:00
Adam Magness
186cd1d415
Revert "Move methods to new Util/Strings class"
...
This reverts commit 97fcf23371
.
2018-11-05 13:07:15 -05:00
Adam Magness
97fcf23371
Move methods to new Util/Strings class
...
move string methods from xml to strings class.
2018-11-05 07:31:45 -05:00
Adam Magness
6cc339031a
Rename functions
...
rename functions
2018-11-05 07:24:14 -05:00
Adam Magness
ae4aab872f
forgotten self
...
forgotten self references
2018-11-05 07:24:14 -05:00
Adam Magness
84e900d96f
Move to XML
...
move functions from text to xml
2018-11-05 07:24:14 -05:00
Adam Magness
50da89d861
Logger Levels
...
update logger levels in calls
2018-10-30 09:58:45 -04:00
Adam Magness
14fde5dc9b
Log function
...
implement log() function.
2018-10-30 09:57:14 -04:00
Michael Vogel
0360f7197a
Several more warnings ... ( #5340 )
...
* Some more warnings removed
* Even more warnings ...
* Will it ever end? ;-)
* Avoid warning in dbstructure
* Origin and OStatus ...
* There are more warnings solved ... yeah!
* And again ...
* We are not done yet
* And more ...
* And some new places ...
* And more in the feeds
* Avoid some more
* And some backend stuff
* Notifications cleared
* Some more stuff
* and again ...
* It's getting fewer ...
* Some warnings had been hidden in the notifications
* Fix the fix
* And another missing one ...
* We need the owner here, not the user
* Forgotten user
* And more ...
* And some more warnings disappeared ...
* Some more frontend warnings
* Some backend warnings removed
* Fixed sidebar for "vier"
* And more ...
* Some more ...
* And something for "remote self"
* Am I stuck in an endless loop?
* Fix: Clear tag and file field on update
* Preset page content
2018-07-10 08:27:56 -04:00
Michael
7d6933c898
Avoid "Trying to get property of non-object"
2018-07-08 11:46:05 +00:00
Hypolite Petovan
d419d07f73
[Scrutinizer] Fix undeclared variables in src/ (except Protocol/)
...
- Use dba::selectFirst to remove intermediate variables `$r`
- Remove unused variable `$url_recipients` in Worker\Dellivery
2018-02-14 00:05:00 -05:00
Adam Magness
f04d40a37e
Review update
...
Rename function, move others
2018-01-27 11:13:41 -05:00
Hypolite Petovan
e36f2bb1fb
Use short form array syntax everywhere
...
- Add short form array syntax to po2php.php generation
2018-01-15 14:07:17 -05:00
Hypolite Petovan
2978b1eef0
Fix undefined variable/wrong parameter count/unknown functions
2017-12-17 15:33:45 -05:00
Hypolite Petovan
916236ce2f
Fix docblocks types
2017-12-17 15:27:50 -05:00
Hypolite Petovan
10b72b0e9e
PHPStan: Fix missing requires/namespaces
2017-12-17 15:26:43 -05:00
Adam Magness
ddacbf2c13
XML class standards
...
updated the xml class for PSR-2
2017-11-20 12:56:31 -05:00
Adam Magness
bc49fc974c
Capitalized XML
...
Acronym classes should be capitalized
2017-11-10 07:45:33 -05:00