Commit Graph

2035 Commits

Author SHA1 Message Date
Daniele Alessandri f06a41cfdc Change method to undefine commands in factory.
The previous implementation was not good because we were exposing in the
public API an internal implementation detail of the base factory class,
furthermore it made Predis\Command\Factory::define() confusing. Having a
separate method to undefine commands in the factory is self-explanatory.

We also changed `Predis\Configuration\Option\Commands` accordingly when
a dictionary of $commandID => $classCommand is passed to the "commands"
client option and $classCommand is NULL.

A few minor changes (mostly cosmetic or documentation) were applied too.

From feedback to PR #644.
2020-08-21 14:30:52 +02:00
Daniele Alessandri d4bcf912f4 [tests] Drop TODO and implement type check in utility method.
From feedback to PR #644.
2020-08-21 11:20:24 +02:00
Daniele Alessandri a772f0b16b [tests] Drop now useless method.
From feedback to PR #644.
2020-08-21 11:20:07 +02:00
Daniele Alessandri 4b2b35202a [tests] Restore new message for failed assertion. 2020-08-18 16:12:45 +02:00
Daniele Alessandri c26909699b Merge remote-tracking branch 'github/pr/639' into main 2020-08-18 16:03:10 +02:00
Daniele Alessandri 592dd91454 Fix class name for OBJECT command.
Starting with PHP 7.2 "object" is a reserved word and cannot be used as
a name for classes, interfaces or traits.
2020-08-17 18:32:14 +02:00
Daniele Alessandri 33f5a0ec8c Merge branch 'stale-master' into main 2020-08-17 17:43:13 +02:00
Raza Mehdi 36a02cf807 Fix test. 2020-08-16 04:31:52 +05:00
Raza Mehdi d6ee18bf21 Merge remote-tracking branch 'github/main' into main 2020-08-16 02:04:16 +05:00
Raza Mehdi 5edf443141 Fix tests. 2020-08-16 01:59:41 +05:00
Till Krüss bf777f3529 Merge pull request #626 from predis/remove-pear
Remove PEAR/PHAR
2020-08-14 10:40:13 -07:00
Till Krüss 390adfb3b8 Merge branch 'main' into remove-pear 2020-08-14 10:39:52 -07:00
Till Krüss 25b6b824b4 update badges 2020-08-14 10:35:25 -07:00
Till Krüss d4a170d890 drop Travis 2020-08-14 10:27:07 -07:00
Till Krüss 71b2119436 bump version 2020-08-14 10:15:57 -07:00
Till Krüss 7636d55e10 rename github org 2020-08-14 10:10:01 -07:00
Till Krüss 80191d6487 Merge pull request #634 from srmkliveforks/main
Setup Github Actions Workflows
2020-08-14 10:02:37 -07:00
Raza Mehdi 882d59001f Use PHPUnit 9. 2020-08-14 21:59:48 +05:00
Raza Mehdi f01a0cf5d0 Use specific php version. 2020-08-14 21:53:25 +05:00
Raza Mehdi 7d753f236a Move redis versions into matrix. 2020-08-14 18:36:08 +05:00
Raza Mehdi 7b1924528b Add Badge. 2020-08-14 17:51:06 +05:00
Raza Mehdi 9b355d1766 Use Redis 4 to 6. 2020-08-14 17:40:41 +05:00
Raza Mehdi 787d68f1c4 Set Github actions 2020-08-14 15:55:18 +05:00
Till Krüss ffadffb71c Merge pull request #628 from b1rdex/patch-1
Test on Redis 3-6
2020-08-13 08:45:29 -07:00
Till Krüss b637be9e4a ignore phpunit cache 2020-08-13 08:42:32 -07:00
Till Krüss 64937f725b get phpunit running 2020-08-13 08:41:43 -07:00
Till Krüss 44f98e6635 Merge pull request #631 from b1rdex/patch-2
Fix php version requirement
2020-08-13 08:08:26 -07:00
Anatoly Pashin 1eeef0e5d7 Change the php version constraint 2020-08-13 19:19:12 +10:00
Anatoly Pashin 5b4de508ba Fix php version requirement 2020-08-13 16:22:22 +10:00
Till Krüss c30c60d6f9 trigger travis
Travis CI wasn't set up during the move the `predishq`.
2020-08-12 19:56:40 -07:00
Anatoly Pashin 96e286aaf7 Test on Redis 3-6 2020-08-13 12:47:29 +10:00
Till Krüss 4edfda0669 remove single file script 2020-08-12 12:29:48 -07:00
Till Krüss 36e7cb487d remove patch files 2020-08-12 12:13:09 -07:00
Till Krüss 6cd919c43c remove pear stuff 2020-08-12 12:10:19 -07:00
Till Krüss 3104874887 Merge remote-tracking branch 'origin/v1.1' into main 2020-08-12 12:00:41 -07:00
Till Krüss a6bd25412e remove gitter badge 2020-08-12 12:00:08 -07:00
Till Krüss 3a3a7fb349 use correct php 8 id 2020-08-12 11:57:53 -07:00
Till Krüss 3d68a59505 remove hhvm badge
# Conflicts:
#	README.md
2020-08-12 11:57:52 -07:00
Till Krüss c380b434b0 readme tweaks
# Conflicts:
#	README.md
2020-08-12 11:57:31 -07:00
Till Krüss ca6daea582 add code of conduct 2020-08-12 11:55:34 -07:00
Till Krüss c85434bbbb bump phpunit from 4 to 8
# Conflicts:
#	composer.json
2020-08-12 11:55:33 -07:00
Till Krüss fa73623c75 drop php 7.1 and older; add php 8
# Conflicts:
#	.travis.yml
2020-08-12 11:54:28 -07:00
Till Krüss 60cc950a58 remove Predis\Async from readme 2020-08-12 11:53:52 -07:00
Till Krüss db82dd9f23 format psr-4 2020-08-12 11:53:12 -07:00
Till Krüss 1bc08d9bcc add funding to composer.json; update authors 2020-08-12 11:50:57 -07:00
Till Krüss 11e4bb44d0 more reference updates to predishq 2020-08-12 11:50:07 -07:00
Till Krüss cddb849812 remove gitter 2020-08-12 11:49:42 -07:00
Till Krüss f2298dd186 update references to predishq 2020-08-12 11:49:37 -07:00
Till Krüss bceda1d8e6 Merge pull request #625 from AhmedRaafat14/add-php8-support
Support PHP 8.0 in v1.1.x
2020-08-12 08:42:08 -07:00
Till Krüss 9f87c849c5 Update .travis.yml 2020-08-12 08:41:50 -07:00