Release v1.2.1
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.phpandtests/Fixtures/app/with minimal config (bundles.php, framework.yaml) for integration tests.
Changed
- Test structure: Tests split into
tests/Unit/andtests/Integration/per BUNDLES_STANDARDS (§7.1.1). Unit tests moved fromtests/root and subdirs intotests/Unit/with namespaceNowo\SentryBundle\Tests\Unit\*. - PHPUnit: Two testsuites in
phpunit.xml.dist—unit(tests/Unit) andintegration(tests/Integration). - PHPStan: Added
tests/Fixtures/*toexcludePathsso generated container cache is not analysed. - README: PHP badge updated to 8.2+ (was 8.1+).
- PHP-CS-Fixer: Excluded
tests/Fixturesfrom formatting (generated/cache files).
Full Changelog: v1.2.0...v1.2.1