Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use zf2 config for setup config #80

Merged
merged 10 commits into from Oct 21, 2015
Merged

use zf2 config for setup config #80

merged 10 commits into from Oct 21, 2015

Conversation

glensc
Copy link
Member

@glensc glensc commented Oct 21, 2015

besides dual usage (via object and array),
the Setup::save takes only keys you want to modify, no need for Setup::load
and if you modify the retrieved setup, the in-memory version is modified too.

using zf2 lts version (2.4)

besides dual usage (via object and array),
the Setup::save takes only keys you want to modify, no need for Setup::load
and if you modify the retrieved setup, the in-memory version is modified too.

using zf2 lts version (2.4)
@glensc glensc added this to the 3.0.4 milestone Oct 21, 2015
@glensc glensc self-assigned this Oct 21, 2015
balsdorf pushed a commit that referenced this pull request Oct 21, 2015
use zf2 config for setup config
@balsdorf balsdorf merged commit 89cc4ca into eventum:master Oct 21, 2015
@balsdorf
Copy link
Contributor

Looks good!

glensc added a commit that referenced this pull request Oct 21, 2015
it's more logical the way it behaves now
@glensc
Copy link
Member Author

glensc commented Oct 21, 2015

damn, you were quick to merge this time! i planned to note when PR is ready for merge adding @balsdorf note.

i forgot to check version compatibility of this.

@glensc
Copy link
Member Author

glensc commented Oct 21, 2015

looks like composer.json specifies 5.3, but not all files pass syntax lint used in release process:

Parse error: syntax error, unexpected T_STRING in ./vendor/zendframework/zend-stdlib/src/Guard/AllGuardsTrait.php on line 15
Errors parsing ./vendor/zendframework/zend-stdlib/src/Guard/AllGuardsTrait.php

@balsdorf
Copy link
Contributor

Sorry about that, last PR's I took too long on so I tried to go through
quickly this time. Next time I will wait for a @balsdorf note.

@glensc
Copy link
Member Author

glensc commented Oct 21, 2015

i will just remove the conflicting files, we don't use them anyway

glensc added a commit that referenced this pull request Oct 22, 2015
custom workflow or custom fields may use Setup::load methods
@glensc
Copy link
Member Author

glensc commented Oct 22, 2015

also Workflow config access part is not tested.

glensc added a commit to glensc/eventum that referenced this pull request Oct 22, 2015
* remotes/upstream/master: (258 commits)
  add getProjectId method
  add getFrom, add test to get header value for from/to/cc
  add deleteMessage method to ImapMessage class
  move imap related addons to ImapMessage class
  move Mail classes to mail subdir
  add back Setup::load wrapper. eventum#80
  strip config/include from composer
  cleanup zend stuff
  rm traits which prevent packaging to work
  fix location of mkdirs
  changelog update
  include config subdirs in release package
  rename Setup::load to Setup::get. eventum#80
  forgot important save() method
  migrate smtp.auth bool setting
  move various config migrations to single upgrade patch
  getListing $get_reporters parameter was removed in 05ecdaa
  rss: use existing method to retrieve tool caption
  fix weird assign of array
  setup.load: discard reload option
  ...
glensc added a commit that referenced this pull request Nov 1, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

2 participants