Skip to content

Commit 506fc9b

Browse files
committed
Fix things in README
1 parent 4cef903 commit 506fc9b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
### Usage
99

1010
1. Set up Composer, add `szepeviktor/phpstan-wordpress`, autoload your plugin or theme, see `example/composer.json`
11-
1. Set up PHPStan, see `example/phpstan.neon` - if you don't use Composer autoloading add `autoload_files:` and/or `autoload_directories:`
11+
1. Set up PHPStan, see `example/phpstan.neon.dist` - if you don't use Composer autoloading add `autoload_files:` and/or `autoload_directories:`
1212
1. Get packages `composer update --classmap-authoritative`
1313
1. Start analysis `vendor/bin/phpstan analyze`
1414

@@ -26,7 +26,7 @@
2626
- Add proper PHPDoc blocks to classes, properties, methods, functions
2727
- Handle these only in your main plugin file
2828
- Define constants, e.g. `MYPLUGIN_PATH`
29-
- Call register_activation_hook, register_deactivation_hook, register_uninstall_hook
29+
- Call `register_activation_hook`, `register_deactivation_hook`, `register_uninstall_hook`
3030
- Class autoloading
3131
- Load translations
3232
- Support WP-CLI
@@ -37,4 +37,4 @@
3737
- If you need robust code try avoiding all kinds of type casting (e.g. `if` needs a boolean),
3838
see [Variable handling functions](https://www.php.net/manual/en/ref.var.php)
3939
- If you are not bound by PHP 5.x consider following
40-
[Neutron PHP Standard]( https://github.com/Automattic/phpcs-neutron-standard)
40+
[Neutron PHP Standard](https://github.com/Automattic/phpcs-neutron-standard)

0 commit comments

Comments
 (0)