Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 45b6e21

Browse files
authored
fix: remove problematic "conflict" in composer.json (#1046)
1 parent c00e161 commit 45b6e21

3 files changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/phpunit.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,14 +114,18 @@ jobs:
114114
coverage: none
115115
tools: flex
116116

117+
- name: Add the polyfill compatible with Doctrine ^2.16
118+
if: ${{ matrix.deps == 'lowest' }}
119+
shell: bash
120+
run: composer require --dev symfony/polyfill-php80:^1.16 --no-update
121+
117122
- name: Install dependencies
118123
uses: ramsey/composer-install@v2
119124
with:
120125
dependency-versions: ${{ matrix.deps }}
121126
composer-options: --prefer-dist
122127
env:
123128
SYMFONY_REQUIRE: ${{ matrix.symfony }}
124-
125129
- name: Set up MySQL
126130
if: contains(matrix.database, 'mysql')
127131
run: sudo /etc/init.d/mysql start

composer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,7 @@
8484
},
8585
"conflict": {
8686
"doctrine/persistence": "<2.0",
87-
"doctrine/cache": "<1.12.1",
88-
"symfony/polyfill-php80": "<1.16"
87+
"doctrine/cache": "<1.12.1"
8988
},
9089
"extra": {
9190
"bamarni-bin": {

phpunit-deprecation-baseline.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ Foundry now leverages the native PHP lazy system to auto-refresh objects (it can
1414
See https://github.com/zenstruck/foundry/blob/2.x/UPGRADE-2.7.md to upgrade.]]></issue>
1515

1616
<issue><![CDATA[Support for MySQL < 8 is deprecated and will be removed in DBAL 5 (AbstractMySQLDriver.php:75 called by AbstractDriverMiddleware.php:32, https://github.com/doctrine/dbal/pull/6343, package doctrine/dbal)]]></issue>
17-
<issue><![CDATA[Since doctrine/doctrine-bundle 3.1: The "auto_mapping" option is deprecated and will be removed in DoctrineBundle 4.0, as it only accepts `false` since 3.0.]]></issue>
1817
<issue><![CDATA[Since doctrine/mongodb-odm 2.14: Not using native lazy objects is deprecated and will be impossible in Doctrine MongoDB ODM 3.0.]]></issue>
1918
<issue><![CDATA[Since symfony/framework-bundle 7.3: Not setting the "property_info.with_constructor_extractor" option explicitly is deprecated because its default value will change in version 8.0.]]></issue>
2019
<issue><![CDATA[Since symfony/console 7.4: The "Symfony\Component\Console\Application::add()" method is deprecated and will be removed in Symfony 8.0, use "Symfony\Component\Console\Application::addCommand()" instead.]]></issue>

0 commit comments

Comments
 (0)