Skip to content
This repository was archived by the owner on Mar 17, 2021. It is now read-only.

Commit b4bdbab

Browse files
committed
replace kdyby/cache with doctrine/cache directly and kdyby/annotations with nettrine/annotations
1 parent 468cdff commit b4bdbab

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,10 @@
2424
"nette/php-generator": "^3.0",
2525
"nette/tokenizer": "~3.0",
2626
"nette/reflection": "^2.4",
27-
"kdyby/annotations": "^3.0",
27+
"nettrine/annotations": "^0.7",
2828
"symfony/property-access": "^4.4|~5.0",
29-
"symfony/polyfill-ctype": "^1.0"
29+
"symfony/polyfill-ctype": "^1.0",
30+
"nettrine/cache": "^0.3"
3031
},
3132
"require-dev": {
3233
"nette/application": "^3.0.1",
@@ -45,7 +46,6 @@
4546
"nette/utils": "^3.1",
4647
"latte/latte": "~2.5",
4748
"tracy/tracy": "~2.6",
48-
"kdyby/doctrine-cache": "^2.6",
4949
"nette/tester": "^2.3.4",
5050
"doctrine/collections": "~1.6"
5151
},

docs/en/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ You can enable the extension using your neon config.
1717
```yml
1818
extensions:
1919
aop: Kdyby\Aop\DI\AopExtension
20-
annotations: Kdyby\Annotations\DI\AnnotationsExtension
20+
annotations: Nettrine\Annotations\DI\AnnotationsExtension
2121
aspects: Kdyby\Aop\DI\AspectsExtension
2222
```
2323

tests/KdybyTests/Aop/Extension.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class ExtensionTest extends Tester\TestCase
4444
$config->addConfig(__DIR__ . '/config/' . $configFile . '.neon');
4545

4646
$config->onCompile[] = function (Nette\Configurator $config, Nette\DI\Compiler $compiler): void {
47-
$compiler->addExtension('annotations', new Kdyby\Annotations\DI\AnnotationsExtension());
47+
$compiler->addExtension('annotations', new Nettrine\Cache\DI\CacheExtension());
4848
};
4949
Kdyby\Aop\DI\AspectsExtension::register($config);
5050
Kdyby\Aop\DI\AopExtension::register($config);

0 commit comments

Comments
 (0)