- Sep 20, 2021
-
-
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.
-
Stein Magne Bjorklund authored
- Reduce logic complexity. - Return early. Code get called on every request and should be fast. - Remove support for mirroring multiple uri. Code uses a long gone PHP function. Split this into a private method.
-
Stein Magne Bjorklund authored
- Also require the file. Force it to fail hard if not found.
-
Stein Magne Bjorklund authored
Cleanup that improve code readability.
-
Stein Magne Bjorklund authored
-
Stein Magne Bjorklund authored
First thing application do is loading the settings making sure that it is available.
-
Stein Magne Bjorklund authored
-
Stein Magne Bjorklund authored
-
Stein Magne Bjorklund authored
We cannot just remove data from common.inc.php The class expect and try to use it throwing errors/warning every time the application load.
-
- Sep 15, 2021
-
-
Stein Magne Bjorklund authored
- No need to waste time calling Utils::uri2curie()
-
Stein Magne Bjorklund authored
- Use PSR-4 autoloading - Clean up code and reduce complexity.
-
Stein Magne Bjorklund authored
- Paves way for real autoloading in the future.
-
Stein Magne Bjorklund authored
- Always called utilities. We need to make sure they work as expected. Introduce PHPUnit tests. - Due to the use of gobals inside the static methods they become untestable. Remove use of global but that also forces a change if method signature.
-
Stein Magne Bjorklund authored
- Always run and should be fast. - Introduce tests to make sure I actually work. - Stop method from using global states to make it testable and safe.
-
- Sep 09, 2021
-
-
Stein Magne Bjorklund authored
-
Stein Magne Bjorklund authored
Since there is no code style lets use PSR-12 https://www.php-fig.org/psr/psr-12/
-
Stein Magne Bjorklund authored
Since there is no code style lets use PSR-12 https://www.php-fig.org/psr/psr-12/
-
- Sep 08, 2021
-
-
Stein Magne Bjorklund authored
- Fix static linked ARC2 lib in module code. - Fix typo in index.php
-
- Sep 07, 2021
-
-
Stein Magne Bjorklund authored
- PSR4 autoload all classes except modules. - Explicit declare what is used by classes. - Composer define what PHP modules are used.
-
Stein Magne Bjorklund authored
- Remove included ARC2 lib. - Replace static included library from /vendor. No autoloading, yet.
-
- Sep 01, 2021
-
-
Stein Magne Bjorklund authored
- Improve readability
-
Stein Magne Bjorklund authored
- Removed no longer needed inline comments.
-
Stein Magne Bjorklund authored
-
- Jul 09, 2021
-
-
oyvind Gjesdal authored
-
oyvind Gjesdal authored
-
- Jun 07, 2021
-
-
Oyvind.Gjesdal authored
-
Oyvind.Gjesdal authored
-
- Dec 14, 2020
-
-
Øyvind gjesdal authored
-
Øyvind gjesdal authored
-
- Nov 04, 2020
-
-
Cloud User authored
-
- Nov 02, 2020
-
-
Cloud User authored
-
- Oct 30, 2020
-
-
Cloud User authored
-
Cloud User authored
-
- Oct 29, 2020
-
-
Cloud User authored
-
Cloud User authored
-
Cloud User authored
-
Øyvind gjesdal authored
-