Make components and block optional #1222
ci.yml
on: pull_request
Matrix: lint
Matrix: phpcs
Matrix: PHPStan check
Annotations
12 errors and 6 warnings
PHPStan check (8.2, true):
blocks/init/src/Blocks/components/admin-header-footer-picker/admin-header-footer-picker.php#L12
Call to an undefined static method EightshiftBoilerplateVendor\EightshiftLibs\Helpers\Components::getManifestByDir().
|
PHPStan check (8.2, true):
blocks/init/src/Blocks/components/button/button.php#L11
Call to an undefined static method EightshiftBoilerplateVendor\EightshiftLibs\Helpers\Components::getManifestByDir().
|
PHPStan check (8.2, true):
blocks/init/src/Blocks/components/card/card.php#L11
Call to an undefined static method EightshiftBoilerplateVendor\EightshiftLibs\Helpers\Components::getManifestByDir().
|
PHPStan check (8.2, true):
blocks/init/src/Blocks/components/copyright/copyright.php#L11
Call to an undefined static method EightshiftBoilerplateVendor\EightshiftLibs\Helpers\Components::getManifestByDir().
|
PHPStan check (8.2, true):
blocks/init/src/Blocks/components/drawer/drawer.php#L11
Call to an undefined static method EightshiftBoilerplateVendor\EightshiftLibs\Helpers\Components::getManifestByDir().
|
PHPStan check (8.2, true):
blocks/init/src/Blocks/components/hamburger/hamburger.php#L11
Call to an undefined static method EightshiftBoilerplateVendor\EightshiftLibs\Helpers\Components::getManifestByDir().
|
PHPStan check (8.2, true):
blocks/init/src/Blocks/components/head/head.php#L11
Call to an undefined static method EightshiftBoilerplateVendor\EightshiftLibs\Helpers\Components::getManifestByDir().
|
PHPStan check (8.2, true):
blocks/init/src/Blocks/components/heading/heading.php#L11
Call to an undefined static method EightshiftBoilerplateVendor\EightshiftLibs\Helpers\Components::getManifestByDir().
|
PHPStan check (8.2, true):
blocks/init/src/Blocks/components/icon/icon.php#L11
Call to an undefined static method EightshiftBoilerplateVendor\EightshiftLibs\Helpers\Components::getManifestByDir().
|
PHPStan check (8.2, true):
blocks/init/src/Blocks/components/image/image.php#L12
Call to an undefined static method EightshiftBoilerplateVendor\EightshiftLibs\Helpers\Components::getManifestByDir().
|
PHPCS check on PHP 8.2
There are no commands defined in the "standards" namespace.
|
PHPCS check on PHP 8.2
Process completed with exit code 1.
|
PHPStan check (8.2, true)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
PHPCS check on PHP 8.2
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
File linting on Node v20
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
File linting on Node v20:
setup/create-wp-project/src/basics/misc.js#L8
Expected to return a value at the end of arrow function
|
File linting on Node v18
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
File linting on Node v18:
setup/create-wp-project/src/basics/misc.js#L8
Expected to return a value at the end of arrow function
|