- Sep 24, 2021
-
-
Stein Magne Bjorklund authored
-
Stein Magne Bjorklund authored
- Logger littering the code is not needed.
-
Stein Magne Bjorklund authored
-
Stein Magne Bjorklund authored
-
Stein Magne Bjorklund authored
-
Stein Magne Bjorklund authored
-
Stein Magne Bjorklund authored
Not called outside Utils, lets make sure it stays that way.
-
Stein Magne Bjorklund authored
- Also dropped some debug statements that makes the code even harder to read. - Folded som if/else statements to elseif.
-
Stein Magne Bjorklund authored
- Create unexpected behaviors and bug
-
- Sep 23, 2021
-
-
Stein Magne Bjorklund authored
Lower code complexity.
-
Stein Magne Bjorklund authored
- Fail early if code try to create object passing in illegal types and values.
-
- Sep 22, 2021
-
-
Stein Magne Bjorklund authored
-
- Sep 21, 2021
-
-
Stein Magne Bjorklund authored
-
Stein Magne Bjorklund authored
- Make match method testable.
-
Stein Magne Bjorklund authored
- Class is immutable and this returns a new object with the new configuration. This allows us during bootstrap to change this before passing it to loadspkr modules.
-
Stein Magne Bjorklund authored
- Make class use of config more predicable by stop using global conf. - Make the class vital methods more testable.
-
Stein Magne Bjorklund authored
- Allow us to inject a configuration to class and enable us to test it before refactoring.
-
Stein Magne Bjorklund authored
-
Stein Magne Bjorklund authored
-
Stein Magne Bjorklund authored
Makes it easier to replace the use of global throughout the code.
-
- Sep 20, 2021
-
-
Stein Magne Bjorklund authored
-
Stein Magne Bjorklund authored
-
Stein Magne Bjorklund authored
- Reformatting - Error 500 exits. Will never return.
-
Stein Magne Bjorklund authored
- Easier to maintain without all errors.
-
Stein Magne Bjorklund authored
-
Stein Magne Bjorklund authored
-
Stein Magne Bjorklund authored
-
Stein Magne Bjorklund authored
-
Stein Magne Bjorklund authored
-
Stein Magne Bjorklund authored
-
Stein Magne Bjorklund authored
-
Stein Magne Bjorklund authored
-
Stein Magne Bjorklund authored
Enable us to replace global states.
-
Stein Magne Bjorklund authored
-
Stein Magne Bjorklund authored
- Inject this into the needed classes and get away from globals.
-
Stein Magne Bjorklund authored
-
Stein Magne Bjorklund authored
-
Stein Magne Bjorklund authored
Do not implement properties or code. It is a interface and should be typed as one.
-
Stein Magne Bjorklund authored
- Also remove extra include of settings. No longer needed.
-
Stein Magne Bjorklund authored
- Composer PSR-4 autoloading.
-