Jean-FrancoisHIVERT Hi, With the last version of your tool v1.51.16045, I have some issues: explode builtin function return bool|string[] explode can return string or string[] but not bool It depends if the $string argument is string or string[] static method calls inside the same class are unknown, no definition found <?php namespace Devsense\Common; abstract class AbstractTest { public static function factory(): static { return new static(); } public function test(): void { static::_test(); } protected static function _test(): void { $result = explode(',', '1,2,3'); } } Could you check the $result variable and the static::_test(); call please? Thank you.
JakubMisek Jean-FrancoisHIVERT thank you for the issues; explode could return false in PHP < 8.0 (https://www.php.net/manual/en/function.explode.php#refsect1-function.explode-changelog). I'll take a look on the new return type for PHP >= 8 static members have been fixed in the today's update, sorry for that.
JakubMisek Jean-FrancoisHIVERT I've noticed we did not release the last fix for self:: (and parent:: and static::) yet.
Jean-FrancoisHIVERT ok sorry, because I saw in the changelog one fix related to static :: resolution.