Skip to content

Commit c871f98

Browse files
authored
Merge pull request #857 from PHPSocialNetwork/v9
Released 9.1.0
2 parents 4006b84 + 714b62d commit c871f98

File tree

175 files changed

+1428
-642
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

175 files changed

+1428
-642
lines changed

.github/ISSUE_TEMPLATE.md

Lines changed: 0 additions & 26 deletions
This file was deleted.

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
run: ./vendor/bin/phpmd lib/ ansi phpmd.xml
4242

4343
- name: Run PHPSTAN (lite)
44-
run: ./vendor/bin/phpstan analyse lib/ -l 2 -c phpstan_lite.neon 2>&1
44+
run: ./vendor/bin/phpstan analyse lib/ -l 4 -c phpstan_lite.neon 2>&1
4545

4646
- name: Run TESTS
4747
env:

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ before_install:
3737
# - ./bin/ci/scripts/install_arangodb.sh;
3838
- composer install
3939
- composer require phwoolcon/ci-pecl-cacher -n
40+
- "./bin/ci/scripts/install_solr.sh || echo \"Solr install failed\""
4041
- "./bin/ci/scripts/install_arangodb.sh || echo \"Arangodb install failed\""
4142
- "./bin/ci/scripts/install_ssdb.sh || echo \"SSDB install failed\""
4243
- "./bin/ci/scripts/install_couchdb.sh || echo \"Couchdb install failed\""
@@ -58,5 +59,5 @@ install:
5859
script:
5960
- ./vendor/bin/phpcs lib/ --report=summary
6061
- ./vendor/bin/phpmd lib/ ansi phpmd.xml
61-
- "[[ $TRAVIS_PHP_VERSION != \"nightly\" ]] && ./vendor/bin/phpstan analyse lib/ -l 2 -c phpstan.neon 2>&1 || ./vendor/bin/phpstan analyse lib/ -l 2 -c phpstan_lite.neon 2>&1"
62+
- "[[ $TRAVIS_PHP_VERSION != \"nightly\" ]] && ./vendor/bin/phpstan analyse lib/ -l 4 -c phpstan.neon 2>&1 || ./vendor/bin/phpstan analyse lib/ -l 4 -c phpstan_lite.neon 2>&1"
6263
- php -f ./bin/ci/run_tests.php

CHANGELOG.md

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,26 @@
1+
## 9.1.0
2+
##### 04 april 2022
3+
- __API__
4+
- Upgraded Phpfastcache API to `4.1.0` ([see changes](CHANGELOG_API.md))
5+
- __Core__
6+
- Added `\Phpfastcache\Helper\UninstanciableObjectTrait` trait which will contains base locked constructor for any classes that are nor meant to be instanciated.
7+
- Deprecated `\Phpfastcache\Config\Config::class`
8+
- Removed/reworked/improved dead/unreachable/redundant/obsolete code, thanks to `Phpstan`
9+
- __Drivers__
10+
- **Added `Solr` driver support**
11+
- __Events__
12+
- Added `\Phpfastcache\Event\EventInterface` for `\Phpfastcache\Event\Event` and subclasses below
13+
- Added `\Phpfastcache\Drivers\Arangodb\Event` for Arangodb events
14+
- Added `\Phpfastcache\Drivers\Dynamodb\Event` for Dynamodb events
15+
- Added `\Phpfastcache\Drivers\Solr\Event` for Solr events
16+
- Moved the following constant from `\Phpfastcache\Event\Event` to their respective drivers: `ARANGODB_CONNECTION`, `ARANGODB_COLLECTION_PARAMS`, `DYNAMODB_CREATE_TABLE`
17+
- __Cluster__
18+
- Fixed #855 // ClusterReplication drivers are saving erroneous expiration date in low-level backends
19+
- __Misc__
20+
- Full PSR-12 compliance is now enforced by PHPCS
21+
- Multiple typo fixes (@mbiebl)
22+
- Updated composer suggestions and CI builder dependencies
23+
124
## 9.0.2
225
##### 04 march 2022
326
- __Core__
@@ -27,7 +50,7 @@
2750
- __PSR-16__
2851
- Upgraded `psr/simple-cache` dependency to `^2.0||^3.0` (for PHP-8 types)
2952
- __API__
30-
- Upgraded Phpfastcache API `4.0.0` ([see changes](CHANGELOG_API.md))
53+
- Upgraded Phpfastcache API to `4.0.0` ([see changes](CHANGELOG_API.md))
3154
- Renamed `Api::getPhpFastCacheVersion()` to `Api::getPhpfastcacheVersion()`
3255
- Renamed `Api::getPhpFastCacheChangelog()` to `Api::getPhpfastcacheChangelog()`
3356
- Renamed `Api::getPhpFastCacheGitHeadHash()` to `Api::getPhpfastcacheGitHeadHash()`

CHANGELOG_API.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## 4.1.0
2+
- Created `\Phpfastcache\Event\EventInterface` which will be used for `Phpfastcache\Event\Event` and any `Phpfastcache\Drivers\xxxxxxx\Event` classes
3+
- Extended `CacheItemPoolInterface::save()` with `ExtendedCacheItemPoolInterface::save()` for re-typing
4+
- Method `ExtendedCacheItemPoolInterface::getConfig()` now returns `ConfigurationOptionInterface` instead of `ConfigurationOption`
5+
- Method `ExtendedCacheItemPoolInterface::getDefaultConfig()` now returns `ConfigurationOptionInterface` instead of `ConfigurationOption`
6+
- Method `EventManagerInterface::getInstance()` now returns `EventManagerInterface` instead of `static`
7+
18
## 4.0.0
29
- **[BC Break]** Upgraded `psr/cache` dependency to `^3.0` which required `ExtendedCacheItemPoolInterface` and `ExtendedCacheItemInterface` updates
310
- **[BC Break]** Increased minimum PHP compatibility to `^8.0` which also required `TaggableCacheItemPoolInterface` and `TaggableCacheItemInterface` updates

0 commit comments

Comments
 (0)