Skip to content

Commit

Permalink
Change PHP keywords to comply with PSR2
Browse files Browse the repository at this point in the history
Signed-off-by: CodeLingoBot <[email protected]>
  • Loading branch information
CodeLingoBot committed Apr 5, 2019
1 parent 92a3444 commit 574ddfb
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions File.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class Cm_Cache_Backend_File extends Zend_Cache_Backend_File
'read_control' => false, // Use a checksum to detect corrupt data
'read_control_type' => 'crc32', // If read_control is enabled, which checksum algorithm to use
'hashed_directory_level' => 2, // How many characters should be used to create sub-directories
'use_chmod' => FALSE, // Do not use chmod on files and directories (should use umask() to control permissions)
'use_chmod' => false, // Do not use chmod on files and directories (should use umask() to control permissions)
'directory_mode' => 0770, // Filesystem permissions for created directories (requires use_chmod)
'file_mode' => 0660, // Filesystem permissions for created files (requires use_chmod)
);
Expand Down Expand Up @@ -74,7 +74,7 @@ public function __construct(array $options = array())

// Auto-enable chmod if modes are specified.
if (isset($options['directory_mode']) || isset($options['file_mode'])) {
$options['use_chmod'] = TRUE;
$options['use_chmod'] = true;
}

// Don't use parent constructor
Expand Down Expand Up @@ -278,7 +278,7 @@ public function getTags()
*/
public function getIdsMatchingTags($tags = array())
{
return $this->_getIdsByTags(Zend_Cache::CLEANING_MODE_MATCHING_TAG, $tags, FALSE);
return $this->_getIdsByTags(Zend_Cache::CLEANING_MODE_MATCHING_TAG, $tags, false);
}

/**
Expand All @@ -291,7 +291,7 @@ public function getIdsMatchingTags($tags = array())
*/
public function getIdsNotMatchingTags($tags = array())
{
return $this->_getIdsByTags(Zend_Cache::CLEANING_MODE_NOT_MATCHING_TAG, $tags, FALSE);
return $this->_getIdsByTags(Zend_Cache::CLEANING_MODE_NOT_MATCHING_TAG, $tags, false);
}

/**
Expand All @@ -304,7 +304,7 @@ public function getIdsNotMatchingTags($tags = array())
*/
public function getIdsMatchingAnyTags($tags = array())
{
return $this->_getIdsByTags(Zend_Cache::CLEANING_MODE_MATCHING_ANY_TAG, $tags, FALSE);
return $this->_getIdsByTags(Zend_Cache::CLEANING_MODE_MATCHING_ANY_TAG, $tags, false);
}

/**
Expand Down Expand Up @@ -530,7 +530,7 @@ protected function _clean($dir, $mode = Zend_Cache::CLEANING_MODE_ALL, $tags = a
protected function _cleanNew($mode = Zend_Cache::CLEANING_MODE_ALL, $tags = array())
{
$result = true;
$ids = $this->_getIdsByTags($mode, $tags, TRUE);
$ids = $this->_getIdsByTags($mode, $tags, true);
switch($mode)
{
case Zend_Cache::CLEANING_MODE_NOT_MATCHING_TAG:
Expand Down

0 comments on commit 574ddfb

Please sign in to comment.