Alexandru Patranescu
2d2930d24f
some PHPDoc fixes in lib
...
and removed some unused imports also
2013-06-03 00:06:41 +03:00
Daniele Alessandri
116eaba75e
Deprecate the whole Predis\Helpers class.
2013-02-17 15:21:01 +01:00
Daniele Alessandri
1c1b4096f6
Remove a few more unnecessary strict comparisons.
2013-02-17 15:20:57 +01:00
Daniele Alessandri
6e76ea6c7e
Add tests for classes in the Predis\Protocol\Text namespace.
...
This was the only namespace containing classes with no tests.
2012-08-02 21:42:11 +02:00
Daniele Alessandri
55a3fd65a2
More code styling changes.
2012-07-27 12:23:25 +02:00
Daniele Alessandri
6c732c737b
Order "use" directives by namespace depth and name.
...
This is not really useful per se, but at least we use a fixed rule.
2012-07-26 23:04:20 +02:00
Daniele Alessandri
41c29bed4e
Change how Redis errors such as -ERR replies generates exceptions.
...
The "throw_errors" connection parameter has been removed and replaced by the
new "exceptions" client option since exceptions on -ERR replies returned by
Redis are not generated by connection classes anymore but are thrown by the
client class and other abstractions such as pipeline contexts.
This change does not affect much people using the Predis\Client class (aside
from the different configuration) but gives much more flexibility to those
building their own pieces of code around the internal classes of Predis.
2012-04-27 23:29:41 +02:00
Daniele Alessandri
dc14c29676
Rename certain namespaces, interfaces and classes.
...
Now we follow a Symfony2-like naming convention for namespaces, interfaces
and classes sticking with one clear rule.
- Renamed namespaces:
- Predis\Network
- Predis\Profiles
- Predis\Iterators
- Predis\Options
- Predis\Commands
- Predis\Commands\Processors
- Renamed interfaces:
- Predis\IReplyObject
- Predis\IRedisServerError
- Predis\IConnectionFactory
- Predis\IConnectionParameters
- Predis\Options\IOption
- Predis\Options\IClientOptions
- Predis\Profile\IServerProfile
- Predis\Pipeline\IPipelineExecutor
- Predis\Distribution\INodeKeyGenerator
- Predis\Distribution\IDistributionStrategy
- Predis\Protocol\IProtocolProcessor
- Predis\Protocol\IResponseReader
- Predis\Protocol\IResponseHandler
- Predis\Protocol\ICommandSerializer
- Predis\Protocol\IComposableProtocolProcessor
- Predis\Network\IConnection
- Predis\Network\IConnectionSingle
- Predis\Network\IConnectionComposable
- Predis\Network\IConnectionCluster
- Predis\Network\IConnectionReplication
- Predis\Commands\ICommand
- Predis\Commands\IPrefixable
- Predis\Command\Processor\ICommandProcessor
- Predis\Command\Processor\ICommandProcessorChain
- Predis\Command\Processor\IProcessingSupport
- Renamed Classes:
- Predis\Commands\Command
- Predis\Network\ConnectionBase
- Classes moved to different namespaces:
- Predis\MonitorContext
Meh
2012-01-31 18:19:18 +01:00
Daniele Alessandri
7bdc2e6195
Rename a few protected/private field names.
2011-11-25 14:17:18 +01:00
Daniele Alessandri
0fee0c6d97
Remove the underscore prefix for names of private/protected fields.
2011-11-25 14:17:11 +01:00
Gun.io Whitespace Robot
b9ca78ac43
Remove whitespace [Gun.io WhitespaceBot]
2011-10-21 10:50:42 -04:00
Daniele Alessandri
4e6ed3f26d
[phpdoc] Add API documentation.
...
This is a starting point to add a documentation of the whole set of APIs and
classes of Predis. The next step will be to actually improve and extend it.
2011-10-21 12:54:24 +02:00
Daniele Alessandri
9608a97469
Add a license header to PHP files.
2011-10-18 16:41:46 +02:00
Daniele Alessandri
20d872a306
Apply some coding style changes.
2011-10-18 15:51:55 +02:00
Daniele Alessandri
3801928e0d
Move Predis\ProtocolException to Predis\Protocol\ProtocolException.
2011-06-04 15:53:31 +02:00
Daniele Alessandri
d59556cae1
Rename the Predis\Protocols namespace to Predis\Protocol.
2011-06-04 15:45:01 +02:00