Commit Graph

593 Commits

Author SHA1 Message Date
d81bf80ada bug fixes after datamapper changes 2020-03-14 17:58:43 +01:00
7a5fad6659 fix whitespace 2020-03-14 09:47:09 +01:00
e7e298620d Merge branch 'develop' of https://github.com/Orange-Management/phpOMS into develop 2020-03-14 00:18:03 +01:00
489752602f autofix 2020-03-14 00:17:17 +01:00
7163328a59 closes ##73 2020-03-14 00:17:07 +01:00
13326b6aea remove unused keys 2020-03-14 00:07:57 +01:00
bd927133d7 fix where query usage 2020-03-14 00:06:33 +01:00
b1e3eac74c start re-implementing conditional handling 2020-03-13 23:57:42 +01:00
Formatter Bot
61b816fcd7 Automated formatting changes 2020-03-13 22:34:19 +00:00
250bb48c9c autofix 2020-03-13 23:32:09 +01:00
4937fdb9f7 fixes #220 and fixes #102 2020-03-13 23:31:58 +01:00
3b740eae3c autofix 2020-03-12 18:15:51 +01:00
686d09a599 Fix dependency resolution 2020-03-12 18:15:32 +01:00
3b24e6c3d7 remove db prefix 2020-03-12 18:11:43 +01:00
3439fd57ff remove db prefix 2020-03-12 18:11:04 +01:00
1fdb93968a autofix 2020-03-07 19:49:16 +01:00
e5baf46dce optimize code readability and perforamnce 2020-03-07 19:48:58 +01:00
2a8ece6fcc Type and cs fixes 2020-03-07 00:23:22 +01:00
55182c4138 fixes #222 2020-03-06 23:12:59 +01:00
3f68bbad63 Started implementing #222 read is already working 2020-03-06 23:09:57 +01:00
e16ad97838 phpcs fix 2020-03-05 22:51:41 +01:00
c3f4ba80bb remove todos #224 and #212 2020-03-05 22:15:09 +01:00
1594a88daf fixes #224 and fixes #212 2020-03-05 20:37:03 +01:00
5048008be6 theoretical bug fixes and style improvements 2020-03-04 00:08:50 +01:00
23e28feae2 start working on #212 2020-03-03 22:28:37 +01:00
39db344ebd php cs and stan fixes 2020-03-02 22:49:33 +01:00
37144b9a9f fix writeonly for has many 2020-02-20 19:18:03 +01:00
ea7d504f95 fixes #238 2020-02-20 19:06:50 +01:00
9be83af3c9 fix array typehint 2020-02-20 18:59:49 +01:00
9a0698ae07 fixes #238 2020-02-20 18:55:04 +01:00
01837d3755 add tests 2020-02-19 22:24:58 +01:00
0ff97e74ff auto fixes 2020-02-16 19:55:34 +01:00
4b95814719 add cursor pagination 2020-02-16 19:55:15 +01:00
f4ae141981 fixes Orange-Management/Modules#135 2020-02-15 02:00:46 +01:00
135f3f08e4 fixes #162 implemented previously 2020-02-14 18:36:47 +01:00
f28515fcf1 fixes #237 2020-02-08 22:31:48 +01:00
Formatter Bot
babbca7fcc Automated formatting changes 2020-02-08 15:51:35 +00:00
86b0d62a54 implement unique 2020-02-08 16:48:07 +01:00
0e0264ad35 improve array docblock 2020-02-08 13:25:48 +01:00
8710adad62 fixes #234, fixes #189 2020-02-08 12:42:48 +01:00
56a980d2ea fix bug 2020-02-07 23:33:22 +01:00
f8f85b0092 remove issue todos 2020-02-07 23:20:54 +01:00
3c8a8c31d5 remove todos 2020-02-07 21:51:55 +01:00
b9bc5bbe64 fix #235 2020-02-07 21:41:32 +01:00
d20a6b9e8d Implement getBy 2020-02-07 20:37:26 +01:00
4107551a09 fixes #214 2020-02-07 19:20:05 +01:00
6c917b5486 phpstan/array typehint fixes 2020-02-05 21:09:31 +01:00
2b3de00f4c
Don't use use for Throwable NO_CI 2020-02-05 16:28:55 +01:00
5e0a6a0fd6
Fix missing docblock components NO_CI 2020-02-05 15:49:51 +01:00
dfba5f1021 start implementing array{} typehint 2020-02-04 21:52:59 +01:00
47cd969f10 add todo and fix docblock 2020-02-04 19:50:41 +01:00
85b8bbec04 Allow obj relations 2020-02-02 15:49:59 +01:00
a49251c0bb phpcs fix 2020-01-26 12:27:35 +01:00
89f9d0c2f3 fix self -> static return types 2020-01-26 12:03:12 +01:00
5d43137f3c fix todo comments 2020-01-12 17:57:18 +01:00
13fe7f1061 continue optimizing todos 2020-01-05 21:39:24 +01:00
a75025c1a0 cleanup todos 2019-12-31 23:36:41 +01:00
4414fad940 add todos from github 2019-12-31 19:54:35 +01:00
ca064b75d2 remove stupid initializations and optimize types 2019-12-22 10:37:07 +01:00
792fcf900a fix phpcs 2019-12-21 22:05:53 +01:00
db48bcdb8d fix phpstan bugs 2019-12-21 20:51:20 +01:00
f704dfdeff fix typos found due to testing 2019-12-21 16:01:55 +01:00
1262310af9 remove debugging 2019-12-21 15:52:25 +01:00
3dd0c0516d fixes #217 2019-12-21 15:50:03 +01:00
ab385bfbb5 remove empty line 2019-12-15 14:17:43 +01:00
2350b6cf53 improve tests 2019-12-07 18:38:17 +01:00
86f77e0a5e cleanup and tests added for ci/cd 2019-11-20 22:27:43 +01:00
d706b8b320 test fixes 2019-11-14 17:45:05 +01:00
7fece66ef6 cleanup tests and add new tests 2019-11-10 22:38:11 +01:00
090b30bb58 cleanup 2019-11-03 23:22:45 +01:00
18c11fb229 bug fixes and implement some incomplete tests 2019-10-31 21:03:34 +01:00
baf2218980 Bug fixes 2019-10-21 15:38:15 +02:00
23fe8d2124 Add try/catch to find hr invalid bytecode escaping 2019-10-19 13:12:12 +02:00
7c71b023c7 fixes, spline interpolation added 2019-10-16 17:35:10 +02:00
479facee52 Implementd query aliases 2019-10-13 20:38:25 +02:00
85abb6c520 fix bugs and implement more sort algs 2019-10-11 16:40:09 +02:00
89c6ba3ac0 continue phpcs fixes 2019-10-10 12:00:54 +02:00
b9d0e63beb phpcs fixes + continue distribution implementations 2019-10-09 17:15:12 +02:00
0422411c89 phpstan fixes 2019-10-07 22:22:41 +02:00
0f11df6f95 Change encoding to real utf8 2019-10-05 19:59:53 +02:00
a51be51c03 fix docblock 2019-09-21 16:12:30 +02:00
6336898978 fix phpcs findings 2019-09-12 19:46:27 +02:00
26383f1cde test fixes 2019-09-09 19:51:35 +02:00
e12ad5212d Merge localization datamapper support (not finished yet) 2019-09-03 21:01:31 +02:00
743ba4a937
Implement missing conditional functionality (delete, update) 2019-09-03 15:38:09 +02:00
bb1aa4044a
Draft conditional data 2019-09-03 14:49:42 +02:00
7b1cf0e660 fix after change to php 7.4 2019-08-17 14:14:58 +02:00
b4084913de Implement php 7.4 type hints 2019-08-15 21:54:59 +02:00
eb7dbe4663 start implementing php 7.4 2019-08-15 20:44:04 +02:00
0ca13206fe fix datetime value bug 2019-08-10 23:16:27 +02:00
c10708ee23 fix @link 2019-07-08 19:51:19 +02:00
93a972eb55 static analysis fixes 2019-06-06 21:43:45 +02:00
8f0688f46d Fix depth bug 2019-05-25 11:16:10 +02:00
5965f2a4ca bug fixes and better response handling 2019-05-07 20:00:30 +02:00
c799124d12 php cs fixes 2019-04-27 10:34:00 +02:00
4cdfab275e Use global namespace 2019-04-27 00:13:34 +02:00
35d47c7a53 Add getter 2019-04-22 16:31:20 +02:00
34c2673504 Fix missing column 2019-04-14 18:38:07 +02:00
20d18c8ba8 Fix data check 2019-03-17 13:57:33 +01:00
169d361522 test and fix schema builder 2019-02-26 21:42:17 +01:00
0bd6cb95f5 test and fix schema builder 2019-02-26 21:41:52 +01:00
6e2bfebc60 Fix json template validation bugs 2019-02-25 23:56:58 +01:00
48f2552311 phpcs+phpstan fixes 2019-02-07 00:05:38 +01:00
0d55e17842 Use global namespace+minor fixes 2019-02-04 22:30:05 +01:00
54409c9f12 bug fixes 2018-12-30 20:16:27 +01:00
b04628f890 minor performance improvements 2018-12-30 19:49:55 +01:00
29bee2e1f5 Improve docblocks 2018-12-28 23:08:24 +01:00
7af3cb042f Fix increment 2018-12-28 19:23:48 +01:00
a80224b07d php cs fixer 2018-12-28 19:13:07 +01:00
8815028589 Improve documentation 2018-12-25 20:09:11 +01:00
15d2b5f7dd Implement more unit tests 2018-12-25 16:17:19 +01:00
c0ded5607c Allow creation of models with id 2018-12-23 17:32:18 +01:00
10f0d1f692 Fix whitespace 2018-12-22 19:54:18 +01:00
2f38afaef7 Prepare for json schema installation 2018-12-22 19:50:51 +01:00
835f9a5f64 Prepare for json schema installation 2018-12-22 19:50:10 +01:00
d4ec08179e Implrement create builder 2018-12-21 20:16:33 +01:00
4ed4caf55b Fix bugs 2018-12-16 11:22:27 +01:00
857970c230 Fix docblocks 2018-12-15 22:35:41 +01:00
e616f844ab Use self instead of class 2018-12-10 18:24:46 +01:00
13c5562ffe Fix null typehint order 2018-12-10 18:13:44 +01:00
e01d3e1e59 Fix doc align 2018-12-09 22:20:41 +01:00
f9bf85e702 Fix use order 2018-12-09 22:16:41 +01:00
015fd41ba5 Remove unused use 2018-12-09 22:02:15 +01:00
92374d311f inspection fixes 2018-12-08 14:25:43 +01:00
4bd0a0f1b3 Fix event bug 2018-12-02 16:45:22 +01:00
ce939eb7de Force logging output 2018-11-30 21:06:12 +01:00
9945dbc373 Bug fixes 2018-11-23 11:35:42 +01:00
8c3392253f Test and impl. fixes 2018-11-18 12:49:59 +01:00
19019936bc Draft schema builder 2018-11-11 19:53:54 +01:00
b979761e8c More tests, test conditions and number_format fixes 2018-10-10 23:32:28 +02:00
52d8b17914 Bug fixes and unit tests implemented 2018-10-03 14:25:26 +02:00
e9f1adc699 docblock lie to fix some phpstan bugs 2018-09-22 19:09:12 +02:00
dad9a42ece Docblock fix 2018-09-22 18:19:04 +02:00
8a91224f66 Fix whitespaces 2018-09-21 23:17:37 +02:00
f8bad0558b Move ownership from modules to framework 2018-09-17 19:36:38 +02:00
23f31d359a Prevent creating existing object in database 2018-09-15 14:18:58 +02:00
a95b0ea026 PhpStan fixes 2018-09-12 22:15:44 +02:00
766b79cfd3 Remove unused function 2018-09-01 17:50:10 +02:00
acb32ba190 Implement more array functionality 2018-09-01 17:23:34 +02:00
f1326f4a75 Improve tests 2018-09-01 16:28:00 +02:00
cf161359c2 remove comment 2018-08-26 19:25:23 +02:00
17740d864f Implement join for builder 2018-08-25 18:37:08 +02:00
e28353a86b More global namespace uses 2018-08-24 15:01:01 +02:00
138b631a65 Use more global paths 2018-08-24 14:48:49 +02:00
d5e2d35672 Fix package docblock 2018-08-24 14:08:19 +02:00
9ad6be02bf comment fixes 2018-08-24 14:06:05 +02:00
8a2bed5877 use global namespace 2018-08-24 13:06:04 +02:00
feb652a026 Merge remote-tracking branch 'origin/develop' into develop 2018-08-24 12:09:50 +02:00
7cb13c09e7 Use more global namespace 2018-08-22 21:01:57 +02:00
de2fdb61bc Handle empty table name in where clause 2018-08-18 12:41:53 +02:00
08d5987553 Use global namespace 2018-08-11 12:10:36 +02:00
6cc520a579 Fix mapper depth bugs and implement math evaluator 2018-08-01 22:08:20 +02:00
1e023a1247 Fix depth handling 2018-07-31 20:10:20 +02:00
d81ff1dc7a Fix factory return type 2018-07-27 20:05:18 +02:00
b82213d97f Turn some returns into exceptions 2018-07-18 00:12:53 +02:00
46465207a7 Fix types 2018-07-18 00:05:00 +02:00
a0b51cef62 Fix types 2018-07-17 21:38:32 +02:00
dbd216aa3b Better type juggling 2018-07-15 21:48:56 +02:00
b6782198c0 Fix types 2018-07-15 21:41:30 +02:00
a3fd37fd84 Fix types 2018-07-15 21:22:25 +02:00
1200350c62 Minor type fixes 2018-07-15 20:10:53 +02:00
6843ac5548 Type check fixes 2018-07-15 10:46:34 +02:00
c8d938591a Fix too strict type definitions 2018-07-14 18:23:05 +02:00
e76606d0a3 Static test fixes 2018-07-14 17:23:18 +02:00
0614c12eef Fix more type bugs 2018-07-14 14:41:15 +02:00
3aa3c6b0dd Handle open todos 2018-06-03 14:22:05 +02:00
381ce558b9 Remove old todo 2018-06-03 10:34:56 +02:00
31209d2b30 Implement basic localization db mapper 2018-05-30 22:35:42 +02:00
1b0d170052 Use root namespace and cleanup 2018-05-30 13:40:28 +02:00
37add470eb Remove whitespace 2018-05-21 22:31:14 +02:00
e36f56da30 Fix array path bugs 2018-05-21 20:03:06 +02:00
71a13da619 Optimize mapper loops 2018-05-21 17:48:41 +02:00
aa89b83746 Reformat 2018-05-21 11:13:56 +02:00
bc3d5ed4c7 Draft datamapper array support 2018-05-21 10:51:58 +02:00
f2591bff06 PHP CS fixes 2018-05-14 21:17:44 +02:00
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