4374 Commits

Author SHA1 Message Date
devorama
7d36287c11 Add logic to allow test's that is just
based on array values to work

Signed-off-by: devorama <33496470+devorama@users.noreply.github.com>
2020-08-21 06:32:21 +02:00
devorama
b33b452090 Add ability to add custom namespace filters to allow config
of seperate code not to require change of core systems config
files. This will allow easier updates of core system without
concern of overwriting custom filters that was added.

Signed-off-by: devorama <33496470+devorama@users.noreply.github.com>
2020-08-21 06:32:21 +02:00
Abdul Malik Ikhsan
c480aedd3c
Apply phpstan level 3 2020-08-21 01:15:30 +07:00
Michal Sniatala
1766b8a748
Fix handling returnSQL parameter in Model::replace() (#3511)
Fix handling returnSQL parameter in Model::replace()
2020-08-19 21:26:06 +02:00
Abdul Malik Ikhsan
8670a37547
only concat $columns with $this->_processIndexes($table) when returns string 2020-08-19 10:58:46 +07:00
Abdul Malik Ikhsan
7f09840cf4
cs fix 2020-08-19 10:41:08 +07:00
Abdul Malik Ikhsan
b66b88cea5
clean up unnecessary check driver instance of SessionHandlerInterface in Session::start() since it type hinted in constructor 2020-08-19 10:41:08 +07:00
Abdul Malik Ikhsan
982a062d66
ignore concat handling 2020-08-19 10:41:07 +07:00
Abdul Malik Ikhsan
9b2fbdaab2
using App Config for session handler config 2020-08-19 10:41:07 +07:00
Abdul Malik Ikhsan
50f5548fe5
Apply phpstan level 2 2020-08-19 10:41:07 +07:00
MGatner
6da204ce23
Merge pull request #3463 from paulbalandan/services-optimization
Optimize: Services
2020-08-18 15:35:18 -04:00
Michal Sniatala
84464af567
Merge pull request #3480 from paulbalandan/feat/generator-commands
[Feature] Robust code scaffolder commands
2020-08-18 17:28:05 +02:00
Lonnie Ezell
ac82eb2da9
Merge pull request #3507 from michalsn/fix/setPath
Fix setPath method in UploadedFile class
2020-08-17 21:56:09 -05:00
michalsn
e85c5d85ab
Fix setPath method in UploadedFile class 2020-08-17 21:26:35 +02:00
MGatner
91b534c426
Merge pull request #3495 from najdanovicivan/entity-deep
Codeigniter\Entity - Added $deep parameter in toArray and toRawArray
2020-08-17 14:52:42 -04:00
Abdul Malik Ikhsan
94ad4dc5ac
ignore for whatever reason, set $_GET and $_POST as null 2020-08-17 19:56:16 +07:00
Abdul Malik Ikhsan
9180c293cb
clean up unnecessary fallback to empty array 2020-08-17 19:47:25 +07:00
Abdul Malik Ikhsan
eb00eec5d0
clean up unnecessary fallback to empty array 2020-08-17 19:40:10 +07:00
Abdul Malik Ikhsan
f9deaadf69
add abstract methods for _resize,_crop,_getWidth,_getHeight in Images BaseHandler 2020-08-17 17:26:12 +07:00
Abdul Malik Ikhsan
0f670d4f00
Fixes returns array for BaseConnection::getFieldData(), getIndexData(), getForeignKeyData() 2020-08-17 17:05:45 +07:00
Abdul Malik Ikhsan
afc0556f87
use isset check for $current_index in FileCollection::getValueDotNotationSyntax() 2020-08-17 14:10:57 +07:00
Abdul Malik Ikhsan
b898978879
apply phpstan level 1 2020-08-17 12:33:17 +07:00
John Paul E. Balandan, CPA
94e9700674
Add $useAutoIncrement property to model template 2020-08-17 01:10:40 +08:00
Najdanović Ivan
d06a9b399f
Codeigniter\Entity - Added $deep parameter in toArray and toRawArray methods
Additionally added :
  - Unit Tests
  - Return Type Declaration for Entity Getters to avoid IDE errors
  - Some Code Style Fixes
2020-08-16 17:45:14 +02:00
John Paul E. Balandan, CPA
dd3da10c6c
Remove phpstan ignore line
Co-authored-by: Abdul Malik Ikhsan <samsonasik@gmail.com>
2020-08-16 21:32:19 +08:00
John Paul E. Balandan, CPA
f13266ed26 Adds make:filter and make:command commands 2020-08-16 21:12:49 +08:00
John Paul E. Balandan, CPA
5aaab9de3b Add initial tests for generators 2020-08-16 21:12:48 +08:00
John Paul E. Balandan, CPA
9df3e26f95 Robust code scaffolder commands 2020-08-16 21:12:47 +08:00
John Paul E. Balandan, CPA
b1321117f0
Update config resolution of email service 2020-08-16 20:41:51 +08:00
John Paul E. Balandan, CPA
57e9fbac47 Use config() for instantiation 2020-08-16 20:37:00 +08:00
John Paul E. Balandan, CPA
81cfc593f4 Use strict typehints for config parameters 2020-08-16 20:36:59 +08:00
John Paul E. Balandan, CPA
ca5c672d7c Optimize: Services 2020-08-16 20:36:58 +08:00
Abdul Malik Ikhsan
c5402f3269
use $this->driver as handler 2020-08-16 15:46:32 +07:00
Abdul Malik Ikhsan
bbea2f316e
Fixes EncryptionException::forNoHandlerAvailable() handler parameter call 2020-08-16 15:30:15 +07:00
Michal Sniatala
3f27f92e65
Merge pull request #3490 from paulbalandan/logs-clear-command
Add command 'logs:clear'
2020-08-16 06:45:03 +02:00
Michal Sniatala
7f040d6e3b
Merge pull request #3496 from michalsn/fix/validation_matches
Add support for nested params in matches/differs rules
2020-08-15 20:35:17 +02:00
John Paul E. Balandan, CPA
864babe6d8
Add confirmation and force option 2020-08-16 01:43:53 +08:00
Michal Sniatala
487212d0b1
Merge branch 'develop' into feature/no_auto_increment 2020-08-15 19:07:16 +02:00
michalsn
b9d591fbe3
Add support for nested params in matches/differs rules. Fixes #3492 2020-08-15 18:38:53 +02:00
MGatner
bcb00a0eb2
Merge pull request #3491 from paulbalandan/basecommand-showerror-use-throwable
Use Throwable in BaseCommand::showError
2020-08-15 08:29:16 -04:00
Abdul Malik Ikhsan
d1a938bc17
ignore false positive on ResponseTrait for undefined formatter property 2020-08-15 15:32:08 +07:00
Abdul Malik Ikhsan
56ebdc1c30
final touch 2020-08-15 13:49:09 +07:00
Abdul Malik Ikhsan
9d4260abb6
using @phpstan-ignore-line for unset($parts[path]) at Uri::setAuthority() 2020-08-15 13:42:25 +07:00
Abdul Malik Ikhsan
4af4be004b
handle possible not isset unset checked key value in form_helper::form_checkbox 2020-08-15 13:40:50 +07:00
Abdul Malik Ikhsan
4820066b13
add CodeIgniter\API\ResponseTrait in use trait for MockResourcePresenter for fix undefined $format 2020-08-15 13:31:57 +07:00
Abdul Malik Ikhsan
3adc5fd70b
fix undefined $eventFiles in MockEvents, use $files instead 2020-08-15 13:30:22 +07:00
Abdul Malik Ikhsan
c00adc47c1
fix add default return value on MockResult 2020-08-15 13:28:11 +07:00
Abdul Malik Ikhsan
c6549f74b8
fix undefined originalMimeType property in File class 2020-08-15 13:26:37 +07:00
Abdul Malik Ikhsan
57b44c4e56
fixes undefined local var $targetBatch in MigrationRunner::getBatchEnd() 2020-08-15 12:54:34 +07:00
Abdul Malik Ikhsan
87e5a4f52a
fixes undefined local var $targetBatch in MigrationRunner::getBatchStart() 2020-08-15 12:53:26 +07:00