Commit Graph

368 Commits

Author SHA1 Message Date
59d3f98110 Make classes final 2018-05-11 21:33:24 +02:00
e4531d3726 phpstan fixes 2018-03-30 18:37:23 +02:00
d5fd2c4827 Change to php version 7.2 requirement 2018-03-27 19:09:47 +02:00
af0a980d1b Return type fixes 2018-03-16 12:08:35 +01:00
5f385e44c0 Add public/private to const 2018-03-16 08:47:43 +01:00
1cd1ee0e10 phpstan fixes 2018-03-13 23:35:20 +01:00
3b45692ff1 Nullable+void typehint 2018-03-13 20:55:49 +01:00
24252655eb Fix restructured datastorage 2018-03-01 20:31:02 +01:00
b810e72588 Start datastorage restructure 2018-02-28 21:43:29 +01:00
797b1c1f00 Added depreciation+tests 2018-02-28 20:37:54 +01:00
ab96277fb1 Reduce isset use 2018-02-26 20:05:02 +01:00
3c3c7fe251 Remove is_null 2018-02-26 19:46:50 +01:00
ae87bc9ab5 allow scalar delete 2018-02-18 10:47:28 +01:00
675d3fa808 phpcs fixes 2018-02-17 21:38:39 +01:00
5a7c138be0 docblocks 2018-02-17 18:31:23 +01:00
4c04ce01c2 Fix/test more sql injections 2018-02-17 09:39:29 +01:00
f7ebd61f40 Fix value injection 2018-02-17 09:18:46 +01:00
3059003191 phpcs fixes 2018-02-16 15:28:07 +01:00
11c7b0e626 docblock param alignment 2018-02-16 13:42:35 +01:00
f1121dcc9b Fix strict_types 2018-02-15 20:27:58 +01:00
23bc8b732f phpcbf 2018-02-03 13:15:46 +01:00
e4dadf447d Improve codestyle 2018-02-03 10:30:13 +01:00
f1288ebc03 More codestyle fixes 2018-01-31 22:05:15 +01:00
243f87405a Fix spacing and line-breaks 2018-01-28 22:07:04 +01:00
029fdb4600 Add default case/exception for database type 2018-01-16 19:04:12 +01:00
58e6b89768 Finalize new tests 2018-01-15 18:51:11 +01:00
b326f71086 Fix tests 2018-01-15 18:08:05 +01:00
60921028e7 Remove @category and replace with @package 2017-12-30 12:57:27 +01:00
db5a215071 Remove package TBD 2017-12-30 11:53:20 +01:00
4320aea767 Spacing fix 2017-12-30 11:47:58 +01:00
2215fa2ea7 Minor bug fixes
docblocks, return type casting
2017-12-04 17:17:17 +01:00
fdcc81a3d1 Optimize indention 2017-12-03 21:57:28 +01:00
e92df825fe DataMapper rewrite for performance increase
Implemented caching (was bugged). Caching is now per request and not per object. Made code visually a tiny bit better, still horrible though.
2017-12-03 21:26:58 +01:00
fc329ad002 Fix depth decrement 2017-12-03 11:10:41 +01:00
c311af0ab4 Implement relation depth 2017-12-03 11:02:06 +01:00
bf49942244 Extend dockblocks 2017-12-02 18:37:33 +01:00
9a460a2dc7 Fix update null/null objs 2017-12-02 15:41:43 +01:00
879691d68d Fix install process 2017-12-01 10:28:12 +01:00
b723bcb3f7 Fix phpstorm inspections 2017-11-19 23:20:11 +01:00
fc31aa80eb Fix types 2017-11-17 19:34:52 +01:00
f476e8eb84 Explicit type cast 2017-11-17 18:46:28 +01:00
2be03dbb3e Fix spacing 2017-11-15 23:01:30 +01:00
6d09524436 Fix typehints+var type etc. 2017-11-11 16:06:15 +01:00
ed275f9c34 Fix pull out bug 2017-11-11 14:02:30 +01:00
b57bbcfdc7 Reduce complexity 2017-11-11 13:23:07 +01:00
7413b65375 Fix typehints 2017-11-11 13:14:15 +01:00
d1eac07521 Fix docblocks 2017-11-05 15:56:40 +01:00
ce80ffadc6 General fixes 2017-11-05 13:09:39 +01:00
f67141e3d9 Fix var name bug 2017-10-30 20:43:51 +01:00
e85164c986 Code optimizations 2017-10-29 15:27:19 +01:00
3442d1d817 Reducing complexity 2017-10-29 14:03:32 +01:00
6289761103 Fix get obj class name 2017-10-29 11:27:13 +01:00
Scrutinizer Auto-Fixer
270f42a41c Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2017-10-29 10:24:22 +00:00
97d7bda3c6 Fix #146 2017-10-28 18:42:25 +02:00
ba1b82f559 Fix if for foreach while spacing 2017-10-27 17:55:35 +02:00
f247d7aa4d Fix scrutinizer tips 2 2017-10-27 17:32:46 +02:00
91eb1f261f Fix scrutinizer tips 2017-10-27 17:24:33 +02:00
f652a900d0 Fix strict_type spacing 2017-10-27 16:41:49 +02:00
8129077da5 Fix #135 2017-10-26 19:12:04 +02:00
9cec1628b7 Fix #130 2017-10-26 18:58:13 +02:00
3365b59837 Fix #125 2017-10-26 18:29:05 +02:00
e6dc9f4e05 Test fixes 2017-10-14 20:37:14 +02:00
1b8481ad06 Test adjustments 2017-10-14 18:03:25 +02:00
b2c2f1018f Implement and fix CRUD functionality 2017-10-12 21:55:46 +02:00
98d89c1af9 Fixed issue 63 in Modules 2017-10-07 22:59:06 +02:00
cfadeb5e36 Test extensions 2017-09-30 15:54:16 +02:00
663dd31ad0 Add getters for connection 2017-09-29 17:13:38 +02:00
69123a0b24 Return null obj in datamapper 2017-09-28 11:00:07 +02:00
684d6369a8 Better default connection return 2017-09-22 19:13:02 +02:00
34c465766e Code inspection fixes 2017-09-14 19:52:53 +02:00
d451301a33 Perform code optimization from cachegrind 2017-09-14 17:47:33 +02:00
49133a58f6 visual fixes and alignments 2017-09-14 15:21:58 +02:00
b66feafa7e fix #89 2017-09-14 14:01:29 +02:00
8a6659cdd2 set empty result set as null 2017-09-14 11:05:25 +02:00
c608caa0e2 fix datamapper null value for obj 2017-09-14 10:17:40 +02:00
3afc442cf0 add space 2017-09-14 09:15:15 +02:00
b991f3f865 remove dump 2017-09-14 09:00:06 +02:00
a4e277184e Fix grammar bugs 2017-09-14 08:59:09 +02:00
9958f81c08 fix #121 2017-09-14 08:51:45 +02:00
d278918dfa experiment with CRUD pull-out 2017-09-13 13:48:18 +02:00
354ca75009 Added more array selectors 2017-09-13 13:13:15 +02:00
e193a42007 Create getFor() 2017-09-13 13:10:07 +02:00
a154cb4892 Add array create 2017-09-09 22:35:27 +02:00
1be5c3495a fixes #101 2017-09-09 21:18:58 +02:00
ad3f91bf24 fix return types 2017-09-08 19:34:33 +02:00
c2e5dd8105 fixes #35 2017-09-08 19:30:56 +02:00
61d1353023 Bug fix changes 2017-09-05 18:47:01 +02:00
160eebdc21 Remove connector, is in connection 2017-09-05 15:42:42 +02:00
41b76ca15e Remove connector, is in connection 2017-09-05 15:42:37 +02:00
669ab27073 Remove connector, is in connection 2017-09-05 15:42:33 +02:00
5f5d5aab51 Remove connector, is in connection 2017-09-05 15:42:25 +02:00
03d1073f2c Prepare for array getRaw() 2017-09-05 15:37:44 +02:00
4fed8e5a46 Bugfix if object already exists 2017-09-05 15:30:57 +02:00
f57699721a Add docblocks 2017-08-23 15:31:07 +02:00
6554060634 fixes #116 2017-08-11 20:43:38 +02:00
c328c8fcef Fix file author and copyright 2017-07-26 17:50:41 +02:00
33849c8a1f Added custom exceptions 2017-07-25 17:29:23 +02:00
939253aa95 Remove unused exception 2017-07-25 17:29:07 +02:00
ff3d253588 Remove @author docblock 2017-07-20 18:10:26 +02:00
9e49ff6802 Fixes #109 #107 2017-07-07 19:21:11 +02:00
f86d8d8622 optimize isset 2017-05-29 21:26:14 +02:00
50ab50c67e Fix find functionality 2017-04-15 18:22:40 +02:00
8c53047ee4 Adjust find method 2017-04-14 21:04:17 +02:00
3d77fd8e35 Fix type 2017-04-14 14:36:01 +02:00
b5bb42b52e Return object and not string 2017-04-14 14:00:58 +02:00
20a48cc1fe PhpUnit fixes 2017-03-12 22:40:40 +01:00
5c1fe7d40f Fixing language request 2017-03-06 20:11:23 +01:00
c8f12e33cf Fix variable hints 2017-03-06 19:56:55 +01:00
d575046609 Revert "Implemented language support"
This reverts commit 6ce5a7b29f.
2017-03-06 19:53:06 +01:00
1e907a6e07 Revert "Request language added"
This reverts commit 34ec16c6a9.
2017-03-06 19:52:55 +01:00
34ec16c6a9 Request language added 2017-03-06 19:40:04 +01:00
6ce5a7b29f Implemented language support 2017-03-06 19:15:57 +01:00
6eeb701858 Added query builder where in(...) todo 2017-03-01 11:29:41 +01:00
b8561385f5 Add docblocks 2017-02-22 20:29:24 +01:00
a937a4f8aa Fixing type bugs 2017-02-20 09:05:14 +01:00
5f0c1b9a13 Simplify database type enum 2017-02-19 21:17:11 +01:00
b04f2f0577 fixes #67 2017-02-19 21:02:21 +01:00
8906406ab7 fixes #88 2017-02-19 20:25:12 +01:00
f0ccfc023a Create helper functions 2017-02-14 23:28:12 +01:00
e69d12dbf6 Throw on connection data error 2017-02-14 23:27:31 +01:00
a49fd7f9ad Test adjustments 2017-02-13 21:29:06 +01:00
a9186d802e Fix model create para order 2017-02-08 20:19:39 +01:00
bcde94b1ea Also handle floats 2017-02-08 18:14:29 +01:00
bbe7a78108 Update GrammarAbstract.php 2017-02-07 14:27:20 +01:00
a3e1dc068c Binding implemented in query builder 2017-02-07 14:04:54 +01:00
af85dc8531 Implement parameter binds 2017-02-07 14:01:58 +01:00
dc55f5a50e Fix basics (select insert) 2017-02-05 12:35:51 +01:00
756d0a4e36 Delete draft 2017-02-05 10:21:47 +01:00
d81626e9cb Update draft 2017-02-04 22:55:15 +01:00
a4e89ee7b1 Fix data type bug 2017-01-29 19:10:10 +01:00
7a42559deb Query components placeholder
These are for optimization later on. Instead of using strings everywhere
use these for easier definitions. This should help to implement more
concepts easier without hacky solutions for pure strings.
2017-01-29 19:10:00 +01:00
db69fabcd2 Bad implementation for count 2017-01-29 19:08:35 +01:00
d9749dd3bf Initial strict type fixes 2017-01-25 17:38:23 +01:00
58b9fd5171 Enable strict_types 2017-01-25 11:51:36 +01:00
6fd1ebe9b1 Removing copyright date 2017-01-25 11:18:25 +01:00
695f1623b1 Fix json serialization 2017-01-22 21:04:31 +01:00
777f084a39 Fix dockblocks and minor bugs 2016-12-22 21:16:05 +01:00
a93a1c1653 Increase php version requirement 2016-12-07 20:57:51 +01:00
d6dd1a5a96 Prepare const visibility 2016-12-07 20:22:40 +01:00
cbc6205bf7 Type hint fixes/prep for null return type 2016-12-03 23:00:05 +01:00
ab5e11a242 Preparing for void return type 2016-12-03 21:59:21 +01:00
3ec569fa9e Comments 2016-11-15 21:25:39 +01:00
d1f6921b20 Comment fixes 2016-11-07 17:38:18 +01:00
9bbdbcaf38 Fix docblocks 2016-11-06 22:22:58 +01:00
dcdce3efc2 Fix relation create and get 2016-11-05 21:47:18 +01:00
4f5da9b3db fixes #8
Not tested yet
2016-10-30 13:55:11 +01:00
9f872bfc14 Renaming database pool 2016-10-29 20:48:03 +02:00
1222d53dbc Bug fixes 2016-09-27 17:57:36 +02:00
bc217f5490 Implementing raw query+execute 2016-09-14 18:05:55 +02:00
7307860d07 Fixing sqlsrv connection 2016-09-14 09:02:48 +02:00
c55dfde626 Commenting 2016-09-11 22:47:05 +02:00
dbb7ac5b02 value, werhe and raw to builder 2016-09-11 19:59:51 +02:00
0d686243be Implement where clause placeholder 2016-09-09 18:22:32 +02:00
14d4061beb Fixes during secondary app dev
While working on another app some bugs came up that are related to the
way the framework is included and working in combination with the app.
These changes make it more general purpose friendly.
2016-09-07 20:54:28 +02:00
fd7d6d06e5 Implement belongsTo 2016-08-31 20:11:18 +02:00
952cec0bf9 Fixed documentation 2016-08-28 16:36:02 +02:00
773d3a962f Fixed various errors 2016-08-28 11:20:12 +02:00
2b4d9ae7a5 Fixing test errors 2016-08-25 21:33:26 +02:00
51a016d228 Merge remote-tracking branch 'refs/remotes/origin/develop' into documentation
# Conflicts:
#	System/File/Local/File.php
2016-08-22 16:38:28 +02:00
87b62a3ed9 Formatting and spell checks 2016-08-21 21:39:12 +02:00
31667cb257 Added more comments 2016-08-21 19:15:42 +02:00
d7c2402504 Documentation update 2016-08-21 17:39:43 +02:00
a02f1cca5d PhpStorm autofix/format 2016-08-20 12:04:30 +02:00
aca0e8ff08 Fixed for documentor 2016-08-14 20:57:57 +02:00
449c88cc32 Remove random duplicate 2016-08-11 17:27:20 +02:00
2cd952750b Limit bug fix 2016-08-08 16:32:15 +02:00
0351533b05 Add limit to random result 2016-08-08 15:44:08 +02:00
2b2808ef4e Implementing random 2016-08-08 15:31:41 +02:00
8ca2f07108 Further cleanup
Todo: fix population for hasMany, hasOne, ownsOne
2016-08-08 15:01:49 +02:00
07b1264f90 Cleanup 2016-08-07 18:20:44 +02:00
d2de70d356 Auto-format 2016-07-15 21:33:05 +02:00
1ad61d92fa This fixes #52 2016-07-14 19:34:14 +02:00
bb923a8701 Check relation mapper by isset 2016-07-14 19:28:25 +02:00
4e746ea66e Fix comments 2016-06-11 20:31:25 +02:00
54eb6a1ea3 Added minor support for rest requests 2016-06-11 19:20:14 +02:00
48b42be7a9 Media upload fixes and cleanup 2016-05-26 22:54:45 +02:00
5a854ce1c9 Fixing remaining static bugs 2016-05-14 16:22:25 +02:00
f18d9e953a Merge pull request #36 from Orange-Management/datamapper-static
Making datamapper static
2016-05-14 14:59:58 +02:00
bd1c082719 Finishing making datamapper static 2016-05-14 14:57:39 +02:00
3f28193dd5 Adding comment 2016-05-12 11:22:57 +02:00
9d7ed814d4 Change mapper from object to class 2016-05-12 10:54:43 +02:00
9530b27471 Static idea implemented
Not tested!
2016-05-12 09:54:43 +02:00
29707c4203 Formatting and bug fixes 2016-05-07 17:23:44 +02:00
ce182bab92 Formatting & bug fixes 2016-05-05 11:27:16 +02:00
2e3c475a8f Unit test fixes 2016-04-24 20:48:51 +02:00
f673579340 PhpStorm fixes 2016-04-16 12:03:42 +02:00
16320978d3 Code base cleanup 2016-04-09 23:01:49 +02:00
4a127fd1ac Fixing remaining bugs for route-restructure 2016-04-09 10:44:12 +02:00
Scrutinizer Auto-Fixer
114ce12de8 Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2016-03-28 14:44:47 +00:00
98ff5af05b Exception text fix. 2016-03-27 23:09:12 +02:00
7cc423281c More bug fixes 2016-03-27 23:08:58 +02:00
fd9480a34c Solving critical bugs 2016-03-27 21:44:01 +02:00
d1f6ba7f12 Typehint 2016-03-26 17:59:02 +01:00
6020aba7a3 Reorder and pullout and cleanup
Much better but bugs are in here most likely as well needs serious
testing.
2016-03-09 23:15:23 +01:00
7801e34d82 Preparing for relation types 2016-03-05 19:41:07 +01:00
b354f4b369 Multi-extend implemented
Not yet tested.
2016-02-28 09:16:17 +01:00
aa1346e9b4 Check for member existence 2016-02-14 23:09:57 +01:00
ba8a36043c Fixing hasOne bugs 2016-02-13 20:03:46 +01:00
1535d8fdbe Cleanup 2016-02-12 12:16:16 +01:00
a22bc5d3a0 Supporting hasOne. 2016-02-11 21:11:54 +01:00