Dylan K. Taylor
fe06bfcda0
Import alias cleanup courtesy of newest php-cs-fixer
2024-02-07 12:50:37 +00:00
Dylan K. Taylor
4db38ee452
Updated PHPStan
2024-01-08 16:20:42 +00:00
dependabot[bot]
19556634e3
Bump build/php from 73e5950
to 6f619bf
( #6220 )
...
Bumps [build/php](https://github.com/pmmp/php-build-scripts ) from `73e5950` to `6f619bf`.
- [Release notes](https://github.com/pmmp/php-build-scripts/releases )
- [Commits](73e5950eb9...6f619bf7a0
)
---
updated-dependencies:
- dependency-name: build/php
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-08 16:08:54 +00:00
Dylan K. Taylor
a750af72db
Updated build/php submodule to pmmp/PHP-Binaries@73e5950eb9
2023-12-14 16:05:38 +00:00
Dylan K. Taylor
06b2e61d3c
Merge remote-tracking branch 'origin/stable' into minor-next
2023-12-14 14:02:15 +00:00
dependabot[bot]
bc11894f0a
Bump build/php from 6b4c9c7
to b0ffbdb
( #6178 )
...
Bumps [build/php](https://github.com/pmmp/php-build-scripts ) from `6b4c9c7` to `b0ffbdb`.
- [Release notes](https://github.com/pmmp/php-build-scripts/releases )
- [Commits](6b4c9c76bd...b0ffbdbe33
)
---
updated-dependencies:
- dependency-name: build/php
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-27 11:01:36 +00:00
dependabot[bot]
06e2d36294
Bump build/php from 19f2ee6
to 6b4c9c7
( #6171 )
...
Bumps [build/php](https://github.com/pmmp/php-build-scripts ) from `19f2ee6` to `6b4c9c7`.
- [Release notes](https://github.com/pmmp/php-build-scripts/releases )
- [Commits](19f2ee6d33...6b4c9c76bd
)
---
updated-dependencies:
- dependency-name: build/php
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-22 11:06:32 +00:00
Dylan K. Taylor
519784460f
Merge branch 'stable' into minor-next
2023-11-17 12:04:10 +00:00
dependabot[bot]
886ed60e6a
Bump build/php from 3c3c483
to 19f2ee6
( #6163 )
...
Bumps [build/php](https://github.com/pmmp/php-build-scripts ) from `3c3c483` to `19f2ee6`.
- [Release notes](https://github.com/pmmp/php-build-scripts/releases )
- [Commits](3c3c483baa...19f2ee6d33
)
---
updated-dependencies:
- dependency-name: build/php
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-16 09:39:26 +00:00
Dylan K. Taylor
269b3d89a2
Update build/php submodule to pmmp/PHP-Binaries@39885cf248
2023-11-09 19:03:12 +00:00
Dylan K. Taylor
08f9873c32
Update build/php submodule to pmmp/PHP-Binaries@3c3c483baa
2023-11-09 18:30:03 +00:00
Dylan K. Taylor
3c614b505d
Merge branch 'stable' into minor-next
2023-10-16 21:28:59 +01:00
Dylan K. Taylor
660e2b8173
Update build/php to pmmp/php-build-scripts@a34e48e7da
2023-10-09 18:22:28 +01:00
Dylan T
7dcd2592d4
RuntimeDataDescriber: Support dynamically describing arbitrary enums ( #6039 )
...
Previously, we were using codegen to support describing a fixed set of enums.
Instead, we implement an enum() function, allowing any native PHP enum to be described.
All enums used in runtime data have been migrated to native PHP 8.1 enums in minor-next to facilitate this.
This implementation:
- is faster (in extreme cases by 40x, such as with PotionType)
- requires way less code
- does not require a build step
- is way more flexible
This fixes #5877 , increasing the range of stuff that plugins are now able to do.
EnumTrait enums are not supported, as it's easier and cleaner to just support native enums. Most core EnumTrait enums have been migrated to native enums by now to facilitate this.
2023-09-07 20:07:14 +01:00
Dylan K. Taylor
6887fcd590
RuntimeEnum(De)SerializerTrait no longer uses legacy accessors for enum members
2023-09-07 19:40:14 +01:00
Dylan K. Taylor
ec1cd5967d
Added private constructors for new internal classes
2023-09-06 12:12:11 +01:00
Dylan K. Taylor
5a010e8213
Merge branch 'minor-next' into stable
2023-09-06 12:06:15 +01:00
dependabot[bot]
0920c76a35
Bump build/php from 8884039
to 3331f8c
( #6031 )
...
Bumps [build/php](https://github.com/pmmp/php-build-scripts ) from `8884039` to `3331f8c`.
- [Release notes](https://github.com/pmmp/php-build-scripts/releases )
- [Commits](8884039bee...3331f8c0d5
)
---
updated-dependencies:
- dependency-name: build/php
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-06 08:37:05 +01:00
Dylan K. Taylor
9fdb6ba5aa
Mark some new things as internal
2023-08-25 14:02:49 +01:00
Dylan K. Taylor
4a0a538278
CS
2023-08-25 13:27:40 +01:00
Dylan K. Taylor
2912e7ca29
...
2023-08-25 13:27:11 +01:00
Dylan K. Taylor
31d8cc1cb5
Generate and use constants for pocketmine.yml constant names
...
a couple of usages of properties that no longer exist couldn't be migrated.
in addition, this revealed a couple of dead properties in the default file.
this is not an ideal solution (I'd much rather model the configs using classes and map them) but in the absence of a good and reliable library to do that, this is the next best thing.
2023-08-25 13:23:38 +01:00
Dylan K. Taylor
b56f1b679e
Deduplicate a bunch of repeated type ID map code
2023-08-25 12:30:54 +01:00
dependabot[bot]
09c9dfb576
Bump build/php from d75f83e
to 8884039
( #6018 )
...
Bumps [build/php](https://github.com/pmmp/php-build-scripts ) from `d75f83e` to `8884039`.
- [Release notes](https://github.com/pmmp/php-build-scripts/releases )
- [Commits](d75f83e7ef...8884039bee
)
---
updated-dependencies:
- dependency-name: build/php
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-25 09:43:05 +01:00
dependabot[bot]
f2b710c083
Bump build/php from a053f65
to d75f83e
( #6017 )
...
Bumps [build/php](https://github.com/pmmp/php-build-scripts ) from `a053f65` to `d75f83e`.
- [Release notes](https://github.com/pmmp/php-build-scripts/releases )
- [Commits](a053f65e18...d75f83e7ef
)
---
updated-dependencies:
- dependency-name: build/php
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-24 08:31:31 +01:00
Dylan K. Taylor
cfa2df82eb
Merge branch 'legacy/pm4' into stable
2023-08-21 16:07:56 +01:00
Dylan K. Taylor
7f78ec0a32
Include PHP binary URLs in GitHub releases and build info
2023-08-21 16:05:59 +01:00
dependabot[bot]
983aa79a0b
Bump build/php from ed0bc4d
to a053f65
( #5993 )
...
Bumps [build/php](https://github.com/pmmp/php-build-scripts ) from `ed0bc4d` to `a053f65`.
- [Release notes](https://github.com/pmmp/php-build-scripts/releases )
- [Commits](ed0bc4d2af...a053f65e18
)
---
updated-dependencies:
- dependency-name: build/php
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-15 09:30:51 +01:00
Dylan K. Taylor
dd79d4c463
Updated build/php submodule to pmmp/PHP-Binaries@ed0bc4d2af
2023-08-08 17:44:13 +01:00
Dylan K. Taylor
3afe3b7f44
Merge branch 'stable' into minor-next
2023-07-24 12:02:24 +01:00
Dylan K. Taylor
fd23281183
Merge branch 'legacy/pm4' into stable
2023-07-24 12:00:29 +01:00
Dylan K. Taylor
70dd8732e2
Update build/php to pmmp/PHP-Binaries@46604f2f6a
2023-07-24 11:59:11 +01:00
ipad54
83d11c7429
Implemented Big & Small dripleaf ( #5835 )
2023-07-17 16:30:52 +01:00
Dylan K. Taylor
d2f4ba74c6
Updated build/php submodule to pmmp/PHP-Binaries@e0c918d137
2023-07-13 12:59:43 +01:00
Dylan K. Taylor
b7210755a7
1.20.10
2023-07-12 13:39:39 +01:00
Dylan K. Taylor
4daacb2ab7
Merge branch 'legacy/pm4' into stable
2023-07-12 12:11:36 +01:00
Dylan K. Taylor
f7977c9668
Update build/php submodule to pmmp/PHP-Binaries@16378ffcc3
2023-07-12 12:10:09 +01:00
Dylan K. Taylor
2654fb294b
Merge branch 'stable' into minor-next
2023-06-26 16:08:22 +01:00
dependabot[bot]
881451c40c
Bump build/php from 8cb2a2b
to 2a21c57
( #5856 )
...
Bumps [build/php](https://github.com/pmmp/php-build-scripts ) from `8cb2a2b` to `2a21c57`.
- [Release notes](https://github.com/pmmp/php-build-scripts/releases )
- [Commits](8cb2a2b218...2a21c57900
)
---
updated-dependencies:
- dependency-name: build/php
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-23 11:00:59 +01:00
Dylan K. Taylor
288ebfa08a
Fixed a bunch of item IDs being missing
...
these items were all pretending to be blockitems when I dumped data, and I wasn't aware that they'd been omitted.
2023-06-13 18:15:47 +01:00
dependabot[bot]
1d25e15ec8
Bump build/php from fcbc15f
to 8cb2a2b
( #5820 )
...
Bumps [build/php](https://github.com/pmmp/php-build-scripts ) from `fcbc15f` to `8cb2a2b`.
- [Release notes](https://github.com/pmmp/php-build-scripts/releases )
- [Commits](fcbc15f23e...8cb2a2b218
)
---
updated-dependencies:
- dependency-name: build/php
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-11 14:45:01 +01:00
Dylan K. Taylor
9a67e3d660
PM5-specific changes for 1.20.0.23 beta
2023-06-07 21:08:41 +01:00
Dylan K. Taylor
1706fb43eb
Updated build/php submodule to pmmp/PHP-Binaries@fcbc15f23e
2023-06-03 21:27:54 +01:00
Dylan K. Taylor
0ed5e94a72
Merge branch 'minor-next' into major-next
2023-05-30 16:15:56 +01:00
dependabot[bot]
ea92a23d0d
Bump build/php from b1d5c0d
to f2ece7b
( #5765 )
...
Bumps [build/php](https://github.com/pmmp/php-build-scripts ) from `b1d5c0d` to `f2ece7b`.
- [Release notes](https://github.com/pmmp/php-build-scripts/releases )
- [Commits](b1d5c0d737...f2ece7b30d
)
---
updated-dependencies:
- dependency-name: build/php
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-29 21:37:18 +01:00
Dylan K. Taylor
bdb0ed0701
Consistently use 'mob head' terminology in the API
...
previously, we were sometimes using 'mob head' and other times 'skull', sometimes even within the same file.
2023-05-26 15:08:00 +01:00
dependabot[bot]
57330a7186
Bump build/php from f860ade
to b1d5c0d
( #5760 )
...
Bumps [build/php](https://github.com/pmmp/php-build-scripts ) from `f860ade` to `b1d5c0d`.
- [Release notes](https://github.com/pmmp/php-build-scripts/releases )
- [Commits](f860ade30a...b1d5c0d737
)
---
updated-dependencies:
- dependency-name: build/php
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-23 12:27:12 +01:00
Dylan K. Taylor
d2c34615f5
Update build/php to pmmp/PHP-Binaries@b1d5c0d737
2023-05-22 22:35:39 +01:00
Dylan K. Taylor
ee9ce8a4f4
Merge branch 'minor-next' into major-next
2023-05-17 15:45:03 +01:00
Dylan K. Taylor
0547383296
Update build/php submodule to pmmp/PHP-Binaries@f860ade30a
2023-05-17 15:08:05 +01:00