Giter Club home page Giter Club logo

Comments (10)

szepeviktor avatar szepeviktor commented on May 8, 2024

Could you provide a snippet of your output?

from phpinsights.

 avatar commented on May 8, 2024

Duplicates

Code
UnusedVariableSniff::class
RequireCombinedAssignmentOperatorSniff::class
UselessParenthesesSniff::class
UselessSemicolonSniff::class

Comments
NullTypeHintOnLastPositionSniff::class
NullableTypeForNullDefaultValueSniff::class

from phpinsights.

szepeviktor avatar szepeviktor commented on May 8, 2024

Thank you.

Is a part of the actual output availble for us?

from phpinsights.

 avatar commented on May 8, 2024

I have already mentioned which entries occur twice in my result.

from phpinsights.

szepeviktor avatar szepeviktor commented on May 8, 2024

That is OK.

It would be highly beneficial to actually see a snippet of the output.

from phpinsights.

nunomaduro avatar nunomaduro commented on May 8, 2024

@FFDevelopment Can you try again with the latest version? Perform a composer update nunomaduro/phpinsights.

from phpinsights.

 avatar commented on May 8, 2024

It has already been updated to the latest version.

from phpinsights.

nunomaduro avatar nunomaduro commented on May 8, 2024

Alright, I need you to send me the exact output you get from the console.

from phpinsights.

 avatar commented on May 8, 2024

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.

nunomaduro avatar nunomaduro commented on May 8, 2024

Fixed in 676958d.

from phpinsights.

Related Issues (20)

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.