]> git.mxchange.org Git - core.git/log
core.git
4 years agoContinued:
Roland Häder [Sat, 7 Nov 2020 11:58:16 +0000 (12:58 +0100)]
Continued:
- moved $fileIoInstance and $resolverInstance to proper classes, avoiding
  monolithic BaseFrameworkSystem class
- the goal is to reduce all class fields with getter/setter
- also added type-hints for primitive variables

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Fri, 6 Nov 2020 15:22:55 +0000 (16:22 +0100)]
Continued:
- first primitive type added, more will follow

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Wed, 4 Nov 2020 13:55:00 +0000 (14:55 +0100)]
Continued:
- Minable was not generic (hub)

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Wed, 4 Nov 2020 13:24:29 +0000 (14:24 +0100)]
Continued:
- also include namespace here, may break code!

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Mon, 2 Nov 2020 17:30:37 +0000 (18:30 +0100)]
Continued:
- commented out noisy debug lines
- implemented next() and rewind()

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Mon, 2 Nov 2020 15:29:50 +0000 (16:29 +0100)]
Continued:
- re-implemented initIterator(), current() and valid()

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Thu, 29 Oct 2020 23:45:45 +0000 (00:45 +0100)]
Continued:
- added missing Responable::initTemplateEngine() invocation

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Thu, 29 Oct 2020 23:26:45 +0000 (00:26 +0100)]
Continued:
- added missing import

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Thu, 29 Oct 2020 23:19:06 +0000 (00:19 +0100)]
Continued:
- ops, wrong way!

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Thu, 29 Oct 2020 22:48:55 +0000 (23:48 +0100)]
Continued:
- added missing imports

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Thu, 29 Oct 2020 22:44:25 +0000 (23:44 +0100)]
Continued:
- ops, copy-paste mistake

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Thu, 29 Oct 2020 22:42:53 +0000 (23:42 +0100)]
Continued:
- added missing $namespace parameter
- added missing imports of exception classes

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Thu, 29 Oct 2020 17:14:14 +0000 (18:14 +0100)]
Continued:
- removed commented out old-lost code

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Thu, 29 Oct 2020 15:35:52 +0000 (16:35 +0100)]
Continued:
- rewrote debug lines, __METHOD__/__LINE__ is no longer needed

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Thu, 29 Oct 2020 13:20:24 +0000 (14:20 +0100)]
Continued:
- more debug lines added
- commented some out

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Thu, 29 Oct 2020 13:15:46 +0000 (14:15 +0100)]
Continued:
- commented out noisy debug lines

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Thu, 29 Oct 2020 13:08:46 +0000 (14:08 +0100)]
Continued:
- maybe (?) fixed reading of files with FrameworkDirectoryPointer class

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Thu, 29 Oct 2020 11:50:21 +0000 (12:50 +0100)]
Continued:
- improved log messages
- import exception class

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Tue, 27 Oct 2020 12:27:24 +0000 (13:27 +0100)]
Continued:
- socketResource is now part of the SocketContainer class residing in "hub"
  project

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Mon, 26 Oct 2020 11:22:00 +0000 (12:22 +0100)]
Continued:
- added more debug lines

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Mon, 26 Oct 2020 05:29:47 +0000 (06:29 +0100)]
Continued:
- removed superflous __METHOD__/__LINE__ inclusion when it is already given
- added some informative text back

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContrib:
Roland Häder [Mon, 26 Oct 2020 04:45:38 +0000 (05:45 +0100)]
Contrib:
- added missing-methods.sh which requires a debug.log file which you can
  generate this way:

  $ php index.php app=foo > debug.log 2>&1

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Mon, 26 Oct 2020 04:28:21 +0000 (05:28 +0100)]
Continued:
- socketResource is now part of the socket instance
- updated composer packages

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoCopyright:
Roland Häder [Fri, 31 Jan 2020 01:41:37 +0000 (02:41 +0100)]
Copyright:
- updated older copyright years

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Fri, 31 Jan 2020 01:38:55 +0000 (02:38 +0100)]
Continued:
- Copyright year updated

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Fri, 31 Jan 2020 01:33:10 +0000 (02:33 +0100)]
Continued:
- $className means only the short class name, better use $fullClassName instead
  to make it clear that also the namespace is included

Signed-off-by: Roland Häder <roland@mxchange.org>
5 years agoContinued:
Roland Häder [Thu, 1 Aug 2019 05:02:17 +0000 (07:02 +0200)]
Continued:
- updated copyright year (code was really updated there but not the year
  itself)
- __call() does now finally show proper class name and only 'unknown' when
  self::$instance is not set (which must be an instance of FrameworkInterface
  for an obvious reason ...)

Signed-off-by: Roland Häder <roland@mxchange.org>
5 years agoContinued:
Roland Häder [Thu, 1 Aug 2019 01:15:47 +0000 (03:15 +0200)]
Continued:
- configKey's value should be string here
- word "method" is better describing
- rewrote single-line to multi-line
- added internal TODO

Signed-off-by: Roland Häder <roland@mxchange.org>
5 years agoContinued:
Roland Häder [Thu, 1 Aug 2019 01:09:32 +0000 (03:09 +0200)]
Continued:
- updated composer.lock

Signed-off-by: Roland Häder <roland@mxchange.org>
5 years agoupdated composer packages
Roland Häder [Sat, 2 Mar 2019 16:13:22 +0000 (17:13 +0100)]
updated composer packages

Signed-off-by: Roland Häder <roland@mxchange.org>
5 years agoContinued with chash:
Roland Häder [Sat, 2 Mar 2019 16:09:10 +0000 (17:09 +0100)]
Continued with chash:
- fixed division-by-zero
- fixed restart code, need to decode JSON as associative array
- renamed constant
- new array style

Signed-off-by: Roland Häder <roland@mxchange.org>
5 years agoContinued:
Roland Häder [Sun, 3 Feb 2019 04:50:16 +0000 (05:50 +0100)]
Continued:
- removed packageData array which is moved to "hub" project
- added missing new "table"

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoContinued:
Roland Häder [Thu, 15 Nov 2018 00:09:13 +0000 (01:09 +0100)]
Continued:
- don't continue with $resultArray is empty or has no element "rows"
- updated composer packages

6 years agoContinued:
Roland Häder [Thu, 15 Nov 2018 00:00:15 +0000 (01:00 +0100)]
Continued:
- improved find-bad-php.sh
- RegistryIterator->rewind() doesn't need to rewind when there is nothing to
  iterate
- imported deprecated class

6 years agoContinued:
Roland Häder [Sun, 8 Jul 2018 07:00:53 +0000 (09:00 +0200)]
Continued:
- better keep logic that is around such regular expressions in a nice utilities
  class

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoContinued:
Roland Häder [Sun, 8 Jul 2018 05:04:51 +0000 (07:04 +0200)]
Continued:
- it is getFileObject() not getPointer()
- also let that method invoke wrapped file pointer instance' same method

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoNew-line added
Roland Häder [Tue, 3 Jul 2018 23:58:09 +0000 (01:58 +0200)]
New-line added

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoContinued:
Roland Häder [Tue, 3 Jul 2018 22:44:35 +0000 (00:44 +0200)]
Continued:
- opps, to less unit tests to find this ... :-(

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoContinued:
Roland Häder [Mon, 7 May 2018 00:36:57 +0000 (02:36 +0200)]
Continued:
- fix for division-by-zero
- also algo was to "happy" finding new hashes

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoContinued:
Roland Häder [Sat, 14 Apr 2018 21:34:10 +0000 (23:34 +0200)]
Continued:
- ops, .col-form-label is the right one

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoContinued:
Roland Häder [Sat, 14 Apr 2018 21:26:51 +0000 (23:26 +0200)]
Continued:
- convertDashesToUnderscores() is invoked static by
  StringUtils::convertDashesToUnderscores

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoContinued:
Roland Häder [Sat, 14 Apr 2018 21:24:03 +0000 (23:24 +0200)]
Continued:
- do not clear formName and formId, both are still needed

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoContinued:
Roland Häder [Sat, 14 Apr 2018 21:21:30 +0000 (23:21 +0200)]
Continued:
- assignVariable() should validate $variableName if NULL or empty

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoContinued:
Roland Häder [Sat, 14 Apr 2018 20:37:49 +0000 (22:37 +0200)]
Continued:
- moved convertDashesToUnderscores to new StringUtils class
- this class now needs to be loaded "manually"
- cleaned up .htaccess files where they are really not needed

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoContinued:
Roland Häder [Sat, 14 Apr 2018 19:56:46 +0000 (21:56 +0200)]
Continued:
- fixed wrong constant reference, is now in FrameworkConfiguration

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoContinued:
Roland Häder [Sat, 14 Apr 2018 18:48:21 +0000 (20:48 +0200)]
Continued:
- started porting to Bootstrap4

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoContinued:
Roland Häder [Fri, 13 Apr 2018 23:41:37 +0000 (01:41 +0200)]
Continued:
- ops, did not append 's' to 'http'

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoContinued:
Roland Häder [Fri, 13 Apr 2018 23:37:57 +0000 (01:37 +0200)]
Continued:
- rewrote ObjectFactory for some performance improvement, yet still more needs
  to be done, maybe some static "cache" array and then use reflection to clean
  up old instance?
- debug messages are now "hidden" in HTML comment blocks
- InvalidClassNameException is now emptied and InvalidArgumentException is used
  instead

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoContinued:
Roland Häder [Wed, 11 Apr 2018 21:38:39 +0000 (23:38 +0200)]
Continued:
- imported InvalidControllerException

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoContinued:
Roland Häder [Wed, 11 Apr 2018 21:29:28 +0000 (23:29 +0200)]
Continued:
- better detection of HTTP(S)

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoContinued:
Roland Häder [Wed, 11 Apr 2018 20:46:10 +0000 (22:46 +0200)]
Continued:
- no need to handle $applicationInstance around as it exists in GenericRegister
  already
- please update your index.php to this

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoContinued:
Roland Häder [Wed, 11 Apr 2018 20:34:53 +0000 (22:34 +0200)]
Continued:
- initWebOutputInstance() cannot be invoked in construction time of response as
  the application instance is not yet created there, need to invoke
  initWebOutputInstance() after the application instance has been created

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoContinued:
Roland Häder [Wed, 11 Apr 2018 04:33:01 +0000 (06:33 +0200)]
Continued:
- ApplicationHelper needs to expand BaseApplication to have "self-registration"
  generically done
- so no more need to register 'application' instance everywhere else, just here

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoContinued:
Roland Häder [Tue, 6 Mar 2018 21:55:16 +0000 (22:55 +0100)]
Continued:
- need to invoke $responseInstance->initWebOutputInstance() to initialize the
  web output instance, but not in console responses ... The old-lost code at
  my shipping-company simulator did this.

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoContinued:
Roland Häder [Tue, 6 Mar 2018 21:49:02 +0000 (22:49 +0100)]
Continued:
- $databaseInstance is now moved to FrameworkBootstrap as the old getter/setter
  were using registry pattern, then a getter invocation to check if the
  instance has already been set will result to an NPE as getInstance() makes
  this sure

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoContinued:
Roland Häder [Tue, 6 Mar 2018 21:41:42 +0000 (22:41 +0100)]
Continued:
- tested $applicationInstance against DatabaseConnector which will never
  trigger the thrown exception on double call of this method

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoContinued:
Roland Häder [Tue, 6 Mar 2018 21:27:01 +0000 (22:27 +0100)]
Continued:
- imported RenderableMenu

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoContinued:
Roland Häder [Tue, 6 Mar 2018 21:24:25 +0000 (22:24 +0100)]
Continued:
- imported ManageableLanguage

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoContinued:
Roland Häder [Tue, 6 Mar 2018 21:22:13 +0000 (22:22 +0100)]
Continued:
- imported FrameworkArrayObject

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoContinued:
Roland Häder [Sat, 3 Mar 2018 23:28:44 +0000 (00:28 +0100)]
Continued:
- 'app' is no more, it is fully 'application'

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoContinued:
Roland Häder [Sat, 20 Jan 2018 17:49:03 +0000 (18:49 +0100)]
Continued:
- created more namespaces
- "imported" more classes/interfaces
- need to require_once, some strange (?) double-load may happen when phpunit is
  running
- sorted members a bit

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoContinued:
Roland Häder [Fri, 19 Jan 2018 21:33:40 +0000 (22:33 +0100)]
Continued:
- ops, wrong bait, wrong fish, inc/ is no more ...
- moved/upgraded files from rewrite

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoadded files for database format-upgrade
Roland Haeder [Mon, 21 Nov 2016 20:38:56 +0000 (21:38 +0100)]
added files for database format-upgrade

Signed-off-by: Roland Haeder <roland@mxchange.org>
6 years agoRenamed Registry -> GenericRegistry to make it clear that this registry does
Roland Haeder [Fri, 28 Oct 2016 19:33:15 +0000 (21:33 +0200)]
Renamed Registry -> GenericRegistry to make it clear that this registry does
indeed accept any type of data and therefor is very generic.

Signed-off-by: Roland Haeder <roland@mxchange.org>
6 years agoAdded format-upgrade class for LFDB version 01 (each row a single file + info
Roland Haeder [Thu, 27 Oct 2016 21:43:53 +0000 (23:43 +0200)]
Added format-upgrade class for LFDB version 01 (each row a single file + info
file) to 02 (only one data + info file, still same hash file format).

Signed-off-by: Roland Haeder <roland@mxchange.org>
6 years agoSome updates:
Roland Haeder [Wed, 26 Oct 2016 23:41:01 +0000 (01:41 +0200)]
Some updates:
- inc/config/config-local.php is no longer supported as it requires a (mostly)
  application-specific file being placed into core which is not a good idea.
  Better is strict separation of core-specific (framework only) and
  application-specific.
- updated all file's copyright year to 2016
- added dummy for upcoming datbase migration support (later also between
  different engines, if possible?)

Signed-off-by: Roland Haeder <roland@mxchange.org>
6 years agoAdded missing methods from Streamable interface.
Roland Haeder [Fri, 16 May 2014 23:00:36 +0000 (01:00 +0200)]
Added missing methods from Streamable interface.

Signed-off-by: Roland Haeder <roland@mxchange.org>
6 years agoContinued:
Roland Häder [Thu, 18 Jan 2018 23:19:25 +0000 (00:19 +0100)]
Continued:
- rewrite "miner" chash to scrypt
- imported needed exception class

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoNeed to have deeper namespace ...
Roland Häder [Thu, 18 Jan 2018 23:09:16 +0000 (00:09 +0100)]
Need to have deeper namespace ...

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoContinued:
Roland Häder [Tue, 16 Jan 2018 23:20:58 +0000 (00:20 +0100)]
Continued:
- removed Requestable instance from parameter list, this can now be done easier
  with FrameworkBootstrap::getInstance() rather than handling the instance
  around in many places (see inter-mezzo)

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoContinued:
Roland Häder [Wed, 3 Jan 2018 23:38:35 +0000 (00:38 +0100)]
Continued:
- even more rewrites towards SplFilInfo

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoContinued:
Roland Häder [Wed, 3 Jan 2018 23:33:43 +0000 (00:33 +0100)]
Continued:
- more rewrites towards SplFileInfo

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoContinued:
Roland Häder [Wed, 3 Jan 2018 23:31:38 +0000 (00:31 +0100)]
Continued:
- added import of FileStackIndexFactory (not unit-tested, sorry!)

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoContinued:
Roland Häder [Wed, 3 Jan 2018 23:30:05 +0000 (00:30 +0100)]
Continued:
- it is eof() in SplFileObject, not feof()

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoContinued:
Roland Häder [Wed, 3 Jan 2018 23:28:41 +0000 (00:28 +0100)]
Continued:
- fixed confusion between framework_base_path and root_base_path

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoContinued:
Roland Häder [Wed, 3 Jan 2018 23:26:07 +0000 (00:26 +0100)]
Continued:
- first check path, then file

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoContinued:
Roland Häder [Wed, 3 Jan 2018 23:02:51 +0000 (00:02 +0100)]
Continued:
- yep, I'm getting closer, yet another SplFileInfo is needed

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoContinued:
Roland Häder [Wed, 3 Jan 2018 23:00:02 +0000 (00:00 +0100)]
Continued:
- more rewrite towards SplFileInfo

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoContinued:
Roland Häder [Wed, 3 Jan 2018 22:57:55 +0000 (23:57 +0100)]
Continued:
- ported to SplFileInfo way

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoContinued:
Roland Häder [Wed, 3 Jan 2018 22:50:05 +0000 (23:50 +0100)]
Continued:
- same fade to Url-/Source

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoContinued:
Roland Häder [Wed, 3 Jan 2018 22:27:43 +0000 (23:27 +0100)]
Continued:
- removed Communicator instance, was maybe only for 'hub'? Maybe one day it will
  come back together with the interface ...

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoContinued:
Roland Häder [Wed, 3 Jan 2018 20:59:02 +0000 (21:59 +0100)]
Continued:
- fixed remove-deprecated.sh (was still Subversion-related)
- removed deprecated files
- updated TODOs.txt

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoContinued:
Roland Häder [Tue, 2 Jan 2018 22:43:02 +0000 (23:43 +0100)]
Continued:
- updated dependencies (composer is currently only used for PHPUnit dependency)
- you *may* use it for your own project but I highly recommend my way. Please
  refer to other projects like "city" or "hub" for up-to-date examples.
- maybe one day, this will be more? ...

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoContinued:
Roland Häder [Mon, 1 Jan 2018 07:08:37 +0000 (08:08 +0100)]
Continued:
- all base classes are now abstract
- "imported" some classes/interfaces

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoContinued:
Roland Häder [Mon, 1 Jan 2018 07:02:19 +0000 (08:02 +0100)]
Continued:
- "imported" missing interface

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoContinued:
Roland Häder [Mon, 1 Jan 2018 06:52:38 +0000 (07:52 +0100)]
Continued:
- added Executor interface from hub project

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoContinued:
Roland Häder [Mon, 1 Jan 2018 03:51:59 +0000 (04:51 +0100)]
Continued:
- also "documented" namespace expansion (Tld\Domain\) in thrown exceptions

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoContinued:
Roland Häder [Mon, 1 Jan 2018 03:17:22 +0000 (04:17 +0100)]
Continued:
- also updated these to new namespace

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoContinued:
Roland Häder [Tue, 14 Nov 2017 22:21:03 +0000 (23:21 +0100)]
Continued:
- also port this to SplFileInfo

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoContinued:
Roland Häder [Tue, 14 Nov 2017 21:28:08 +0000 (22:28 +0100)]
Continued:
- ops, overwrote fileInstance, rename to fileInfoInstance

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoContinued:
Roland Häder [Tue, 14 Nov 2017 21:19:37 +0000 (22:19 +0100)]
Continued:
- need to return full SplFileInfo instance instead of file name
- it is a better OOD anyway

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoContinued:
Roland Häder [Tue, 14 Nov 2017 20:58:42 +0000 (21:58 +0100)]
Continued:
- added Org\Nxchange\ namespace followwing Java convention

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated phpunit dependency to ^6.3 (6.3.0 and up until 6.3.9 including)
Roland Häder [Sun, 13 Aug 2017 19:35:13 +0000 (21:35 +0200)]
updated phpunit dependency to ^6.3 (6.3.0 and up until 6.3.9 including)

7 years agoRewrite continues:
Roland Häder [Sun, 13 Aug 2017 19:19:54 +0000 (21:19 +0200)]
Rewrite continues:
- EmptyVariableException can be easily replaced by InvalidArgumentException (IEA)
  because there is no need for to over-detailed exceptions, but still it is a
  good idea to have more (custom) around than the defaults
- MissingMethodException was no longer used and is now emptied
- updated TODOs.txt
- ignored vendor in todo-builder.sh

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoRewrites:
Roland Häder [Sun, 13 Aug 2017 18:51:58 +0000 (20:51 +0200)]
Rewrites:
- *IsEmptyException are all superflous as also NPE and IAE can do the same and
  much more generic
- closed TODO to remove inConstructor, was bad code style anyway

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoRewrite:
Roland Häder [Sun, 13 Aug 2017 18:36:12 +0000 (20:36 +0200)]
Rewrite:
- the configuration instance is now instanciated by
  FrameworkBootstrap::getConfigurationInstance(), this *may* has made it sure
  that the class FrameworkConfiguration can be fully covered by unit tests.
- still a call-back instance test is pending

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoRewrote a bit:
Roland Häder [Sun, 13 Aug 2017 18:15:36 +0000 (20:15 +0200)]
Rewrote a bit:
- removed redundant convertDashesToUnderscores() in FrameworkConfiguration but
  had to add an include line again, let's save redudant code, right? :-)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoRewritten:
Roland Häder [Sun, 13 Aug 2017 15:52:22 +0000 (17:52 +0200)]
Rewritten:
- rewrote framework to use more SPL's classes SplFileInfo and SplFileObject
  instead of "bare" PHP functions (more objects, better type-hints)
- this may break a lot other code, please rewrite, too
- updated .gitattributes

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoContinued with unit tests:
Roland Häder [Sun, 16 Jul 2017 21:46:53 +0000 (23:46 +0200)]
Continued with unit tests:
- some refacturing: all detectFoo() methods are now moved from configuration
  to bootstrap class as this seems proper place
- also they can only be called static
- DNS resolver is now globally quieted in tests/bootstrap.php
- created new unit test for FrameworkBootstrap class (partly)
- this origins from configuration unit test

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoContinued:
Roland Häder [Sun, 16 Jul 2017 21:05:56 +0000 (23:05 +0200)]
Continued:
- Also test unsupported methods if they are still unsupported. Please note, that
  these 2 methods may be removed from FrameworkInterface in the future as they
  come from very old times where no database frontend classes exist.

Signed-off-by: Roland Häder <roland@mxchange.org>