Skip to content

Commit 1946738

Browse files
committed
Upgrade to PHPStan 0.12
1 parent 46b2f71 commit 1946738

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@
1313
"require": {
1414
"php": "~7.1",
1515
"php-stubs/wordpress-stubs": "^4.7 || ^5.0",
16-
"phpstan/phpstan": "^0.11.8",
16+
"phpstan/phpstan": "^0.12.0",
1717
"symfony/polyfill-php73": "^1.12.0"
1818
},
1919
"require-dev": {
2020
"composer/composer": "^1.8.6",
2121
"consistence/coding-standard": "^3.8",
22-
"dealerdirect/phpcodesniffer-composer-installer": "^0.4.4",
22+
"dealerdirect/phpcodesniffer-composer-installer": "^0.5",
2323
"jakub-onderka/php-parallel-lint": "^1.0",
24-
"phpstan/phpstan-strict-rules": "^0.11",
24+
"phpstan/phpstan-strict-rules": "^0.12",
2525
"slevomat/coding-standard": "^5.0.4"
2626
},
2727
"extra": {

src/WpThemeMagicPropertiesClassReflectionExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
class WpThemeMagicPropertiesClassReflectionExtension implements PropertiesClassReflectionExtension
1414
{
15-
/** @var array */
15+
/** @var array<int, string> */
1616
private $properties = array(
1717
'name', 'title', 'version', 'parent_theme', 'template_dir', 'stylesheet_dir', 'template', 'stylesheet',
1818
'screenshot', 'description', 'author', 'tags', 'theme_root', 'theme_root_uri',

0 commit comments

Comments
 (0)