Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
bfa4a5c
refactor: Moved Core Files
usernane Oct 7, 2025
713304f
refactor: Moved Files
usernane Oct 7, 2025
e9e7ebf
refactor: Moved Files
usernane Oct 7, 2025
5392214
test: Changed App Folder Name
usernane Oct 7, 2025
843c291
refactor: Namespace Correction
usernane Oct 7, 2025
91b29d9
Update index.php
usernane Oct 7, 2025
ab65faa
test: Renamed `apis` to `Apis`
usernane Oct 7, 2025
bb22716
test: Renamed `tables` to `Tables`
usernane Oct 7, 2025
e9cb3c6
refactor: Few Fixes
usernane Oct 7, 2025
0d48999
refactor: `UI` to `Ui`
usernane Oct 7, 2025
a45554f
refactor: `UI` to `Ui`
usernane Oct 7, 2025
1a9a8a5
Update composer.json
usernane Oct 7, 2025
13aba92
refactor: Namespaces Correction
usernane Oct 7, 2025
67eeb98
refactor: Namespaces Correction
usernane Oct 7, 2025
62a721a
test: Namespaces Correction
usernane Oct 7, 2025
4317748
Delete .gitkeep
usernane Oct 8, 2025
60179cd
Create .gitkeep
usernane Oct 8, 2025
35d7b38
refactor: Namespaces Correction
usernane Oct 8, 2025
1d4d252
Update TableObjHelper.php
usernane Oct 8, 2025
18bdfb7
refactor: Namespaces Correction
usernane Oct 8, 2025
b3f602e
refactor: Correction of Namespaces
usernane Oct 8, 2025
b28b10b
Update App.php
usernane Oct 8, 2025
94e16a7
refactor: Path and Namespace Correction
usernane Oct 8, 2025
0d7d9ae
refactor: Namespaces Correction
usernane Oct 8, 2025
be05c5b
test: Fix Test Cases
usernane Oct 8, 2025
e663540
Update DatabaseMigrationWriterTest.php
usernane Oct 8, 2025
6f9568b
Update CreateCommand.php
usernane Oct 8, 2025
e51d354
fix: Namespaces
usernane Oct 8, 2025
0732cd0
test: Correcting Namespaces
usernane Oct 8, 2025
7a29c47
Update CreateAPITestCaseTest.php
usernane Oct 8, 2025
42f0909
Update CreateAPITestCase.php
usernane Oct 8, 2025
7b62798
Update CreateAPITestCaseTest.php
usernane Oct 9, 2025
c01e10c
Update DatabaseMigrationWriter.php
usernane Oct 9, 2025
713dd66
Update CreateDBAccessTest.php
usernane Oct 9, 2025
a148a8b
Update CreateMigrationTest.php
usernane Oct 9, 2025
620bfbd
Update CreateCommand.php
usernane Oct 9, 2025
4cdb822
Update CreateThemeTest.php
usernane Oct 9, 2025
8c74023
Update ThemeTest.php
usernane Oct 9, 2025
6a03b80
Update CreateAPITestCaseTest.php
usernane Oct 9, 2025
2fcb0c5
fix: Writing Classes
usernane Oct 9, 2025
c59fac0
test: Added Check for Files
usernane Oct 9, 2025
13da8b0
Update CreateMigrationTest.php
usernane Oct 9, 2025
b78c71a
Update DatabaseMigrationWriterTest.php
usernane Oct 9, 2025
6d56952
Update DatabaseMigrationWriterTest.php
usernane Oct 9, 2025
c2bac79
chore: Updated Version Number
usernane Oct 9, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,12 @@ composer.lock
*.cache
cs-fixer.phar
*.log
src/app/storage
app/storage
/release/
php-cs-fixer-v2.phar
app/sto
app/config/*
App/sto
App/Config/*
.idea/*
!/app/config/config-with-err-00.json
!/App/Config/config-with-err-00.json
*.Identifier
tests/clover.xml
/.vscode
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
namespace app\apis;
namespace App\Apis;

use WebFiori\Http\Response;

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
namespace app\database;
namespace App\Database;

use WebFiori\Database\MySql\MySQLTable;
/**
Expand Down
2 changes: 1 addition & 1 deletion app/database/TestTable.php → App/Database/TestTable.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
namespace app\database;
namespace App\Database;

use WebFiori\Database\MySql\MySQLTable;
/**
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php
namespace app\database\migrations\emptyRunner;
namespace App\Database\Migrations\EmptyRunner;

use WebFiori\Database\Schema\SchemaRunner;
use webfiori\framework\App;
use WebFiori\Framework\App;

class XRunner extends SchemaRunner {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
namespace app\database\migrations\multi;
namespace App\Database\Migrations\Multi;

use WebFiori\Database\Database;
use WebFiori\Database\Schema\AbstractMigration;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
namespace app\database\migrations\multi;
namespace App\Database\Migrations\Multi;

use WebFiori\Database\Database;
use WebFiori\Database\Schema\AbstractMigration;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
namespace app\database\migrations\multi;
namespace App\Database\Migrations\Multi;

use WebFiori\Database\Database;
use WebFiori\Database\Schema\AbstractMigration;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
namespace app\database\migrations\multi;
namespace App\Database\Migrations\Multi;

use PHPUnit\TextUI\XmlConfiguration\Migration;
use WebFiori\Database\ConnectionInfo;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
namespace app\database\migrations\multiDownErr;
namespace App\Database\Migrations\MultiDownErr;

use WebFiori\Database\Database;
use WebFiori\Database\migration\AbstractMigration;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
namespace app\database\migrations\multiDownErr;
namespace App\Database\Migrations\MultiDownErr;

use WebFiori\Database\Database;
use WebFiori\Database\migration\AbstractMigration;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
namespace app\database\migrations\multiDownErr;
namespace App\Database\Migrations\MultiDownErr;

use WebFiori\Database\Database;
use WebFiori\Database\migration\AbstractMigration;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
namespace app\database\migrations\multiDownErr;
namespace App\Database\Migrations\MultiDownErr;

use WebFiori\Database\ConnectionInfo;
use WebFiori\Database\Schema\SchemaRunner;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
namespace app\database\migrations\multiErr;
namespace App\Database\Migrations\MultiErr;

use WebFiori\Database\Database;
use WebFiori\Database\migration\AbstractMigration;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
namespace app\database\migrations\multiErr;
namespace App\Database\Migrations\MultiErr;

use WebFiori\Database\Database;
use WebFiori\Database\migration\AbstractMigration;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
namespace app\database\migrations\multiErr;
namespace App\Database\Migrations\MultiErr;

use WebFiori\Database\Database;
use WebFiori\Database\migration\AbstractMigration;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
namespace app\database\migrations\multiErr;
namespace App\Database\Migrations\MultiErr;

use WebFiori\Database\ConnectionInfo;
use WebFiori\Database\Schema\SchemaRunner;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
namespace app\database\migrations\noConn;
namespace App\Database\Migrations\NoConn;

use WebFiori\Database\Database;
use WebFiori\Database\migration\AbstractMigration;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
namespace app\database\migrations\noConn;
namespace App\Database\Migrations\NoConn;

use WebFiori\Database\Schema\SchemaRunner;

Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
namespace app\entity;
namespace App\Entity;

/**
* Description of WithException
Expand Down
File renamed without changes.
File renamed without changes.
7 changes: 4 additions & 3 deletions app/ini/InitAutoLoad.php → App/Init/InitAutoLoad.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
<?php
namespace app\ini;

namespace App\Init;

class InitAutoLoad {
/**
* Add user-defined directories to the set of directories at which the framework will search for classes.
*
* @since 1.0
*/
**/
public static function init() {

}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
namespace app\ini;
namespace App\Ini;

class InitCliCommands {
/**
Expand Down
7 changes: 4 additions & 3 deletions app/ini/InitCommands.php → App/Init/InitCommands.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
<?php
namespace app\ini;

namespace App\Init;

class InitCommands {
/**
* A method that can be used to initialize CLI commands.
*
* @since 1.0
*/
**/
public static function init() {

}
}
9 changes: 5 additions & 4 deletions app/ini/InitMiddleware.php → App/Init/InitMiddleware.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
<?php
namespace app\ini;

namespace App\Init;

class InitMiddleware {
/**
* Register middleware which are created outside the folder 'app/middleware'.
* Register middleware which are created outside the folder '[APP_DIR]/Middleware'.
*
* @since 1.0
*/
**/
public static function init() {

}
}
7 changes: 4 additions & 3 deletions app/ini/InitPrivileges.php → App/Init/InitPrivileges.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
<?php
namespace app\ini;

namespace App\Init;

class InitPrivileges {
/**
* Initialize user groups and privileges.
*
* @since 1.0
*/
**/
public static function init() {

}
}
7 changes: 4 additions & 3 deletions app/ini/InitTasks.php → App/Init/InitTasks.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
<?php
namespace app\ini;

namespace App\Init;

class InitTasks {
/**
* A method that can be used to register background tasks.
*
* @since 1.0
*/
**/
public static function init() {

}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
namespace app\ini\routes;
namespace App\Ini\Routes;

class APIsRoutes {
/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
namespace app\ini\routes;
namespace App\Ini\Routes;

class ClosureRoutes {
/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
namespace app\ini\routes;
namespace App\Ini\Routes;

class OtherRoutes {
/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
namespace app\ini\routes;
namespace App\Ini\Routes;

class PagesRoutes {
/**
Expand Down
4 changes: 2 additions & 2 deletions app/langs/LangAR.php → App/Langs/LangAR.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
namespace app\langs;
namespace App\Langs;

use webfiori\framework\Lang;
use WebFiori\Framework\Lang;
/**
* A class which holds language information for the language which has code 'AR'.
*/
Expand Down
4 changes: 2 additions & 2 deletions app/langs/LangEN.php → App/Langs/LangEN.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
namespace app\langs;
namespace App\Langs;

use webfiori\framework\Lang;
use WebFiori\Framework\Lang;
/**
* A class which holds language information for the language which has code 'EN'.
*/
Expand Down
2 changes: 1 addition & 1 deletion app/langs/LangFR.php → App/Langs/LangFR.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
namespace app\langs;
namespace App\Langs;

class LangFR {
}
2 changes: 2 additions & 0 deletions App/Langs/LangGB.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?php
namespace App\Langs;
4 changes: 2 additions & 2 deletions app/langs/LangJP.php → App/Langs/LangJP.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
namespace app\langs;
namespace App\Langs;

use webfiori\framework\Lang;
use WebFiori\Framework\Lang;

class LangJP extends Lang {
public function __construct() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
namespace app\middleware;
namespace App\Middleware;

use webfiori\framework\middleware\AbstractMiddleware;
use WebFiori\Framework\Middleware\AbstractMiddleware;
use WebFiori\Http\Request;
use WebFiori\Http\Response;
/**
Expand Down
File renamed without changes.
8 changes: 4 additions & 4 deletions app/tasks/Fail1TestTask.php → App/Tasks/Fail1TestTask.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php
namespace app\tasks;
namespace App\Tasks;

use webfiori\framework\scheduler\AbstractTask;
use webfiori\framework\scheduler\TasksManager;
use WebFiori\Framework\Scheduler\AbstractTask;
use WebFiori\Framework\Scheduler\TasksManager;
/**
* A background process which was created using the command "create".
*
Expand Down Expand Up @@ -34,7 +34,7 @@ public function __construct() {
public function afterExec() {
//TODO: Implement the action to perform when the job finishes to execute.
//$email = new TasStatusEmail('no-reply', [
// 'webfiori@example.com' => 'Ibrahim Ali'
// 'WebFiori@example.com' => 'Ibrahim Ali'
//]);
}
/**
Expand Down
8 changes: 4 additions & 4 deletions app/tasks/Fail2TestTask.php → App/Tasks/Fail2TestTask.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php
namespace app\tasks;
namespace App\Tasks;

use webfiori\framework\scheduler\AbstractTask;
use webfiori\framework\scheduler\TaskStatusEmail;
use WebFiori\Framework\Scheduler\AbstractTask;
use WebFiori\Framework\Scheduler\TaskStatusEmail;
/**
* A background process which was created using the command "create".
*
Expand Down Expand Up @@ -34,7 +34,7 @@ public function __construct() {
public function afterExec() {
//TODO: Implement the action to perform when the job finishes to execute.
//$email = new TaskStatusEmail('no-reply', [
// 'webfiori@example.com' => 'Ibrahim Ali'
// 'WebFiori@example.com' => 'Ibrahim Ali'
//]);
}
/**
Expand Down
6 changes: 3 additions & 3 deletions app/tasks/Fail3TestTask.php → App/Tasks/Fail3TestTask.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
namespace app\tasks;
namespace App\Tasks;

use webfiori\framework\scheduler\AbstractTask;
use WebFiori\Framework\Scheduler\AbstractTask;
/**
* A background process which was created using the command "create".
*
Expand Down Expand Up @@ -33,7 +33,7 @@ public function __construct() {
public function afterExec() {
//TODO: Implement the action to perform when the job finishes to execute.
//$email = new TaskStatusEmail('no-reply', [
// 'webfiori@example.com' => 'Ibrahim Ali'
// 'WebFiori@example.com' => 'Ibrahim Ali'
//]);
}
/**
Expand Down
Loading
Loading