Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot build with composer for PHP 8.1.8 #5

Open
isotopp opened this issue Jul 27, 2022 · 1 comment
Open

Cannot build with composer for PHP 8.1.8 #5

isotopp opened this issue Jul 27, 2022 · 1 comment

Comments

@isotopp
Copy link

isotopp commented Jul 27, 2022

MacOS M1, Homebrew, using php 8.1.8:

Composer version 2.3.10 2022-07-13 15:48:23

FVFGT108Q05Q:x kkoehntopp$ php --version
PHP 8.1.8 (cli) (built: Jul  8 2022 10:46:35) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.8, Copyright (c) Zend Technologies
    with Zend OPcache v8.1.8, Copyright (c), by Zend
                Technologies```

and

```FVFGT108Q05Q:x kkoehntopp$ composer create-project saaze/saaze
                testsite.koehntopp.info
Creating a "saaze/saaze" project at "./testsite.koehntopp.info"
Installing saaze/saaze (0.1.0)
  - Installing saaze/saaze (0.1.0): Extracting archive
Created project in
                /Users/kkoehntopp/Source/x/testsite.koehntopp.info
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set
                of packages.

  Problem 1
    - saaze/core[0.1.0, ..., 0.1.3] require ralouphie/mimey
                ^2.1 -> satisfiable by ralouphie/mimey[2.1.0].
    - ralouphie/mimey 2.1.0 requires php ^5.4|^7.0 -> your php
                version (8.1.8) does not satisfy that requirement.
    - Root composer.json requires saaze/core ^0.1 ->
                satisfiable by saaze/core[0.1.0, 0.1.1, 0.1.2, 0.1.3].

Using PHP 7.4, things work better:

FVFGT108Q05Q:x kkoehntopp$ php --version
PHP 7.4.30 (cli) (built: Jun  9 2022 09:20:03) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
    with Zend OPcache v7.4.30, Copyright (c), by Zend
                Technologies
FVFGT108Q05Q:x kkoehntopp$ composer --version
Composer version 2.3.10 2022-07-13 15:48:23```

and

```FVFGT108Q05Q:x kkoehntopp$ composer create-project saaze/saaze
                testsite.koehntopp.info
Creating a "saaze/saaze" project at "./testsite.koehntopp.info"
Installing saaze/saaze (0.1.0)
  - Installing saaze/saaze (0.1.0): Extracting archive
Created project in
                /Users/kkoehntopp/Source/x/testsite.koehntopp.info
Loading composer repositories with package information
Updating dependencies
Lock file operations: 46 installs, 0 updates, 0 removals -
                Locking adbario/php-dot-notation (2.3.0)
           
...
  - Installing saaze/core (0.1.3): Extracting archive
23 package suggestions were added by new dependencies, use
                `composer suggest` to see details.
Generating optimized autoload files
Class ParsedownExtraTest located in
                ./vendor/erusev/parsedown-extra/test/ParsedownExtraTest.php
                does not comply with psr-0 autoloading standard. Skipping.
27 packages you are using are looking for funding.
Use the `composer fund` command to find out more!```

@fg
Copy link

fg commented Sep 6, 2022

you can look at the topic for this issue. #6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants