migrations icon indicating copy to clipboard operation
migrations copied to clipboard

please add support to PHP8.2+

Open xiaochong0302 opened this issue 8 months ago • 2 comments

koogua@debian-02:~/phalcon-v5-project/wuwei$ composer require phalcon/migrations:^3.0
./composer.json has been updated
Running composer update phalcon/migrations
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires phalcon/migrations ^3.0 -> satisfiable by phalcon/migrations[v3.0.0, v3.0.1].
    - nette/php-generator[v3.5.0, ..., v3.6.9] require nette/utils ^3.1.2 -> found nette/utils[v3.1.2, ..., v3.2.10] but the package is fixed to v4.0.6 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
    - nette/php-generator[v3.6.0, ..., v3.6.7] require php >=7.2 <8.2 -> your php version (8.2.28) does not satisfy that requirement.
    - phalcon/migrations[v3.0.0, ..., v3.0.1] require nette/php-generator ^3.5 -> satisfiable by nette/php-generator[v3.5.0, ..., v3.6.9].

xiaochong0302 avatar May 16 '25 13:05 xiaochong0302

Actually would be great to even support php8.4. We're using Phalcon 5.9 with php8.4.. There are some warnings in console when running migrations.

furai avatar Aug 28 '25 11:08 furai

I updated composer.lock using PHP 8.4.5 https://github.com/phalcon/migrations/commit/1a17a37832bd742651181faa1ecabf82773a6ab0#diff-f37acfaa6b11f575a9a6f41a75fa73a61d0f8ebc2c9b8cddc215d8aca10e44f5 so it should be fixed now

elcreator avatar Dec 14 '25 22:12 elcreator