File tree 5 files changed +22
-15
lines changed
5 files changed +22
-15
lines changed Original file line number Diff line number Diff line change @@ -18,16 +18,17 @@ matrix:
18
18
fast_finish : true
19
19
include :
20
20
# Minimum supported dependencies with the latest and oldest PHP version
21
- - php : 7.4
21
+ - php : 8.0
22
22
env : COMPOSER_FLAGS="--prefer-stable --prefer-lowest"
23
23
- php : 7.2
24
24
env : COMPOSER_FLAGS="--prefer-stable --prefer-lowest"
25
25
26
- # Test the latest stable release
26
+ # Test supported PHP versions
27
27
- php : 7.2
28
28
- php : 7.3
29
29
- php : 7.4
30
- env : COVERAGE=true PHPUNIT_FLAGS="-v --coverage-text --coverage-clover=coverage.clover"
30
+ - php : 8.0
31
+ env : COVERAGE=true XDEBUG_MODE=coverage PHPUNIT_FLAGS="-v --coverage-text --coverage-clover=coverage.clover"
31
32
32
33
# Test with Symfony 3
33
34
- php : 7.4
@@ -38,17 +39,21 @@ matrix:
38
39
env : SYMFONY_VERSION="^4"
39
40
40
41
# Latest commit to master
41
- - php : 7.4
42
+ - php : 8.0
42
43
env : STABILITY="dev"
43
44
44
- # Upcoming PHP version
45
+ # Upcoming PHP versions
45
46
- php : 7.4snapshot
47
+ - php : 8.0snapshot
48
+ - php : nightly
46
49
47
50
allow_failures :
48
51
# dev-master is allowed to fail
49
52
- env : STABILITY="dev"
50
- # Upcoming PHP version is allowed to fail
53
+ # Upcoming PHP versions are allowed to fail
51
54
- php : 7.4snapshot
55
+ - php : 8.0snapshot
56
+ - php : nightly
52
57
53
58
before_install :
54
59
- if [ "$COVERAGE" != true ]; then phpenv config-rm xdebug.ini || true; fi
Original file line number Diff line number Diff line change 3
3
4
4
namespace Shivas \VersioningBundle \Tests \Provider ;
5
5
6
- use org \ bovigo \vfs \vfsStream ;
7
- use org \ bovigo \vfs \vfsStreamDirectory ;
6
+ use bovigo \vfs \vfsStream ;
7
+ use bovigo \vfs \vfsStreamDirectory ;
8
8
use PHPUnit \Framework \TestCase ;
9
9
use RuntimeException ;
10
10
use Shivas \VersioningBundle \Provider \GitRepositoryProvider ;
Original file line number Diff line number Diff line change 3
3
4
4
namespace Shivas \VersioningBundle \Tests \Provider ;
5
5
6
- use org \ bovigo \vfs \vfsStream ;
7
- use org \ bovigo \vfs \vfsStreamDirectory ;
6
+ use bovigo \vfs \vfsStream ;
7
+ use bovigo \vfs \vfsStreamDirectory ;
8
8
use PHPUnit \Framework \TestCase ;
9
9
use Shivas \VersioningBundle \Provider \RevisionProvider ;
10
10
Original file line number Diff line number Diff line change 3
3
4
4
namespace Shivas \VersioningBundle \Tests \Provider ;
5
5
6
- use org \ bovigo \vfs \vfsStream ;
7
- use org \ bovigo \vfs \vfsStreamDirectory ;
6
+ use bovigo \vfs \vfsStream ;
7
+ use bovigo \vfs \vfsStreamDirectory ;
8
8
use PHPUnit \Framework \TestCase ;
9
9
use Shivas \VersioningBundle \Provider \VersionProvider ;
10
10
Original file line number Diff line number Diff line change 17
17
"wiki" : " https://github.com/shivas/versioning-bundle/wiki"
18
18
},
19
19
"require" : {
20
- "php" : " ^7.2" ,
20
+ "php" : " ^7.2 || ^8 " ,
21
21
"nikolaposa/version" : " ^4" ,
22
22
"symfony/console" : " ^3.4 || ^4 || ^5" ,
23
23
"symfony/framework-bundle" : " ^3.4 || ^4 || ^5" ,
24
24
"symfony/process" : " ^3.4 || ^4 || ^5"
25
25
},
26
26
"require-dev" : {
27
- "mikey179/vfsstream" : " ^1.6 " ,
27
+ "mikey179/vfsstream" : " ^2 " ,
28
28
"nyholm/symfony-bundle-test" : " ^1.7" ,
29
29
"phpunit/phpunit" : " ^7 || ^8" ,
30
30
"symfony/phpunit-bridge" : " ^5" ,
35
35
},
36
36
"autoload" : {
37
37
"psr-4" : { "Shivas\\ VersioningBundle\\ " : " " }
38
- }
38
+ },
39
+ "minimum-stability" : " dev" ,
40
+ "prefer-stable" : true
39
41
}
You can’t perform that action at this time.
0 commit comments