Analyzes PHPStan baseline files and creates aggregated error trend-reports

Overview

Analyzes phpstan baseline files

Analyzes PHPStan baseline files and creates aggregated error trend-reports.

Supported PHPStan RuleSets

Supported PHPStan Rules

  • PHPStan\Rules\PhpDoc\InvalidPhpDocTagValueRule
  • Symplify\PHPStanRules\CognitiveComplexity\Rules\ClassLikeCognitiveComplexityRule

example report

$ phpstan-baseline-analyze *phpstan-baseline.neon
Analyzing app/portal/phpstan-baseline.neon
  Classes-Cognitive-Complexity: 270
  Deprecations: 2
  Invalid-Phpdocs: 5
  Unknown-Types: 1

example trend analysis

the following example shows the evolution of errors in your phpstan baselines. see the trend between 2 different points in time like:

reference.json $ phpstan-baseline-trend reference.json now.json Analyzing Trend for app/portal/phpstan-baseline.neon Classes-Cognitive-Complexity: 309 -> 177 => improved Deprecations: 1 -> 2 => worse Invalid-Phpdocs: 3 -> 1 => good Unknown-Types: 5 -> 15 => worse ">
$ git clone ...

$ phpstan-baseline-analyze *phpstan-baseline.neon --json > now.json

$ git checkout `git rev-list -n 1 --before="1 week ago" HEAD`

$ phpstan-baseline-analyze *phpstan-baseline.neon --json > reference.json

$ phpstan-baseline-trend reference.json now.json
Analyzing Trend for app/portal/phpstan-baseline.neon
  Classes-Cognitive-Complexity: 309 -> 177 => improved
  Deprecations: 1 -> 2 => worse
  Invalid-Phpdocs: 3 -> 1 => good
  Unknown-Types: 5 -> 15 => worse
Comments
  • analyse

    analyse "Anonymous variable"

    example result

    $ ../phpstan-baseline-analysis/bin/phpstan-baseline-analyze phpstan-baseline.neon
    Analyzing ./application/B2B/phpstan-baseline.neon
      Classes-Cognitive-Complexity: 2099
      Deprecations: 286
      Invalid-Phpdocs: 14
      Unknown-Types: 11
      Anonymous-Variables: 3051
    Analyzing ./application/B2Brocket/phpstan-baseline.neon
      Classes-Cognitive-Complexity: 1558
      Deprecations: 180
      Invalid-Phpdocs: 6
      Unknown-Types: 11
      Anonymous-Variables: 741
    
    opened by bloep 7
  • chore(deps): support thecodingmachine/safe v2

    chore(deps): support thecodingmachine/safe v2

    Hi, would it be possible to support thecodingmachine/safe v2 like this in this utility? My projects mostly use v2 already but I wanted to give this thing a try.

    opened by p4veI 4
  • Update symfony/polyfill-php80 requirement from ^1.26 to ^1.27

    Update symfony/polyfill-php80 requirement from ^1.26 to ^1.27

    Updates the requirements on symfony/polyfill-php80 to permit the latest version.

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies php 
    opened by dependabot[bot] 2
  • Update symplify/phpstan-rules requirement from ^11.0 to ^11.1

    Update symplify/phpstan-rules requirement from ^11.0 to ^11.1

    Updates the requirements on symplify/phpstan-rules to permit the latest version.

    Commits
    • 238f7e5 PHPStan Rules 11.1.17
    • 0e97c8d Updated PHPStan Rules to commit 8f5f7781f1f0cf8239e19fffd82305260810149d
    • 1e98d61 Updated PHPStan Rules to commit f3d60271bab290c464f565f2b90347d066122038
    • 00d50ca Updated PHPStan Rules to commit f809119b83d64c9d400fae5deb65d64d030c3f4c
    • c03f7e7 Updated PHPStan Rules to commit 7574fac76475aced9405103e692104486f09b0e8
    • 4e4cc81 Updated PHPStan Rules to commit 840b6ddef6fedc1ddd4466c4932ad6b785c322a7
    • a50a47c Updated PHPStan Rules to commit 762c9d579781e21fd988ae70e70ca8351ba1bea7
    • b24eb2b Updated PHPStan Rules to commit c51418a53b22d76a21ab9264e989fb18a21d8a4a
    • 3d770a2 Updated PHPStan Rules to commit 05d21a2f1c2d29535cb5f1a68eb3a97fc131f2d2
    • 124665d Updated PHPStan Rules to commit 7f37df83d61905e41093c00742808a6e27312ed5
    • Additional commits viewable in compare view

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies php 
    opened by dependabot[bot] 2
  • Update symfony/var-dumper requirement from ^5.3 to ^5.4

    Update symfony/var-dumper requirement from ^5.3 to ^5.4

    Updates the requirements on symfony/var-dumper to permit the latest version.

    Release notes

    Sourced from symfony/var-dumper's releases.

    v5.4.0

    Changelog (https://github.com/symfony/var-dumper/compare/v5.4.0-RC1...v5.4.0)

    • no significant changes
    Changelog

    Sourced from symfony/var-dumper's changelog.

    CHANGELOG

    5.4

    • Add ability to style integer and double values independently
    • Add casters for Symfony's UUIDs and ULIDs
    • Add support for Fiber

    5.2.0

    • added support for PHPUnit --colors option
    • added VAR_DUMPER_FORMAT=server env var value support
    • prevent replacing the handler when the VAR_DUMPER_FORMAT env var is set

    5.1.0

    • added RdKafka support

    4.4.0

    • added VarDumperTestTrait::setUpVarDumper() and VarDumperTestTrait::tearDownVarDumper() to configure casters & flags to use in tests
    • added ImagineCaster and infrastructure to dump images
    • added the stamps of a message after it is dispatched in TraceableMessageBus and MessengerDataCollector collected data
    • added UuidCaster
    • made all casters final
    • added support for the NO_COLOR env var (https://no-color.org/)

    4.3.0

    • added DsCaster to support dumping the contents of data structures from the Ds extension

    4.2.0

    • support selecting the format to use by setting the environment variable VAR_DUMPER_FORMAT to html or cli

    4.1.0

    • added a ServerDumper to send serialized Data clones to a server
    • added a ServerDumpCommand and DumpServer to run a server collecting and displaying dumps on a single place with multiple formats support
    • added CliDescriptor and HtmlDescriptor descriptors for server:dump CLI and HTML formats support

    ... (truncated)

    Commits

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies php 
    opened by dependabot[bot] 2
  • Update nette/neon requirement from ^3.2 to ^3.3

    Update nette/neon requirement from ^3.2 to ^3.3

    Updates the requirements on nette/neon to permit the latest version.

    Release notes

    Sourced from nette/neon's releases.

    Released version 3.3.0

    • completely rewritten parser
    • generates AST
    • added Traverser
    • encoder uses AST
    Commits
    • 33d262a Encoder uses AST (Node::toString() methods)
    • d2e3c5c added Traverser
    • fdd1372 Parser generates AST
    • 35fa0e1 Token::INDENT split into NEWLINE & WHITESPACE
    • 74285b1 added Parser, TokenStream: completely rewritten parser
    • fe6fefc added token types classification
    • 7d423be tokenizer moved to Lexer::tokenize()
    • 7d5c7c2 added Token
    • 4b71ffb Decoder::SIMPLE_TYPES refactoring
    • 3149909 BOM remover moved to Neon::decode
    • Additional commits viewable in compare view

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies php 
    opened by dependabot[bot] 2
  • Update phpstan/phpstan requirement from ^1.8 to ^1.9

    Update phpstan/phpstan requirement from ^1.8 to ^1.9

    Updates the requirements on phpstan/phpstan to permit the latest version.

    Release notes

    Sourced from phpstan/phpstan's releases.

    1.9.1

    Improvements 🔧

    Bugfixes 🐛

    Commits
    • a59c8b5 PHPStan 1.9.1
    • c57a9f7 Update PHPUnit baseline
    • c67b9f6 Updated PHPStan to commit d91411b2ab280b5132ffdb93432d9842b938370f
    • 7054365 Updated PHPStan to commit e3055aec156fb97d6ce0799c4f67aacc0c68d821
    • 6e4e657 Updated PHPStan to commit 199f9552ee3b41288c69eb39bc24677c00c9e858
    • 485175b Updated PHPStan to commit 071320dab361ef35597a524cd472eff3e3531490
    • 14aacba Updated PHPStan to commit d0c971e2c7409d41c00c561f63a2ecdd98284f49
    • 6fa1422 Updated PHPStan to commit 111799b398b1d00e8948cb841f73a393f995912b
    • b1e22e8 Updated PHPStan to commit 26bf11c71e872b87001934275ab6975ecdd24099
    • 7fa3245 Update Doctrine ORM baseline
    • Additional commits viewable in compare view

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies php 
    opened by dependabot[bot] 1
  • Update thecodingmachine/safe requirement from ^1.3 || ^2.0 to ^1.3.3

    Update thecodingmachine/safe requirement from ^1.3 || ^2.0 to ^1.3.3

    Updates the requirements on thecodingmachine/safe to permit the latest version.

    Release notes

    Sourced from thecodingmachine/safe's releases.

    v1.3.3

    Changelog:

    • Fixed a bug with socket_write
    • Updated the readme
    Commits

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies php 
    opened by dependabot[bot] 1
  • Bump ramsey/composer-install from 1 to 2

    Bump ramsey/composer-install from 1 to 2

    Bumps ramsey/composer-install from 1 to 2.

    Release notes

    Sourced from ramsey/composer-install's releases.

    2.0.0

    Added

    • Use --prefer-stable with lowest dependencies (#178)
    • Allow use of a custom cache key (#167)
    • Allow ability to ignore the cache

    Changed

    Fixed

    • Fix case where working-directory did not run composer install in the correct working directory (#187)
    • Fix problems with retrieving cache with parallel builds (#161, #152)
    • Fix problems restoring from cache on Windows (#79)

    1.3.0

    • Support passing --working-dir as part of composer-options

    1.2.0

    • Support Composer working-directory option for when composer.json is in a non-standard location.
    • Add operating system name to the cache key.

    1.1.0

    Display Composer output with ANSI colors.

    1.0.3

    Patch release for dependency updates.

    1.0.2

    • Use the GitHub cache action directly to avoid duplication of code/effort.
    • Turn on output of Composer command to provide feedback in the job log
    • Use Composer cache-dir instead of cache-files-dir

    1.0.1

    Rewrite and refactor as a JavaScript action.

    Commits
    • 83af392 :sparkles: Add new custom-cache-suffix option (#239)
    • 7f9021e Fix use of deprecated set-output command (#238)
    • 4617231 Tests: update the included composer.phar from v 2.2.2 to 2.2.18 (#237)
    • 72896eb Add dependabot configuration file (#227)
    • 69e970d GH Actions: version update for codecov action runner (#226)
    • e3612f6 GH Actions: version update for actions/cache (#224)
    • d515102 GH Actions: version update for various predefined actions (#222)
    • 6085843 GH Actions: re-work the integration tests (#221)
    • f680dac test: add PHP path back to command, as well as debug message
    • 3c51967 test: ensure we use the alternate composer location
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies github_actions 
    opened by dependabot[bot] 0
  • Update tomasvotruba/type-coverage requirement from ^0.0.4 to ^0.0.5

    Update tomasvotruba/type-coverage requirement from ^0.0.4 to ^0.0.5

    Updates the requirements on tomasvotruba/type-coverage to permit the latest version.

    Commits

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies php 
    opened by dependabot[bot] 0
  • Update tomasvotruba/unused-public requirement from ^0.0.26 to ^0.0.28

    Update tomasvotruba/unused-public requirement from ^0.0.26 to ^0.0.28

    Updates the requirements on tomasvotruba/unused-public to permit the latest version.

    Commits

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies php 
    opened by dependabot[bot] 0
Releases(0.9.3)
  • 0.9.3(Dec 23, 2022)

    What's Changed

    • support tomasvotruba/cognitive-complexity by @staabm in https://github.com/staabm/phpstan-baseline-analysis/pull/87
    • setup more strict static analysis rules by @staabm in https://github.com/staabm/phpstan-baseline-analysis/pull/88

    Full Changelog: https://github.com/staabm/phpstan-baseline-analysis/compare/0.9.2...0.9.3

    Source code(tar.gz)
    Source code(zip)
  • 0.9.2(Dec 23, 2022)

    What's Changed

    • fix tomasvotruba/type-coverage compat by @staabm in https://github.com/staabm/phpstan-baseline-analysis/pull/86
    • Bump ramsey/composer-install from 1 to 2 by @dependabot in https://github.com/staabm/phpstan-baseline-analysis/pull/84

    Full Changelog: https://github.com/staabm/phpstan-baseline-analysis/compare/0.9.1...0.9.2

    Source code(tar.gz)
    Source code(zip)
  • 0.9.1(Nov 12, 2022)

  • 0.9(Oct 14, 2022)

    Features

    • implement phpstan-baseline-graph command by @staabm in https://github.com/staabm/phpstan-baseline-analysis/pull/73
    • replace canvas-js with chart-js by @hgriga in https://github.com/staabm/phpstan-baseline-analysis/pull/74

    What's Changed

    • added github action usage example by @staabm in https://github.com/staabm/phpstan-baseline-analysis/pull/70
    • Installation by @staabm in https://github.com/staabm/phpstan-baseline-analysis/pull/71
    • extract AnalyzerResultReader by @staabm in https://github.com/staabm/phpstan-baseline-analysis/pull/72

    New Contributors

    • @hgriga made their first contribution in https://github.com/staabm/phpstan-baseline-analysis/pull/74

    Full Changelog: https://github.com/staabm/phpstan-baseline-analysis/compare/0.8.2...0.9

    Source code(tar.gz)
    Source code(zip)
  • 0.8.2(Sep 15, 2022)

    What's Changed

    • actually count the errors, not just the lines in the baseline by @staabm in https://github.com/staabm/phpstan-baseline-analysis/pull/69

    Full Changelog: https://github.com/staabm/phpstan-baseline-analysis/compare/0.8.1...0.8.2

    Source code(tar.gz)
    Source code(zip)
  • 0.8.1(Sep 15, 2022)

    New Features

    • implement counting of overall-errors by @staabm in https://github.com/staabm/phpstan-baseline-analysis/pull/68

    What's Changed

    • Update README.md by @staabm in https://github.com/staabm/phpstan-baseline-analysis/pull/57
    • Import Safe function in TrendApplication by @szepeviktor in https://github.com/staabm/phpstan-baseline-analysis/pull/62
    • Fix CS in BaselineError by @szepeviktor in https://github.com/staabm/phpstan-baseline-analysis/pull/61
    • Remove extra new line from BaselineAnalyzer by @szepeviktor in https://github.com/staabm/phpstan-baseline-analysis/pull/60
    • Remove stray space from AnalyzeApplication by @szepeviktor in https://github.com/staabm/phpstan-baseline-analysis/pull/59
    • Import Safe\file_get_contents by @szepeviktor in https://github.com/staabm/phpstan-baseline-analysis/pull/58
    • More baseline analyzer testing by @staabm in https://github.com/staabm/phpstan-baseline-analysis/pull/65
    • Refactor BaselineAnalyzer by @szepeviktor in https://github.com/staabm/phpstan-baseline-analysis/pull/64
    • Update README.md by @staabm in https://github.com/staabm/phpstan-baseline-analysis/pull/66

    New Contributors

    • @szepeviktor made their first contribution in https://github.com/staabm/phpstan-baseline-analysis/pull/62

    Full Changelog: https://github.com/staabm/phpstan-baseline-analysis/compare/0.8...0.8.1

    Source code(tar.gz)
    Source code(zip)
  • 0.8(Jul 9, 2022)

    • php8 and php8.1 compat

    What's Changed

    • Added php8 ci jobs by @staabm in https://github.com/staabm/phpstan-baseline-analysis/pull/55
    • Add php 8.1 ci jobs by @staabm in https://github.com/staabm/phpstan-baseline-analysis/pull/56
    • chore(deps): support thecodingmachine/safe v2 by @p4veI in https://github.com/staabm/phpstan-baseline-analysis/pull/54

    New Contributors

    • @p4veI made their first contribution in https://github.com/staabm/phpstan-baseline-analysis/pull/54

    Full Changelog: https://github.com/staabm/phpstan-baseline-analysis/compare/0.7.1...0.8

    Source code(tar.gz)
    Source code(zip)
  • 0.7.1(Apr 14, 2022)

    What's Changed

    • Update README.md by @staabm in https://github.com/staabm/phpstan-baseline-analysis/pull/45
    • Add Anonymous Variable to trend analysis by @bloep in https://github.com/staabm/phpstan-baseline-analysis/pull/46

    Full Changelog: https://github.com/staabm/phpstan-baseline-analysis/compare/0.7.0...0.7.1

    Source code(tar.gz)
    Source code(zip)
  • 0.7.0(Apr 14, 2022)

    Notable Changes

    • analyse "Anonymous variable" by @bloep in https://github.com/staabm/phpstan-baseline-analysis/pull/44

    What's Changed

    • Update phpstan/phpstan requirement from ^1.1 to ^1.2 by @dependabot in https://github.com/staabm/phpstan-baseline-analysis/pull/32
    • Update phpstan/phpstan requirement from ^1.2 to ^1.3 by @dependabot in https://github.com/staabm/phpstan-baseline-analysis/pull/35
    • Update symfony/polyfill-php80 requirement from ^1.23 to ^1.24 by @dependabot in https://github.com/staabm/phpstan-baseline-analysis/pull/36
    • Update phpstan/phpstan requirement from ^1.3 to ^1.4 by @dependabot in https://github.com/staabm/phpstan-baseline-analysis/pull/37
    • Update thecodingmachine/phpstan-safe-rule requirement from ^1.1 to ^1.2 by @dependabot in https://github.com/staabm/phpstan-baseline-analysis/pull/38
    • Update phpunit.xml by @staabm in https://github.com/staabm/phpstan-baseline-analysis/pull/39
    • typo by @staabm in https://github.com/staabm/phpstan-baseline-analysis/pull/40
    • Bump actions/checkout from 2 to 3 by @dependabot in https://github.com/staabm/phpstan-baseline-analysis/pull/41
    • Update symfony/polyfill-php80 requirement from ^1.24 to ^1.25 by @dependabot in https://github.com/staabm/phpstan-baseline-analysis/pull/42
    • Update phpstan/phpstan requirement from ^1.4 to ^1.5 by @dependabot in https://github.com/staabm/phpstan-baseline-analysis/pull/43

    New Contributors

    • @bloep made their first contribution in https://github.com/staabm/phpstan-baseline-analysis/pull/44

    Full Changelog: https://github.com/staabm/phpstan-baseline-analysis/compare/0.6.1...0.7.0

    Source code(tar.gz)
    Source code(zip)
  • 0.6.1(Nov 17, 2021)

    What's Changed

    • use stable upstream release of thecodingmachine/phpstan-safe-rule by @staabm in https://github.com/staabm/phpstan-baseline-analysis/pull/31

    Full Changelog: https://github.com/staabm/phpstan-baseline-analysis/compare/0.6.0...0.6.1

    Source code(tar.gz)
    Source code(zip)
  • 0.6(Nov 11, 2021)

    What's Changed

    • Added credits/license by @staabm in https://github.com/staabm/phpstan-baseline-analysis/pull/26
    • Update README.md by @staabm in https://github.com/staabm/phpstan-baseline-analysis/pull/27
    • update to phpstan 1.0 by @staabm in https://github.com/staabm/phpstan-baseline-analysis/pull/29

    Full Changelog: https://github.com/staabm/phpstan-baseline-analysis/compare/0.5.1...0.6

    Source code(tar.gz)
    Source code(zip)
Owner
Markus Staab
Markus Staab
PhpCodeAnalyzer scans codebase and analyzes which non-built-in php extensions used

PhpCodeAnalyzer PhpCodeAnalyzer finds usage of different non-built-in extensions in your php code. This tool helps you understand how transportable yo

Sergey 92 Oct 19, 2022
PhpCodeAnalyzer scans codebase and analyzes which non-built-in php extensions used

PhpCodeAnalyzer PhpCodeAnalyzer finds usage of different non-built-in extensions in your php code. This tool helps you understand how transportable yo

Sergey 89 Jan 14, 2022
Display some useful information in the reports module.

Useful information in the reports module : xclass, ajax, cliKeys, eID, general status of the system (encoding, DB, php vars...), hooks, compare local and TER extension (diff), used content type, used plugins, ExtDirect... It can really help you during migration or new existing project (to have a global reports of the system).

CERDAN Yohann 12 Aug 8, 2022
Creates a WorldBorder for PocketMine-MP servers!

This plugin is not yet ready for Poggit or download It is going through mass changes over the next few days Message my Discord to recieve an older eli

Soulz 9 Sep 5, 2021
A plugin that creates a level system linked to chatting for PocketMine-MP!

ChatLevel A plugin that creates a level system linked to chatting for PocketMine-MP! Issues You can report bugs by simply clicking me! Support You can

Oğuzhan 2 Oct 28, 2021
Creates Packagist.org mirror site.

Packagist Mirror Creates your own packagist.org mirror site. Requirements PHP ^7.1.3 Installation Clone the repository Install dependencies: php compo

Indra Gunawan 32 Mar 30, 2020
Laravel-hours-helper - Creates a Collection of times with a given interval.

Laravel Hours Helper With laravel-hours-helper you can create a collection of dates and/of times with a specific interval (in minutes) for a specific

Label84 220 Dec 29, 2022
PHPench creates a graphical output for a PHP benchmark

PHPench creates a graphical output for a PHP benchmark. Plot the runtime of any function in realtime with GnuPlot and create an image out of the result.

Matthias 53 Dec 10, 2022
Webman quickly creates a verification code tool similar to Google verification code

webman-captcha-grid webman quickly creates a verification code tool similar to Google verification code webman 快速创建一个类似于 Google 点图验证码的本地验证码扩展 介绍 webma

听风吹雨 6 Dec 5, 2022
PHPStan extension for sealed classes and interfaces.

Sealed classes with PHPStan This extension adds support for sealed classes and interfaces to PHPStan. Installation To use this extension, require it v

Jiří Pudil 14 Nov 28, 2022
PHPStan extension to support #[Readonly] constructor properties

icanhazstring/phpstan-readonly-property Support #[Readonly] promoted constructor properties for PHPStan. This library is used to have a full transitio

Andreas Frömer 4 Apr 5, 2022
Magento specific extension for phpstan

bitexpert/phpstan-magento This package provides some additional features for PHPStan to make it work for Magento 2 projects. Installation The preferre

bitExpert AG 92 Dec 7, 2022
Sandbox project for the PHPStan workshop

Sandbox project for a PHPStan workshop Installation Requirements Docker Engine Docker Compose Git Bash Getting started Clone this repository (git clon

Matthias Noback 4 Oct 17, 2022
A PHPStan package that supports working with Extbase

PHPStan for Extbase This package provides a couple of stubs and services to make your life easier when working with PHPStan and Extbase. Examples clas

Alexander Schnitzler 7 Dec 10, 2021
Custom PHPStan rules

phpstan-rules Provides additional rules for phpstan/phpstan. Installation Run $ composer require --dev alister/phpstan-rules Usage All of the rules pr

Alister Bulman 1 Nov 4, 2021
The main scope of this extension is to help phpstan to detect the type of object after the Assert\Assertion validation.

PHPStan beberlei/assert extension PHPStan beberlei/assert Description The main scope of this extension is to help phpstan to detect the type of object

PHPStan 33 Jan 2, 2023
Doctrine extensions for PHPStan

Doctrine extensions for PHPStan PHPStan Doctrine This extension provides following features: DQL validation for parse errors, unknown entity classes a

PHPStan 478 Jan 3, 2023
PHPStan extension for webmozart/assert

PHPStan webmozart/assert extension PHPStan webmozart/assert Description The main scope of this extension is to help phpstan to detect the type of obje

PHPStan 139 Dec 22, 2022
An extension for PHPStan for adding analysis for PHP Language Extensions.

PHPStan PHP Language Extensions (currently in BETA) This is an extension for PHPStan for adding analysis for PHP Language Extensions. Language feature

Dave Liddament 9 Nov 30, 2022