| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |/
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Add type annotations for constructor and set* methods, and throw an
exception if the passed in arrays are missing required keys. This means
that both invalid input types and missing keys will throw and exception
rather than just die with a runtime error.
There's not checks to verify that the contents of the required array
keys are valid or make sense, though. They are just assigned, and
returned as is by the get method when requested.
Also, the set_from_array method is not well tested at the moment.
|
| |/ |
|
| | |
|
| |\
| | |
| | |
| | |
| | | |
Skip logging when DB functions are not yet loaded (logging requires db lookup).
See merge request hubzilla/core!2051
|
| | | |
|
| | | |
|
| |/ |
|
| |\
| | |
| | |
| | |
| | | |
Cleanup unit tests
See merge request hubzilla/core!2049
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
This cleans up the doc comment. Should probably try to do this
everywhere.
|
| | | |
|
| | |
| | |
| | |
| | | |
Just no need to have them spread around in various other tests cases.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
These tests actually tests both the get_tags() function, and the
handle_tags() function. The latter don't work, and should probably be
split into it's own test cases.
There's also some stubs here that we may want to deal with in another
way.
Also removed meaningless "test" of intval() builtin function. It behaves
as documented, no need for us to test it.
|
| | |
| | |
| | |
| | | |
Mostly cosmetic to satisfy phpcs + remove explicit require.
|
| | |
| | |
| | |
| | | |
Not sure if this test is actually useful, but leave it for now.
|
| | |
| | |
| | |
| | | |
Rely on PHPUnit config to load the app and the code under test.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
- Start comments with capital letter
- Fix indentation
- Add missing doc comments
|
| |/ |
|
| | |
|
| |
| |
| | |
(cherry picked from commit 67aaa979049ea2666da1fb313b2b095e27422128)
|
| |
| |
| | |
(cherry picked from commit 4338e4ef86933cef44ca4dddacd627dd3a136d20)
|
| | |
|
| |
| |
| | |
This reverts commit 1915f34de8f496d49d5b4be74570dba5f51b89b0
|
| | |
|
| |
| |
| | |
(cherry picked from commit 491e309911ebc2f6ace735a1f53c94d1595845c9)
|
| |
| |
| | |
(cherry picked from commit 3708c1ac8c60c500e3aa15450380fe657f1dd24a)
|
| |
| |
| | |
(cherry picked from commit a06b28b6934cda8a8cacd3ebf7c76b881a69b74e)
|
| | |
|
| | |
|
| | |
|
| |
| |
| | |
(cherry picked from commit 0a3094fc9a708c4e83d6dd91250ac2105e21b03f)
|
| |
| |
| |
| |
| | |
parent of a reaction fetch the thr_parent
(cherry picked from commit 816bbad28a6292be1c697fe3ac4073f3f110dc10)
|
| |
| |
| | |
(cherry picked from commit ce4150cd06a5eb3995592b7c3898d980a58d3dd6)
|
| |
| |
| | |
(cherry picked from commit be19b7503105955b58c85dbec65c02626c9e5000)
|
| |
| |
| | |
(cherry picked from commit 2d5c99f459c77dbf17db9809d3ba37d66f14b2a5)
|
| |
| |
| | |
(cherry picked from commit c4af4e3297f09aa0c6f8ed8e21d6f54729ebfc4d)
|
| |
| |
| | |
(cherry picked from commit 1acfc05e2db2ba5556b8d8596dcf7b3b99f75f6b)
|
| |
| |
| | |
(cherry picked from commit b40c38f58c6ff780b518e07a836dd683c971b5b3)
|
| |
| |
| | |
(cherry picked from commit 0ec715d7c9d4bdce71210f9d025cf8ac0c02160d)
|
| |
| |
| | |
(cherry picked from commit 3bd2a919925965c42dfab14ac13dfc5747955f01)
|
| | |
|
| |
| |
| | |
(cherry picked from commit 4b1384be832b0a745eeb8ac94cba6b00edc4eb64)
|
| | |
|
| |
| |
| | |
(cherry picked from commit 7200c716736d879501a665c9797ccf9e0131b24c)
|
| |
| |
| | |
(cherry picked from commit c412c01a657fbac49f611b94b4c88cf63f4fff77)
|
| | |
|
| |
| |
| | |
(cherry picked from commit 330add963dbe2195e0613f35b8f63c15eee585a0)
|
| |
| |
| | |
(cherry picked from commit ef6ea4484eb03d80c96f4d67002e567cebc8ccae)
|
|\ \ |
|