forked from zendframework/zf1
-
Notifications
You must be signed in to change notification settings - Fork 215
Open
Description
Deprecated functionality: Non-canonical cast (boolean) is deprecated, use the (bool) cast instead in /var/www/html/vendor/shardj/zf1-future/library/Zend/Db/Profiler.php on line 138
The error is one of the form, change boolean to bool.
Deprecated functionality: Non-canonical cast (integer) is deprecated, use the (int) cast instead in /var/www/html/vendor/shardj/zf1-future/library/Zend/Db/Profiler.php on line 168
Another change here, from integer to int.
In this file //library/Zend/Date/DateObject.php
protected static function _getTagSupportForCache()
{
$backend = self::$_cache->getBackend();
if ($backend instanceof Zend_Cache_Backend_ExtendedInterface) {
$cacheOptions = $backend->getCapabilities();
self::$_cacheTags = $cacheOptions['tags'];
} else {
self::$_cacheTags = false;
}
return self::$_cacheTags;
}it should be self::$_cacheTags = (bool) false;
Metadata
Metadata
Assignees
Labels
No labels