Dylan K. Taylor
044b2f54ac
Fixed build
2021-08-22 23:13:25 +01:00
Dylan K. Taylor
270ee5c085
Simplify registry method generation
2021-08-22 23:02:36 +01:00
Dylan K. Taylor
a5b85e095a
Fixed some missing function imports
...
these weren't getting corrected since php-cs-fixer 3.0 due to a change in the default configuration for native_function_invocation. Since the builds are randomly choosing to use php-cs-fixer 2.19 at the moment, the consistency is a problem.
2021-08-19 15:40:43 +01:00
Dylan K. Taylor
b4b3c21d30
Merge branch 'stable'
2021-08-19 15:39:16 +01:00
Dylan T
7bd8d09023
GitHub Actions: automatically build and upload release artifacts, and auto-update update.pmmp.io ( #4376 )
2021-08-18 14:02:52 +01:00
Dylan K. Taylor
a012e7ccc0
VersionInfo: make static methods more constant-like
...
if we could have class constants declared at runtime, these would be constant.
2021-08-16 16:37:36 +01:00
Dylan K. Taylor
789a669395
Rename TranslationContainer -> Translatable
2021-08-15 16:17:46 +01:00
Dylan K. Taylor
5bdcc0339f
build/generate-known-translation-apis: make the ref to TranslationContainer statically analysable
...
this ensures that it will follow refactors automatically with no additional changes.
2021-08-15 16:13:07 +01:00
Dylan K. Taylor
8b9d7d6390
Support for nested TranslationContainers
2021-08-14 20:57:13 +01:00
Dylan K. Taylor
662d1a35ff
generate-registry-annotations: skip files that don't contain classes
2021-08-12 20:29:21 +01:00
Dylan K. Taylor
27a2d06083
Fix CS
2021-08-10 14:53:03 +01:00
Dylan K. Taylor
2293bd948d
Added KnownTranslationFactory and use it in as many places as possible
...
this makes translation usage much more statically analysable.
The only places this isn't used are:
- places that prefix translations with colours (those are still a problem)
- places where server/client translations don't match (e.g. gameMode.changed accepts different parameters in vanilla than in PM)
2021-08-10 14:50:40 +01:00
Dylan K. Taylor
efb677d5d5
Merge branch 'stable'
2021-08-03 20:22:17 +01:00
Dylan K. Taylor
748e9705ba
Updated build/php submodule to pmmp/php-build-scripts@49971716b0
2021-08-03 20:20:56 +01:00
Dylan K. Taylor
8f01caf335
Merge branch 'stable'
2021-07-24 22:42:06 +01:00
Dylan K. Taylor
3bbd088a09
Update build/php submodule to pmmp/php-build-scripts@280dd0524a
2021-07-24 22:40:28 +01:00
Dylan K. Taylor
aeb007d0a1
Merge remote-tracking branch 'origin/stable'
2021-07-09 19:36:32 +01:00
Dylan K. Taylor
72e4660800
Updated build/php submodule to pmmp/php-build-scripts@4bf8ec1ad0
2021-07-05 18:42:35 +01:00
Dylan K. Taylor
316e2654cc
Fixed CS
2021-06-29 22:50:08 +01:00
Dylan K. Taylor
94e16f416d
Added KnownTranslationKeys (generated) and start using it
2021-06-29 22:46:04 +01:00
Dylan K. Taylor
920eb7cce5
Merge branch 'stable'
2021-06-09 13:46:00 +01:00
Dylan K. Taylor
b85f3bd149
make-release: abort on no changelog changes
2021-06-08 20:20:30 +01:00
Dylan K. Taylor
2bbb24fab7
Merge branch 'stable'
2021-06-08 20:00:08 +01:00
Dylan K. Taylor
afe67f7502
Updated build/php submodule to pmmp/php-build-scripts@0a0ac2abb3
2021-06-05 20:18:58 +01:00
Dylan K. Taylor
5e5277acb5
Merge branch 'stable'
2021-05-05 22:22:32 +01:00
Dylan K. Taylor
0c2ba66078
Updated build/php submodule to pmmp/php-build-scripts@07129c61d6
2021-05-05 22:15:48 +01:00
Dylan K. Taylor
b032d49722
Merge branch 'stable'
2021-03-28 19:41:23 +01:00
Dylan K. Taylor
e42a691da9
Strip trailing whitespace
2021-03-28 19:02:51 +01:00
Dylan K. Taylor
01ffe8bf57
Updated build/php submodule to pmmp/php-build-scripts@c64baa0f1c
2021-03-28 18:14:40 +01:00
Dylan K. Taylor
06f20234f7
Scrub unused imports
2021-03-26 22:56:09 +00:00
Dylan K. Taylor
9c10599c30
Updated PreProcessor to pmmp/PreProcessor@6e223fa9a0
2021-03-25 01:33:05 +00:00
Dylan K. Taylor
90161f24e3
Added script to update registry/enum docblocks
2021-03-22 16:00:09 +00:00
Dylan K. Taylor
a7dbc2c77b
Merge tag '3.17.7'
2021-03-14 19:29:32 +00:00
Dylan K. Taylor
55ac2f07dc
Updated PreProcessor submodule to pmmp/PreProcessor@1b9304de61
2021-03-11 00:15:33 +00:00
Dylan K. Taylor
72bd37e442
Updated PreProcessor submodule to pmmp/PreProcessor@652c6d8b4c
2021-03-10 23:02:47 +00:00
Dylan K. Taylor
487b5dd11d
Merge branch 'stable'
2021-01-16 19:44:15 +00:00
Dylan K. Taylor
ea5931e274
Updated build/php submodule to pmmp/php-build-scripts@60194e8b14
2021-01-16 19:34:06 +00:00
Dylan K. Taylor
5fa4e284bf
Merge branch 'stable'
2020-12-27 19:35:27 +00:00
Dylan K. Taylor
5920b0ba40
Remove _PHPSTAN_ANALYSIS constant
...
we don't need this anymore since PHPStan is able to intelligently decide whether to autoload a file or not.
2020-12-27 19:10:40 +00:00
Dylan K. Taylor
6a314c7d70
Updated build/php submodule to pmmp/php-build-scripts@bdce80c6c2
2020-12-11 22:44:44 +00:00
Dylan K. Taylor
e810a68dd7
Merge branch 'stable'
...
# Conflicts:
# build/php
# composer.lock
# resources/vanilla
# src/pocketmine/VersionInfo.php
# src/pocketmine/level/format/io/region/McRegion.php
2020-12-07 18:57:58 +00:00
Dylan K. Taylor
d0d701f232
Updated build/php submodule to pmmp/php-build-scripts@a42c7df20a
2020-12-05 19:42:41 +00:00
Dylan K. Taylor
d1775b166f
Merge branch 'stable'
...
# Conflicts:
# resources/vanilla
2020-11-16 21:35:08 +00:00
Dylan K. Taylor
50e29a5ed8
build/make-server: bail when composer dev dependencies are installed
...
these mess up the phar and make it extremely bloated. Almost everyone building for themselves unintentionally includes dev dependencies.
2020-11-16 18:54:07 +00:00
Dylan K. Taylor
2a1d1e90a2
php-cs-fixer nits
2020-10-21 16:44:57 +01:00
Dylan K. Taylor
4684333dee
Updated build/php to pmmp/php-build-scripts@eee477802a
2020-10-18 20:14:08 +01:00
Dylan K. Taylor
0f9d5f7011
ext-morton is now required and used for World::chunkHash() and World::chunkBlockHash()
2020-10-17 16:09:30 +01:00
Dylan K. Taylor
cc91cbd8c5
Updated build/php submodule to pmmp/php-build-scripts@bc8e1cf001
2020-10-13 17:53:31 +01:00
Dylan K. Taylor
55adc1ef63
Updated build/php submodule to pmmp/php-build-scripts@e45cfc1ece
2020-10-06 13:09:05 +01:00
Dylan K. Taylor
ed0053d0ee
Updated build/php submodule to pmmp/php-build-scripts@732ceba847
2020-09-26 13:20:45 +01:00