Commit Graph

22 Commits

Author SHA1 Message Date
Abel Hoogeveen 440964b375
Resolved problems brought up by PhpStorm.
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
Includes problems such as:
- Grammar errors
- Type, argument and return declarations
- Redundant argument removal
2021-11-24 18:56:36 +01:00
Abel Hoogeveen 8ce3630714
PHP 8.0 compatibility update
continuous-integration/drone/push Build encountered an error Details
2021-11-24 17:43:00 +01:00
Abel Hoogeveen d4bf138533
Release version 1.2.3, changing the boot order. 2020-05-13 19:03:39 +02:00
Abel Hoogeveen 6f2e941eb1
Changed Configurator boot process.
- Components are now initialized before deferredComponentClasses are called. This ensures that components are properly prepared to be called.
- Directories are now added to components before components are initialized.

The following order has thus been established:
3.1 Load Components
3.1.1 setInstance of component
3.1.2 run onCreateContainer()
3.2 Add directories by category
3.3 each component init()
3.4 deferComponentClass invoke

See document on FuzeWorks boot order.
2020-02-20 12:43:40 +01:00
Abel Hoogeveen 8b01dd2f84 Implemented three requested features.
- FuzeWorks\Core now manages autoloading of classes for Plugins. Plugins no longer need to implement this themselves. Autoloading for libraries to be added soon.
- FuzeWorks\Factory::getInstance('') now returns a requested component. No arguments will result in the Factory being returned. This should simplify invoking components. cloneInstance() replaces old functionality.
- FuzeWorks\Logger can now properly write logs to file. It's unknown how this issue wasn't discovered before.
2019-07-22 19:48:13 +02:00
Abel Hoogeveen d670e9676b
Implemented all changes as proposed by the inspection report. 2019-01-21 20:44:53 +01:00
Abel Hoogeveen e10d84b65d
Implemented @covers in all unit tests. Code coverage now shows better what is actually covered and what is not. 2019-01-21 20:34:45 +01:00
Abel Hoogeveen 172bed55b9
Initializing the container is no longer required. Use call method to call componentClasses after creating the container. 2019-01-17 13:54:37 +01:00
Abel Hoogeveen 3154718f94
Implemented multiple requests. Mostly rewritten the Logger to be more compatible with Plugins and Components. 2019-01-16 23:07:09 +01:00
Abel Hoogeveen 961a4c4081
Removed main config file and fixed smaller details 2019-01-16 20:18:46 +01:00
Abel Hoogeveen 0c569a9eb1
Updated copyright notice to 2019 2019-01-10 23:59:00 +01:00
Abel Hoogeveen f0865bb761
Implemented all ideas for the Christmas holidays 2019-01-01 18:37:14 +01:00
Abel Hoogeveen 4086af2040
Updated directory consistency and notice in copyright. 2018-12-13 23:45:55 +01:00
Abel Hoogeveen dbc7e202e5 Release 1.2.0 BETA 2018-10-07 21:02:18 +00:00
Abel Hoogeveen 16738cf72c Fixed bugs and implemented the plugin system. See issue #122 for more information. 2018-02-20 21:57:12 +01:00
Abel Hoogeveen 9b923bdd20 Fixed issue #117. Also made changes related to events. 2018-01-16 19:37:47 +01:00
Abel Hoogeveen f5a4c9b7f4 Removed void return type, since this is not officially supported. 2017-12-22 00:06:01 +01:00
Abel Hoogeveen 3907ecc780 Implemented PHP7 type hinting accross the Core of FuzeWorks. 2017-12-21 22:18:23 +01:00
Abel Hoogeveen d086923f83 Modernized the framework to work with PHP 7.1.
- Events have been moved and are now loaded through autoloading.
- FuzeWorks\Configurator now supports a setDebugEmail() method which will pass an email address to Tracy.
- The FuzeWorks Module system has been removed
- FuzeWorks\Layout is no longer a static class
- Fixed multiple bugs where paths were case-sensitive and did not work under Linux
- Latte engine is now able to return layouts and not only view them
2017-07-14 16:11:35 +02:00
Abel Hoogeveen b205111e61 Changed license headers and version information.
Version 1.0.0 is now described.
2016-07-23 17:06:19 +02:00
Abel Hoogeveen cf7ec423a2 Disabled Modules system by default.
It is not stable, it will not be stable in a long while. For now it is deprecated. A newer better system shall replace it in the future.
2016-07-23 16:53:47 +02:00
Abel Hoogeveen 320edec16b Implemented a PSR-4 compliant scheme.
FuzeWorks can now be properly loaded by Composer, without any lost functionality.
2016-07-11 12:44:13 +02:00