Commit graph

10 commits

Author SHA1 Message Date
Simon Bigelmayr
dca9d5bef5
feat: add possibility to disable the trait programmatically (#43)
* feat: add possibility to disable the trait programmatically

* test: add test draft

* Attempt at getting a workable test.

* Test ugly mockable solution for happy path

Co-authored-by: Simon Bigelmayr <simon.bigelmayr@mll.com>
Co-authored-by: Michael chrisco <michaelachrisco@gmail.com>
2022-09-07 09:14:13 -07:00
6e3dbacacc
Update test expected behavior on ReadOnlyException (#21) 2018-03-20 10:32:09 -07:00
jifer
5627a5523c Small refactor (#18)
* Refactor for PSR-2 Formatting standard and PHP DockBlock standard.

* Setting real php requirement (full param casting is available since php7)

* php 7 for travis
2017-12-11 14:10:25 -08:00
aptdavid
4854827098 Add Insert emptyTable and Truncate to blocks (#16)
* Update ReadOnlyTrait.php
* Added truncate, insert
* Added Truncate and insert
* Update README.md
2017-03-29 10:15:48 -07:00
3e39985b40 Throw ReadOnlyException on writable eloquent model methods. (#14)
Travis CI Testing on PHP 7.1
2017-03-27 13:14:50 -07:00
0c770109cb Hotfix on performUpdate. Silent fail from kahlan. 2016-12-09 07:19:04 -08:00
663c2b70a0 L5.3 methods (#10) 2016-12-09 06:37:13 -08:00
Michael Chrisco
1c6b5e2cc5 Add PHPDocs and create/forceCreate methods 2016-10-06 13:22:17 -07:00
Michael Chrisco
40dbb9ef0b Change vendor name. Michael already taken. 2016-03-28 11:40:08 -07:00
Michael Chrisco
ed1c6694c2 init 2016-03-28 11:15:08 -07:00