Git Product home page Git Product logo

phpqa's People

Contributors

andygrunwald avatar bgaleotti avatar enzolutions avatar jashk avatar jmolivas avatar jongotlin avatar montealegreluis avatar rlerdorf 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  avatar  avatar  avatar  avatar  avatar

phpqa's Issues

Current incompatible with Drupal 7

After setup, running the following command-

phpqa analyze --project=drupal --files=sites/all/modules/custom/

results in no scanned files.

minimum stability error

Hi.

Newbie here. I tried to install through composer on Fedora 22 and got an error:

  [InvalidArgumentException]                                                   
  Could not find package jmolivas/phpqa at any version for your minimum-stabi  
  lity (stable). Check the package spelling or your minimum-stability 

It's very likely that I lack some configuration, but I don't know where or what to look.

Attaching a screenshot of my console just because I can.

nnieto mx-nnieto-lt _034

Options in phpqa.yml are not cmd options

The entered options are for proc_open.

This example needs to rewrite ...

phpcs:
      enabled: true
      exception: false
      options:
        standard: PSR2
        severity: 0
        ignore: /vendor
      arguments:
        - '-n'

...in this one.

phpcs:
      enabled: true
      exception: false
      arguments:
        - '--standard=PSR2'
        - '--severity=0'
        - '--ignore=/vendor'
        - '-n'

Drupal 7 example:

    phpcs:
      enabled: true
      exception: false
      file:
        standard: vendor/drupal/coder/coder_sniffer/Drupal/ruleset.xml
      arguments:
        - '--extensions=php,module,inc,install,test,profile,theme'

Project specific configuration

It would be great if this looked for the configuration file within the current working directory (like box, phpunit, phpdox, etc) as well as supporting both phpqa.yml and phpqa.yml.dist.

This way I could specify the type of project, and what tools/config to use on a per-project basis.

Support installation via composer

I'd like to add phpca to a project via composer require jmolivas/phpqa=@dev --dev

But that errors as phpca does not find its binaries, e.g.

[Exception]
bin/parallel-lint do not exist!

The binary exits in vendor/bin, also linking it to bin does not help.

Interactive Init

An interactive phpqa init would be great, asking to enable tools, and where their config files (or whatever makes sense config options) should be set to.

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.