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
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