generator icon indicating copy to clipboard operation
generator copied to clipboard

Outdated locked dependencies need updating

Open jacobcassidy opened this issue 1 year ago • 4 comments
trafficstars

The following dependencies have new major versions available (^5.0 and ^7.0 respectively), but they cannot be updated because they're locked by this package.

"require": {
      "nikic/php-parser": "^4.10",
      "symfony/console": "^5.1 || ^6.0",
      "symfony/filesystem": "^5.0 || ^6.0",
      "symfony/finder": "^5.0 || ^6.0"
  },

jacobcassidy avatar Aug 08 '24 12:08 jacobcassidy

Hello @jacobcassidy 👋🏻 I' had to fork this generator because the original has not merged PR-s. I run it on PHP 7.4, others on PHP 8.*.

What constraints do you suggest?

szepeviktor avatar Aug 08 '24 14:08 szepeviktor

I use PHP 8.x, but keeping compatibility with versions back to 7.4 makes sense.

Will nikic/php-parser version 5.x and symfony component versions 7.x be compatible with PHP 7.4?

jacobcassidy avatar Aug 08 '24 14:08 jacobcassidy

Will nikic/php-parser version 5.x

Documentation for version 5.x (current; for running on PHP >= 7.4; for parsing PHP 7.0 to PHP 8.3, with limited support for parsing PHP 5.x).

symfony component versions 7.x

Requires: PHP 8.2.0 or higher

szepeviktor avatar Aug 08 '24 16:08 szepeviktor

Looks like nikic/php-parser can be safely updated if the minimum PHP version supported will be 7.4. The Symfony updates may need to wait until 7.4 support is dropped.

jacobcassidy avatar Aug 09 '24 04:08 jacobcassidy