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

phpstan / phpstan-src
78%
2.1.x: 81%

Build:
Build:
LAST BUILD BRANCH: array-does-not-accept-type
DEFAULT BRANCH: 2.1.x
Repo Added 27 Aug 2020 03:43AM CUT
Token ipWh6emuXpcOoPREQgxlQEpJU2VZh0XcK regen
Build 2758 Last
Files 861
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 unary-minus-int-range
branch: unary-minus-int-range
CHANGE BRANCH
x
Reset
Sync Branches
  • unary-minus-int-range
  • 3964-array-sum-type-cast
  • GitHub-error-formatter-interface
  • Issue-5994
  • add-date-period-get-end-data-dynamic-return-type
  • add-internal-class-case-check
  • add-key-of-type-support
  • add-missing-iterable-stubs
  • add.phpstan-property-annotations
  • add/uopz-functions
  • addAnalyseExcludesinCLI
  • allow-lowercase
  • allow-plugins
  • always-used-class-constants-extension
  • any-closure
  • array
  • array-dim-fetch-var-type-corruption
  • array-does-not-accept-type
  • array-expr
  • array-fill
  • array-filter-array-function
  • array-is-list-type-specifying-extension
  • array-map-null
  • array-plus
  • array-unpack-string-keys
  • arrayCombine
  • arrayRand
  • arraySUm
  • array_count_values
  • array_fill_always_false
  • array_key_exists_fix
  • array_merge_fix
  • array_replace
  • array_replace_test
  • arrow-function-void-return-type
  • baseline-neon-sort-normalized-paths
  • bcdiv-dynamic-return
  • better-result-cache
  • better-type-alias
  • bug-1884
  • bug-1924
  • bug-3836
  • bug-4650
  • bug-4657
  • bug-4714
  • bug-5477
  • bug4371
  • bug4734
  • bug5992
  • bug6213
  • bugfix/fix-existing-classes-in-typehints-rule-test
  • callable-prototypes
  • cast-to-numeric-string
  • check_object_properties_extended
  • chr-not-empty-string
  • clear-old-containers-perf
  • clickable-line-number
  • closure_bind_class_string
  • collator
  • compile-command-windows
  • compiler
  • concat-empty-string
  • config-file-note-to-verbose
  • const_wildcards
  • count_perf
  • create-pull-request/patch-072vgrv
  • create-pull-request/patch-135a9e8
  • create-pull-request/patch-4030204
  • create-pull-request/patch-40c6d37
  • create-pull-request/patch-4aa4ad4
  • create-pull-request/patch-4k232ws
  • create-pull-request/patch-7a59c0a
  • create-pull-request/patch-83910ba
  • create-pull-request/patch-8abaai0
  • create-pull-request/patch-at8e6wh
  • create-pull-request/patch-b40eaf9
  • create-pull-request/patch-c1579f1
  • create-pull-request/patch-c8u6js5
  • create-pull-request/patch-eb074fd
  • create-pull-request/patch-gxqpmtn
  • create-pull-request/patch-nrv74ny
  • create-pull-request/patch-puxlb8d
  • create-pull-request/patch-ufh6m84
  • cs
  • cufa
  • custom-debug
  • date
  • datetime
  • datetime-createfromformat-static
  • datetime-instantiation
  • datetimezone
  • dead
  • defaults-in-signatures
  • dependabot/composer/build-cs/squizlabs/php_codesniffer-3.6.2
  • dependabot/composer/compiler/nette/neon-3.2.2
  • dependabot/composer/compiler/nette/neon-3.3.0
  • dependabot/composer/compiler/nette/neon-3.3.1
  • dependabot/composer/compiler/nette/neon-3.3.2
  • dependabot/composer/compiler/phpstan/phpstan-phpunit-0.12.18
  • dependabot/composer/compiler/phpstan/phpstan-phpunit-0.12.19
  • dependabot/composer/compiler/phpstan/phpstan-phpunit-0.12.20
  • dependabot/composer/compiler/phpstan/phpstan-phpunit-0.12.21
  • dependabot/composer/compiler/phpstan/phpstan-phpunit-0.12.22
  • dependabot/composer/compiler/phpunit/phpunit-9.5.1
  • dependabot/composer/compiler/phpunit/phpunit-9.5.10
  • dependabot/composer/compiler/phpunit/phpunit-9.5.2
  • dependabot/composer/compiler/phpunit/phpunit-9.5.3
  • dependabot/composer/compiler/phpunit/phpunit-9.5.4
  • dependabot/composer/compiler/phpunit/phpunit-9.5.5
  • dependabot/composer/compiler/phpunit/phpunit-9.5.7
  • dependabot/composer/compiler/phpunit/phpunit-9.5.8
  • dependabot/composer/compiler/phpunit/phpunit-9.5.9
  • dependabot/composer/compiler/symfony/console-5.2.2
  • dependabot/composer/compiler/symfony/console-5.2.3
  • dependabot/composer/compiler/symfony/console-5.2.4
  • dependabot/composer/compiler/symfony/console-5.2.5
  • dependabot/composer/compiler/symfony/console-5.2.6
  • dependabot/composer/compiler/symfony/console-5.2.7
  • dependabot/composer/compiler/symfony/console-5.2.8
  • dependabot/composer/compiler/symfony/console-5.3.0
  • dependabot/composer/compiler/symfony/console-5.3.10
  • dependabot/composer/compiler/symfony/console-5.3.11
  • dependabot/composer/compiler/symfony/console-5.3.2
  • dependabot/composer/compiler/symfony/console-5.3.6
  • dependabot/composer/compiler/symfony/console-5.3.7
  • dependabot/composer/compiler/symfony/console-5.4.0
  • dependabot/composer/compiler/symfony/console-5.4.1
  • dependabot/composer/compiler/symfony/filesystem-5.2.2
  • dependabot/composer/compiler/symfony/filesystem-5.2.3
  • dependabot/composer/compiler/symfony/filesystem-5.2.4
  • dependabot/composer/compiler/symfony/filesystem-5.2.6
  • dependabot/composer/compiler/symfony/filesystem-5.2.7
  • dependabot/composer/compiler/symfony/filesystem-5.3.0
  • dependabot/composer/compiler/symfony/filesystem-5.3.3
  • dependabot/composer/compiler/symfony/filesystem-5.3.4
  • dependabot/composer/compiler/symfony/filesystem-5.4.0
  • dependabot/composer/compiler/symfony/finder-5.2.3
  • dependabot/composer/compiler/symfony/finder-5.2.4
  • dependabot/composer/compiler/symfony/finder-5.2.8
  • dependabot/composer/compiler/symfony/finder-5.2.9
  • dependabot/composer/compiler/symfony/finder-5.3.0
  • dependabot/composer/compiler/symfony/finder-5.3.4
  • dependabot/composer/compiler/symfony/finder-5.3.7
  • dependabot/composer/compiler/symfony/finder-5.4.0
  • dependabot/composer/compiler/symfony/process-5.2.2
  • dependabot/composer/compiler/symfony/process-5.2.3
  • dependabot/composer/compiler/symfony/process-5.2.4
  • dependabot/composer/compiler/symfony/process-5.2.7
  • dependabot/composer/compiler/symfony/process-5.3.0
  • dependabot/composer/compiler/symfony/process-5.3.12
  • dependabot/composer/compiler/symfony/process-5.3.2
  • dependabot/composer/compiler/symfony/process-5.3.4
  • dependabot/composer/compiler/symfony/process-5.3.7
  • dependabot/composer/compiler/symfony/process-5.4.0
  • dependabot/github_actions/actions/cache-v2.1.4
  • detect-return-iterable
  • disabled_proc_open
  • docblock-above-imports
  • dont-create-directory-when-already-existing
  • downgrade-phpunit
  • duplicate
  • duplicate-enum-case
  • duplicate-type-specifier-context
  • duplicateBug
  • dynamic-number-format
  • echo-callable
  • enum-attributes
  • enum-case-attribute
  • enum-instantiation
  • enum-sanity
  • error-format-config
  • eval-implicit-throw-point
  • explicit-never-early-terminates
  • failing-json
  • fast-ignore
  • faster-ignore
  • feat/support-array-as-template-type-bound
  • feature-intrange-subtype-unions
  • feature/add-stub-returntypewillchange
  • feature/add-throwable-return-type-extension
  • feature/allow-desctructuring-of-objects-implementing-array-access
  • feature/allow-empty-baseline
  • feature/fix-array-filter
  • feature/iterator_to_array/preserve-keys
  • feature/mbStrSplit
  • feature/non-empty-array-map
  • feature/resolve-php-int-max
  • feature/resolve-remaining-predefined-constants
  • feature/spreading-of-general-arrays-should-not-lead-to-a-non-empty-array
  • feature/support-array-access-in-appended-array-item-type-rule
  • file-excluder-performance
  • filter_var-should-return-non-empty-string
  • fix-2799
  • fix-2880
  • fix-3880
  • fix-array-flip-return-type
  • fix-array-slice
  • fix-attributes
  • fix-ceil-return-type
  • fix-date-parse-functions-return-value-signature
  • fix-ds
  • fix-float-equals
  • fix-get_include_path-function-signature
  • fix-getcsv-and-str_getcsv_return-types
  • fix-gitlab-error-formatter-line-numbers
  • fix-normalizer-normalize-return-type
  • fix-nullable-unions
  • fix-pg_field_name
  • fix-proc-get-status
  • fix-reflection-methods
  • fix-session-isset
  • fix-simplexmlelement-stubs
  • fix-substr-return-type
  • fix-subtracting-never-type
  • fix-system
  • fix-throwable-get-code-return-type
  • fix-unused-data-providers
  • fix-wrong-IntlDateFormatter-format-signature
  • fix/5589
  • fix/array_size_is_2
  • fix/deprecated-from-interface
  • fix/fputcsv-fields-parameter
  • fix/ldap_set_rebind_proc
  • fix/phpdoc-cache-collision
  • fix/posix_getpwuid-getgrid-signature
  • fix/signature@preg_replace_callback
  • fix/socket_select
  • fix5336
  • fixArraySum
  • fixExtension
  • fixExtensions
  • fixNamespacedXpath
  • fix_4222
  • fix_number_class
  • fix_to_php
  • fix_wildcard_path_ignore_with_open_basedir
  • fn-map
  • formatter
  • frank/prevent-test-case-import-conflict
  • function-map-fix
  • functionMap-stat
  • functionMapSync
  • gd-php80
  • get_loaded_extensions
  • getmypid-getmyuid-return
  • gh-5788
  • gh-5934
  • gh4194-autoload-source-locator-startline-fix
  • gh5373-nativereflection-deprecated-support
  • github-newlines
  • gitlab-formatter
  • hash-functions
  • hash-hmac
  • hashType
  • identifier
  • igbinary-function-map
  • imageColorAllocate
  • imagejpeg-return-type
  • implement-array-access
  • implode-array
  • improve-build
  • improve-comparisons
  • infer-phpdoc-on-typed-props
  • insane-comparison
  • intdiv
  • integer-range
  • integer-range-math
  • integer-range-type-improvements
  • invalid-type-alias-check
  • is-a-class-string
  • is-array
  • is-file
  • is-subclass-of-class-string
  • isset
  • issetError
  • issue-1362
  • issue-3896
  • issue-4836
  • issue-4881
  • issue-5511
  • literal-string-type
  • literals
  • local-type-aliases
  • loop
  • map_fixes
  • master
  • match_phpstan_launcher
  • math-failing
  • mb_substitute_character_dynamic_return
  • memory-limit
  • microoptimizations
  • min-max-2
  • min-max-range
  • minimum-processes
  • minus-range-bugs
  • mo-fix-constant-unpacking
  • mo-fix-implode-function-rule-to-work-with-unions
  • mo-fix-nullsafe
  • mo-nullsafe-shortcircuiting-optional
  • modulo-int
  • modulo-range-types
  • more-missing-callable-prototypes
  • multiple_inheritance
  • mysqli-stmt-param-count
  • mysqli-stub
  • native-union-pseudotypes
  • nette-deps
  • ng-better-reflection
  • no-return
  • no-suggest
  • no_mem_fwite_when_err_reporting_enabled
  • non-empty-array-merge
  • non-empty-str_split
  • non-empty-string
  • non-static-methods-call-directly
  • null-coalesce-assign
  • opcache-stream-wrapper
  • optimize_regex
  • patch-1
  • patch-2
  • patch-3
  • patch-4
  • patch-5
  • patch-6
  • patch-7
  • patch-8
  • performance_fix_integer_range
  • php-8-features
  • php-8-variants
  • php-81-deprecations
  • php8-create-function-removed
  • php8-define-case-insenstivie
  • php81
  • phpdocs
  • phpunit-xml-format
  • phpversion
  • positive-split-length
  • preg_replace_callback
  • proc-open-php74
  • promoted-properties
  • property-expr
  • property-promotion-attribute-target
  • pure
  • pw-hash
  • rand-return
  • range-divison
  • range-in-range
  • raw-messages
  • recurse-generic-objects
  • redis
  • reflection
  • resource-function-side-effects
  • restore-stream-wrappers
  • restore-true
  • result-cache-dependencies-of-ext-files
  • result-cache-read-rules-section
  • result-cache-stub-analyse
  • retain-prefixed-var-tags
  • revert-464-patch-1
  • revert-skip-error-formatter-test-on-windows
  • rounding-return-types
  • sapi-windows-set-ctrl-handler
  • sarif_errorformatter
  • set
  • setlocale
  • shell_exec
  • sideEffect
  • sizeof2
  • socket-select-php80
  • sort-integer-ranges
  • speedup-file-helper
  • splfixedarray-types
  • split-flags
  • split-smaller-than
  • sscanf_signature_fix
  • static-type
  • str-split
  • string-keyed-array-unpacking-rule
  • strlen
  • strval
  • support-for-numeric-string-in-bc-math
  • switch-class-const
  • symfony-update
  • test
  • test-baseline
  • test-composer
  • test-genetics-assign
  • test-workflow
  • throw-points
  • throwExtension
  • throwTyp
  • transform
  • transformToXML
  • truthy-falsey
  • type-cast-fixes
  • type-fixes
  • type_combi
  • type_combi_remove
  • types_not_hints
  • union-fix
  • union-types
  • unpack-return
  • update-imagick-function-map
  • update-pdo-function-map
  • update-phpstorm-stubs
  • update-stubs
  • validate-array-function-callback
  • validate-array-function-params
  • variadic-php8
  • variadics-are-always-optional
  • weakmap-generic
  • workflow
  • xdebug-3.1-functionMap
  • xmlExtension
  • xpath
  • yield-result-void
  • zend-dynamic-constants

pending completion
  cancel
1226169651

Pull #669

github

GitHub
Merge ded32886b into 109bf999b
Pull Request #669: support unary-minus on IntegerRangeType

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

26725 of 34357 relevant lines covered (77.79%)

134.87 hits per line

Relevant lines Covered
Build:
Build:
34357 RELEVANT LINES 26725 COVERED LINES
134.87 HITS PER LINE
Source Files on unary-minus-int-range
  • Tree
  • List 915
  • Changed 5
  • Source Changed 1
  • Coverage Changed 5
Loading...
Coverage∆FileLinesRelevantCoveredMissedHits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
1226169651 unary-minus-int-range Merge ded32886b into 109bf999b Pull #669 12 Sep 2021 08:52AM CUT GitHub github pending completion  
See All Builds (1703)

Badge your Repo: phpstan-src

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • 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