wp-graphql / wpgraphql-acf

Re-architecture of WPGraphQL for ACF
GNU General Public License v3.0
83 stars 12 forks source link

Chore/update phpcs to match core wpgraphql #146

Closed jasonbahl closed 9 months ago

jasonbahl commented 9 months ago

What does this implement/fix? Explain your changes.

This updates the phpcs.xml.dist file to be in line with core WPGraphQL latest standards, including updating WordPress VIP standards to latest version.

This then updates Docblocks, etc to pass phpcs checks.

Does this close any currently open issues?

closes #119

coveralls commented 9 months ago

Pull Request Test Coverage Report for Build 7f869a91b4b6ffea1456d51f7e68cd4804c62a36-PR-146


Changes Missing Coverage Covered Lines Changed/Added Lines %
src/FieldType/CloneField.php 0 2 0.0%
src/FieldType/FlexibleContent.php 4 6 66.67%
src/ThirdParty/AcfExtended/FieldType/AcfeMenus.php 1 3 33.33%
src/Utils.php 13 15 86.67%
src/WPGraphQLAcf.php 0 4 0.0%
src/FieldType/Relationship.php 12 17 70.59%
src/Registry.php 37 43 86.05%
src/Admin/OptionsPageRegistration.php 0 7 0.0%
src/Admin/PostTypeRegistration.php 0 9 0.0%
src/Admin/TaxonomyRegistration.php 0 9 0.0%
<!-- Total: 147 232 63.36% -->
Files with Coverage Reduction New Missed Lines %
src/Admin/OptionsPageRegistration.php 1 0.0%
src/Admin/PostTypeRegistration.php 1 0.0%
src/Admin/Settings.php 1 0.0%
src/Admin/TaxonomyRegistration.php 1 0.0%
src/Registry.php 1 88.05%
src/ThirdParty/WPGraphQLSmartCache/WPGraphQLSmartCache.php 1 0.0%
src/FieldType/FlexibleContent.php 2 58.33%
<!-- Total: 8 -->
Totals Coverage Status
Change from base Build 3891ea36305807a743eb6a681445f8651fc87544: 0.0%
Covered Lines: 2017
Relevant Lines: 3234

💛 - Coveralls