Dylan K. Taylor
92a752053d
populate missing array value types in tile namespace
2020-01-30 21:20:42 +00:00
Dylan K. Taylor
0537c66849
populate missing array value types in scheduler namespace
2020-01-30 21:19:15 +00:00
Dylan K. Taylor
d94995e161
populate missing array value types in plugin namespace
2020-01-30 21:17:13 +00:00
Dylan K. Taylor
58bc08838b
populate missing array value types in permission namespace
2020-01-30 21:14:18 +00:00
Dylan K. Taylor
fc0619ee6e
populate missing array value types in network namespace
2020-01-30 21:12:00 +00:00
Dylan K. Taylor
a5764b3ae9
populate missing array value types in level namespace
2020-01-30 21:01:59 +00:00
Dylan K. Taylor
8bf469f7fc
populate missing array value types in lang namespace
2020-01-30 20:55:03 +00:00
Dylan K. Taylor
3b9a5c5ccc
populate missing array value types in item namespace
2020-01-30 20:54:38 +00:00
Dylan K. Taylor
4c36ca58e2
populate missing array value types in inventory namespace
2020-01-30 20:53:41 +00:00
Dylan K. Taylor
a67fa5c007
populate missing array value types in event namespace
2020-01-30 20:52:54 +00:00
Dylan K. Taylor
839a789180
populate missing array value types in entity namespace
2020-01-30 20:50:24 +00:00
Dylan K. Taylor
e61c3e8bf6
populate missing array value types in command namespace
2020-01-30 20:48:14 +00:00
Dylan K. Taylor
7ce6c8aa13
TimingsCommand: fix confusing indentation
2020-01-30 20:47:33 +00:00
Dylan K. Taylor
9abcc99c10
Command: fixed spacing of phpdoc on execute()
2020-01-30 20:46:25 +00:00
Dylan K. Taylor
5c8a625d88
populate missing iterable value types in block namespace
2020-01-30 20:43:13 +00:00
Dylan K. Taylor
259f0425a9
ClientboundMapItemDataPacket: replace assoc array with MapDecoration class
...
I thought I'd done this already, but it appears not.
2020-01-30 20:05:18 +00:00
Dylan K. Taylor
9cdea43794
provide more array type information for Internet functions
2020-01-29 20:45:03 +00:00
Dylan K. Taylor
e007fad5b8
fix return types for Utils/Internet getURL()/postURL()
2020-01-29 20:43:09 +00:00
Dylan K. Taylor
5cf2fcbbb7
simpleCurl() second return value is string[][], not string[]
2020-01-29 20:38:19 +00:00
Dylan K. Taylor
9e6cbb5b6a
Internet: fix type information for getURL(), postURL() and simpleCurl()
2020-01-29 20:20:52 +00:00
Dylan K. Taylor
64b3d02974
Chunk: remove useless condition from populateSkyLight()
...
this was detected by latest bleeding-edge PHPStan.
2020-01-29 16:42:42 +00:00
Dylan K. Taylor
640df1003c
add some Generator generics for PHPStan
2020-01-29 16:38:50 +00:00
Dylan K. Taylor
2b402e525a
add some PHPStan-specific callable prototypes
2020-01-29 15:03:55 +00:00
Dylan K. Taylor
e2871fad8e
composer.json: move require-dev next to require
2020-01-28 14:32:55 +00:00
Dylan K. Taylor
41d02003c2
Install PHPStan and PHPUnit via dev dependencies
2020-01-27 12:04:42 +00:00
Dylan K. Taylor
156ecd9bd8
travis: use phpstan 0.12.8
2020-01-27 09:31:27 +00:00
Dylan K. Taylor
fa7736efbb
phpstan 0.12.7
2020-01-25 17:16:14 +00:00
Dylan K. Taylor
d71a7ff2fa
travis.sh: fix indentation
2020-01-25 17:15:37 +00:00
Dylan K. Taylor
8184a6b114
SkinImage: enforce that height/width must be positive
2020-01-22 14:58:36 +00:00
Dylan K. Taylor
b8d44ff162
SkinImage: fix formatting error
2020-01-22 14:58:00 +00:00
Dylan K. Taylor
f6611a38bc
Explosion: fix trailing whitespace in explodeA() phpdoc
2020-01-22 14:51:49 +00:00
Dylan K. Taylor
24ed823d96
WritableBook: remove extra line from phpdoc on setPages()
2020-01-22 14:51:14 +00:00
Dylan K. Taylor
f624871b3f
strip extra blank lines (php-cs-fixer)
2020-01-22 14:50:29 +00:00
Dylan K. Taylor
9cd6b3e1c7
fix remaining multiline @var annotations
2020-01-22 14:44:36 +00:00
Dylan K. Taylor
aad1eb5b3e
CoreConstants: fix EOF newline
2020-01-22 14:40:03 +00:00
Dylan K. Taylor
bff5bf25ae
LegacySkinAdapter: make resource patch validity check more robust
2020-01-22 14:36:40 +00:00
Dylan T
cda90fd7f1
Merge pull request #3280 from pmmp/stable-phpdoc-armageddon
...
Mass-removal of redundant @param / @return PhpDoc annotations
2020-01-22 10:48:50 +00:00
Dylan K. Taylor
9f44adf04a
pass 2, manual removal of incorrect non-nullable @param for nullable native types
2020-01-21 15:44:34 +00:00
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