Giter Club home page Giter Club logo

php-invoker's Introduction

phpunit/php-invoker

Latest Stable Version CI Status Type Coverage codecov

Installation

You can add this library as a local, per-project dependency to your project using Composer:

composer require phpunit/php-invoker

If you only need this library during development, for instance to run your project's test suite, then you should add it as a development-time dependency:

composer require --dev phpunit/php-invoker

php-invoker's People

Contributors

bcremer avatar edorian avatar henriquemoody avatar localheinz avatar ramonacat avatar sebastianbergmann avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

php-invoker's Issues

Windows support

Trying to do some testing on my Windows workstation but PHP_Invoker does not install (pcntl not supported).

PHP_Unit appears to require PHP_Invoker however. Is Windows simply not going to work as a testing platform or am I not following something..?

Modernize build automation

  • Use GitHub Actions instead of Travis CI
  • Have Composer in tools/composer and managed through composer self-update (see update-tools target in build.xml
  • Install Psalm using Phive as tools/psalm (phive install --copy psalm)
  • Install PHP-CS-Fixer using Phive as tools/php-cs-fixer (phive install --copy php-cs-fixer)
  • Create Psalm configuration
  • Add Psalm build step to GitHub Actions-based CI workflow
  • Add PHP-CS-Fixer build step to GitHub Actions-based CI workflow

PHP Invoker wont loaded properly

Description of the Trouble

we working on our project with 6 hands so 3 developers and try to utilize composer dependency manager to resolve all deps as of necessary 3rd-party libs.

One of us works on windows pc. Another works on Ubuntu and has installed pcntl extension. Last of us on Ubuntu and pcntl isn't installed.

We get a trouble with PHP Invoker after we declared PHP Invoker in composer.

php composer.phar install

@windows we could not install package because composer tell that PHP Invoker depends on pcntl extension. This one could not installed on windows
@ubuntu - pcntl we get same as on @windows
@ubuntu + pcntl all ok

I've seen that the PHP Invoker is optional and remove PHP Invoker from composer.
so now at calling php composer.phar install we get:

@windows all was installed as expected
@ubuntu - pcntl all was installed as expected
@ubuntu + pcntl we get an PHP warning can not include('PHP_Invoker.php')

I suppose that is an issue for best ever PHP UNIT Framework.

Content of composer.json

{
    "name": "O...o",
    "description": "O...o Distribution",
    "keywords": ["", "", ""],
    "homepage": "http://www.o...o.de/",
    "type": "GeNetzwerk",
    "license": "",
    "authors": [],
    "require": {
        "php": ">=5.3.10",
        "yiisoft/yii": "1.1.10"
    },
    "require-dev": {
        "ardem/yii-coding-standard": "dev-master",
        "phpunit/phpunit": "3.7.27",
        "phpunit/phpunit-selenium": "1.3.2",
        "phpunit/php-invoker": "1.1.3",
        "phpunit/dbunit": "1.2.3",
        "phpunit/phpunit-story": "1.0.1"
    }
}

Pls fix that behaviour

thx

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.