rollbar / rollbar-php-laravel

Rollbar error monitoring integration for Laravel projects
https://docs.rollbar.com/docs/laravel
140 stars 39 forks source link

Fixed required minimum stability causing the CI tests to fail #143

Closed danielmorell closed 1 year ago

danielmorell commented 1 year ago

Description of the change

Our CI tests are failing because composer is trying to only install stable dependencies. Installing rollbar/rollbar-laravel from our a path repository without any version in the composer.json file causes composer to assume its version is dev-master. dev-master has a stability of dev.

To fix this problem I added an arbitrary stable version 1.0.0 to the rollbar/rollbar-laravel package in the test app composer.json file.

The other option would be to change the minimum stability requirement in the test app to dev. However, this could have some unintended side effects if other unstable packages are installed.

The last change is replacing the Try to resolve requirements into an installable set of packages step with the added -W flag on the previous step. It essentially does the same thing but better. This also means we can remove the id and continue-on-error keys.

Type of change

Related issues

None

Checklists

Development

Code review