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

PHPCSStandards / PHP_CodeSniffer
78%
master: 78%

Build:
Build:
LAST BUILD BRANCH: documentation-function-opening-brace-space
DEFAULT BRANCH: master
Repo Added 09 Dec 2023 02:40AM CUT
Files 310
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 feature/tokenizer-php-prevent-undefined-array-key-notice
branch: feature/tokenizer-php-prevent-undefined-array-key-notice
CHANGE BRANCH
x
Reset
  • feature/tokenizer-php-prevent-undefined-array-key-notice
  • 3.10.0
  • 3.10.1
  • 3.10.2
  • 3.10.3
  • 3.11.0
  • 3.11.1
  • 3.11.2
  • 3.11.3
  • 3.12.0
  • 3.12.1
  • 3.12.2
  • 3.13.0
  • 3.8.1
  • 3.9.0
  • 3.9.1
  • 3.9.2
  • 4.0
  • 4.0.0beta1
  • 4.x
  • 806-phpcs-no-violation-exist-message
  • DocXMLPEARClassesClassDeclaration
  • DocXMLSquizClassesClassDeclaration
  • DocXMLSquizClassesClassFileName
  • DocXMLSquizClassesValidClassName
  • GH-1083
  • TEMP/21836123
  • another-fix-to-default-keyword-tests
  • asymmetric-visibility-tokens
  • bugfix/issue-767
  • bugfix/issue-767-action
  • dependabot/github_actions/actions/attest-build-provenance-2
  • display-test-markers-in-error-messages
  • docs/Squiz.Commenting.BlockComment
  • documentation-function-call-argument-spacing-fix
  • documentation-function-opening-brace-space
  • documentation-language-construct-spacing
  • documentation-namespace-declaration
  • documentation-opening-function-brace-bsd-allman
  • documentation-opening-function-brace-kernighan-ritchie
  • documentation-side-effects
  • documentation-switch-declaration
  • documentation-useless-overriding-method-minor-fix
  • feature/1021-token-property-use-follow-up
  • feature/1094-ghactions-trigger-publish-xsd-files-via-stable-url
  • feature/188-deprecate-all-sniffs-removed-in-4.0
  • feature/32-automate-release-process
  • feature/632-follow-up-tokenizer-dnf-extra-tests
  • feature/689-ruleset-hard-deprecate-sniffs-breaking-naming-conventions
  • feature/693-sq1665-ruleset-deprecate-use-of-old-array-format
  • feature/694-2-ruleset-ignore-broken-sniffs
  • feature/694-3-ruleset-deprecate-sniffs-not-implementing-interface
  • feature/740-ruleset-show-deprecation-sniffs-scanning-js-css-files
  • feature/773-safeguard-against-duplicate-test-markers
  • feature/799-ruleset-remove-support-for-standard-internal
  • feature/945-squiz-functionspacing-bug-fix-double-docblock
  • feature/966-generic-scopeindent-remove-phpcs-in-tests
  • feature/backfillfn-test-minor-tweak
  • feature/backfillfntest-tweak
  • feature/bitwiseortest-fix-up-some-descriptions
  • feature/build-phar-minor-readability-tweak
  • feature/changelog-3.11.2
  • feature/changelog-3.11.3
  • feature/changelog-3.12.0
  • feature/changelog-3.12.1
  • feature/changelog-3.12.2
  • feature/changelog-3.13.0
  • feature/config-add-tests-for-extensions
  • feature/config-bug-report-file-vs-phpcbf
  • feature/contributing-more-info-about-writing-testst
  • feature/cs-minor-fixes
  • feature/docs-various-fixes
  • feature/errorsuppressiontest-minor-fix
  • feature/escapeshellcmd-test-fix-data-provider
  • feature/file-getdeclarationname-hardening-against-parse-errors
  • feature/file-getmethodparameters-add-extra-test
  • feature/fix-coverage-runs
  • feature/fixer-bugfix-incorrect-return-value
  • feature/fixer-conflict/PSR12/Squiz.Functions.FunctionDeclarationArgumentSpacing
  • feature/generator-html-various-simplifications
  • feature/generators-add-tests-for-invalid-docs
  • feature/generators-dont-print-stnd-when-empty
  • feature/generators-dont-print-title-if-no-docs
  • feature/generators-fall-back-to-filename
  • feature/generators-html-improve-semantics
  • feature/generators-improve-anchor-links
  • feature/generators-no-empty-code-comparisons
  • feature/generators-refactor-logic
  • feature/generators-remove-duplicate-code
  • feature/generators-show-deprecation-for-methods
  • feature/generators-text-various-simplifications
  • feature/generatortest-stabilize
  • feature/generic-constructorname-more-defensive-coding
  • feature/generic-deprecatedfunctions-minor-test-improvement
  • feature/generic-disallowshortopentag-dont-act-on-parse-error
  • feature/generic-forbiddenfunctions-improve-comment-tolerance
  • feature/generic-languageconstructspacing-add-extra-test
  • feature/generic-languageconstructspacing-include-goto
  • feature/generic-lower-uppercaseconstants-support-dnf-types
  • feature/generic-lower-uppercaseconstants-support-php84-final-props
  • feature/generic-lower-uppercaseconstants-test-cleanup
  • feature/generic-scopeindent-debug-start-on-new-line
  • feature/generic-scopeindent-prevent-undefined-index-notice-debug-mode
  • feature/generic-scopeindenttest-type-tweak
  • feature/generic-unnecessaryheredoc-bug-fix-x2
  • feature/getsniffcodetest-add-more-tests
  • feature/ghactions-auto-remove-awaiting-feedback
  • feature/ghactions-auto-remove-more-tweaks
  • feature/ghactions-change-xmllint-validation
  • feature/ghactions-composer-ignore-more-selectively
  • feature/ghactions-fix-build
  • feature/ghactions-fix-inline-annotations-for-cs-errors
  • feature/ghactions-fix-selection-criteria
  • feature/ghactions-labeller-fix
  • feature/ghactions-make-phar-building-reusable
  • feature/ghactions-minor-simplifications
  • feature/ghactions-minor-tweak
  • feature/ghactions-run-windows-tests-on-windows
  • feature/ghactions-test-against-libxml-2.14
  • feature/ghactions-test-libxml-update
  • feature/ghactions-tests-join-some-steps
  • feature/ghactions-tweak-release-check
  • feature/ghactions-use-linux-arm-for-slow-builds
  • feature/ghactions-verify-release-tweak
  • feature/gotolabeltest-add-extra-tests
  • feature/help-improve-report-description
  • feature/improve-sniff-code-error-message
  • feature/issue-template-minor-tweak
  • feature/messagecollector-follow-up
  • feature/messagecollector-tests-static-dataproviders
  • feature/minor-cs-cleanup
  • feature/minor-docs-fixes
  • feature/pear-functioncomment-improve-blank-lines-between-check
  • feature/pear-functiondeclaration-prevent-fixer-conflict
  • feature/pear-psr2-psr12-functioncallsignature-check-anon-classes
  • feature/pear-squiz-inlinecomments-add-tests-with-emoji-hash-comments
  • feature/printprogressdotstest-fix-up-names-in-dataprovider
  • feature/processbrokenrulesettest-tweak
  • feature/propertytypehandingtest-split-dataprovider
  • feature/psr12-compoundnamespacedepth-test-tweak
  • feature/psr12-fileheader-add-extra-test
  • feature/psr12-fileheader-more-modular-errorcode-spacing-after
  • feature/psr12-importstatement-test-tweak
  • feature/psr2-namespacedeclaration-bow-out-on-php-close-tag
  • feature/psr2-propertydeclaration-support-php84-final-properties
  • feature/recursescopemapdefaultkeywordconditionstest-fix-param-name
  • feature/remark-url-check-ignore-stackoverflow
  • feature/remarklint-tolerate-flaky-pear-links
  • feature/reports-fix-fatal-error-code-diff-report
  • feature/ruleset-add-tests-constructor
  • feature/ruleset-add-tests-populatetokenlisteners
  • feature/ruleset-add-tests-registersniffs
  • feature/ruleset-expandrulesetreference-add-tests
  • feature/ruleset-improve-error-handling
  • feature/ruleset-setproperty-add-extra-tests
  • feature/ruleset-shouldprocess-element-internal-severity
  • feature/ruleset-test-extending-array-property
  • feature/ruleset-test-property-setting-empty-array
  • feature/runner-dont-prefix-ruleset-errors
  • feature/runner-printprogress-minor-refactor
  • feature/slevomat-1739
  • feature/sq-2412-help-list-predefined-config-options
  • feature/squiz-classdeclaration-php-80-attributes
  • feature/squiz-classfilename-various-improvements
  • feature/squiz-doccommentalignment-final-classes-and-properties
  • feature/squiz-embeddedphp-another-fixer-conflict
  • feature/squiz-embeddedphp-fixer-conflict
  • feature/squiz-filecomment-update-copyright-year
  • feature/squiz-functionclosingbracespace-add-extra-tests
  • feature/squiz-functioncommentthrowtag-improve-comment-tolerance
  • feature/squiz-functiondeclarationspacing-handle-constructor-property-promotion
  • feature/squiz-functiondeclarationspacing-various-fixes
  • feature/squiz-functionspacing-improve-attribute-handling
  • feature/squiz-membervarspacing-add-extra-tests
  • feature/squiz-membervarspacing-bug-fix-blank-lines-in-preamble
  • feature/squiz-membervarspacing-improve-parse-error-handling
  • feature/squiz-membervarspacing-readonly
  • feature/squiz-operatorbrackets-minor-simplification
  • feature/squiz-scopekeywordspacing-add-additional-tests
  • feature/squiz-variablecomment-allow-for-dnf-types
  • feature/squiz-variablecomment-support-php84-final-props
  • feature/test-rulesets-dont-throw-errors
  • feature/tests-add-abstract-real-config-testcase
  • feature/tests-add-runner-testcase
  • feature/tests-fix-typo
  • feature/tests-minor-fixture-method-signature-fixes
  • feature/tests-should-pass-in-cbf-mode
  • feature/tests-stricter-assertions
  • feature/tests-use-more-appropriate-assertions
  • feature/timingtest-remove-flaky-assertions
  • feature/tokenizer-attributestest-simplify
  • feature/tokenizer-php-follow-up-final-properties
  • feature/tokenizer-php-goto-is-terminating-statement
  • feature/tokenizer-php-nullable-types-on-php-8.1-readonly-properties
  • feature/tokenizer-php-open-tag-end-of-file
  • feature/tokennametest-always-test-php-native-polyfills
  • feature/unit-tests-add-covers-annotations
  • feature/variable-sniffs-minor-performance-tweak
  • feature/various-doc-fixes
  • feature/various-minor-docs-fixes
  • feature/xml-doc-fixes
  • final-props
  • fix-array-declaration-short-list-bug
  • fix-default-keyword-tests
  • fix-final-method-prefix
  • fix-typo-embedded-php-sniff
  • fix/ignore-list-handling
  • fix/libxml-test
  • fixer-var-property
  • generator-param-error-handling
  • improve-default-keyword-tokenizer-tests
  • improve-switch-keyword-tokenizer-tests
  • inline-control-structure-handle-structures-without-body
  • inline-control-strutucture-remove-switch
  • master
  • patch-1
  • php84/feature/various-sniffs-add-tests-with-final-properties
  • phpcs-4.0/feature/15-property-array-extend-original-sniff-property-value
  • phpcs-4.0/feature/184-sq2898-revise-exit-codes
  • phpcs-4.0/feature/185-tokenizer-php-goto-created-sensitive-context-for-keywords
  • phpcs-4.0/feature/185-tokenizer-php-goto-label-minor-tweak
  • phpcs-4.0/feature/185-tokenizer-php-goto-label-tokenize-colon-separately
  • phpcs-4.0/feature/199-filter-remove-deprecated-whitelist-blacklist-methods
  • phpcs-4.0/feature/23-tokenizer-isset-unset-empty-eval-exit-parentheses-owner
  • phpcs-4.0/feature/25-refactor-testsuite
  • phpcs-4.0/feature/300-abstractsniffunittest-flag-missing-fixes-files
  • phpcs-4.0/feature/3041-tokenizer-php-namespaced-name-tokenization
  • phpcs-4.0/feature/416-improve-ini-set-error-handling
  • phpcs-4.0/feature/484-tokenizer-docblock-improvements
  • phpcs-4.0/feature/500-tokens-change-properties-to-constants
  • phpcs-4.0/feature/530-refactor-requirements-check
  • phpcs-4.0/feature/593-tokenizer-php-open-tag-consistency
  • phpcs-4.0/feature/6-abstractpatternsniff-remove-deprecated-param
  • phpcs-4.0/feature/689-remove-support-sniffs-breaking-naming-conventions
  • phpcs-4.0/feature/694-4-ruleset-dont-allow-sniffs-not-implementing-sniff-interface
  • phpcs-4.0/feature/708-ruleset-improve-property-setting-type-handling
  • phpcs-4.0/feature/799-ruleset-remove-support-for-standard-internal
  • phpcs-4.0/feature/921-remove-generic-calltimepassbyreference
  • phpcs-4.0/feature/abstractsniffunittest-flag-missing-testcase-files-incomplete
  • phpcs-4.0/feature/allow-testing-cache-option
  • phpcs-4.0/feature/always-display-runtime-info
  • phpcs-4.0/feature/change-default-standard-to-psr12
  • phpcs-4.0/feature/changelog-4.0-beta1
  • phpcs-4.0/feature/config-setsettings-is-void
  • phpcs-4.0/feature/constant-visibility
  • phpcs-4.0/feature/drop-support-php-lt-7.2
  • phpcs-4.0/feature/drop-support-php-lt-7.2-step-2
  • phpcs-4.0/feature/file-getdeclarationname-stop-handling-non-named
  • phpcs-4.0/feature/generators-remove-deprecated-methods
  • phpcs-4.0/feature/generators-use-custom-exception
  • phpcs-4.0/feature/ghactions-enable-ci
  • phpcs-4.0/feature/handle-true-false-null-as-namespacednames
  • phpcs-4.0/feature/modernize-use-constant-arrays-public-api
  • phpcs-4.0/feature/new-generic-gototargetspacing-sniff
  • phpcs-4.0/feature/printprogresstest-fix-teardown
  • phpcs-4.0/feature/remove-more-output-buffering-from-config-1
  • phpcs-4.0/feature/remove-more-output-buffering-from-config-2
  • phpcs-4.0/feature/reporter-remove-redundant-property
  • phpcs-4.0/feature/ruleset-processcliargstests-add-tests-with-cache-arg
  • phpcs-4.0/feature/runner-minor-cleanup
  • phpcs-4.0/feature/sq-1595-display-error-on-no-files-checked
  • phpcs-4.0/feature/sq-1612-stdout-vs-stderr
  • phpcs-4.0/feature/sq-1908-gitattributes-export-ignore-tests
  • phpcs-4.0/feature/sq-1953-squiz-languageconstructspacing-remove-sniff
  • phpcs-4.0/feature/sq-1954-tokenizer-drop-old-style-annotations-support
  • phpcs-4.0/feature/sq-1983-ruleset-remove-support-old-array-syntax
  • phpcs-4.0/feature/sq-1997-tokens-remove-unused-tokens
  • phpcs-4.0/feature/sq-2046-squiz-validclassname-rename-error-code
  • phpcs-4.0/feature/sq-2197-ruleset-config-directive-processing
  • phpcs-4.0/feature/sq-2197-ruleset-ini-processing-add-tests
  • phpcs-4.0/feature/sq-2234-generic-nospaceaftercast-remove-sniff
  • phpcs-4.0/feature/sq-2318-squiz-heredoc-split-errorcode
  • phpcs-4.0/feature/sq-2395-2597-2602-ruleset-config-arg-processing
  • phpcs-4.0/feature/sq-2448-remove-support-js-css
  • phpcs-4.0/feature/sq-2455-file-getmemberproperties-remove-parse-error-warnings
  • phpcs-4.0/feature/sq-2455-sniffs-remove-parse-error-warnings
  • phpcs-4.0/feature/sq-2471-remove-mysource-standard
  • phpcs-4.0/feature/sq-2593-tokenizer-closure-use-parentheses-owner
  • phpcs-4.0/feature/sq-2675-config-setConfigData-no-longer-static
  • phpcs-4.0/feature/sq-2823-remove-some-public-error-properties
  • phpcs-4.0/feature/sq-2916-filter-allow-explicit-file-without-extension
  • phpcs-4.0/feature/sq-3394-remove-use-of-auto_detect_line_endings
  • phpcs-4.0/feature/sq-3629-ruleset-setsniffproperty-remove-bclayer-old-property-format
  • phpcs-4.0/feature/sq1612-1010-send-runner-caught-output-to-stderr-stdout
  • phpcs-4.0/feature/squiz-variablecomment-make-tagnotallowed-modular
  • phpcs-4.0/feature/standardrulesetqatest-fix-test
  • phpcs-4.0/feature/standards-allow-for-removing-more-output-buffering
  • phpcs-4.0/feature/test-code-should-be-in-tests
  • phpcs-4.0/feature/tests-drop-support-phpunit-lt-8
  • phpcs-4.0/feature/tests-make-compatible-with-phpunit-10-11
  • phpcs-4.0/feature/tokenizer-createtokenmap-stabilize-parenthesis-keys
  • phpcs-4.0/feature/use-timing-class-in-more-places
  • phpcs-4.0/feature/various-doc-fixes
  • phpcs-4.0/modernize/messagecollector-use-foreach-list
  • phpcs-4.0/modernize/use-dirname-levels
  • phpcs-4.0/modernize/use-php-os-family
  • phpcs-4.0/modernize/use-static-closures
  • phpcs-4.0/remove-output-buffering-from-fixer
  • phpcs-4.x/3115-let-static-be-static
  • phpcs-4.x/remove-external-tooling-sniffs
  • phpcs-4.x/tokenizer-php-minor-tweak
  • squiz-function-comment-intersection-types
  • squiz-function-end-doc
  • test-config-generator-argument
  • test-coverage-nesting-level
  • use-markers-for-test-switch-default

10 Jan 2025 08:39AM CUT coverage: 78.32% (+0.002%) from 78.318%
12706083406

Pull #782

github

web-flow
Merge 73e80893e into b43e1d8e8
Pull Request #782: Tokenizer/PHP: prevent an "Undefined array key" notice during live coding

4 of 4 new or added lines in 1 file covered. (100.0%)

24471 of 31245 relevant lines covered (78.32%)

66.03 hits per line

Relevant lines Covered
Build:
Build:
31245 RELEVANT LINES 24471 COVERED LINES
66.03 HITS PER LINE
Source Files on feature/tokenizer-php-prevent-undefined-array-key-notice
  • Tree
  • List 309
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Loading...
Coverage∆FileLinesRelevantCoveredMissedHits/Line
0.0
src/Reports/Csv.php89 17 0 17 0.0
0.0
src/Reports/Checkstyle.php108 29 0 29 0.0
0.0
src/Reports/Cbf.php251 109 0 109 0.0
0.0
src/Reports/Code.php362 168 0 168 0.0
0.0
src/Files/DummyFile.php79 18 0 18 0.0
0.0
src/Files/FileList.php258 53 0 53 0.0
0.0
src/Reporter.php442 169 0 169 0.0
0.0
src/Files/LocalFile.php216 96 0 96 0.0
0.0
src/Filters/ExactMatch.php153 26 0 26 0.0
0.0
src/Reports/Diff.php128 40 0 40 0.0
Showing 1 to 10 of 309 entries
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 31
  • Next
  • ►
    78.51
    src/

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
12706083406 feature/tokenizer-php-prevent-undefined-array-key-notice Merge 73e80893e into b43e1d8e8 Pull #782 10 Jan 2025 08:41AM CUT web-flow github
78.32
See All Builds (2281)
  • 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