• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

webimpress / coding-standard
99%
master: 100%

Build:
Build:
LAST BUILD BRANCH: 1.4.0
DEFAULT BRANCH: master
Repo Added 20 Sep 2018 07:48AM CUT
Files 81
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH unused-use-statement
branch: unused-use-statement
CHANGE BRANCH
x
Reset
  • unused-use-statement
  • 1.0.0
  • 1.0.1
  • 1.0.2
  • 1.0.3
  • 1.0.4
  • 1.0.5
  • 1.0.6
  • 1.1.0
  • 1.1.1
  • 1.1.2
  • 1.1.3
  • 1.1.4
  • 1.1.6
  • 1.1.7
  • 1.2.0
  • 1.2.2
  • 1.2.3
  • 1.2.4
  • 1.3.0
  • 1.3.1
  • 1.3.2
  • 1.4.0
  • dependabot/add-v2-config-file
  • dependabot/composer/phpunit/phpunit-8.5.1
  • dependabot/composer/phpunit/phpunit-8.5.2
  • dependabot/composer/phpunit/phpunit-9.0.1
  • dependabot/composer/phpunit/phpunit-9.0.2
  • dependabot/composer/phpunit/phpunit-9.1.0
  • dependabot/composer/phpunit/phpunit-9.1.1
  • dependabot/composer/phpunit/phpunit-9.1.2
  • dependabot/composer/phpunit/phpunit-9.1.3
  • dependabot/composer/phpunit/phpunit-9.1.4
  • dependabot/composer/phpunit/phpunit-9.1.5
  • dependabot/composer/phpunit/phpunit-9.2.1
  • dependabot/composer/phpunit/phpunit-9.2.2
  • dependabot/composer/phpunit/phpunit-9.2.3
  • dependabot/composer/phpunit/phpunit-9.2.5
  • dependabot/composer/phpunit/phpunit-9.2.6
  • dependabot/composer/phpunit/phpunit-9.3.10
  • dependabot/composer/phpunit/phpunit-9.3.11
  • dependabot/composer/phpunit/phpunit-9.3.2
  • dependabot/composer/phpunit/phpunit-9.3.5
  • dependabot/composer/phpunit/phpunit-9.3.6
  • dependabot/composer/phpunit/phpunit-9.3.7
  • dependabot/composer/phpunit/phpunit-9.3.8
  • dependabot/composer/phpunit/phpunit-9.4.0
  • dependabot/composer/phpunit/phpunit-9.4.1
  • dependabot/composer/phpunit/phpunit-9.4.2
  • dependabot/composer/phpunit/phpunit-9.4.3
  • dependabot/composer/phpunit/phpunit-9.4.4
  • dependabot/composer/phpunit/phpunit-9.5.10
  • dependabot/composer/phpunit/phpunit-9.5.11
  • dependabot/composer/phpunit/phpunit-9.5.12
  • dependabot/composer/phpunit/phpunit-9.5.13
  • dependabot/composer/phpunit/phpunit-9.5.14
  • dependabot/composer/phpunit/phpunit-9.5.16
  • dependabot/composer/phpunit/phpunit-9.5.17
  • dependabot/composer/phpunit/phpunit-9.5.18
  • dependabot/composer/phpunit/phpunit-9.5.19
  • dependabot/composer/phpunit/phpunit-9.5.20
  • dependabot/composer/phpunit/phpunit-9.5.21
  • dependabot/composer/phpunit/phpunit-9.5.23
  • dependabot/composer/phpunit/phpunit-9.5.24
  • dependabot/composer/phpunit/phpunit-9.5.25
  • dependabot/composer/phpunit/phpunit-9.5.26
  • dependabot/composer/phpunit/phpunit-9.5.27
  • dependabot/composer/phpunit/phpunit-9.5.28
  • dependabot/composer/phpunit/phpunit-9.5.5
  • dependabot/composer/phpunit/phpunit-9.5.6
  • dependabot/composer/phpunit/phpunit-9.5.7
  • dependabot/composer/phpunit/phpunit-9.5.8
  • dependabot/composer/phpunit/phpunit-9.6.0
  • dependabot/composer/phpunit/phpunit-9.6.10
  • dependabot/composer/phpunit/phpunit-9.6.11
  • dependabot/composer/phpunit/phpunit-9.6.12
  • dependabot/composer/phpunit/phpunit-9.6.13
  • dependabot/composer/phpunit/phpunit-9.6.15
  • dependabot/composer/phpunit/phpunit-9.6.3
  • dependabot/composer/phpunit/phpunit-9.6.4
  • dependabot/composer/phpunit/phpunit-9.6.5
  • dependabot/composer/phpunit/phpunit-9.6.6
  • dependabot/composer/phpunit/phpunit-9.6.7
  • dependabot/composer/phpunit/phpunit-9.6.8
  • dependabot/composer/phpunit/phpunit-9.6.9
  • dependabot/composer/squizlabs/php_codesniffer-3.5.4
  • dependabot/composer/squizlabs/php_codesniffer-3.5.5
  • dependabot/composer/squizlabs/php_codesniffer-3.5.6
  • dependabot/composer/squizlabs/php_codesniffer-3.5.7
  • dependabot/composer/squizlabs/php_codesniffer-3.5.8
  • dependabot/composer/squizlabs/php_codesniffer-3.6.1
  • dependabot/composer/squizlabs/php_codesniffer-3.6.2
  • dependabot/composer/squizlabs/php_codesniffer-3.7.0
  • dependabot/composer/squizlabs/php_codesniffer-3.7.1
  • dependabot/composer/squizlabs/php_codesniffer-3.7.2
  • deps-update
  • develop
  • feat/php-disallow-fqn-dnf-types
  • feature/array-format
  • feature/camel-caps-functions
  • feature/camel-case-variables
  • feature/const-after-traits
  • feature/default-as-last
  • feature/disallow-curly-ffset-access-brace
  • feature/doc-comment-star
  • feature/duplicate-array-keys
  • feature/empty-comments
  • feature/null-as-last
  • feature/operator-and-keyword-spacing
  • feature/php-doc-tags
  • feature/property-before-method
  • feature/property-type-php7.4
  • feature/redundant-case
  • feature/static-callbacks
  • feature/traits-on-top
  • feature/unique-imports
  • fix/redundant-parenthesis-closure-instanceof
  • hotfix/32
  • hotfix/annotation-sniffs
  • hotfix/array-format-doc-block
  • hotfix/blank-line-before-doc-comment
  • hotfix/boolean-operator-at-the-end-of-the-line
  • hotfix/class-name-with-underscore
  • hotfix/comment-placement-first-column
  • hotfix/disallow-fqn-conflict
  • hotfix/disallow-fqn-missing-space
  • hotfix/disallow-fqn-unused-import-conflict
  • hotfix/doc-block-after-colon
  • hotfix/doc-block-empty-line-between
  • hotfix/doc-comment-indents-closing-bracket-annotations
  • hotfix/empty-structures
  • hotfix/fixer-conflicts
  • hotfix/invalid-type-php-doc
  • hotfix/line-after-sniff-doc-comment
  • hotfix/method-tag
  • hotfix/param-and-return-type-better-recognisation
  • hotfix/param-redundant-type
  • hotfix/php-docs-multiple-spaces
  • hotfix/redundant-parentheses-invoke-class
  • hotfix/redundant-semicolon
  • hotfix/return-type
  • hotfix/return-type-this
  • hotfix/scope-indent
  • hotfix/scope-indent-ternary
  • hotfix/self-parent-types
  • hotfix/sort-uses
  • hotfix/sorting-types
  • hotfix/string-class-reference-class-reg-exp
  • hotfix/string-reference
  • hotfix/unused-use-statement
  • hotfix/unused-use-statement-annotations
  • master
  • php-8.3

pending completion
106

push

travis-ci-com

Michał Bundyra
Feature: Namespaces\UnusedUseStatement - support for use groups + fixes

Adds support for use groups, various fixes on detecting if imported
class/function/const is used in the code.

The same alias can be used for class, function and constant,
so we need to detect what is the context of the string token.

For classes and function PHP is case insensitive, but not for constants.
So we can have defined/imported constants with names: `FOO`, `Foo`, `foo`
and all these three are different.

5757 of 5801 relevant lines covered (99.24%)

1.13 hits per line

Relevant lines Covered
Build:
Build:
5801 RELEVANT LINES 5757 COVERED LINES
1.13 HITS PER LINE
Source Files on unused-use-statement
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Loading...
Coverage∆FileLinesRelevantCoveredMissedHits/Line
No data available in table
Showing 0 to 0 of 0 entries
  • Previous
  • Next

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
106 unused-use-statement Feature: Namespaces\UnusedUseStatement - support for use groups + fixes Adds support for use groups, various fixes on detecting if imported class/function/const is used in the code. The same alias can be used for class, function and constant, so... push 09 Nov 2019 08:28PM CUT Michał Bundyra travis-ci-com pending completion  
See All Builds (748)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc