YetiForceCompany/YetiForceCRM

View on GitHub
app/Cache/Apcu.php

Summary

Maintainability
A
0 mins
Test Coverage
F
0%

Spaces must be used to indent lines; tabs are not allowed
Open

    {
Severity: Minor
Found in app/Cache/Apcu.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    /**
Severity: Minor
Found in app/Cache/Apcu.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    /**
Severity: Minor
Found in app/Cache/Apcu.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     *
Severity: Minor
Found in app/Cache/Apcu.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     * @param string       $key      Cache ID
Severity: Minor
Found in app/Cache/Apcu.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     *
Severity: Minor
Found in app/Cache/Apcu.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    {
Severity: Minor
Found in app/Cache/Apcu.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    /**
Severity: Minor
Found in app/Cache/Apcu.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     */
Severity: Minor
Found in app/Cache/Apcu.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    {
Severity: Minor
Found in app/Cache/Apcu.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     *
Severity: Minor
Found in app/Cache/Apcu.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     * Class constructor.
Severity: Minor
Found in app/Cache/Apcu.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     * @throws CacheException
Severity: Minor
Found in app/Cache/Apcu.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     */
Severity: Minor
Found in app/Cache/Apcu.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    public function __construct()
Severity: Minor
Found in app/Cache/Apcu.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    /**
Severity: Minor
Found in app/Cache/Apcu.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    }
Severity: Minor
Found in app/Cache/Apcu.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    public static function isSupported()
Severity: Minor
Found in app/Cache/Apcu.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        return \function_exists('apcu_enabled') && apcu_enabled();
Severity: Minor
Found in app/Cache/Apcu.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     */
Severity: Minor
Found in app/Cache/Apcu.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        return apcu_clear_cache();
Severity: Minor
Found in app/Cache/Apcu.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     * @param array|string $key Cache ID
Severity: Minor
Found in app/Cache/Apcu.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    public function get($key)
Severity: Minor
Found in app/Cache/Apcu.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        return apcu_fetch($key);
Severity: Minor
Found in app/Cache/Apcu.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     *
Severity: Minor
Found in app/Cache/Apcu.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     *
Severity: Minor
Found in app/Cache/Apcu.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     * @return bool
Severity: Minor
Found in app/Cache/Apcu.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    public function has($key)
Severity: Minor
Found in app/Cache/Apcu.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        return apcu_exists($key);
Severity: Minor
Found in app/Cache/Apcu.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     * Removes the item from the cache.
Severity: Minor
Found in app/Cache/Apcu.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     * Cache save.
Severity: Minor
Found in app/Cache/Apcu.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     * @return array|bool
Severity: Minor
Found in app/Cache/Apcu.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     *
Severity: Minor
Found in app/Cache/Apcu.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    public function clear()
Severity: Minor
Found in app/Cache/Apcu.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    }
Severity: Minor
Found in app/Cache/Apcu.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     * Deletes all items in the cache.
Severity: Minor
Found in app/Cache/Apcu.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     */
Severity: Minor
Found in app/Cache/Apcu.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        }
Severity: Minor
Found in app/Cache/Apcu.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     *
Severity: Minor
Found in app/Cache/Apcu.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    }
Severity: Minor
Found in app/Cache/Apcu.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    }
Severity: Minor
Found in app/Cache/Apcu.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    /**
Severity: Minor
Found in app/Cache/Apcu.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     * Confirms if the cache contains specified cache item.
Severity: Minor
Found in app/Cache/Apcu.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     *
Severity: Minor
Found in app/Cache/Apcu.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     * @return bool
Severity: Minor
Found in app/Cache/Apcu.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     * Is apcu is available.
Severity: Minor
Found in app/Cache/Apcu.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    }
Severity: Minor
Found in app/Cache/Apcu.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    /**
Severity: Minor
Found in app/Cache/Apcu.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    /**
Severity: Minor
Found in app/Cache/Apcu.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     *
Severity: Minor
Found in app/Cache/Apcu.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     * @return bool
Severity: Minor
Found in app/Cache/Apcu.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    {
Severity: Minor
Found in app/Cache/Apcu.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     * @param int          $duration Cache TTL (in seconds)
Severity: Minor
Found in app/Cache/Apcu.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     */
Severity: Minor
Found in app/Cache/Apcu.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     * @param array|string $key Cache ID
Severity: Minor
Found in app/Cache/Apcu.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    {
Severity: Minor
Found in app/Cache/Apcu.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        return apcu_store($key, $value, $duration);
Severity: Minor
Found in app/Cache/Apcu.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    }
Severity: Minor
Found in app/Cache/Apcu.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    public function delete($key)
Severity: Minor
Found in app/Cache/Apcu.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     * @return bool
Severity: Minor
Found in app/Cache/Apcu.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    public function save($key, $value, $duration)
Severity: Minor
Found in app/Cache/Apcu.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     * @param array|string $key Cache ID
Severity: Minor
Found in app/Cache/Apcu.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     */
Severity: Minor
Found in app/Cache/Apcu.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     *
Severity: Minor
Found in app/Cache/Apcu.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        if (!static::isSupported()) {
Severity: Minor
Found in app/Cache/Apcu.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

            throw new CacheException('APCu is not enabled');
Severity: Minor
Found in app/Cache/Apcu.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     * Returns a cache item representing the specified key.
Severity: Minor
Found in app/Cache/Apcu.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     *
Severity: Minor
Found in app/Cache/Apcu.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    {
Severity: Minor
Found in app/Cache/Apcu.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    {
Severity: Minor
Found in app/Cache/Apcu.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     */
Severity: Minor
Found in app/Cache/Apcu.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    }
Severity: Minor
Found in app/Cache/Apcu.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     * @return array|string
Severity: Minor
Found in app/Cache/Apcu.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     * @param array|string $value    Data to store
Severity: Minor
Found in app/Cache/Apcu.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        return apcu_delete($key);
Severity: Minor
Found in app/Cache/Apcu.php by phpcodesniffer

There are no issues that match your filters.

Category
Status