Giter Site home page Giter Site logo

Comments (4)

ramunasd avatar ramunasd commented on July 22, 2024

That's weird, because generation is tested against all latest PHP versions. Do You know how to reproduce this exception?
Anyways, after merge with branch 3.x, latest version of satis is installed. Please reopen if issue still remains.

from satisfy.

mvorisek avatar mvorisek commented on July 22, 2024

Today I just newly installed satis with command:

composer create-project composer/satis:dev-master --keep-vcs

following configuration

{
  "name": "My Repository",
  "homepage": "http://packages.example.org",
  "repositories": [
    { "type": "vcs", "url": "https://github.com/atk4/data" }
  ],
  "require-all": true
}

and run it by:

php satis/bin/satis build -- satis.json ./data

I confirm the issue, here is the output:

Scanning packages
Writing packages.json
Pruning include directories
Writing web view

[Twig_Error_Runtime]
An exception has been thrown during the rendering of a template ("count(): Parameter must be an array or an object      that implements Countable").

[ErrorException]
count(): Parameter must be an array or an object that implements Countable

build [--repository-url [REPOSITORY-URL]] [--no-html-output] [--skip-errors] [--stats] [--] [<file>] [<output-dir>] [<packages>]...

from satisfy.

mvorisek avatar mvorisek commented on July 22, 2024

The issue was it this line:
https://github.com/composer/satis/blob/master/views/package.html.twig#L104
the master is fixed now.

from satisfy.

ramunasd avatar ramunasd commented on July 22, 2024

Hi @mvorisek , latest version 3.0.1 depends on latest composer/satis as well symfony & twig packages.
Please git pull && composer install and try again

from satisfy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.