9143 Commits

Author SHA1 Message Date
Dylan K. Taylor
c4793241f5 Mass removal of useless @param/@return PHPDoc annotations, pass 1 2020-01-21 15:10:18 +00:00
Dylan K. Taylor
7532c609fb 3.11.5 is next 2020-01-20 18:06:46 +00:00
Dylan K. Taylor
13f28d8454 Release 3.11.4 3.11.4 2020-01-20 18:06:46 +00:00
Dylan K. Taylor
5a97c378fc phpstan: green on level 6, minus iterable types
iterable types are a big pain in the ass because of pthreads' awful architecture, and there's nothing I can do about that without BC-breaking changes to pthreads.
2020-01-20 17:54:55 +00:00
Dylan K. Taylor
e5d62ec901 phpstan 0.12.6 2020-01-20 17:26:48 +00:00
Dylan K. Taylor
cfd975009e Leaves: fix decay performance issue
this code was written with references in mind, but it looks like someone forgot the reference.
2020-01-20 11:52:11 +00:00
Dylan K. Taylor
73257ffde7 updated pocketmine/spl dependency 2020-01-19 19:50:20 +00:00
Dylan K. Taylor
8252bea699 phpstan: enable MissingMethodReturnTypehintRule
this was a bitch of a job, but it's one step closer to bypassing level 6.
2020-01-19 19:43:52 +00:00
Dylan K. Taylor
ea935a1af5 pocketmine root: sweep missing return type information 2020-01-19 19:40:01 +00:00
Dylan K. Taylor
e8a5fa8a37 updater: populate missing return type information 2020-01-19 19:38:41 +00:00
Dylan K. Taylor
db734675d8 level: populate missing interface return types 2020-01-19 19:38:09 +00:00
Dylan K. Taylor
6ede56015d level/biome: populate missing return type information 2020-01-19 19:37:08 +00:00
Dylan K. Taylor
5334099fbf level/format: populate missing return type information 2020-01-19 19:36:34 +00:00
Dylan K. Taylor
82e9072223 level/format/io: populate missing return type information 2020-01-19 19:35:45 +00:00
Dylan K. Taylor
2c11742f9e Player: populate missing type information 2020-01-19 19:16:38 +00:00
Dylan K. Taylor
bd4a63b668 Server: populate missing return type information 2020-01-19 19:09:08 +00:00
Dylan K. Taylor
cd36af46bf Level: populate missing type information 2020-01-19 18:44:41 +00:00
Dylan K. Taylor
aa7d55e21d level/generator: populate missing return type information 2020-01-19 18:07:54 +00:00
Dylan K. Taylor
31e8efa6d1 level/light: populate missing return type information 2020-01-19 18:06:31 +00:00
Dylan K. Taylor
facca13139 permission: populate missing return type information
PermissibleBase has some redundant phpdoc removed so that the Permissible interface can provide return types.
2020-01-19 17:23:52 +00:00
Dylan K. Taylor
fffeeddca6 DataPacket: add magic method return types to keep phpstan happy
this really shouldn't be necessary, but it is what it is.
2020-01-19 17:14:34 +00:00
Dylan K. Taylor
e6ba3ce8a6 item: populate missing return type information 2020-01-19 17:13:33 +00:00
Dylan K. Taylor
11cae2f0c0 timings: populate missing return type information 2020-01-19 17:12:13 +00:00
Dylan K. Taylor
f5a18df835 scheduler: populate missing return type information 2020-01-19 17:11:12 +00:00
Dylan K. Taylor
1cc7027f92 plugin: populate missing return type information 2020-01-19 17:09:33 +00:00
Dylan K. Taylor
8776b71d63 tile: populate missing return type information 2020-01-19 17:08:40 +00:00
Dylan K. Taylor
0b9d0f3cdc utils: populate missing return type information 2020-01-19 17:07:48 +00:00
Dylan K. Taylor
e419d76367 metadata: populate missing return type information 2020-01-19 17:06:48 +00:00
Dylan K. Taylor
36cde9f352 inventory: populate missing return type information 2020-01-19 17:05:31 +00:00
Dylan K. Taylor
05c602a044 event: populate missing return type information 2020-01-19 17:05:01 +00:00
Dylan K. Taylor
0db7e57a15 lang: populate missing return type information 2020-01-19 17:04:25 +00:00
Dylan K. Taylor
205e47c0c4 entity: populate missing return type information 2020-01-19 17:03:54 +00:00
Dylan K. Taylor
e328d00cca command: populate missing return type info 2020-01-19 17:02:55 +00:00
Dylan K. Taylor
ccbcc14600 Block: populate missing return type info 2020-01-19 17:02:03 +00:00
Dylan K. Taylor
e544bc0d4b Item: added missing return type info for clearCustomBlockData() 2020-01-18 20:11:47 +00:00
Dylan K. Taylor
fd27227cc7 Item: fix @return annotations for fluent methods (needed for correct auto complete) 2020-01-18 20:10:46 +00:00
Dylan K. Taylor
b42966f61b network: explicitly specify @return void 2020-01-18 19:35:01 +00:00
Dylan K. Taylor
ca86ec2ec2 Network: added missing return type information for getUpload() and getDownload() 2020-01-18 19:33:27 +00:00
Dylan K. Taylor
97b6183404 PermissionManager: add native return types to private functions 2020-01-18 17:59:10 +00:00
Dylan K. Taylor
0587d03c03 PluginDescription: add native return types to private functions 2020-01-18 17:57:24 +00:00
Dylan K. Taylor
c7f1b605f2 PluginBase: remove useless duplicate doc comment from onLoad() stub 2020-01-18 17:56:44 +00:00
Dylan K. Taylor
f069df65a8 PermissibleBase: added native returm types to private functions 2020-01-18 17:54:13 +00:00
Dylan K. Taylor
1e624e7bb9 Attribute: add missing @return $this annotations 2020-01-18 17:50:58 +00:00
Dylan K. Taylor
f16a530849 MainLogger: add native return types to private functions 2020-01-18 17:47:38 +00:00
Dylan K. Taylor
7137b8a8a4 Config: added native void return types to private functions 2020-01-18 17:46:25 +00:00
Dylan K. Taylor
ab57914322 CraftingDataPacket: added native return typehints to private methods 2020-01-18 17:45:15 +00:00
Dylan K. Taylor
260869c0d5 Position: populate missing return type information for fromObject() 2020-01-18 17:44:14 +00:00
Dylan K. Taylor
9135877da1 SetupWizard: add native void typehints to private methods 2020-01-18 17:39:06 +00:00
Dylan K. Taylor
07cb603231 Liquid: add missing return type to getFluidHeightPercent() 2020-01-17 13:58:54 +00:00
Dylan K. Taylor
f59094e6d6 Fence: add missing return type to canConnect() 2020-01-17 13:58:29 +00:00