jangregor/phpstan-prophecy
PHPStan extension for phpspec/prophecy that improves type inference in tests. It teaches PHPStan the real types returned from Prophecy workflows like prophesize(), willExtend(), and reveal(), so your revealed doubles are understood as the mocked class.
Full Changelog: https://github.com/Jan0707/phpstan-prophecy/compare/2.2.0...2.3.0
Full Changelog: https://github.com/Jan0707/phpstan-prophecy/compare/2.1.1...2.2.0
Recommend update phpstan and all its extension via:
composer update "*phpstan*"
Full Changelog: https://github.com/Jan0707/phpstan-prophecy/compare/2.1.0...2.1.1
Recommend update phpstan and all its extension via:
composer update "*phpstan*"
PHPStan 2.1.5 required to work correctly.
Full Changelog: https://github.com/Jan0707/phpstan-prophecy/compare/2.0.0...2.1.0
Full Changelog: https://github.com/Jan0707/phpstan-prophecy/compare/1.0.2...2.0.0
Full Changelog: https://github.com/Jan0707/phpstan-prophecy/compare/1.0.1...1.0.2
This tag should fix problems
$ by @RusiPapazov in https://github.com/Jan0707/phpstan-prophecy/pull/277ergebnis/composer-normalize to run as composer plugin by @localheinz in https://github.com/Jan0707/phpstan-prophecy/pull/293static-code-analysis job by @localheinz in https://github.com/Jan0707/phpstan-prophecy/pull/323composer.json by @localheinz in https://github.com/Jan0707/phpstan-prophecy/pull/321Full Changelog: https://github.com/Jan0707/phpstan-prophecy/compare/1.0.0...1.1.0
ergebnis/php-library-template (#239), by @localheinzactions/checkout from v2.3.3 to v2.3.4 (#240), by @dependabot[bot]ibiqlik/action-yamllint from v2.0.0 to v3 (#242), by @dependabot[bot]actions/cache from v2.1.2 to v2.1.3 (#241), by @dependabot[bot]actions/github-script from v3.0.0 to v3.1 (#243), by @dependabot[bot]shivammathur/setup-php from 2.7.0 to 2.8.0 (#244), by @dependabot[bot]shivammathur/setup-php from 2.8.0 to 2.9.0 (#245), by @dependabot[bot]actions/cache from v2.1.3 to v2.1.4 (#246), by @dependabot[bot]shivammathur/setup-php from 2.9.0 to 2.10.0 (#247), by @dependabot[bot]actions/github-script from 3.1 to 5 (#262), by @dependabot[bot]ibiqlik/action-yamllint from 3 to 3.0.1 (#255), by @dependabot[bot]actions/cache from 2.1.4 to 2.1.6 (#256), by @dependabot[bot]shivammathur/setup-php from 2.10.0 to 2.15.0 (#263), by @dependabot[bot]actions/checkout from 2.3.4 to 2.4.0 (#267), by @dependabot[bot]1.0 (#266), by @alexander-schranzergebnis/php-cs-fixer-config from 1.1.3 to 2.1.2 (#186), by @dependabot[bot]actions/cache from v1 to v2 (#185), by @dependabot[bot]ergebnis/php-cs-fixer-config from 2.1.2 to 2.2.0 (#193), by @dependabot[bot]ergebnis/php-cs-fixer-config from 2.2.0 to 2.2.1 (#196), by @dependabot[bot]actions/checkout from v2 to v2.3.0 (#190), by @dependabot[bot]ergebnis/composer-normalize from 2.5.1 to 2.6.0 (#200), by @dependabot[bot]ergebnis/composer-normalize from 2.6.0 to 2.6.1 (#202), by @dependabot[bot]ergebnis/composer-normalize from 2.6.1 to 2.7.0 (#211), by @dependabot[bot]ergebnis/composer-normalize from 2.7.0 to 2.7.1 (#213), by @dependabot[bot]ergebnis/composer-normalize from 2.7.1 to 2.8.0 (#219), by @dependabot[bot]phpstan/phpstan from 0.12.25 to 0.12.51 (#231), by @violinist-botactions/github-script from v2 to v3 (#215), by @dependabot[bot]actions/checkout from v2.3.0 to v2.3.3 (#222), by @dependabot[bot]ergebnis/php-library-template (#232), by @localheinzpull_request_target (#235), by @localheinz8.0 (#236), by @localheinzphpstan/phpstan from 0.12.23 to 0.12.24 (#180), by @violinist-botphpstan/phpstan from 0.12.24 to 0.12.25 (#181), by @violinist-botergebnis/composer-normalize from 2.2.3 to 2.2.4 (#125), by @violinist-botergebnis/php-library-template (#136), by @localheinzwillImplement() is used in setUp() (#138), by @localheinzwillExtend() is used in setUp() (#139), by @localheinzextension.neon to root of project (#140), by @localheinz.build directory for temporary files (#142), by @localheinzObjectProphecy namespace (#143), by @localheinzREADME.md (#132), by @localheinzREADME.md (#146), by @localheinzprophesize(), willExtend(), and willImplement() are used in helper methods (#147), by @localheinzFUNDING.yml (#151), by @localheinzphpstan with and without extension (#149), by @localheinzphpstan/phpstan from 0.12.11 to 0.12.14 (#156), by @violinist-botphpspec/prophecy from v1.10.2 to v1.10.3 (#157), by @violinist-botergebnis/composer-normalize from 2.2.4 to 2.3.0 (#158), by @violinist-botphpstan/phpstan from 0.12.14 to 0.12.18 (#160), by @violinist-botergebnis/composer-normalize from 2.3.0 to 2.3.2 (#159), by @violinist-botergebnis/composer-normalize from 2.3.2 to 2.4.0 (#164), by @violinist-botphpstan/phpstan from 0.12.18 to 0.12.19 (#163), by @violinist-botergebnis/composer-normalize from 2.4.0 to 2.5.1 (#166), by @violinist-botphpstan/phpstan from 0.12.19 to 0.12.23 (#167), by @violinist-botergebnis/license:^1.0.0 (#170), by @localheinzphpunit/phpunit (#172), by @localheinzphpunit/phpunit:^8.0.0 (#174), by @localheinzphpunit/phpunit version in cache key (#175), by @localheinz--no-suggest option (#176), by @localheinzphpunit/phpunit:^9.0.0 (#177), by @localheinzergebnis/composer-normalize from 2.2.2 to 2.2.3 (#122), by @violinist-botphpstan/phpstan from 0.12.9 to 0.12.10 (#120), by @violinist-botphpstan/phpstan from 0.12.10 to 0.12.11 (#123), by @violinist-botphpunit/phpunit:^9 (#124), by @localheinzergebnis/composer-normalize from 2.1.1 to 2.2.0 (#96), by @violinist-botstrict_types fixer (#97), by @localheinzergebnis/php-cs-fixer-config from 1.1.2 to 1.1.3 (#98), by @violinist-botphpunit/phpunit from 7.5.18 to 7.5.19 (#101), by @violinist-botphpunit/phpunit from 7.5.19 to 7.5.20 (#102), by @violinist-botergebnis/composer-normalize from 2.2.0 to 2.2.1 (#103), by @violinist-botergebnis/composer-normalize from 2.2.1 to 2.2.2 (#106), by @violinist-botphpstan/phpstan from 0.12.4 to 0.12.6 (#105), by @violinist-botphpspec/prophecy from 1.10.1 to v1.10.2 (#107), by @violinist-botphpstan/phpstan from 0.12.6 to 0.12.7 (#108), by @violinist-botphpstan/phpstan from 0.12.7 to 0.12.8 (#109), by @violinist-botphpstan/phpstan from 0.12.8 to 0.12.9 (#110), by @violinist-botshivammathur/setup-php (#114), by @localheinzergebnis/license (#116), by @localheinzfinal (#118), by @localheinzObjectProphecy might have side effects (#119), by @localheinzphpstan/phpstan from 0.12.2 to 0.12.3 (#82), by @violinist-botphpspec/prophecy from 1.9.0 to 1.10.0 (#83), by @violinist-botphpspec/prophecy from 1.10.0 to 1.10.1 (#85), by @violinist-botergebnis/composer-normalize instead of localheinz/composer-normalize (#86), by @localheinzergebnis/php-cs-fixer-config (#88), by @localheinzwillImplement() (#92), by @localheinzwillExtend() (#94), by @localheinzlevel and paths via phpstan.neon (#73), by @localheinzphpunit (#75), by @localheinzphpstan/phpstan:^0.12.0 (#79), by @localheinzphpstan/phpstan before running it (#80), by @localheinzphpunit/phpunit from 7.2.6 to 7.5.14 (#55), by @violinist-botphpstan/phpstan:~0.12.2 (#67), by @localheinzphpunit/phpunit from 7.5.16 to 7.5.18 (#65), by @violinist-botphpspec/prophecy from 1.8.1 to 1.9.0 (#63), by @violinist-botThanks to @Taluu this package is now available to install as "phpstan-extension"
Changes:
Thanks to: @localheinz @ondrejmirtes @lcobucci
Proudly supported by LILLYDOO, Germany. Looking for a cool place to work with modern PHP? Join LILLYDOO at https://stackoverflow.com/jobs/companies/lillydoo-gmbh
Changes:
Thanks to: @ondrejmirtes @xerkus @hannsen
Many thanks to @localheinz & @alexander-schranz
All the fame and glory of this release belong to @Jean85 !
This release includes many improvements to the overall architecture and structure of the project. We have also added the MIT license to this project.
Huge thanks (and all the credits for this release) to @localheinz and @Jean85 for their help and comments!
Initial release
How can I help you explore Laravel packages today?