monarc-project / MonarcAppFO

MONARC - Method for an Optimised aNAlysis of Risks by @NC3-LU
https://www.monarc.lu
GNU Affero General Public License v3.0
101 stars 39 forks source link

Composer update #495

Closed dbarzin closed 1 year ago

dbarzin commented 1 year ago

Describe the bug Impossible to update the PHP libraries with PHP8.1

To Reproduce Steps to reproduce the behavior:

  1. Install Monarc in Ubuntu 22.04
  2. install composer
  3. go to Monac folder and try to "update composer"

Expected behavior Get an updated set of PHP libraries

Screenshots Not applicable

Desktop (please complete the following information):

Questions Answers
Type of issue Improvement
OS version (server) Ubuntu 22.04
OS version (client)
PHP version 8.1
MONARC version / git hash MONARC 2.12.6
Browser

Additional context composer.json need to be updated

$ composer update Loading composer repositories with package information Info from https://repo.packagist.org: #StandWithUkraine Updating dependencies Your requirements could not be resolved to an installable set of packages.

Problem 1

ruslanbaidan commented 1 year ago

You don't need to run the composer update command manually, it is done in update_all.sh script and there is an option presented there due to the one of the libraries limitation we can't fully switch to php8.1, so we ignore the version checkup here