Page MenuHomeDevCentral

Solve Composer conflict dependency
ClosedPublic

Authored by dereckson on Oct 17 2017, 13:25.
Tags
None
Referenced Files
F57133142: D1061.diff
Sun, Nov 15, 04:39
F56904216: D1061.id2718.diff
Tue, Nov 10, 13:20
F56904211: D1061.id2717.diff
Tue, Nov 10, 13:20
F56904207: D1061.id.diff
Tue, Nov 10, 13:20
F56622400: D1061.id2717.diff
Sat, Nov 7, 18:46
F56402362: D1061.id2718.diff
Thu, Nov 5, 20:12
F55941093: D1061.diff
Sun, Nov 1, 16:07
Unknown Object (File)
Thu, Oct 29, 05:45
Subscribers
None

Details

Summary

Conflict:

  • Phan 0.9.5 introduced a dependency to nikic/php-parser, in 3.1.1
  • psysh 0.7 requires the same dependency, but in version 1.2.2-2.1.1
  • We currently use Laravel 5.2, which requires psysh 0.6 or 0.7
  • We need psysh 0.8+ to solve this dependency issue
  • Laravel 5.3+ is happy with psysh 0.8+

Plan is so to force the last version of Phan before the dependnecy
to nikic/php-parser, ie 0.9.4.

When the code will be upgraded to use Laravel 5.3+,
to bump the Phan version will then be possible.

The composer package has been renamed to phan/phan, so this change
also switches to this new vendor name.

Fixes T1258.

Test Plan
$ rm -rf vendor composer.lock
$ composer install

Diff Detail

Repository
rNOTIF Notifications center
Lint
Lint Not Applicable
Unit
Tests Not Applicable