1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 16:14:02 +00:00
Commit graph

17 commits

Author SHA1 Message Date
Samuel Štancl
40bf28c7d0 general refactor, move more classes under Database namespace 2022-08-27 03:17:16 +02:00
Samuel Štancl
e9b6de78b2 minor code updates 2022-08-02 04:21:03 +02:00
Abrar Ahmad
97ab483173
Completing PR #881 (#902)
* install PHP CS Fixer

* Fix styling

* remove StyleCI config

* use config from archtechx/template

* Fix styling

* added `php-cs-fixer`

* Update .php-cs-fixer.php

* added GitHub token

* Update ci.yml

* Update ci.yml

* Update ci.yml

* php-cs-fixer workflow same as template

Co-authored-by: Erik Gaal <me@erikgaal.nl>
Co-authored-by: erikgaal <erikgaal@users.noreply.github.com>
2022-07-20 15:28:45 +02:00
Stefan Ninic
435d8528a7
Fixed array to string conversion (#718)
* Fixed array to string conversion

Previous code would give this warning before actually showing exception message
`<warning>PHP Warning:  Array to string conversion in .../vendor/stancl/tenancy/src/CacheManager.php on line 24</warning>`

* Update variable & syntax

Co-authored-by: Samuel Štancl <samuel.stancl@gmail.com>
2021-12-25 22:10:34 +01:00
Samuel Štancl
05d6383b99 Session scoping & tenant() cleanup 2020-05-15 11:07:42 +02:00
Samuel Štancl
509d00f9f3 Add docblocks 2019-09-20 20:14:58 +02:00
Samuel Štancl
c9903cd43c Clean up 2019-09-19 20:32:09 +02:00
Samuel Štancl
79f912384b uuid -> id (references in code) 2019-09-15 22:52:31 +02:00
Samuel Štancl
2fd3662eb7
[1.8.0] Use strict types (#115)
* Use strict types

* Apply fixes from StyleCI

* Fix str_repeat

* Fix false json decode
2019-08-23 18:18:26 +02:00
stancl
84890cdd1e Apply fixes from StyleCI 2019-08-16 16:21:59 +00:00
Samuel Štancl
eceacd9422
Apply fixes from StyleCI (#80) 2019-08-02 20:01:10 +02:00
Samuel Štancl
97ec172fd4
Specify namespace on global functions (fix #35) (#36)
* Specify namespace on global functions (fix #35)

* merge

* Revert some \ additions

* small fixes
2019-04-24 17:33:41 +02:00
Samuel Štancl
a2d68b1261 Fix #31 CacheManager didn't merge tags properly; write tests for CacheManager 2019-02-13 17:13:01 +01:00
Samuel Štancl
d4d4119754 Fix small bug in CacheManager 2019-02-13 16:46:35 +01:00
Samuel Štancl
124e747aa0 tenancy.cache.prefix_base -> tag_base 2019-02-07 22:07:02 +01:00
Samuel Štancl
fceddb8c4d Add more tests 2019-02-07 21:44:47 +01:00
Samuel Štancl
deb3ad77f5 Initial commit 2019-01-17 22:24:12 +01:00