QualityAnalyzer | Tool helping us to analyze software projects
kandi X-RAY | QualityAnalyzer Summary
kandi X-RAY | QualityAnalyzer Summary
Tool helping us to analyze software projects
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of QualityAnalyzer
QualityAnalyzer Key Features
QualityAnalyzer Examples and Code Snippets
Community Discussions
Trending Discussions on QualityAnalyzer
QUESTION
I'm using Laravel 5.5
and trying to get used to code by psr-2 standard (just started learning). I analyze all my code with Quafoo QA and go step by step fixing the errors and record them.
By using facades i get this error "Avoid using static access to class"
. Because of it i'm trying to avoid using them.
On my controller i have this code:
ANSWER
Answered 2018-Mar-06 at 19:35You don't need to avoid Facades
- they are a key part of the framework. But if you want to, you can use dependency injection to include the classes you need as arguments in the controller methods:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install QualityAnalyzer
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page