Skip to content

Can't install on PHP 7.x #20

Open
Open

Description

@tomomo

Hello.

php cli ... cannot be executed.

composer create-project kenjis/codeigniter-composer-installer example
cd $_
composer require kenjis/codeigniter-cli --dev
php vendor/kenjis/codeigniter-cli/install.php
php cli                                                                                                                                                                 ~/Workspace/example

PHP Fatal error:  Uncaught TypeError: Argument 4 passed to Aura\Project_Kernel\Project::__construct() must be of the type array, object given, called in /Users/teketeke/Workspace/example/vendor/aura/project-kernel/src/Factory.php on line 118 and defined in /Users/teketeke/Workspace/example/vendor/aura/project-kernel/src/Project.php:79
Stack trace:
#0 /Users/teketeke/Workspace/example/vendor/aura/project-kernel/src/Factory.php(118): Aura\Project_Kernel\Project->__construct()
#1 /Users/teketeke/Workspace/example/vendor/aura/project-kernel/src/Factory.php(82): Aura\Project_Kernel\Factory->newProject()
#2 /Users/teketeke/Workspace/example/vendor/aura/project-kernel/src/Factory.php(48): Aura\Project_Kernel\Factory->newContainer()
#3 /Users/teketeke/Workspace/example/cli(29): Aura\Project_Kernel\Factory->newKernel()
#4 {main}
  thrown in /Users/teketeke/Workspace/example/vendor/aura/project-kernel/src/Project.php on line 79

I think this is due to the change in Aura.
Will this package be unsupported?

development

php 7.3, 7.4

Activity

  1. kenjis commented on Apr 22, 2021

    @kenjis
    Owner

    At the moment, this package does not work with Composer 2.0.
    See https://github.com/kenjis/codeigniter-tettei-apps#%E4%BE%9D%E5%AD%98%E3%83%91%E3%83%83%E3%82%B1%E3%83%BC%E3%82%B8%E3%81%AE%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB.

    I think this is due to the change in Aura.

    No. This is because Aura is out of dated.
    To work with PHP 7.3 or 7.4, we need this PR auraphp/Aura.Cli_Kernel#12

  2. tomomo commented on May 10, 2021

    @tomomo
    Author

    Sorry for the delay in sending.

    I Confirmed. It's the "composer" version.

    I see...
    It may be time to give up CI3 and move to CI4.

    It was very useful. Thank you.

  3. reopened this on Jun 21, 2021
  4. kenjis commented on Jul 14, 2021

    @kenjis
    Owner

    Now we are updating Aura. See auraphp/Aura.Cli_Kernel#13

  5. changed the title [-]`php cli ...` cannot be executed.[/-] [+]Can't install on PHP 7.x[/+] on Jul 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions