Skip to content

Commit 5cf2c86

Browse files
committed
Add documentation about transactions not working.
Fixes #305
1 parent 4ddd372 commit 5cf2c86

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ The following items currently do no work with this package:
6767
```diff
6868
- caching of lazy-loaded relationships, see #127. Currently lazy-loaded belongs-to relationships are cached. Caching of other relationships is in the works.
6969
- using select() clauses in Eloquent queries, see #238 (work-around discussed in the issue)
70+
- using transactions. If you are using transactions, you will likely have to manually flush the cache, see [issue #305](https://github.com/GeneaLabs/laravel-model-caching/issues/305).
7071
```
7172

7273
[![installation guide cover](https://user-images.githubusercontent.com/1791050/36356190-fc1982b2-14a2-11e8-85ed-06f8e3b57ae8.png)](https://vimeo.com/256318402)

composer.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,16 @@
2020
},
2121
"require-dev": {
2222
"fzaninotto/faker": "^1.4",
23-
"mockery/mockery": "*",
23+
"mockery/mockery": "^1.3",
2424
"orchestra/testbench-browser-kit": "^4.0",
2525
"orchestra/testbench": "^4.0",
26-
"php-coveralls/php-coveralls" : "*",
27-
"phpmd/phpmd": "*",
26+
"php-coveralls/php-coveralls" : "^2.2",
27+
"phpmd/phpmd": "^2.7",
2828
"phpunit/phpunit": "^8.0",
29-
"predis/predis": "*",
30-
"sebastian/phpcpd": "*",
29+
"predis/predis": "^1.1",
30+
"sebastian/phpcpd": "^4.1",
3131
"squizlabs/php_codesniffer": "^3.4",
32-
"symfony/thanks": "*"
32+
"symfony/thanks": "^1.2"
3333
},
3434
"autoload": {
3535
"psr-4": {

tests/database/baseline.sqlite

12 KB
Binary file not shown.

tests/database/testing.sqlite

12 KB
Binary file not shown.

0 commit comments

Comments
 (0)