mediawiki-extensions-Discus.../includes/ThreadItem
Bartosz Dziewoński 781a33357b Use type hints for properties, remove PHPCS overrides
MediaWiki's PHPCS plugin requires documentation comments on all
properties, unless those properties are typed.

This has potential to introduce bugs – in particular, because typed
properties without a default value will throw an exception if their
value is accessed before it's defined, while previously they defaulted
to null. I fixed this when I found it (making them nullable and null
by default), but I may have missed some cases.

Change-Id: If5b1f4d542ce3e1b69327ee4283f7c3e133a62a0
2023-10-19 19:31:02 +00:00
..
CommentItem.php Separate ContentThreadItem and DatabaseThreadItem etc. 2022-07-04 23:35:50 +02:00
CommentItemTrait.php Update exception handling for new code conventions 2023-01-22 18:17:11 +00:00
ContentCommentItem.php Use type hints for properties, remove PHPCS overrides 2023-10-19 19:31:02 +00:00
ContentHeadingItem.php [BREAKING CHANGE] Remove isSectionEditable from overflow hook 2023-10-18 12:56:46 +01:00
ContentThreadItem.php Use type hints for properties, remove PHPCS overrides 2023-10-19 19:31:02 +00:00
DatabaseCommentItem.php Use PHP 7.4 property types 2022-10-28 21:56:38 +02:00
DatabaseHeadingItem.php Use PHP 7.4 property types 2022-10-28 21:56:38 +02:00
DatabaseThreadItem.php Use PHP 7.4 property types 2022-10-28 21:56:38 +02:00
HeadingItem.php Separate ContentThreadItem and DatabaseThreadItem etc. 2022-07-04 23:35:50 +02:00
HeadingItemTrait.php ThreadItem jsonSerialize: make sure callback is applied last 2022-08-30 09:11:46 -05:00
ThreadItem.php Separate ContentThreadItem and DatabaseThreadItem etc. 2022-07-04 23:35:50 +02:00
ThreadItemTrait.php Separate ContentThreadItem and DatabaseThreadItem etc. 2022-07-04 23:35:50 +02:00