Skip to content
This repository has been archived by the owner on May 16, 2024. It is now read-only.

Commit

Permalink
Merge pull request #10 from jolicode/fix/disallow-8.2
Browse files Browse the repository at this point in the history
Restrict 8.1 bundle to use <8.2 core library
  • Loading branch information
Korbeil authored Mar 11, 2024
2 parents 55e8290 + 4f03307 commit b26084b
Show file tree
Hide file tree
Showing 5 changed files with 1,831 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ composer.lock
vendor
.php-cs-fixer.cache
.phpunit.result.cache
!tools/php-cs-fixer/composer.lock
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
- [GH#9](https://github.com/jolicode/automapper-bundle/pull/9) Update dependencies

### Fixed
- [GH#10](https://github.com/jolicode/automapper-bundle/pull/10) Restrict 8.1 bundle to use <8.2 core library

## [8.0.2] - 2024-01-04
### Added
- [GH#6](https://github.com/jolicode/automapper-bundle/pull/6) Add support for Symfony 7
Expand Down
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
"symfony/yaml": "^6.3 || ^7.0"
},
"conflict": {
"symfony/framework-bundle": "5.1.0"
"symfony/framework-bundle": "5.1.0",
"jolicode/automapper": ">=8.2"
},
"autoload": {
"psr-4": {
Expand Down
2 changes: 1 addition & 1 deletion src/DependencyInjection/AutoMapperExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

class AutoMapperExtension extends Extension
{
public function getConfiguration(array $config, ContainerBuilder $container): null|ConfigurationInterface
public function getConfiguration(array $config, ContainerBuilder $container): ?ConfigurationInterface
{
return new Configuration($container->getParameter('kernel.debug'));
}
Expand Down
Loading

0 comments on commit b26084b

Please sign in to comment.