You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Throwable.class.php - E_DEPRECATED: Implicitly marking parameter $cause as nullable is deprecated, the explicit nullable type must be used instead
Environment.class.php - E_DEPRECATED: Implicitly marking parameter $platform as nullable is deprecated, the explicit nullable type must be used instead
Runtime.class.php - E_DEPRECATED: Implicitly marking parameter $options as nullable is deprecated, the explicit nullable type must be used instead
Date.class.php - E_DEPRECATED: Implicitly marking parameter $timezone as nullable is deprecated, the explicit nullable type must be used instead
VirtualProperty.class.php - E_DEPRECATED: Implicitly marking parameter $name as nullable is deprecated, the explicit nullable type must be used instead
Properties.class.php - E_DEPRECATED: Implicitly marking parameter $filename as nullable is deprecated, the explicit nullable type must be used instead
⚠️Note: These can not be fixed syntactically in a way that works with all PHP versions PHP 7.0 - 8.4, see xp-framework/rfc#343 (comment). We either need to drop support for at least PHP 7.0 or remove the type hint. Both create BC breaks.
👉 Workaround: For XP 11, we'll go with suppressing these errors via error handler.
The text was updated successfully, but these errors were encountered:
See https://wiki.php.net/rfc/deprecate-implicitly-nullable-types
Throwable.class.php
- E_DEPRECATED: Implicitly marking parameter $cause as nullable is deprecated, the explicit nullable type must be used insteadEnvironment.class.php
- E_DEPRECATED: Implicitly marking parameter $platform as nullable is deprecated, the explicit nullable type must be used insteadRuntime.class.php
- E_DEPRECATED: Implicitly marking parameter $options as nullable is deprecated, the explicit nullable type must be used insteadDate.class.php
- E_DEPRECATED: Implicitly marking parameter $timezone as nullable is deprecated, the explicit nullable type must be used insteadVirtualProperty.class.php
- E_DEPRECATED: Implicitly marking parameter $name as nullable is deprecated, the explicit nullable type must be used insteadProperties.class.php
- E_DEPRECATED: Implicitly marking parameter $filename as nullable is deprecated, the explicit nullable type must be used instead👉 Workaround: For XP 11, we'll go with suppressing these errors via error handler.
The text was updated successfully, but these errors were encountered: