Corveda / PHPSandbox

A PHP-based sandboxing library with a full suite of configuration and validation options.
https://phpsandbox.org
Other
220 stars 46 forks source link

Deprecated #34

Closed Jobians closed 10 months ago

Jobians commented 10 months ago

Deprecated: Return type of FunctionParser\Tokenizer::seek($index) should either be compatible with SeekableIterator::seek(int $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /data/data/com.termux/files/home/php/bota/vendor/jeremeamia/functionparser/src/Tokenizer.php on line 302

Deprecated: Return type of FunctionParser\Tokenizer::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /data/data/com.termux/files/home/php/bota/vendor/jeremeamia/functionparser/src/Tokenizer.php on line 248

Deprecated: Return type of FunctionParser\Tokenizer::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /data/data/com.termux/files/home/php/bota/vendor/jeremeamia/functionparser/src/Tokenizer.php on line 256

Deprecated: Return type of FunctionParser\Tokenizer::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /data/data/com.termux/files/home/php/bota/vendor/jeremeamia/functionparser/src/Tokenizer.php on line 274

Deprecated: Return type of FunctionParser\Tokenizer::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /data/data/com.termux/files/home/php/bota/vendor/jeremeamia/functionparser/src/Tokenizer.php on line 284

Deprecated: Return type of FunctionParser\Tokenizer::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /data/data/com.termux/files/home/php/bota/vendor/jeremeamia/functionparser/src/Tokenizer.php on line 292

Deprecated: Return type of FunctionParser\Tokenizer::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /data/data/com.termux/files/home/php/bota/vendor/jeremeamia/functionparser/src/Tokenizer.php on line 378

Deprecated: Return type of FunctionParser\Tokenizer::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /data/data/com.termux/files/home/php/bota/vendor/jeremeamia/functionparser/src/Tokenizer.php on line 313

Deprecated: Return type of FunctionParser\Tokenizer::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /data/data/com.termux/files/home/php/bota/vendor/jeremeamia/functionparser/src/Tokenizer.php on line 324

Deprecated: Return type of FunctionParser\Tokenizer::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /data/data/com.termux/files/home/php/bota/vendor/jeremeamia/functionparser/src/Tokenizer.php on line 336

Deprecated: Return type of FunctionParser\Tokenizer::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /data/data/com.termux/files/home/php/bota/vendor/jeremeamia/functionparser/src/Tokenizer.php on line 356

Deprecated: FunctionParser\Tokenizer implements the Serializable interface, which is deprecated. Implement serialize() and unserialize() instead (or in addition, if support for old PHP versions is necessary) in /data/data/com.termux/files/home/php/bota/vendor/jeremeamia/functionparser/src/Tokenizer.php on line 15

Deprecated: FunctionParser\Token implements the Serializable interface, which is deprecated. Implement serialize() and unserialize() instead (or in addition, if support for old PHP versions is necessary) in /data/data/com.termux/files/home/php/bota/vendor/jeremeamia/functionparser/src/Token.php on line 21 string(11) "Hello world"

peter279k commented 10 months ago

It seems that the issue is about the jeremeamia/FunctionParser dependency.

Jobians commented 10 months ago

It seems that the issue is about the jeremeamia/FunctionParser dependency.

How to fix it

peter279k commented 10 months ago

It's related to the dependency and it needs to submit issue or PR to the jeremeamia/FunctionParser.

Jobians commented 10 months ago

Ok thanks