Skip to content

Commit 034a4d6

Browse files
committed
added tests
1 parent 1753b9f commit 034a4d6

File tree

13 files changed

+43
-2
lines changed

13 files changed

+43
-2
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/vendor/
2+
composer.lock
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"require": {
3+
"php": "^5.6"
4+
}
5+
}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
includes:
2+
- ../../conf/bleedingEdge.neon
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?php
2+
3+
\PHPStan\Testing\assertType('int<50600, 50699>', PHP_VERSION_ID);
4+
\PHPStan\Testing\assertType('5', PHP_MAJOR_VERSION);
5+
\PHPStan\Testing\assertType('6', PHP_MINOR_VERSION);
6+
\PHPStan\Testing\assertType('int<0, max>', PHP_RELEASE_VERSION);
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/vendor/
2+
composer.lock
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"require": {
3+
"php": "^7"
4+
}
5+
}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
includes:
2+
- ../../conf/bleedingEdge.neon
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?php
2+
3+
\PHPStan\Testing\assertType('int<70000, 70499>', PHP_VERSION_ID);
4+
\PHPStan\Testing\assertType('7', PHP_MAJOR_VERSION);
5+
\PHPStan\Testing\assertType('int<0, 4>', PHP_MINOR_VERSION);
6+
\PHPStan\Testing\assertType('int<0, max>', PHP_RELEASE_VERSION);
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/vendor/
2+
composer.lock
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
{
2+
}

0 commit comments

Comments
 (0)