Commit graph

12 commits

Author SHA1 Message Date
Ed Grosvenor
dce4b32e2f
Fix touch signature 2022-02-08 15:32:53 -06:00
Alex Rabinovich
218aac087f Update ReadOnlyTrait.php (#26)
Declaration of class functions (e.g: firstOrCreate, firstOrNew, updateOrCreate) should be compatible with Illuminate\Database\Eloquent\Model
2018-10-22 14:00:30 -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
5a43121592 Add PHP-CS-Fixer to linting process and Travis. 2017-03-31 11:40:47 -07:00
07453dad8e Refactor thrown class into its own method. 2017-03-31 10:58:44 -07: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