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:
12
vendor/phpdocumentor/reflection/.github/dependabot.yml
vendored
Normal file
12
vendor/phpdocumentor/reflection/.github/dependabot.yml
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
version: 2
|
||||
updates:
|
||||
- package-ecosystem: "composer"
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: "daily"
|
||||
open-pull-requests-limit: 10
|
||||
|
||||
- package-ecosystem: "github-actions"
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: "weekly"
|
||||
24
vendor/phpdocumentor/reflection/.github/workflows/dependabot-auto-merge.yml
vendored
Normal file
24
vendor/phpdocumentor/reflection/.github/workflows/dependabot-auto-merge.yml
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
name: "Dependabot auto-merge"
|
||||
|
||||
on: # yamllint disable-line rule:truthy
|
||||
pull_request_target: null
|
||||
|
||||
permissions:
|
||||
contents: "write"
|
||||
|
||||
jobs:
|
||||
dependabot:
|
||||
runs-on: "ubuntu-latest"
|
||||
if: "${{ github.actor == 'dependabot[bot]' }}"
|
||||
steps:
|
||||
- name: "Dependabot metadata"
|
||||
id: "metadata"
|
||||
uses: "dependabot/fetch-metadata@v2.5.0"
|
||||
with:
|
||||
github-token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
- name: "Enable auto-merge for Dependabot PRs"
|
||||
if: "${{ steps.dependabot-metadata.outputs.update-type != 'version-update:semver-major' }}"
|
||||
run: "gh pr merge --auto --merge \"$PR_URL\""
|
||||
env:
|
||||
PR_URL: "${{github.event.pull_request.html_url}}"
|
||||
GITHUB_TOKEN: "${{secrets.GITHUB_TOKEN}}"
|
||||
61
vendor/phpdocumentor/reflection/.github/workflows/documentation.yaml
vendored
Normal file
61
vendor/phpdocumentor/reflection/.github/workflows/documentation.yaml
vendored
Normal file
@@ -0,0 +1,61 @@
|
||||
name: "Documentation"
|
||||
|
||||
on: # yamllint disable-line rule:truthy
|
||||
push:
|
||||
branches:
|
||||
- "6.x"
|
||||
pull_request: null
|
||||
|
||||
jobs:
|
||||
documentation:
|
||||
name: "Documentation"
|
||||
runs-on: "ubuntu-latest"
|
||||
steps:
|
||||
- name: "Checkout"
|
||||
uses: "actions/checkout@v6"
|
||||
|
||||
- name: "Build"
|
||||
uses: "phpDocumentor/phpDocumentor@master"
|
||||
|
||||
- name: "Deploy"
|
||||
if: "${{ github.event_name == 'push' && github.ref == 'refs/heads/6.x' }}"
|
||||
uses: "actions/upload-artifact@v7"
|
||||
with:
|
||||
name: "documentation"
|
||||
path: "build/docs"
|
||||
retention-days: 1
|
||||
|
||||
deploy:
|
||||
name: "Deploy"
|
||||
if: "${{ github.event_name == 'push' && github.ref == 'refs/heads/6.x' }}"
|
||||
runs-on: "ubuntu-latest"
|
||||
needs: "documentation"
|
||||
steps:
|
||||
- name: "Checkout"
|
||||
uses: "actions/checkout@v6"
|
||||
with:
|
||||
repository: "phpDocumentor/docs"
|
||||
token: "${{ secrets.BOT_TOKEN }}"
|
||||
path: "docs"
|
||||
|
||||
- name: "Download"
|
||||
uses: "actions/download-artifact@v6"
|
||||
with:
|
||||
name: "documentation"
|
||||
path: "build/docs"
|
||||
|
||||
- name: "Copy files"
|
||||
run: "rsync -r --delete build/docs/* docs/docs/components/reflection"
|
||||
|
||||
- name: "Commit"
|
||||
uses: "stefanzweifel/git-auto-commit-action@v7"
|
||||
with:
|
||||
repository: "docs"
|
||||
commit_message: "Update reflection documentation"
|
||||
|
||||
- name: "Push"
|
||||
uses: "ad-m/github-push-action@master"
|
||||
with:
|
||||
directory: "docs"
|
||||
github_token: "${{ secrets.BOT_TOKEN }}"
|
||||
repository: "phpDocumentor/docs"
|
||||
71
vendor/phpdocumentor/reflection/.github/workflows/integrate.yaml
vendored
Normal file
71
vendor/phpdocumentor/reflection/.github/workflows/integrate.yaml
vendored
Normal file
@@ -0,0 +1,71 @@
|
||||
# https://docs.github.com/en/actions
|
||||
|
||||
name: "Integrate"
|
||||
|
||||
on: # yamllint disable-line rule:truthy
|
||||
push:
|
||||
branches:
|
||||
- "6.x"
|
||||
pull_request: null
|
||||
# Allow manually triggering the workflow.
|
||||
workflow_dispatch: null
|
||||
|
||||
jobs:
|
||||
code-coverage:
|
||||
name: "Code Coverage"
|
||||
uses: "phpDocumentor/.github/.github/workflows/code-coverage.yml@v0.9"
|
||||
with:
|
||||
php-version: "8.2"
|
||||
|
||||
coding-standards:
|
||||
name: "Coding Standards"
|
||||
runs-on: "ubuntu-22.04"
|
||||
steps:
|
||||
- name: "Checkout"
|
||||
uses: "actions/checkout@v6"
|
||||
|
||||
- name: "Install PHP"
|
||||
uses: "shivammathur/setup-php@v2"
|
||||
with:
|
||||
coverage: "none"
|
||||
php-version: "8.2"
|
||||
tools: "cs2pr"
|
||||
|
||||
- name: "Install dependencies with Composer"
|
||||
uses: "ramsey/composer-install@v3"
|
||||
with:
|
||||
dependency-versions: "locked"
|
||||
|
||||
- name: "Run PHP_CodeSniffer"
|
||||
run: "vendor/bin/phpcs -q --no-colors --report=checkstyle | cs2pr"
|
||||
|
||||
dependency-analysis:
|
||||
name: "Dependency analysis"
|
||||
uses: "phpDocumentor/.github/.github/workflows/dependency-analysis.yml@v0.9"
|
||||
with:
|
||||
php-version: "8.2"
|
||||
|
||||
lint-root:
|
||||
name: "Lint root"
|
||||
uses: "phpDocumentor/.github/.github/workflows/lint.yml@v0.9"
|
||||
with:
|
||||
php-version: "8.2"
|
||||
composer-options: "--no-check-publish --ansi"
|
||||
|
||||
static-analysis:
|
||||
name: "Static analysis"
|
||||
uses: "phpDocumentor/.github/.github/workflows/static-analysis.yml@main"
|
||||
with:
|
||||
php-version: "8.2"
|
||||
php-extensions: "none, ctype, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter, fileinfo, pcntl, posix"
|
||||
|
||||
unit-tests:
|
||||
name: "Unit test"
|
||||
uses: "phpDocumentor/.github/.github/workflows/continuous-integration.yml@v0.9"
|
||||
|
||||
integration-tests:
|
||||
name: "Integration test"
|
||||
uses: "phpDocumentor/.github/.github/workflows/continuous-integration.yml@v0.9"
|
||||
needs: "unit-tests"
|
||||
with:
|
||||
test-suite: "integration"
|
||||
Reference in New Issue
Block a user