Skip to content

Commit

Permalink
Integration tests - Rector
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Jun 20, 2020
1 parent 7dc2611 commit 4e23fa7
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,12 @@ jobs:
git checkout v0.6.1
composer install
../../../phpstan.phar analyse
- |
git clone https://github.com/rectorphp/rector.git e2e/integration/repo
cd e2e/integration/repo
git checkout v0.7.36
composer install
../../../phpstan.phar analyse -c ../rector.neon
steps:
- name: "Checkout"
Expand Down
8 changes: 8 additions & 0 deletions e2e/integration/rector.neon
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
includes:
- repo/phpstan.neon

parameters:
ignoreErrors:
-
message: '#^Cannot cast PhpParser\\Node\\Expr\|PhpParser\\Node\\Name to string\.$#'
path: repo/rules/php71/src/IsArrayAndDualCheckToAble.php

0 comments on commit 4e23fa7

Please sign in to comment.