Skip to content

Conversation

CAFernandes
Copy link
Member

No description provided.

…le ORM project

- Deleted CYCLE_ORM_UPDATE_STATUS.md as it is no longer relevant.
- Removed PACKAGIST_MIGRATION_REPORT.md which is obsolete after migration.
- Eliminated PHPSTAN_FIXES_SUMMARY.md as fixes are now integrated.
- Removed composer.json.local and composer.json.production files as they are no longer needed.
- Deleted composer.scripts.json since its content is now part of composer.json.
- Removed examples of usage patterns in valida-conceito-patterns.md as they are outdated.
- Deleted metodos-corretos-helixphp.md for being redundant.
- Removed update_composer_for_production.sh and update_dependencies.sh scripts as they are no longer necessary.
…a composer.json para versão específica do pivotphp/core; modifica phpunit.xml para desativar falhas em depreciações e altera MetricsCollector para logar falhas de consulta apenas fora do ambiente de teste
@CAFernandes CAFernandes self-assigned this Jul 9, 2025
@Copilot Copilot AI review requested due to automatic review settings July 9, 2025 14:26
Copilot

This comment was marked as outdated.

@CAFernandes CAFernandes requested a review from Copilot July 9, 2025 14:30
Copilot

This comment was marked as outdated.

…ma e melhora o cache nas verificações de ambiente
@CAFernandes CAFernandes requested a review from Copilot July 9, 2025 14:39
Copilot

This comment was marked as outdated.

…e do EnvironmentHelper e melhora o gerenciamento de cache
@CAFernandes CAFernandes requested a review from Copilot July 9, 2025 14:46
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR aligns the package with the new pivotphp/core release by removing legacy scripts, introducing cross-platform test coverage tooling, caching environment checks, and updating Composer and PHPUnit configurations.

  • Removed deprecated dependency‐management and environment‐switcher scripts
  • Added centralized caching in EnvironmentHelper and conditional logging in MetricsCollector
  • Introduced cross-platform coverage scripts and updated phpunit.xml and composer.json accordingly

Reviewed Changes

Copilot reviewed 23 out of 24 changed files in this pull request and generated no comments.

Show a summary per file
File Description
update_dependencies.sh Deleted legacy dependency‐update script
update_composer_for_production.sh Deleted production composer‐update script
src/Monitoring/MetricsCollector.php Conditional error logging based on testing environment
src/Helpers/EnvironmentHelper.php Added static cache, enhanced env detection, and clearCache()
scripts/test-coverage.* Added cross-platform test coverage scripts (sh, ps1, php, bat)
phpunit.xml Enabled failOnDeprecation, replaced <coverage> with <source>
composer.json Bumped pivotphp/core to ^1.1.0, pointed test-coverage to script
README.md Documented cross-platform coverage commands
Comments suppressed due to low confidence (2)

phpunit.xml:34

  • The <coverage> section with report configuration was removed in favor of <source>. Ensure PHPUnit 10 is configured (for example via <logging>) to still generate HTML and Clover reports as expected.
  <source>

src/Monitoring/MetricsCollector.php:5

  • The import for EnvironmentHelper assumes it resides in the PivotPHP\CycleORM\Helpers namespace, but the class file itself does not declare that namespace. Please add the correct namespace to EnvironmentHelper or adjust the import path.
use PivotPHP\CycleORM\Helpers\EnvironmentHelper;

@CAFernandes CAFernandes merged commit bc85637 into main Jul 9, 2025
4 checks passed
@CAFernandes CAFernandes deleted the compatibility-new-release-core branch July 9, 2025 14:47
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