Skip to content

Release v1.2.1

Choose a tag to compare

@github-actions github-actions released this 13 Mar 13:22
· 115 commits to main since this release

Release v1.2.1

Changelog

Added

  • Integration tests: New tests/Integration/BundleIntegrationTest.php (kernel boots, bundle services registered, SentryErrorReporter public), following the pattern of TwigInspectorBundle (§7.1.2).
  • Test kernel and fixtures: tests/Kernel/TestKernel.php and tests/Fixtures/app/ with minimal config (bundles.php, framework.yaml) for integration tests.

Changed

  • Test structure: Tests split into tests/Unit/ and tests/Integration/ per BUNDLES_STANDARDS (§7.1.1). Unit tests moved from tests/ root and subdirs into tests/Unit/ with namespace Nowo\SentryBundle\Tests\Unit\*.
  • PHPUnit: Two testsuites in phpunit.xml.distunit (tests/Unit) and integration (tests/Integration).
  • PHPStan: Added tests/Fixtures/* to excludePaths so generated container cache is not analysed.
  • README: PHP badge updated to 8.2+ (was 8.1+).
  • PHP-CS-Fixer: Excluded tests/Fixtures from formatting (generated/cache files).

Full Changelog: v1.2.0...v1.2.1