bmitch / envsync Goto Github PK
View Code? Open in Web Editor NEWEnvironment variable checker for Laravel.
License: MIT License
Environment variable checker for Laravel.
License: MIT License
$ vendor/bin/phpmd src text codesize,unusedcode,naming
/home/travis/build/bmitch/envsync/src/SyncerCommand.php:18 The method handle() has an NPath complexity of 1252. The configured NPath complexity threshold is 200.
/home/travis/build/bmitch/envsync/src/SyncerCommand.php:28 Avoid unused local variables such as '$index'.
/home/travis/build/bmitch/envsync/src/SyncerCommand.php:46 Avoid unused local variables such as '$tableData'.
@Exadra37 pointed out that ti would be best to have this not require any line in the service providers array.
See if I can make this run from vendor/bin
like PHPUnit or PHPMD does. Thay way can also be framework agnostic.
In SyncerCommand these two methods are very similar.
Could probably be turned into one method or a separate class?
FILE: /home/travis/build/bmitch/envsync/src/SyncerCommand.php
----------------------------------------------------------------------
FOUND 12 ERRORS AFFECTING 9 LINES
----------------------------------------------------------------------
24 | ERROR | [x] Space before opening parenthesis of function call
| | prohibited
24 | ERROR | [x] Space before opening parenthesis of function call
| | prohibited
25 | ERROR | [x] Space before opening parenthesis of function call
| | prohibited
25 | ERROR | [x] Space before opening parenthesis of function call
| | prohibited
34 | ERROR | [x] Blank line found at end of control structure
55 | ERROR | [x] Function closing brace must go on the next line
| | following the body; found 3 blank lines before
| | brace
61 | ERROR | [x] Whitespace found at end of line
63 | ERROR | [x] Blank line found at start of control structure
65 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
65 | ERROR | [x] Whitespace found at end of line
72 | ERROR | [x] Whitespace found at end of line
73 | ERROR | [x] Blank line found at end of control structure
----------------------------------------------------------------------
PHPCBF CAN FIX THE 12 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
Extract a lot of the functionality to other methods or classes.
Tests for these classes.
Maybe when running if either of these files are not found, prompt user to create it?
Need an easy way to scan multiple files and folders and maybe even provide some to be excluded.
Maybe a yml configuration file?
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.