mirror of
https://github.com/danog/psalm-plugin-symfony.git
synced 2024-11-30 04:29:10 +01:00
[internal] allow development on php8 (#114)
This commit is contained in:
parent
aef28735fd
commit
2dd4b18a81
9
.github/workflows/integrate.yaml
vendored
9
.github/workflows/integrate.yaml
vendored
@ -17,8 +17,9 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
php-version:
|
php-version:
|
||||||
- 7.4
|
|
||||||
- 7.3
|
- 7.3
|
||||||
|
- 7.4
|
||||||
|
- 8.0
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
- highest
|
- highest
|
||||||
@ -73,7 +74,7 @@ jobs:
|
|||||||
php-version:
|
php-version:
|
||||||
- 7.3
|
- 7.3
|
||||||
- 7.4
|
- 7.4
|
||||||
- nightly
|
- 8.0
|
||||||
|
|
||||||
symfony-version:
|
symfony-version:
|
||||||
- 3
|
- 3
|
||||||
@ -81,8 +82,8 @@ jobs:
|
|||||||
- 5
|
- 5
|
||||||
|
|
||||||
exclude:
|
exclude:
|
||||||
- php-version: 7.1
|
- php-version: 8.0
|
||||||
symfony-version: 5
|
symfony-version: 3
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "Checkout"
|
- name: "Checkout"
|
||||||
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -5,3 +5,4 @@ composer.lock
|
|||||||
.php_cs.cache
|
.php_cs.cache
|
||||||
tests/_run
|
tests/_run
|
||||||
/.idea
|
/.idea
|
||||||
|
/.phpunit.result.cache
|
||||||
|
@ -16,8 +16,8 @@
|
|||||||
"vimeo/psalm": "^4.0"
|
"vimeo/psalm": "^4.0"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"doctrine/orm": "^2.7",
|
"doctrine/orm": "^2.8",
|
||||||
"phpunit/phpunit": "~7.5",
|
"phpunit/phpunit": "~7.5 || ~9.5",
|
||||||
"symfony/cache-contracts": "^1.0 || ^2.0",
|
"symfony/cache-contracts": "^1.0 || ^2.0",
|
||||||
"symfony/console": "*",
|
"symfony/console": "*",
|
||||||
"symfony/messenger": "^4.2 || ^5.0",
|
"symfony/messenger": "^4.2 || ^5.0",
|
||||||
@ -25,7 +25,7 @@
|
|||||||
"symfony/serializer": "^4.0 || ^5.0",
|
"symfony/serializer": "^4.0 || ^5.0",
|
||||||
"symfony/validator": "*",
|
"symfony/validator": "*",
|
||||||
"twig/twig": "^2.10 || ^3.0",
|
"twig/twig": "^2.10 || ^3.0",
|
||||||
"weirdan/codeception-psalm-module": "~0.9"
|
"weirdan/codeception-psalm-module": "^0.13.1"
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-4": {
|
"psr-4": {
|
||||||
|
@ -18,12 +18,12 @@ class ContainerMetaTest extends TestCase
|
|||||||
*/
|
*/
|
||||||
private $containerMeta;
|
private $containerMeta;
|
||||||
|
|
||||||
public function setUp()
|
public function setUp(): void
|
||||||
{
|
{
|
||||||
$this->containerMeta = new ContainerMeta([__DIR__.'/../../acceptance/container.xml']);
|
$this->containerMeta = new ContainerMeta([__DIR__.'/../../acceptance/container.xml']);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function tearDown()
|
public function tearDown(): void
|
||||||
{
|
{
|
||||||
unset($this->containerMeta);
|
unset($this->containerMeta);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user