refactor: Cleanup git state - commit all staged changes

Major refactoring cleanup:
- Add new controller architecture (class-controller-*.php)
- Add new settings-v2 UI (views/settings-v2/)
- Add new CSS architecture (agentic-sidebar.css, tokens)
- Add esbuild build pipeline (scripts/build.js, package.json)
- Add composer dependencies (vendor/)
- Add frontend src directory (assets/js/src/index.jsx)
- Add documentation files
- Remove old/obsolete files (class-settings.php, old CSS)

This commits all pending changes from previous refactoring efforts.
This commit is contained in:
Dwindi Ramadhana
2026-06-17 05:27:58 +07:00
parent d3f142222c
commit 690991c526
7963 changed files with 941566 additions and 67372 deletions

View File

@@ -0,0 +1,22 @@
<?php
declare(strict_types=1);
if (!function_exists('h')) {
function h() {
}
} elseif(!function_exists('i')) {
if (true) {
function i()
{
}
}
} else {
function j() {
}
}
function a() {
}

View File

@@ -0,0 +1,16 @@
<?php
/**
* This file is part of phpDocumentor.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @copyright 2015-2018 Mike van Riel<mike@phpdoc.org>
* @license http://www.opensource.org/licenses/mit-license.php MIT
* @link http://phpdoc.org
*/
?>
<h1>Test</h1>
<?php
require 'Pizza.php';

View File

@@ -0,0 +1,13 @@
<?php
/**
* This file is part of phpDocumentor.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @copyright 2015-2018 Mike van Riel<mike@phpdoc.org>
* @license http://www.opensource.org/licenses/mit-license.php MIT
* @link http://phpdoc.org
*/
require 'Pizza.php';

View File

@@ -0,0 +1,15 @@
#!/bin/php
<?php
declare(strict_types=1);
/**
* This file is part of phpDocumentor.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @copyright 2015-2018 Mike van Riel<mike@phpdoc.org>
* @license http://www.opensource.org/licenses/mit-license.php MIT
* @link http://phpdoc.org
*/
require 'Pizza.php';

View File

@@ -0,0 +1,14 @@
<?php
declare(strict_types=1);
/**
* This file is part of phpDocumentor.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @copyright 2015-2018 Mike van Riel<mike@phpdoc.org>
* @license http://www.opensource.org/licenses/mit-license.php MIT
* @link http://phpdoc.org
*/
require 'Pizza.php';

View File

@@ -0,0 +1,14 @@
<h1>Test</h1>
<?php
/**
* This file is part of phpDocumentor.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @copyright 2015-2018 Mike van Riel<mike@phpdoc.org>
* @license http://www.opensource.org/licenses/mit-license.php MIT
* @link http://phpdoc.org
*/
require 'Pizza.php';

View File

@@ -0,0 +1,7 @@
<?php
use Acme\Plugin;
function foo( $output = Plugin::class ) {}
function bar( $output = OBJECT ) {}

View File

@@ -0,0 +1,23 @@
<?php
/**
* setup.php - Document the file.
*
* File long description goes here.
*
* @author Test Sample
*/
namespace {
/**
* autoloader function.
*
* Function long description goes here.
*
* @param string $class Namespaced class name
* @return void
*/
function libAutoload($class){
echo 'Do something';
}
spl_autoload_register('libAutoload');
}

View File

@@ -0,0 +1,11 @@
<?php
class Foo {
public function test() {
function internal() {
return "yep";
}
return internal();
}
}

View File

@@ -0,0 +1,15 @@
<?php
/**
* This file is part of phpDocumentor.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @copyright 2015-2018 Mike van Riel<mike@phpdoc.org>
* @license http://www.opensource.org/licenses/mit-license.php MIT
* @link http://phpdoc.org
*/
declare(strict_types=1);
require 'Pizza.php';