Coder Social home page Coder Social logo

CS & tests not working about pickleweb HOT 5 CLOSED

JEDIBC avatar JEDIBC commented on May 8, 2024
CS & tests not working

from pickleweb.

Comments (5)

jubianchi avatar jubianchi commented on May 8, 2024

@JEDIBC I just tested it and it works:

  • composer cs . => OK
  • composer test => OK
  • composer run-script cs . => OK
  • composer run-script test => OK

from pickleweb.

JEDIBC avatar JEDIBC commented on May 8, 2024

I've deleted vendor, git pull & composer install. then I got :

➜  pickleweb git:(master) composer cs



  [LogicException]                                                               
  You must call one of in() or append() methods before iterating over a Finder.  



fix [--config="..."] [--config-file[="..."]] [--dry-run] [--level="..."] [--fixers="..."] [--diff] [--format="..."] [path]


Script vendor/bin/php-cs-fixer --ansi fix --config=sf23 handling the cs event returned with an error



  [RuntimeException]                                                                                                          
  Error Output:                                                                                                               

    [LogicException]                                                                                                          
    You must call one of in() or append() methods before iterating over a Finder.                                             

  fix [--config="..."] [--config-file[="..."]] [--dry-run] [--level="..."] [--fixers="..."] [--diff] [--format="..."] [path]  



cs [--dev] [--no-dev] [args1] ... [argsN]


➜  pickleweb git:(master) composer test
Script vendor/bin/atoum -ft handling the test event returned with an error



  [RuntimeException]  
  Error Output:       



test [--dev] [--no-dev] [args1] ... [argsN]


from pickleweb.

JEDIBC avatar JEDIBC commented on May 8, 2024

Ok, I haven't seen the . in the command composer cs .
But I still got the problem with atoum

from pickleweb.

JEDIBC avatar JEDIBC commented on May 8, 2024

In syslog :

Apr 23 10:47:32 chalopin-ubuntu php: PHP Fatal error:  Class 'PickleWeb\Tests\Atoum\Report\Fields\Runner\Pickle' not found in /mnt/jedibc/www/pickleweb/.atoum.php on line 9
Apr 23 10:47:32 chalopin-ubuntu php: PHP Stack trace:
Apr 23 10:47:32 chalopin-ubuntu php: PHP   1. mageekguy\atoum\scripts\runner::mageekguy\atoum\scripts\{closure}() /mnt/jedibc/www/pickleweb/vendor/atoum/atoum/classes/scripts/runner.php:0
Apr 23 10:47:32 chalopin-ubuntu php: PHP   2. mageekguy\atoum\scripts\runner->run() /mnt/jedibc/www/pickleweb/vendor/atoum/atoum/classes/scripts/runner.php:589
Apr 23 10:47:32 chalopin-ubuntu php: PHP   3. mageekguy\atoum\script\configurable->run() /mnt/jedibc/www/pickleweb/vendor/atoum/atoum/classes/scripts/runner.php:203
Apr 23 10:47:32 chalopin-ubuntu php: PHP   4. mageekguy\atoum\script\configurable->useDefaultConfigFiles() /mnt/jedibc/www/pickleweb/vendor/atoum/atoum/classes/script/configurable.php:87
Apr 23 10:47:32 chalopin-ubuntu php: PHP   5. mageekguy\atoum\scripts\runner->useConfigFile() /mnt/jedibc/www/pickleweb/vendor/atoum/atoum/classes/script/configurable.php:60
Apr 23 10:47:32 chalopin-ubuntu php: PHP   6. mageekguy\atoum\script\configurable->includeConfigFile() /mnt/jedibc/www/pickleweb/vendor/atoum/atoum/classes/scripts/runner.php:228
Apr 23 10:47:32 chalopin-ubuntu php: PHP   7. mageekguy\atoum\includer->includePath() /mnt/jedibc/www/pickleweb/vendor/atoum/atoum/classes/script/configurable.php:178
Apr 23 10:47:32 chalopin-ubuntu php: PHP   8. mageekguy\atoum\scripts\runner->mageekguy\atoum\scripts\{closure}() /mnt/jedibc/www/pickleweb/vendor/atoum/atoum/classes/includer.php:56
Apr 23 10:47:32 chalopin-ubuntu php: PHP   9. include_once() /mnt/jedibc/www/pickleweb/vendor/atoum/atoum/classes/scripts/runner.php:228

from pickleweb.

JEDIBC avatar JEDIBC commented on May 8, 2024

It was a case sensitive problem

from pickleweb.

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.