Skip to content

Commit

Permalink
Upgrade to PHPStan 0.12
Browse files Browse the repository at this point in the history
  • Loading branch information
szepeviktor committed Dec 5, 2019
1 parent 46b2f71 commit 1946738
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@
"require": {
"php": "~7.1",
"php-stubs/wordpress-stubs": "^4.7 || ^5.0",
"phpstan/phpstan": "^0.11.8",
"phpstan/phpstan": "^0.12.0",
"symfony/polyfill-php73": "^1.12.0"
},
"require-dev": {
"composer/composer": "^1.8.6",
"consistence/coding-standard": "^3.8",
"dealerdirect/phpcodesniffer-composer-installer": "^0.4.4",
"dealerdirect/phpcodesniffer-composer-installer": "^0.5",
"jakub-onderka/php-parallel-lint": "^1.0",
"phpstan/phpstan-strict-rules": "^0.11",
"phpstan/phpstan-strict-rules": "^0.12",
"slevomat/coding-standard": "^5.0.4"
},
"extra": {
Expand Down
2 changes: 1 addition & 1 deletion src/WpThemeMagicPropertiesClassReflectionExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

class WpThemeMagicPropertiesClassReflectionExtension implements PropertiesClassReflectionExtension
{
/** @var array */
/** @var array<int, string> */
private $properties = array(
'name', 'title', 'version', 'parent_theme', 'template_dir', 'stylesheet_dir', 'template', 'stylesheet',
'screenshot', 'description', 'author', 'tags', 'theme_root', 'theme_root_uri',
Expand Down

0 comments on commit 1946738

Please sign in to comment.