Skip to content

Commit 98b1d57

Browse files
committed
Update examples
1 parent 032cd54 commit 98b1d57

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

example/class-wp-nav-menu-item.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
33
* Data-only class for nav menu item objects.
4-
* Created to help static analysis.
4+
* Created to aid static analysis.
55
*
66
* @package WordPress
77
* @see wp_setup_nav_menu_item()

example/composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
2-
"name": "my-project/wordpress",
2+
"name": "company/wordpress-project",
33
"description": "WordPress project.",
44
"require": {
55
"php": ">=7.1"
66
},
77
"require-dev": {
8-
"phpstan/phpstan-shim": "^0.11.0",
9-
"szepeviktor/phpstan-wordpress": "^0.2.0"
8+
"phpstan/phpstan-shim": "^0.11.8",
9+
"szepeviktor/phpstan-wordpress": "^0.3.0"
1010
},
1111
"config": {
1212
"optimize-autoloader": true

0 commit comments

Comments
 (0)