From 8bd4242667f9551c9c0441de430b033f66880f35 Mon Sep 17 00:00:00 2001 From: Daniele Scasciafratte Date: Wed, 28 Feb 2024 10:20:04 +0100 Subject: [PATCH] feat(composer): update --- README.md | 5 ----- plugin-name/composer.json | 4 ++-- plugin-name/phpstan.neon | 6 ++++++ 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 8e442fb..28352fe 100644 --- a/README.md +++ b/README.md @@ -115,11 +115,6 @@ Suite to package and deploy the free version of the plugin by Freemius on WordPr Do you want to see which plugins have been made with this boilerplate? Check out [this Wiki page](https://github.com/WPBP/WordPress-Plugin-Boilerplate-Powered/wiki/Plugins-made-with-this-Boilerplate)! -## Contributors - -This project exists thanks to all the people who contribute. - - ## License WordPress Plugin Boilerplate Powered is licensed under the GPL v3 or later; diff --git a/plugin-name/composer.json b/plugin-name/composer.json index 8b17928..70e686f 100644 --- a/plugin-name/composer.json +++ b/plugin-name/composer.json @@ -61,7 +61,7 @@ { "type": "package", "package": { - "name": "mte90\/wp-super-duper", + "name": "mte90/wp-super-duper", "version": "dev-fork", "autoload": { "files": [ @@ -70,7 +70,7 @@ }, "source": { "type": "git", - "url": "https:\/\/github.com\/mte90\/wp-super-duper.git", + "url": "https://github.com/mte90/wp-super-duper.git", "reference": "fork" } } diff --git a/plugin-name/phpstan.neon b/plugin-name/phpstan.neon index a08740a..5274fcf 100644 --- a/plugin-name/phpstan.neon +++ b/plugin-name/phpstan.neon @@ -32,6 +32,12 @@ parameters: - vendor/freemius/wordpress-sdk/includes/class-freemius.php # {{/if}} - vendor/inpsyde/wp-context/src/WpContext.php + // WPBPGen{{#if wpcli}} + - vendor/php-stubs/wordpress-stubs/wordpress-stubs.php + - vendor/php-stubs/wp-cli-stubs/wp-cli-stubs.php + - vendor/php-stubs/wp-cli-stubs/wp-cli-commands-stubs.php + - vendor/php-stubs/wp-cli-stubs/wp-cli-i18n-stubs.php + # {{/if}} ignoreErrors: - '/^Parameter #1 \$var of function strval expects bool\|float\|int\|resource\|string\|null, mixed given.$/' # Not used in the boilerplate.