Skip to content
This repository has been archived by the owner on Mar 21, 2023. It is now read-only.

Upgrade #1

Open
wants to merge 62 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
8b3ce6f
fix performance file
desarrolla2 Aug 20, 2015
e086f92
Merge branch 'master' of github.com:desarrolla0/Cache
desarrolla2 Aug 20, 2015
0a172f6
Added use statement for MemoryCacheException
sunspikes Sep 2, 2015
3d31007
Merge pull request #19 from sunspikes/patch-1
desarrolla2 Oct 16, 2015
14e72d2
Initial round of refactoring to ensure that has() works without false…
benswinburne Oct 21, 2015
b3e0e0a
fix #20
desarrolla2 Oct 22, 2015
99321ea
Merge branch 'fix-file-has' of https://github.com/benswinburne/Cache …
desarrolla2 Oct 22, 2015
8800d2b
fixed redis tests
desarrolla2 Oct 22, 2015
6524861
Merge branch 'benswinburne-fix-file-has'
desarrolla2 Oct 22, 2015
33e2170
[v.2.0.0] wip
desarrolla2 Oct 22, 2015
4887211
fix travis
desarrolla2 Oct 22, 2015
9e407f9
coveralls
desarrolla2 Oct 22, 2015
8e7ab3d
coveralls
desarrolla2 Oct 22, 2015
40ce627
first release for 2.0
desarrolla2 Oct 27, 2015
030c373
Update README.md
desarrolla2 Oct 27, 2015
5386a19
Update README.md
desarrolla2 Oct 27, 2015
5142e6c
Update README.md
desarrolla2 Nov 19, 2015
5c9e319
[cs]
desarrolla2 Nov 19, 2015
6b88880
Added Mongo support.
jasny Nov 26, 2015
564e2a5
Fix pecl issue on Travis
jasny Nov 26, 2015
0fb4f14
Merge pull request #27 from jasny/travis-apcu-fix
desarrolla2 Nov 26, 2015
47bb6fd
Removed option to pass collection name as second argument
jasny Nov 26, 2015
5a9b1b5
Merge pull request #26 from jasny/2.0-mongo
desarrolla2 Nov 26, 2015
a3547dd
Update README.md
jasny May 19, 2016
a6dbf08
Merge pull request #30 from jasny/patch-1
desarrolla2 Aug 28, 2016
99e4673
Update README.md
jasny Sep 1, 2016
3f5f631
Merge pull request #32 from jasny/patch-1
desarrolla2 Sep 28, 2016
ebd1f7b
[] - change apc to apcu_ php api for ApcuAdapter
desarrolla2 Jan 18, 2017
3c1e5f6
Remove duplicate invocation of getKey() in File::getValueFromCache()
echernyavskiy Apr 1, 2017
3768ec9
Merge pull request #39 from echernyavskiy/patch-1
desarrolla2 Apr 4, 2017
a6103b3
Rewrite cache classes to implement PSR-16 (WIP)
jasny Jun 29, 2017
41d1a9d
Tests are runned
poratuk Jul 6, 2017
b78eb20
Problem with trowing Exeptions
poratuk Jul 7, 2017
95ea717
Tests are ready.
poratuk Jul 14, 2017
e7e970f
Added CacheExpiriedException
poratuk Jul 16, 2017
a0652aa
Fixed get function to return default value
poratuk Jul 16, 2017
c1bd3bc
Fix running tests
jasny Sep 7, 2017
f53e26f
PSR-16 WIP
jasny May 30, 2018
f2d016d
Getting ready for PSR-16
jasny Jun 11, 2018
48080b0
Use callable to generate filename
jasny Jun 13, 2018
fc2069d
Fixes for memcached
jasny Jun 16, 2018
56b2d82
Travis fixes
jasny Jun 16, 2018
fb480cd
Fixed MongoDB and MySQLi
jasny Jun 18, 2018
3e30ee2
Fixed Memcached
jasny Jun 18, 2018
40e0e80
Fixed Predis implementation
jasny Jun 19, 2018
796b33f
Updating docs
jasny Jun 19, 2018
573e620
typo file acpu
jasny Jun 19, 2018
774bf0d
Fix travis PHP extensions
jasny Jun 19, 2018
098b702
More fixes for Travis
jasny Jun 19, 2018
bfd61ca
Fixed whitelist in phpunit.xml
jasny Jun 19, 2018
981c984
Skip mysqli tests and use root as default user
jasny Jun 20, 2018
b78ad5b
Fix travis for nightly
jasny Jun 20, 2018
165983c
Travis once more for nightly
jasny Jun 20, 2018
760efd6
memcached ext op nightly is broken
jasny Jun 20, 2018
3725b9c
Added Chain cache
jasny Jun 23, 2018
ab7ad23
Update README.md
jasny Jun 26, 2018
012b331
Update README.md
jasny Jun 26, 2018
00d5374
Fixes bug in JsonPacker
pranavpc Aug 30, 2018
bc113ac
Merge pull request #70 from pranavpc/pranavpc-patch-json-packer
jasny Sep 4, 2018
e25b51f
composer.json provides psr/simple-cache-implementation
jasny Sep 27, 2018
e1b2c63
Revert fixes
judgedim Feb 28, 2020
c38b674
Merge pull request #1 from desarrolla2/master
judgedim Feb 28, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .coveralls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
service_name: travis-ci
coverage_clover: build/logs/clover.xml
2 changes: 1 addition & 1 deletion .formatter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ header: |
* file that was distributed with this source code.
*
* @author Daniel González <[email protected]>
*/
*/
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
/build
/composer.lock
/tests/config.yml
/tests/config.json
/vendor
/.idea
/TODO.md
*~
*.swp
2 changes: 1 addition & 1 deletion .scrutinizer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,4 @@ tools:
- 'vendor/*'

# Security Advisory Checker
sensiolabs_security_checker: true
sensiolabs_security_checker: true
50 changes: 33 additions & 17 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,45 @@
language: php
#sudo: false

php:
- 5.3
- 5.4
- 5.5
- 5.6
- hhvm
- 7.1
- 7.2
- nightly

matrix:
allow_failures:
- php: nightly

services:
- mongodb
- redis-server
- memcached
- mysql
- mongodb
- redis-server
- memcached

notifications:
email:
- [email protected]
email:
- [email protected]

before_script:
# Create Mysql Database
- mysql -e 'CREATE DATABASE IF NOT EXISTS `cache`;'
- mysql -e 'USE `cache`; CREATE TABLE `cache` (`k` varchar(255) NOT NULL, `v` text NOT NULL, `t` int(11) NOT NULL, PRIMARY KEY (`k`)) ENGINE=InnoDB DEFAULT CHARSET=utf8;'

# Enable extensions
- yes '' | pecl install --soft mongodb
- ls .travis/*.ini | xargs phpenv config-add
- test "$TRAVIS_PHP_VERSION" != "nightly" || phpenv config-rm memcached.ini || true

# Install dependencies
- composer self-update
- composer install --ignore-platform-reqs
- composer require --dev "satooshi/php-coveralls:~0.6" --ignore-platform-reqs
- mkdir -p build/logs

# Create MySQL Database
- mysql -e 'CREATE DATABASE IF NOT EXISTS `cache`;'
- mysql -e 'USE `cache`; CREATE TABLE `cache` (`hash` varchar(255) NOT NULL, `value` text NOT NULL, `ttl` int(11) NOT NULL, PRIMARY KEY (`hash`)) ENGINE=InnoDB DEFAULT CHARSET=utf8;'
script:
- phpunit -v --coverage-text --coverage-xml=./build/logs/clover.xml

# Install dependencies
- composer install --prefer-source
after_script:
- ls
- php vendor/bin/coveralls -v

# Set Configuration
- cp tests/config.yml.dist tests/config.yml
6 changes: 6 additions & 0 deletions .travis/apcu.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
extension="apcu.so"
extension="memcached.so"
extension="redis.so"

apc.enabled=1
apc.enable_cli=1
1 change: 1 addition & 0 deletions .travis/memcached.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
extension="memcached.so"
1 change: 1 addition & 0 deletions .travis/mongodb.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
extension="mongodb.so"
1 change: 1 addition & 0 deletions .travis/redis.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
extension="redis.so"
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
THE SOFTWARE.
Loading