Skip to content

[SPEC-001] Alias PivotPHP\Core\Application (feat) - #26

Merged
code-cfernandes merged 1 commit into
mainfrom
feat/SPEC-001-application-alias
Oct 9, 2026
Merged

code-cfernandes merged 1 commit into
mainfrom
feat/SPEC-001-application-alias

Conversation

@code-cfernandes

Copy link
Copy Markdown
Member

Resumo

Adiciona o alias de retrocompatibilidade PivotPHP\Core\Application →
PivotPHP\Core\Core\Application, para que o FQCN antigo (usado no skeleton)
volte a funcionar.

Mudanças

  • src/aliases.php: class_alias para PivotPHP\Core\Application.
  • tests/Unit/AliasesTest.php: teste de resolução do alias.
  • docs/technical/application.md: documenta o alias.

Como testar

vendor/bin/phpunit --testsuite=CI
composer cs:check

Versionamento (SemVer)

MINOR → 2.2.0 (nova API pública: alias de compatibilidade).

Documentação

docs/technical/application.md atualizado (gate doc-review aprovado).

Instruções de merge

  • Squash and merge para main.
  • A parte do skeleton (corrigir public/index.php para o FQCN canônico) fica para a fase skeleton.

- class_alias to PivotPHP\Core\Core\Application in src/aliases.php.
- Document the alias in docs/technical/application.md.

Refs: SPEC-001 (PivotPHP/pivotphp-skeleton#1)
@github-actions

github-actions Bot commented Oct 9, 2026

Copy link
Copy Markdown

🚀 Release Readiness Report - PivotPHP Core v2.1.1

✅ All Checks Passed!

  • Version: 2.1.1
  • PHPStan: Level 9, 0 errors
  • Tests: All tests passing
  • Code Style: PSR-12 compliant
  • PHP Compatibility: 8.1 - 8.4
  • Dependencies: All valid
  • Scripts: Consolidated and optimized

📦 Ready for Publication

The project is ready to be tagged and released!

Next Steps:

  1. Create a new tag: git tag -a v2.1.1 -m 'Release v2.1.1'
  2. Push the tag: git push origin v2.1.1
  3. The release workflow will automatically create a GitHub release
  4. Packagist will be automatically updated

@code-cfernandes
code-cfernandes merged commit f6eb2c3 into main Oct 9, 2026
6 checks passed
@code-cfernandes
code-cfernandes deleted the feat/SPEC-001-application-alias branch October 9, 2026 02:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant