File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed
e2e/composer-version-config-patch Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -320,16 +320,20 @@ jobs:
320320 cd e2e/composer-no-versions
321321 composer install
322322 ../../bin/phpstan analyze test.php --level=0
323- - script : |
324- cd e2e/composer-version-config
325- composer install
326- ../../bin/phpstan analyze test.php --level=0
327323 - script : |
328324 cd e2e/composer-version-config-invalid
329325 OUTPUT=$(../bashunit -a exit_code "1" ../../bin/phpstan)
330326 echo "$OUTPUT"
331327 ../bashunit -a contains 'Invalid configuration' "$OUTPUT"
332328 ../bashunit -a contains 'Invalid PHP version range: phpVersion.max should be greater or equal to phpVersion.min.' "$OUTPUT"
329+ - script : |
330+ cd e2e/composer-version-config-patch
331+ composer install
332+ ../../bin/phpstan analyze test.php --level=0
333+ - script : |
334+ cd e2e/composer-version-config
335+ composer install
336+ ../../bin/phpstan analyze test.php --level=0
333337
334338 steps :
335339 - name : " Checkout"
Original file line number Diff line number Diff line change 11<?php
22
33// constraint from composer.json is overruled by phpstan.neon config
4- \PHPStan \Testing \assertType ('int<80001 , 80015> ' , PHP_VERSION_ID );
4+ \PHPStan \Testing \assertType ('int<80002 , 80015> ' , PHP_VERSION_ID );
55\PHPStan \Testing \assertType ('8 ' , PHP_MAJOR_VERSION );
66\PHPStan \Testing \assertType ('0 ' , PHP_MINOR_VERSION );
7- \PHPStan \Testing \assertType ('int<1 , 15> ' , PHP_RELEASE_VERSION );
7+ \PHPStan \Testing \assertType ('int<2 , 15> ' , PHP_RELEASE_VERSION );
You can’t perform that action at this time.
0 commit comments