-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #76 from martinvenus/master
Fix compatibility with PHP 7.2
- Loading branch information
Showing
13 changed files
with
68 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,8 +22,9 @@ | |
/** | ||
* @author Filip Procházka <[email protected]> | ||
*/ | ||
class Panel extends Nette\Object implements IBarPanel | ||
class Panel implements IBarPanel | ||
{ | ||
use Nette\SmartObject; | ||
|
||
/** @internal */ | ||
const TIMER_NAME = 'redis-client-timer'; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,8 +19,9 @@ | |
* @author Ondřej Nešpor | ||
* @author Filip Procházka <[email protected]> | ||
*/ | ||
class ExclusiveLock extends Nette\Object | ||
class ExclusiveLock | ||
{ | ||
use Nette\SmartObject; | ||
|
||
/** | ||
* @var RedisClient | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -154,8 +154,9 @@ | |
* | ||
* @author Filip Procházka <[email protected]> | ||
*/ | ||
class RedisClient extends Nette\Object implements \ArrayAccess | ||
class RedisClient implements \ArrayAccess | ||
{ | ||
use Nette\SmartObject; | ||
|
||
/** @deprecated */ | ||
const WITH_SCORES = 'WITHSCORES'; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,8 +20,9 @@ | |
* | ||
* @author Filip Procházka <[email protected]> | ||
*/ | ||
class RedisJournal extends Nette\Object implements Nette\Caching\Storages\IJournal | ||
class RedisJournal implements Nette\Caching\Storages\IJournal | ||
{ | ||
use Nette\SmartObject; | ||
|
||
/** @internal cache structure */ | ||
const NS_NETTE = 'Nette.Journal'; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,8 +24,9 @@ | |
* | ||
* @author Filip Procházka <[email protected]> | ||
*/ | ||
class RedisSessionHandler extends Nette\Object implements \SessionHandlerInterface | ||
class RedisSessionHandler implements \SessionHandlerInterface | ||
{ | ||
use Nette\SmartObject; | ||
|
||
/** @internal cache structure */ | ||
const NS_NETTE = 'Nette.Session:'; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,8 +22,9 @@ | |
* | ||
* @author Filip Procházka <[email protected]> | ||
*/ | ||
class RedisStorage extends Nette\Object implements IMultiReadStorage | ||
class RedisStorage implements IMultiReadStorage | ||
{ | ||
use Nette\SmartObject; | ||
|
||
/** @internal cache structure */ | ||
const NS_NETTE = 'Nette.Storage'; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -203,8 +203,9 @@ public function end() | |
/** | ||
* @author Filip Procházka <[email protected]> | ||
*/ | ||
class ClosureExtractor extends Nette\Object | ||
class ClosureExtractor | ||
{ | ||
use Nette\SmartObject; | ||
|
||
/** | ||
* @var GlobalFunction | ||
|
@@ -263,8 +264,9 @@ public function buildScript(\ReflectionClass $class, $repeat) | |
/** | ||
* @author Filip Procházka <[email protected]> | ||
*/ | ||
class NamespaceUses extends Nette\Object | ||
class NamespaceUses | ||
{ | ||
use Nette\SmartObject; | ||
|
||
/** | ||
* @var \ReflectionClass | ||
|
@@ -395,8 +397,9 @@ private function parseFile() | |
/** | ||
* @author Filip Procházka <[email protected]> | ||
*/ | ||
class FunctionCode extends Nette\Object | ||
class FunctionCode | ||
{ | ||
use Nette\SmartObject; | ||
|
||
/** | ||
* @var \ReflectionFunctionAbstract | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters