Skip to content
This repository has been archived by the owner on Dec 9, 2019. It is now read-only.

Releases: phpstan/phpstan-shim

0.11

16 Jan 11:03
Compare
Choose a tag to compare

0.10.8

08 Jan 10:04
Compare
Choose a tag to compare

0.10.7

28 Dec 14:06
Compare
Choose a tag to compare

0.10.6

04 Dec 07:55
Compare
Choose a tag to compare

0.10.5

20 Oct 17:46
Compare
Choose a tag to compare

Fixed two PHAR-related autoloading issues that originated in 0.10.4:

  • When running phpstan executable from phpstan-shim instead of phpstan.phar, the message "Fatal error: Cannot redeclare composerRequired3df62903055312660ab99fff5d55b82()" appeared. That's because PHP construct require_once didn't recognize the same file was already loaded. Fixed by checking defined constant about PHPStan runtime: phpstan/phpstan@4dfaaac
  • When running PHPStan's PHAR in a project where PHPStan is already installed locally, the message "PHP Fatal error: Uncaught TypeError: Argument 1 passed to _HumbugBox52624676281c\Symfony\Component\Console\Application::add() must be an instance of _HumbugBox52624676281c\Symfony\Component\Console\Command\Command, instance of PHPStan\Command\AnalyseCommand given" appeared. That's because the project autoloader had priority. Fixed by switching the order of autoloaders (they are prepended): phpstan/phpstan@c6a8cd1

0.10.4

20 Oct 14:08
Compare
Choose a tag to compare

0.10.3

12 Aug 16:22
Compare
Choose a tag to compare

0.10.2

22 Jul 19:52
Compare
Choose a tag to compare

PHPStan release notes are over at phpstan/phpstan.

Additionally, libraries from inside the PHAR (like nikic/php-parser) are now propagated to Composer autoloader. So if you install phpstan/phpstan-shim and some other package that relies on nikic/php-parser, this will no longer be a problem. (#16, #19)

0.10.1

01 Jul 18:54
Compare
Choose a tag to compare

0.10

24 Jun 19:22
Compare
Choose a tag to compare