Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with PHP 8.1.5 #16

Open
ARY112 opened this issue May 11, 2022 · 4 comments
Open

Issue with PHP 8.1.5 #16

ARY112 opened this issue May 11, 2022 · 4 comments

Comments

@ARY112
Copy link

ARY112 commented May 11, 2022

Hi ,

We are facing issue using it with php version 8.1.5. For earlier PHP version 7.2 it was working fine.Can some one help here

@nadsella
Copy link

@ARY112 what is the issue you're seeing? Can you please be more specific and provide some examples?

@ARY112
Copy link
Author

ARY112 commented May 12, 2022

This is the error during composer install

  • graze/console-diff-renderer[0.1, ..., 0.6.2] require php ^5.6 | ^7.0 -> your php version (8.1.5) does not satisfy that requirement.
  • graze/console-diff-renderer 0.6.1 requires php ^5.5 | ^7.0 -> your php version (8.1.5) does not satisfy that requirement.
  • Root composer.json requires graze/console-diff-renderer * -> satisfiable by graze/console-diff-renderer[0.1, ..., 0.6.2].

Below is the composer.json
{
"name": "pimcore/skeleton",
"type": "project",
"license": "GPL-3.0-or-later",
"config": {
"optimize-autoloader": true,
"sort-packages": true,
"allow-plugins": {
"wikimedia/composer-merge-plugin": true
}
},
"require": {
"php": "8.1.5",
"aws/aws-sdk-php": "^3.108",
"elasticsearch/elasticsearch": "^8.2",
"graze/console-diff-renderer": "^0.6.2",
"graze/parallel-process": "^0.8.1",
"guzzlehttp/ringphp": "~1.1.1",
"guzzlehttp/streams": "~3.0.0",
"intervention/image": "^2.5",
"league/csv": "^9.2",
"ongr/elasticsearch-dsl": ">= 7.0",
"phpoffice/phpspreadsheet": "",
"pimcore/pimcore": "^10.4",
"react/promise": "~2.7.1",
"simplesamlphp/saml2": "~3.4.1",
"wikimedia/composer-merge-plugin": "
",
"box/spout": "~3.0",
"symfony/monolog-bundle": "3.5.0"
},
"conflict": {
"monolog/monolog": ">=2"
},
"require-dev": {
"ext-mysqli": "*",
"cache/integration-tests": "^0.16.0",
"codeception/codeception": "~2.4.5"
},
"autoload": {
"psr-4": {
"App\": "src/",
"Pimcore\Model\DataObject\": "var/classes/DataObject",
"Pimcore\Model\Object\": "var/classes/Object",
"Website\": "legacy/website/lib"
}
},
"scripts": {
"post-create-project-cmd": "Pimcore\Composer::postCreateProject",
"post-install-cmd": [
"Pimcore\Composer::postInstall",
"@pimcore-scripts"
],
"post-update-cmd": [
"Pimcore\Composer::postUpdate",
"@pimcore-scripts",
"Pimcore\Composer::executeMigrationsUp",
"@pimcore-scripts",
"AppBundle\EventListener\Migration::executeMigrationsUp"
],
"pimcore-scripts": [
"Pimcore\Composer::clearCache",
"Pimcore\Composer::installAssets"
]
},
"extra": {
"symfony-app-dir": "app",
"symfony-bin-dir": "bin",
"symfony-var-dir": "var",
"symfony-web-dir": "public",
"symfony-tests-dir": "tests",
"symfony-assets-install": "relative",
"merge-plugin": {
"include": [
"composer.local.json"
],
"recurse": true,
"replace": true,
"merge-dev": true,
"merge-extra": false,
"merge-extra-deep": false,
"merge-scripts": false
}
}
}

@ARY112
Copy link
Author

ARY112 commented May 12, 2022

Symfony version is 5.4

@ARY112
Copy link
Author

ARY112 commented Jun 1, 2022

@nadsella , I have created below pull request for the php 8.1 changes
#17

Can you take a look

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

No branches or pull requests

2 participants