15 Commits

Author SHA1 Message Date
supahgreg
36bbba2eb0
Allow cloning the default profile. 2025-11-13 00:10:21 +00:00
supahgreg
5bec70065a
Assorted array-related (or nearby) tweaks.
Move away from 'array_push', simplify various things (e.g. eliminate low value intermediate vars), etc.
2025-11-01 23:47:00 +00:00
supahgreg
da5bb77dc1
Describe array shapes in some more places. 2025-11-01 04:12:20 +00:00
supahgreg
fbac26467b
Various Rector rules for files that got missed previously.
Rules applied:
* ListToArrayDestructRector
* LongArrayToShortArrayRector
* ClassOnObjectRector
* ClassOnThisVariableObjectRector
* RemoveUnusedVariableInCatchRector
2025-10-18 02:05:57 +00:00
supahgreg
6cf8f11b2b
Rector rule 'RemoveUnusedVariableInCatchRector'.
https://getrector.com/rule-detail/remove-unused-variable-in-catch-rector
2025-10-18 01:37:11 +00:00
supahgreg
fbdf35d134
Rector rule 'ListToArrayDestructRector'.
https://getrector.com/rule-detail/list-to-array-destruct-rector
2025-10-18 01:20:32 +00:00
wn_
a1bd6cea1b Use native typing in more places and clean up 'FeedEnclosure' a bit. 2024-12-14 12:26:59 +00:00
wn_
abcd0e8ba2 Use native union types in most places. 2024-11-23 17:43:24 +00:00
wn_
9dd4102c7f Replace basic 'isset()' cases with the null coalescing operator. 2024-08-04 15:42:11 +00:00
wn_
ac55a15c84 Switch 2 more implicitly nullable params to explicitly nullable.
Missed in https://gitlab.tt-rss.org/tt-rss/tt-rss/-/merge_requests/26 .

https://wiki.php.net/rfc/deprecate-implicitly-nullable-types
2024-04-16 14:23:07 +00:00
Andrew Dolgov
283ad4ebea Merge branch 'feature/unused-var-cleanup' into 'master'
Clean up some unused variables.

See merge request tt-rss/tt-rss!19
2024-01-13 18:29:30 +00:00
Andrew Dolgov
bcdfedeb8a
* mark get_pref/set_pref wrappers as deprecated
* add per-user preference for minimal score required for digest
2024-01-09 11:45:40 +03:00
wn_
8727fb3ba8 Clean up some unused variables.
This is essentially 1ccc0c8c1a without the renames and some other things related to Psalm.
2024-01-08 22:46:13 +00:00
Andrew Dolgov
855695a862
add stuff necessary to run integration tests using phpunit 2023-10-28 18:45:09 +03:00
Andrew Dolgov
865ecc8796
move to psr-4 autoloader 2023-10-25 12:55:09 +03:00