File tree 5 files changed +19
-15
lines changed
5 files changed +19
-15
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,8 @@ matrix:
14
14
fast_finish : true
15
15
include :
16
16
# Minimum supported dependencies with the latest and oldest PHP version
17
+ - php : 8.1
18
+ env : COMPOSER_FLAGS="--prefer-stable --prefer-lowest" SYMFONY_DEPRECATIONS_HELPER=disabled=1"
17
19
- php : 8.0
18
20
env : COMPOSER_FLAGS="--prefer-stable --prefer-lowest" SYMFONY_DEPRECATIONS_HELPER=disabled=1"
19
21
# Minimum PHP 7.4 / Symfony 5 throws "require(): read of xxx bytes failed with errno=13 Permission denied" when
@@ -24,15 +26,17 @@ matrix:
24
26
env : COMPOSER_FLAGS="--prefer-stable --prefer-lowest" SYMFONY_DEPRECATIONS_HELPER="disabled=1"
25
27
26
28
# Test the latest stable release
27
- - php : 7.3
28
- env : SYMFONY_DEPRECATIONS_HELPER="max[direct]=0"
29
- - php : 7.4
30
- env : SYMFONY_DEPRECATIONS_HELPER="max[direct]=0"
29
+ - php : 8.1
30
+ env : COVERAGE=true PHPUNIT_FLAGS="-v --coverage-text"
31
31
- php : 8.0
32
32
env : COVERAGE=true PHPUNIT_FLAGS="-v --coverage-text"
33
+ - php : 7.4
34
+ env : SYMFONY_DEPRECATIONS_HELPER="max[direct]=0"
35
+ - php : 7.3
36
+ env : SYMFONY_DEPRECATIONS_HELPER="max[direct]=0"
33
37
34
38
# Latest commit to master
35
- - php : 8.0
39
+ - php : 8.1
36
40
env : STABILITY="dev"
37
41
38
42
allow_failures :
Original file line number Diff line number Diff line change 1
1
Spotify Web API Bundle
2
2
======================
3
3
4
- [ ![ Build Status] ( https://api .travis-ci.com/calliostro/spotify-web-api-bundle.svg )] ( https://www.travis-ci.com/github/calliostro/spotify-web-api-bundle )
4
+ [ ![ Build Status] ( https://app .travis-ci.com/calliostro/spotify-web-api-bundle.svg?branch=main )] ( https://www.travis-ci.com/github/calliostro/spotify-web-api-bundle )
5
5
[ ![ Version] ( https://poser.pugx.org/calliostro/spotify-web-api-bundle/version )] ( //packagist.org/packages/calliostro/spotify-web-api-bundle )
6
6
[ ![ License] ( https://poser.pugx.org/calliostro/spotify-web-api-bundle/license )] ( //packagist.org/packages/calliostro/spotify-web-api-bundle )
7
7
8
8
This bundle provides a simple integration of [ jwilsson/spotify-web-api-php] ( https://github.com/jwilsson/spotify-web-api-php )
9
- into Symfony 5.
9
+ into Symfony 5 or Symfony 6 .
10
10
11
11
12
12
Installation
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " calliostro/spotify-web-api-bundle" ,
3
- "description" : " Spotify Web API client for PHP 7.3 or 8.0 and Symfony 5 " ,
3
+ "description" : " Spotify Web API client for Symfony 5 or Symfony 6 " ,
4
4
"type" : " symfony-bundle" ,
5
5
"require" : {
6
6
"php" : " ^7.3 || ^8.0" ,
7
7
"jwilsson/spotify-web-api-php" : " ^5.0" ,
8
- "symfony/config" : " ^5.0" ,
9
- "symfony/dependency-injection" : " ^5.0" ,
10
- "symfony/http-kernel" : " ^5.0"
8
+ "symfony/config" : " ^5.0 || ^6.0 " ,
9
+ "symfony/dependency-injection" : " ^5.0 || ^6.0 " ,
10
+ "symfony/http-kernel" : " ^5.0 || ^6.0 "
11
11
},
12
12
"autoload" : {
13
13
"psr-4" : {
14
14
"Calliostro\\ SpotifyWebApiBundle\\ " : " src/"
15
15
}
16
16
},
17
17
"require-dev" : {
18
- "symfony/phpunit-bridge" : " ^5.0"
18
+ "symfony/phpunit-bridge" : " ^5.0 || ^6.0 "
19
19
},
20
20
"autoload-dev" : {
21
21
"psr-4" : {
Original file line number Diff line number Diff line change 4
4
5
5
use Symfony \Component \HttpKernel \Bundle \Bundle ;
6
6
7
- class CalliostroSpotifyWebApiBundle extends Bundle
7
+ final class CalliostroSpotifyWebApiBundle extends Bundle
8
8
{
9
9
}
Original file line number Diff line number Diff line change 10
10
use Symfony \Component \DependencyInjection \ContainerBuilder ;
11
11
use Symfony \Component \HttpKernel \Kernel ;
12
12
13
- class FunctionalTest extends TestCase
13
+ final class FunctionalTest extends TestCase
14
14
{
15
15
public function testServiceWiring (): void
16
16
{
@@ -54,7 +54,7 @@ public function registerContainerConfiguration(LoaderInterface $loader): void
54
54
});
55
55
}
56
56
57
- public function getCacheDir ()
57
+ public function getCacheDir (): string
58
58
{
59
59
return $ this ->getProjectDir () . '/var/cache/ ' .$ this ->environment .'/ ' .spl_object_hash ($ this );
60
60
}
You can’t perform that action at this time.
0 commit comments