Comments (10)
Could you provide a snippet of your output?
from phpinsights.
Duplicates
Code
UnusedVariableSniff::class
RequireCombinedAssignmentOperatorSniff::class
UselessParenthesesSniff::class
UselessSemicolonSniff::class
Comments
NullTypeHintOnLastPositionSniff::class
NullableTypeForNullDefaultValueSniff::class
from phpinsights.
Thank you.
Is a part of the actual output availble for us?
from phpinsights.
I have already mentioned which entries occur twice in my result.
from phpinsights.
That is OK.
It would be highly beneficial to actually see a snippet of the output.
from phpinsights.
@FFDevelopment Can you try again with the latest version? Perform a composer update nunomaduro/phpinsights
.
from phpinsights.
It has already been updated to the latest version.
from phpinsights.
Alright, I need you to send me the exact output you get from the console.
from phpinsights.
These are the results of 3 different projects
project 1
• [Code] Forbidden public property:
• [Code] 2 unused private attributes:
• [Code] No setter:
• [Code] Useless parentheses:
• [Code] Element name minimal length:
• [Code] Useless overriding method:
• [Code] Disallow empty:
• [Code] Unused parameter:
• [Code] Useless parentheses:
• [Code] Empty comment:
• [Code] Nullable type for null default value:
• [Code] Todo:
• [Code] Nullable type for null default value:
• [Code] Useless constant type hint:
• [Code] Static closure:
• [Complexity] Having classes
with more than 5 cyclomatic complexity is prohibited - Consider refactoring:
• [Architecture] Class trait and interface length:
• [Architecture] Property per class limit:
• [Architecture] The name property in the composer.json
contains the default value
• [Architecture] Function length:
• [Style] Line endings:
• [Style] Object operator indent:
• [Style] Line length:
• [Style] Camel caps method name:
• [Style] Doc comment spacing:
project 2
• [Code] Forbidden public property:
• [Code] 2 unused private attributes:
• [Code] Useless parentheses:
• [Code] Element name minimal length:
• [Code] Useless overriding method:
• [Code] Unused parameter:
• [Code] Useless parentheses:
• [Code] Empty comment:
• [Code] Nullable type for null default value:
• [Code] Nullable type for null default value:
• [Code] Static closure:
• [Architecture] The name property in the composer.json
contains the default value
• [Architecture] Function length:
• [Style] Line endings:
• [Style] Object operator indent:
• [Style] Line length:
• [Style] Doc comment spacing:
project 3
• [Code] Forbidden public property:
• [Code] 2 unused variables:
• [Code] Element name minimal length:
• [Code] 2 unused variables:
• [Code] Useless overriding method:
• [Code] Disallow implicit array creation:
• [Code] Unused parameter:
• [Code] Empty comment:
• [Code] Static closure:
• [Architecture] The name property in the composer.json
contains the default value
• [Architecture] Function length:
• [Style] Line endings:
• [Style] Object operator indent:
• [Style] Line length:
• [Style] Doc comment spacing:
All projects have the same version of php insights
from phpinsights.
Fixed in 676958d.
from phpinsights.
Related Issues (20)
- Github actions skips config file HOT 1
- Configure insights (dokumentation)
- Configured excludes are ignored when specifying paths in the command
- Is there any sniff available for valid variable name when preset is Laravel
- DisallowedShortTernaryOperator suppress doesnt work
- How to add and config a PHP CS Fixer?
- Replace PHP cs fixer to Laravel pint? HOT 2
- Differences between switch and match sentences, impact on Cyclomatic Complexity HOT 5
- Provided files are ignored
- Support Symfony 7 HOT 4
- Add links to details or examples
- Ordered imports verification is incorrect
- Parameter type hint: Unparsable php code
- PHP CodeSniffer alternative HOT 2
- I am getting timeout error. Please guide me solution. HOT 2
- Laravel Lumen Error while running "php artisan insights" HOT 1
- Deprecated creation of dynamic property in SniffLoader
- Can not ignore SlevomatCodingStandard\Sniffs\Functions\FunctionLengthSniff
- Cannot install on laravel project based on php 8.3.4 | Your requirements could not be resolved to an installable set of packages. HOT 2
- Can't use with PHPUnit 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phpinsights.