leroy-merlin-br / larasniffer Goto Github PK
View Code? Open in Web Editor NEWLarasniffer detect violations of a defined coding standard. It helps your code remains clean and consistent.
Larasniffer detect violations of a defined coding standard. It helps your code remains clean and consistent.
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.
Nowadays PHPSniffer phpcs.xml
configuration can:
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 ?
Can u bump the version plz.
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.
How can i make an exception rules ? Like for spacing, tabs and newlines? I think, this condition can be ignored
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?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.