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

Commit

Permalink
Fix for autoloading problem in 0.10.4 (based on PHPStan commit 4dfaaa…
Browse files Browse the repository at this point in the history
…c59d6d1af13fddf6d3e961d69744075be6)
  • Loading branch information
ondrejmirtes committed Oct 20, 2018
1 parent 7335984 commit 8510f4f
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bootstrap.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php

if (extension_loaded('phar')) {
if (extension_loaded('phar') && !defined('__PHPSTAN_RUNNING__')) {
require_once 'phar://' . __DIR__ . '/phpstan.phar/vendor/autoload.php';
}
Binary file modified phpstan
Binary file not shown.
Binary file modified phpstan.phar
Binary file not shown.

0 comments on commit 8510f4f

Please sign in to comment.