Coder Social home page Coder Social logo

php-junit-merge's People

Contributors

albertodimaio3 avatar andreaskweber avatar sakharovmaksim avatar tarlepp avatar tomzx avatar

Stargazers

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

Watchers

 avatar  avatar

php-junit-merge's Issues

Updating dependencies

Hey!

I just wanted to try this package but I cannot install it as it required "symfony/finder" in either "^3.0 || ^4.0".
Can we bump the version up to be able to use this package along "symfony/finder" version ^5.0?
Would really appreciate that! I created a PR for this.

Cannot pass a single value to --names

Your function Command::findFiles expects an array, yet symfony's console will return it a string. You should probably explicitly cast the result to an array.

$names = (array)$input->getOption('names');
PHP Catchable fatal error:  Argument 2 passed to AndreasWeber\PHPJUNITMERGE\Console\Command::findFiles() must be of the type array, string given, called in /path/vendor/andreas-weber/php-junit-merge/src/Console/Command.php on line 108 and defined in /path/vendor/andreas-weber/php-junit-merge/src/Console/Command.php on line 129
PHP Stack trace:
PHP   1. {main}() /path/vendor/andreas-weber/php-junit-merge/phpjunitmerge:0
PHP   2. Symfony\Component\Console\Application->run() /path/vendor/andreas-weber/php-junit-merge/phpjunitmerge:57
PHP   3. AndreasWeber\PHPJUNITMERGE\Console\Application->doRun() /path/vendor/symfony/console/Symfony/Component/Console/Application.php:124
PHP   4. Symfony\Component\Console\Application->doRun() /path/vendor/andreas-weber/php-junit-merge/src/Console/Application.php:135
PHP   5. Symfony\Component\Console\Application->doRunCommand() /path/vendor/symfony/console/Symfony/Component/Console/Application.php:193
PHP   6. Symfony\Component\Console\Command\Command->run() /path/vendor/symfony/console/Symfony/Component/Console/Application.php:889
PHP   7. AndreasWeber\PHPJUNITMERGE\Console\Command->execute() /path/vendor/symfony/console/Symfony/Component/Console/Command/Command.php:253
PHP   8. AndreasWeber\PHPJUNITMERGE\Console\Command->findFiles() /path/vendor/andreas-weber/php-junit-merge/src/Console/Command.php:108

Skip invalid files with a warning

phpunit-merge-ouput:
     [exec] phpjunitmerge 1.0.1 by Andreas Weber
     [exec] 
     [exec] 
     [exec] 
     [exec]                                                                                                                                                                                                                          
     [exec]   [TheSeer\fDOM\fDOMException]                                                                                                                                                                                           
     [exec]   loading file '/var/lib/jenkins/jobs/ia-backend-md-trunk-nightly/workspace/build/phpunit/junit-api-affilinet.xml' failed.                                                                                               
     [exec]   [/var/lib/jenkins/jobs/ia-backend-md-trunk-nightly/workspace/build/phpunit/junit-api-affilinet.xml] [Line: 707 - Column: 147] Fatal Error 9: Input is not proper UTF-8, indicate encoding !Bytes: 0xE6 0xBB 0xFF 0xC3  
     [exec]   [/var/lib/jenkins/jobs/ia-backend-md-trunk-nightly/workspace/build/phpunit/junit-api-affilinet.xml] [Line: 89158 - Column: 109] Error 2: xmlSAX2Characters: huge text node                                             
     [exec]   [/var/lib/jenkins/jobs/ia-backend-md-trunk-nightly/workspace/build/phpunit/junit-api-affilinet.xml] [Line: 89158 - Column: 110] Fatal Error 5: Extra content at the end of the document                                
     [exec]                                                                                                                                                                                                                          
     [exec] 
     [exec] 
     [exec] phpjunitmerge [--names="..."] [--ignore="..."] dir file
     [exec] 
     [exec] 

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.