1
0
Fork 0
mirror of https://github.com/archtechx/virtualcolumn.git synced 2025-12-12 10:54:04 +00:00
Commit graph

52 commits

Author SHA1 Message Date
lukinovec
5c33e250dd Use $model instead of static where possible 2023-10-13 08:46:50 +02:00
lukinovec
cbd0b9221f Use $model->getCustomColumns() instead of static::getCustomColumns() 2023-10-13 08:18:46 +02:00
lukinovec
e411001251 Refactor encodeAttributes() 2023-08-14 16:42:14 +02:00
lukinovec
daeb8d8c86 Don't accept unused $e 2023-08-14 13:21:37 +02:00
lukinovec
2760126de7 Use $dataEncoded bool instead of $dataEncodingStatus string 2023-08-14 13:21:13 +02:00
93ec843c4c
Update src/VirtualColumn.php 2023-08-14 12:52:50 +02:00
lukinovec
4510275ec1 Correct encrypted castable logic 2023-08-09 14:33:06 +02:00
lukinovec
b0d5dad3fd Check hasCast manually 2023-08-09 13:09:17 +02:00
lukinovec
85723fe337 Use non-lowercase custom cast class strings 2023-08-09 12:55:02 +02:00
lukinovec
4414d11203 Delete get() and set() types 2023-08-09 12:39:52 +02:00
lukinovec
cd2cd5948a Delete dd() 2023-08-09 12:36:58 +02:00
lukinovec
73eca107c7 dd() Laravel version 2023-08-09 12:34:55 +02:00
lukinovec
2a4c80acc0 Check Laravel CI version (testing) 2023-08-09 12:32:23 +02:00
Samuel Štancl
eda9895595 Fix code style (php-cs-fixer) 2023-08-09 10:17:18 +00:00
lukinovec
06703921f0 Break code style (testing) 2023-08-09 12:16:57 +02:00
lukinovec
4cfff533d6 Correct expected/actual value order in assertions 2023-08-08 16:57:58 +02:00
lukinovec
89ce8851ca Move EncryptedCast class to VirtualColumnTest 2023-08-08 16:55:17 +02:00
lukinovec
86b5384447 Merge branch 'encrypted-casts' of https://github.com/lukinovec/virtualcolumn into encrypted-casts 2023-08-08 15:55:24 +02:00
lukinovec
2f0eefdb14 Test custom encrypted castable, refactor test 2023-08-08 15:55:20 +02:00
lukinovec
227054231e Add custom encrypted castable 2023-08-08 15:51:17 +02:00
lukinovec
b0e454e110 Handle custom castables in VirtualColumn 2023-08-08 15:50:55 +02:00
Samuel Štancl
c4c52d0970 Fix code style (php-cs-fixer) 2023-08-08 11:58:48 +00:00
lukinovec
de9d9d7cab Test casting of all default 'encrypted' castables 2023-08-08 13:58:29 +02:00
lukinovec
885e2112c2 Update attribute casting in VirtualColumn 2023-08-08 13:57:43 +02:00
lukinovec
302753f60d Add APP_KEY to phpunit.xml 2023-08-08 09:41:10 +02:00
lukinovec
874a697d21 Handle and test 'encrypted' casts 2023-08-08 09:40:40 +02:00
lukinovec
3213a8e856 Add encrypted casts test (wip) 2023-08-07 17:42:38 +02:00
lukinovec
0b108903b5
Add L10 support, remove L6 and L8 support (#11)
* Add L10 support

* Update PHP version in ci.yml

* Update ci.yml

* Revert ci.yml changes

* Migrate PHPUnit XML config using "--migrate-configuration"

* Update phpunit.xml (delete cacheDirectory, use backupStaticAttributes instead of backupStaticProperties)

* Delete backupStaticAttributes

* Add PHP version matrix

* Use ci.yml from #12

* Correct Laravel matrix versions

* Revert ci.yml changes

* Use multiple PHP versions

* Update ci.yml

* Don't use PHP 8 with Laravel 10 in CI

* Update ci.yml

* Remove L6 and L8 support

* Use single PHP version in CI

* Update ci.yml

* Change matrix in ci.yml

* swap laravel 9 & 10

* Update README.md

---------

Co-authored-by: Samuel Štancl <samuel@archte.ch>
2023-02-16 11:34:42 +01:00
Samuel Štancl
46c590e240
Add @mixin annotation 2022-11-08 12:35:18 +01:00
Samuel Štancl
ab3f943990
Merge pull request #9 from lukinovec/generate-column-name
Add method for generating the column name
2022-10-21 14:09:30 +02:00
ac0dccc6e7
add docblock 2022-10-21 14:08:35 +02:00
lukinovec
73d7918170 Rename generateColumnName 2022-10-21 13:56:03 +02:00
lukinovec
5881f13b81 Correct comment 2022-10-21 11:51:05 +02:00
lukinovec
c0cd839acc Add test for generating the column name 2022-10-21 11:49:10 +02:00
lukinovec
43f0b2c30f Add method for generating column names 2022-10-21 11:32:12 +02:00
Samuel Štancl
66458d046b
mention Laravel 9 support 2022-07-22 20:17:45 +02:00
Samuel Štancl
dd3a77f17c
Merge pull request #8 from abrardev99/support-l9
Support Laravel 9
2022-01-27 12:08:03 +01:00
Abrar Ahmad
77173d7f03 removed l7 2022-01-27 13:30:34 +05:00
Abrar Ahmad
6dc8467473 wip 2022-01-26 21:54:10 +05:00
Samuel Štancl
c5e70e832c
Merge pull request #7 from stein-j/master
Sync with original attributes
2022-01-04 12:05:03 +01:00
j.stein
9b31176b32 Update VirtualColumnTest.php 2022-01-04 01:23:51 +01:00
j.stein
2ae1ed099f Sync with original attributes 2022-01-04 01:12:11 +01:00
Samuel Štancl
41d300bf7f
Merge pull request #6 from stein-j/patch-1
Typo
2022-01-04 00:36:25 +01:00
Jori Stein
11e678c435
Typo 2022-01-04 00:23:23 +01:00
Samuel Štancl
8c8655b74a
Update composer.json 2021-12-06 16:15:52 +01:00
Samuel Štancl
320d0fc2be
Update README.md 2020-09-08 18:49:58 +02:00
Samuel Štancl
cdec7c6ade
Merge pull request #4 from andresayej/l8-test
First try at Laravel 8 support + more advanced CI
2020-09-08 18:49:16 +02:00
Andre Sayej
76c85704d9
First try at Laravel 8 support + more advanced CI 2020-09-07 13:02:17 +03:00
Samuel Štancl
26471c9ed9
Typo - fix #3 2020-09-02 16:53:27 +02:00
Samuel Stancl
258dfd21f8
Add getCustomColumns() 2020-07-06 16:08:54 +02:00