Giter Club home page Giter Club logo

larasniffer's People

Contributors

casperlaitw avatar grahamcampbell avatar guilhermeguitte avatar paulofreitas avatar zizaco 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  avatar  avatar

larasniffer's Issues

Undefined property $stream

Hi, mate!

Just a quick issue I got when installing the package on a fresh Laravel installation. When trying to do php artisan sniff I get the following error:

Undefined property: LeroyMerlin\LaraSniffer\SniffCommand::$stream

I've added the ServiceProvider to the app.php config, also published the configuration.

Thanks for your help.

Abandon this package

Nowadays PHPSniffer phpcs.xml configuration can:

  • Configure colored outputs
  • Set codestyle rules
  • Configurable include and exclude paths patterns

Since this package does not add anything new to default code sniffer and does not support Laravel 5 too, I think it is prudent to abandon this package and document how to do the same using only PHP Sniffer.

Any toughs? @Zizaco , @GuilhermeGuitte , @ravanscafi , @rplansky ?

exclude

wouldn't it be nice to exclude *.blade.php files in generally or to have an exclude list for sub folders? Would be easier to add the /app/*.php files then without getting the views into the sniffer.

Per-directory standards?

Right now its all or nothing kind of situation. I'd love to have PSR-2 through the entire app, besides a few "hard to comply" areas, such as database migrations, views, etc, which could fall under a less strict ruleset. Is that possible? Would that be a difficult modification?

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.