Skip to content

Commit

Permalink
Reproduce problem when installed alongside php-metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed May 4, 2020
1 parent 3d79c71 commit b1edafb
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,10 @@ jobs:
cd e2e/different-phpdoc-parser
composer install
../../phpstan analyse -l 8 -a Test.php Test.php
- |
cd e2e/php-metrics
composer install
../../phpstan analyse -l 8 test.php
steps:
- name: "Checkout"
Expand Down
2 changes: 2 additions & 0 deletions e2e/php-metrics/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/composer.lock
/vendor
7 changes: 7 additions & 0 deletions e2e/php-metrics/composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"require": {
"phpstan/phpstan": "^0.12.19",
"nikic/php-parser": "4.4.0",
"phpmetrics/phpmetrics": "^2.6"
}
}
3 changes: 3 additions & 0 deletions e2e/php-metrics/test.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?php

$foo = 'bar'; // bar

0 comments on commit b1edafb

Please sign in to comment.