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