Commit Graph

10 Commits

Author SHA1 Message Date
0b0f4998b4
Updated repository to standards of PHP 8.1.
- Dropped support for PHP 7.4 and 8.0.
- Updated shutdown to no longer halt execution on an error if logger error handlers are disabled.
- Logger::enable() and ::disable() now control the screen log, as it used to in the old days.
2022-12-10 12:37:49 +01:00
440964b375
Resolved problems brought up by PhpStorm.
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
Includes problems such as:
- Grammar errors
- Type, argument and return declarations
- Redundant argument removal
2021-11-24 18:56:36 +01:00
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
68c2aaa210
Implemented all changes requested by FuzeWorks\Application.
- Implemented a exception and error handler which other methods register to. These are executed in the order provided by the Priority class
- Logger now uses the $isEnabled property to determine if it is enabled. $print_to_screen now has its own methods.
- Plugins now use a 'plugin.pluginName.php' file by default
-
2019-03-04 21:18:08 +01:00
31a668475a
Implemented namespace change in core_pluginsTest.
Fixes #139
2019-02-11 17:29:45 +01:00
f364245d90
Implemented Priority for componentPaths. 2019-01-21 17:19:09 +01:00
be449b4f0d
Implemented ComponentPathsTrait.
Now every classes that uses paths doesn't have its own code anymore. All methods for handling paths have been standardized.
2019-01-18 11:00:22 +01:00
0c569a9eb1
Updated copyright notice to 2019 2019-01-10 23:59:00 +01:00
f5fd1143fb
Made test directories uppercase to make them compatible with Linux. 2019-01-10 23:54:33 +01:00
ef149a953f Moved 'tests' to 'test' folder to make consistent with other FuzeWorks projects. 2018-12-23 19:21:31 +01:00