Skip to content

Conversation

@euniceremoquillo
Copy link
Contributor

Fixes:
Clean up maketest script to avoid warning on reading export for generate-php
Updated ninja_sdk
Removed mbstring
Replaced @utf8_encode with mb_convert_encoding()
Replaced null values with empty string for preg_replace()
Save data to a variable before returning
Added type-safe conditional fixes
Added string interpolation fixes
Fixed return type declaration
Fixed object initialization before using it
Fix errors encountered on functions called by static functions
Clean up function with expected return types
Converted displayed url strings with htmlspecialchars()
Added exception error handling for calling unserialize()
Updated preg_split(), removed null with either -1 or empty string
Fixed objects and variables that requires global reinitialization
Replaced assert_options() with ini_set(assert.option)
Replaced strftime() with DateTime()
Clean up functions that does not have equal number of expected and sent parameters
Replaced utf8_decode() with mb_detect_encoding()
Added #[\ReturnTypeWillChange] for overriding method
Replaced phpunit @group with #[Group('')]
Replaced phpunit https://github.com/Depends with #[Depends('')]
Added phpunit #[DataProvider('')]
Replaced snake_case filenames to PascalCase

euniceremoquillo and others added 7 commits October 3, 2025 11:26
Fixes:
Clean up maketest script to avoid warning on reading export for generate-php
Updated ninja_sdk
Removed mbstring
Replaced @utf8_encode with mb_convert_encoding()
Replaced null values with empty string for preg_replace()
Save data to a variable before returning
Added type-safe conditional fixes
Added string interpolation fixes
Fixed return type declaration
Fixed object initialization before using it
Fix errors encountered on functions called by static functions
Clean up function with expected return types
Converted displayed url strings with htmlspecialchars()
Added exception error handling for calling unserialize()
Updated preg_split(), removed null with either -1 or empty string
Fixed objects and variables that requires global reinitialization
Replaced assert_options() with ini_set(assert.option)
Replaced strftime() with DateTime()
Clean up functions that does not have equal number of expected and sent parameters 
Replaced utf8_decode() with mb_detect_encoding()
Added #[\ReturnTypeWillChange] for overriding method
Replaced phpunit @group with #[Group('')]
Replaced phpunit @Depends with #[Depends('')]
Added phpunit #[DataProvider('')]
Replaced snake_case filenames to PascalCase

Signed-off-by: Eunice Remoquillo <[email protected]>
This commit fixed the wrong displayed output
upon saving empty comments.
This commit removed the pseudo-http code displayed
by removing text to int comparison as php8.2 does
not allow this. This commit checks if the output has a
three digit error code instead.

Signed-off-by: Eunice Remoquillo <[email protected]>
@euniceremoquillo euniceremoquillo changed the title Feature php8 Updates to support php8.2 Nov 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants