Saaze / saaze

An all-inclusive, flat-file CMS for simple websites and blogs.
https://saaze.dev
MIT License
48 stars 6 forks source link

Cannot build with composer for PHP 8.1.8 #5

Open isotopp opened 2 years ago

isotopp commented 2 years ago

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 commented 2 years ago

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