Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Colors Section #237

Open
wants to merge 135 commits into
base: release/3.0.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
135 commits
Select commit Hold shift + click to select a range
8ba25ba
Add hashCode function to be used for safer id attributes for dynamic …
razwan Jan 7, 2021
7e71887
Revert cssUpdate jquery plugin to modified 1.0.0 version to fix live …
razwan Jan 7, 2021
689880f
Merge branch 'master' into try/advanced-palettes
razwan Jan 7, 2021
51801a6
progress
razwan Jan 8, 2021
d36ca36
Add color_swtich and color_select master control and sliders for conn…
razwan Jan 11, 2021
f4a8e8b
Add webpack, start splitting color-palettes.js into modules
razwan Jan 11, 2021
194e0ee
Add chroma to cleanup filter color code
razwan Jan 12, 2021
69c1ed7
Add palette as parameter to filter and filterColor function instead o…
razwan Jan 12, 2021
998eed3
Major refactoring and cleanup
razwan Jan 12, 2021
d27ae7e
Even more refactoring, cleanup, and use wp.customize.bind instead of …
razwan Jan 13, 2021
ff3ea40
Remove console.log and redundand callbacks
razwan Jan 13, 2021
83c5e42
Revert Style Manager's Colors section display
razwan Jan 13, 2021
9d4bb22
Add advanced palette builder
razwan Jan 13, 2021
a3d66d0
Add sm-colors w/ CSS varialbles, add dark/darker callbacks for color_…
razwan Jan 15, 2021
36a23c2
Add sm colors css to block editor also
razwan Jan 15, 2021
cb6d1c3
Remove console.log
razwan Jan 15, 2021
aa8195f
Tweaks for advanced color palettes
razwan Jan 18, 2021
117ae82
Add callback for new system when active Color Palette is changed
razwan Jan 18, 2021
c9381dc
More refactoring and cleanup
razwan Jan 19, 2021
9f6f6d6
Fix fallback palettes and connected fields for new and also previews …
razwan Jan 20, 2021
829c0de
Add styles for --shifted color palettes
razwan Jan 21, 2021
bb6ca89
Minor tweaks for development
razwan Jan 22, 2021
25b95ef
Rollback some changes for things to work properly
razwan Jan 22, 2021
b98d8f2
Output palette colors values only once and use variables for variations
razwan Jan 22, 2021
8f29932
Fix text color for some palette variations
razwan Jan 22, 2021
f434d6d
Some tweaks to the build palette process
razwan Jan 22, 2021
873aefa
fix text colors for fallback palettes
razwan Feb 1, 2021
67043c1
Add variation range control
razwan Feb 2, 2021
204c284
Make changes for better integration of color variations
razwan Feb 2, 2021
8af3524
Working variation slider
razwan Feb 3, 2021
c2c1e19
Working color variations
razwan Feb 3, 2021
950c556
Working dark mode
razwan Feb 3, 2021
1888352
Moved is dark mode from rosa2 and used it in palette preview also
razwan Feb 3, 2021
8c1f63b
Initial commit. Rely even more on CSS custom properties
razwan Feb 4, 2021
be4c65b
Add functional colors controls
razwan Feb 4, 2021
9108278
Fix fallback on older palettes version
razwan Feb 5, 2021
01b2381
Add color interpolation controls
razwan Feb 5, 2021
2622837
Improve implementation of color interpolation
razwan Feb 5, 2021
6d2a93a
initial cleanup of customizer.js
razwan Feb 8, 2021
27f4f95
progress
razwan Feb 8, 2021
c210a9e
Rename color palette variable names and use 1 based indexes
razwan Feb 8, 2021
a1bc123
Fix colors with 1 index base
razwan Feb 8, 2021
ef68dda
Merge branch 'add/advanced-color-palettes' into try/style-manager-cle…
razwan Feb 9, 2021
12bb63b
Massive cleanup progress
razwan Feb 9, 2021
b492a86
Fix display of select2
razwan Feb 9, 2021
1e06b8f
More SCSS cleanup, build tasks and co
razwan Feb 10, 2021
01b8753
Working new version of customizer-preview.js
razwan Feb 11, 2021
643ee27
Simplify dynamic CSS output for live settings
razwan Feb 11, 2021
58b049f
Progress
razwan Feb 12, 2021
66ae8ae
Progress... working palettes
razwan Feb 12, 2021
175495d
Slightly improve font palette change speed
razwan Feb 15, 2021
8c48448
Improve performance of the dynamic css generation and customizer sett…
razwan Feb 15, 2021
554d687
Add search back
razwan Feb 15, 2021
f8c56ab
Tweaks for better handling color palettes
razwan Feb 22, 2021
9dd963b
Fix Font Palettes after refactoring
razwan Feb 24, 2021
1be24b9
Remove console logs
razwan Feb 24, 2021
e48ac5a
Fix coloration level radio and slider
razwan Feb 24, 2021
c6f4a5b
Fix after changing palette colors 1 based index
razwan Feb 24, 2021
1d6506e
Remove php output for color palette variation control since it was ov…
razwan Feb 24, 2021
b0e0125
Add back styles for palettes preview
razwan Feb 25, 2021
24139ec
Better preview, better color picker ;)
razwan Feb 26, 2021
a585bc0
Changed logic so that each palette has an array of colors as source +…
razwan Mar 1, 2021
f297d29
Make proper use of React keys
razwan Mar 2, 2021
494d5c1
Improve ux for color selecting and editing
razwan Mar 2, 2021
7608d0e
Major components cleanup for color palette builder + UX improvements
razwan Mar 2, 2021
2f85a0c
Some sanitization for old versions of configs
razwan Mar 2, 2021
a0186b9
Fix infinite loop when an empty config was found
razwan Mar 2, 2021
0aadc2b
Show dark to color sliders
razwan Mar 2, 2021
8a27bc9
Fix multiple color pickers showing when adding a new color, + add des…
razwan Mar 2, 2021
ede3e79
Improve micro interactions and transitions in palette builder
razwan Mar 3, 2021
ed09fb0
Multiple improvements done to styling customizer, color palettes prev…
razwan Mar 4, 2021
dfd3dbb
Remove console log
razwan Mar 4, 2021
430faf3
Fix php variables generation, improve contrast for variation-6
razwan Mar 5, 2021
367d8c1
Fix saturation of generated foreground colors
razwan Mar 5, 2021
532ca03
Updated node packages, fixed Gulp tasks, improved Webpack behavior re…
vladolaru Mar 23, 2021
be3423e
Fix build:traslate gulp task
vladolaru Mar 23, 2021
70101fc
Working on workflow for Composer, prefixing vendors, build, etc
vladolaru Mar 23, 2021
31cb32d
Finished with the build process for now + dynamic text-domain
vladolaru Mar 24, 2021
d605912
Avoid division by zero
vladolaru Mar 24, 2021
32ecdd2
Update Google fonts + gulp task; fix customizer search
vladolaru Mar 24, 2021
303dd48
A little readme explanations
vladolaru Mar 24, 2021
0d2e60e
recompile
vladolaru Mar 24, 2021
e2a80c8
Introduce Rector for transpiling PHP 7.4 code to PHP 5.6, for distrib…
vladolaru Mar 26, 2021
809380d
Minor
vladolaru Mar 26, 2021
969b813
Instructions about the zip build
vladolaru Mar 26, 2021
7d1b0e1
WIP - Heavy-handed refactoring underway
vladolaru Mar 29, 2021
919bd10
WIP - Working on moving the plugin settings to use Carbon Fields
vladolaru Mar 29, 2021
005ffcd
Finished moving the plugin settings to new system + WIP - Refactor th…
vladolaru Mar 30, 2021
1bb2ae1
WIP - Moved controls, large parts of the functionality - plowing on
vladolaru Mar 31, 2021
d43607f
WIP - more refactoring - getting there
vladolaru Mar 31, 2021
521fc90
WIP - A big leap forward; still some way to go, but getting close.
vladolaru Apr 1, 2021
d472a3c
Finished with the heavy-lifting for refactoring - WIP testing and fin…
vladolaru Apr 2, 2021
720e6ca
More deprecating messages and logic + node version handling
vladolaru Apr 6, 2021
81d2f2b
More backward-compatibility fixed
vladolaru Apr 6, 2021
d37187c
More refactoring, fixing, and adjustments to PHP and JS logic
vladolaru Apr 7, 2021
183f514
Improve customizer.js bundle size & replace react-color w/ react-colo…
razwan Apr 8, 2021
4ae2ed9
progress
razwan Apr 9, 2021
f244ed8
Add mockup for color palettes and extract from image
razwan Apr 9, 2021
8b05f43
Mockup explore colors and extract from image functionality
razwan Apr 13, 2021
746b576
Small tweaks to fix react warnings and fix customizer overflow
razwan Apr 13, 2021
73a7d85
fix PaletteListItem warning
razwan Apr 13, 2021
ee5e2a5
create color usage section and create quick navigation to / from colo…
razwan Apr 14, 2021
da2e550
Add preview to palette image source and improve transition of preset …
razwan Apr 14, 2021
f435936
Add new toggle control with more compact style, adapt connected field…
razwan Apr 15, 2021
9f6ba32
Fix overrirding customizer back for multiple quick navigations in row
razwan Apr 16, 2021
e0c7d0a
Add styling for quick navigation buttons
razwan Apr 16, 2021
f409072
Add style for sm-description's for colorize elements descriptions
razwan Apr 16, 2021
d6e3e4d
Implement hover-based color system preview overlay
razwan Apr 19, 2021
c8b8daf
Replace blinds component with a classic accordion
razwan Apr 19, 2021
237721b
Improve color system preview display and interactions
razwan Apr 20, 2021
280c4f0
Small tweaks to color presets and color system previews
razwan Apr 20, 2021
d89980b
Rework customizer preview iframe to consider preview tabs
razwan Apr 21, 2021
84b7325
Improve ux for scaling preview, changing previewed device viewport an…
razwan Apr 21, 2021
d877a3c
split customizer.js utils into multiple files, exclude chroms.js from…
razwan Apr 22, 2021
bf00608
Create GeneralAssets Provider to register and enqeueue styles w/ colo…
razwan Apr 22, 2021
315a256
Improve styling for control groups
razwan Apr 23, 2021
b1d6647
Add better presets
razwan Apr 23, 2021
f96f8e7
Fix rector-prefixed version
vladolaru Apr 26, 2021
9842531
Fix pre node install task
vladolaru Apr 26, 2021
0caa4ce
Output color variables and classes in admin to work in the editor
razwan Apr 26, 2021
a594184
Merge branch 'add/sm-colors-sections' of https://github.com/pixelgrad…
razwan Apr 26, 2021
3f2bc01
Modify the .nvmrc logic
vladolaru Apr 26, 2021
b9e11fc
Merge branch 'add/sm-colors-sections' of https://github.com/pixelgrad…
vladolaru Apr 26, 2021
3118279
Fix site color variation callbacks
razwan Apr 27, 2021
6368343
Expose palette config output in frontend to be used by themes
razwan Apr 27, 2021
d9ed22a
Fix funcitonal color palettes
razwan May 6, 2021
2d18900
More beautiful functional colors
razwan May 6, 2021
7c21bc2
Remove functional colors from preset palettes previews
razwan May 7, 2021
749c701
Add hex value and improve styling to palette builder color picker
razwan May 12, 2021
08b95c8
Dummy but better defaults for the palettes source and palette output …
razwan May 12, 2021
d1bb77d
Tweak fallback palettes to better resemble previous variations
razwan May 12, 2021
9ba2cad
Separating sourceSetting and outputSetting callbacks
razwan May 13, 2021
91213a8
Add advanced color palettes to novablocks settings
razwan May 17, 2021
08a630b
Add global with customizer config, improve color system preview to ta…
razwan May 20, 2021
f1c35ac
Output dynamic style in admin and remove some excluded selectors regexes
razwan May 21, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 0 additions & 5 deletions +development.rb

This file was deleted.

6 changes: 0 additions & 6 deletions +production.rb

This file was deleted.

216 changes: 216 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,222 @@ insert_final_newline=true
indent_style=tab
indent_size=4

[{*.ctp,*.hphp,*.inc,*.module,*.php,*.php4,*.php5,*.phtml,filter-functions}]
indent_size = 4
tab_width = 4
ij_continuation_indent_size = 4
ij_php_align_assignments = true
ij_php_align_class_constants = false
ij_php_align_group_field_declarations = false
ij_php_align_inline_comments = true
ij_php_align_key_value_pairs = true
ij_php_align_multiline_array_initializer_expression = false
ij_php_align_multiline_binary_operation = true
ij_php_align_multiline_chained_methods = true
ij_php_align_multiline_extends_list = false
ij_php_align_multiline_for = false
ij_php_align_multiline_parameters = false
ij_php_align_multiline_parameters_in_calls = false
ij_php_align_multiline_ternary_operation = false
ij_php_align_phpdoc_comments = true
ij_php_align_phpdoc_param_names = true
ij_php_anonymous_brace_style = end_of_line
ij_php_api_weight = 28
ij_php_array_initializer_new_line_after_left_brace = true
ij_php_array_initializer_right_brace_on_new_line = true
ij_php_array_initializer_wrap = on_every_item
ij_php_assignment_wrap = off
ij_php_attributes_wrap = off
ij_php_author_weight = 28
ij_php_binary_operation_sign_on_next_line = false
ij_php_binary_operation_wrap = off
ij_php_blank_lines_after_class_header = 0
ij_php_blank_lines_after_function = 1
ij_php_blank_lines_after_imports = 1
ij_php_blank_lines_after_opening_tag = 0
ij_php_blank_lines_after_package = 0
ij_php_blank_lines_around_class = 1
ij_php_blank_lines_around_constants = 0
ij_php_blank_lines_around_field = 0
ij_php_blank_lines_around_method = 1
ij_php_blank_lines_before_class_end = 0
ij_php_blank_lines_before_imports = 1
ij_php_blank_lines_before_method_body = 0
ij_php_blank_lines_before_package = 1
ij_php_blank_lines_before_return_statement = 1
ij_php_blank_lines_between_imports = 0
ij_php_block_brace_style = end_of_line
ij_php_call_parameters_new_line_after_left_paren = false
ij_php_call_parameters_right_paren_on_new_line = false
ij_php_call_parameters_wrap = off
ij_php_catch_on_new_line = false
ij_php_category_weight = 28
ij_php_class_brace_style = end_of_line
ij_php_comma_after_last_array_element = true
ij_php_concat_spaces = true
ij_php_copyright_weight = 28
ij_php_deprecated_weight = 4
ij_php_do_while_brace_force = always
ij_php_else_if_style = as_is
ij_php_else_on_new_line = false
ij_php_example_weight = 28
ij_php_extends_keyword_wrap = off
ij_php_extends_list_wrap = off
ij_php_fields_default_visibility = private
ij_php_filesource_weight = 28
ij_php_finally_on_new_line = false
ij_php_for_brace_force = always
ij_php_for_statement_new_line_after_left_paren = true
ij_php_for_statement_right_paren_on_new_line = true
ij_php_for_statement_wrap = off
ij_php_force_short_declaration_array_style = false
ij_php_getters_setters_naming_style = camel_case
ij_php_getters_setters_order_style = getters_first
ij_php_global_weight = 28
ij_php_group_use_wrap = on_every_item
ij_php_if_brace_force = always
ij_php_if_lparen_on_next_line = false
ij_php_if_rparen_on_next_line = false
ij_php_ignore_weight = 28
ij_php_import_sorting = alphabetic
ij_php_indent_break_from_case = true
ij_php_indent_case_from_switch = true
ij_php_indent_code_in_php_tags = false
ij_php_internal_weight = 28
ij_php_keep_blank_lines_after_lbrace = 2
ij_php_keep_blank_lines_before_right_brace = 2
ij_php_keep_blank_lines_in_code = 2
ij_php_keep_blank_lines_in_declarations = 2
ij_php_keep_control_statement_in_one_line = false
ij_php_keep_first_column_comment = false
ij_php_keep_indents_on_empty_lines = false
ij_php_keep_line_breaks = true
ij_php_keep_rparen_and_lbrace_on_one_line = true
ij_php_keep_simple_classes_in_one_line = false
ij_php_keep_simple_methods_in_one_line = false
ij_php_lambda_brace_style = end_of_line
ij_php_license_weight = 28
ij_php_line_comment_add_space = false
ij_php_line_comment_at_first_column = true
ij_php_link_weight = 2
ij_php_lower_case_boolean_const = true
ij_php_lower_case_keywords = true
ij_php_lower_case_null_const = true
ij_php_method_brace_style = end_of_line
ij_php_method_call_chain_wrap = off
ij_php_method_parameters_new_line_after_left_paren = true
ij_php_method_parameters_right_paren_on_new_line = true
ij_php_method_parameters_wrap = off
ij_php_method_weight = 28
ij_php_modifier_list_wrap = false
ij_php_multiline_chained_calls_semicolon_on_new_line = false
ij_php_namespace_brace_style = 1
ij_php_new_line_after_php_opening_tag = false
ij_php_null_type_position = in_the_end
ij_php_package_weight = 28
ij_php_param_weight = 5
ij_php_parameters_attributes_wrap = off
ij_php_parentheses_expression_new_line_after_left_paren = true
ij_php_parentheses_expression_right_paren_on_new_line = true
ij_php_phpdoc_blank_line_before_tags = false
ij_php_phpdoc_blank_lines_around_parameters = true
ij_php_phpdoc_keep_blank_lines = true
ij_php_phpdoc_param_spaces_between_name_and_description = 1
ij_php_phpdoc_param_spaces_between_tag_and_type = 1
ij_php_phpdoc_param_spaces_between_type_and_name = 1
ij_php_phpdoc_use_fqcn = false
ij_php_phpdoc_wrap_long_lines = false
ij_php_place_assignment_sign_on_next_line = false
ij_php_place_parens_for_constructor = 0
ij_php_property_read_weight = 28
ij_php_property_weight = 28
ij_php_property_write_weight = 28
ij_php_return_type_on_new_line = false
ij_php_return_weight = 7
ij_php_see_weight = 1
ij_php_since_weight = 0
ij_php_sort_phpdoc_elements = true
ij_php_space_after_colon = true
ij_php_space_after_colon_in_named_argument = true
ij_php_space_after_colon_in_return_type = true
ij_php_space_after_comma = true
ij_php_space_after_for_semicolon = true
ij_php_space_after_quest = true
ij_php_space_after_type_cast = true
ij_php_space_after_unary_not = true
ij_php_space_before_array_initializer_left_brace = false
ij_php_space_before_catch_keyword = true
ij_php_space_before_catch_left_brace = true
ij_php_space_before_catch_parentheses = true
ij_php_space_before_class_left_brace = true
ij_php_space_before_closure_left_parenthesis = true
ij_php_space_before_colon = true
ij_php_space_before_colon_in_named_argument = false
ij_php_space_before_colon_in_return_type = false
ij_php_space_before_comma = false
ij_php_space_before_do_left_brace = true
ij_php_space_before_else_keyword = true
ij_php_space_before_else_left_brace = true
ij_php_space_before_finally_keyword = true
ij_php_space_before_finally_left_brace = true
ij_php_space_before_for_left_brace = true
ij_php_space_before_for_parentheses = true
ij_php_space_before_for_semicolon = false
ij_php_space_before_if_left_brace = true
ij_php_space_before_if_parentheses = true
ij_php_space_before_method_call_parentheses = false
ij_php_space_before_method_left_brace = true
ij_php_space_before_method_parentheses = false
ij_php_space_before_quest = true
ij_php_space_before_short_closure_left_parenthesis = false
ij_php_space_before_switch_left_brace = true
ij_php_space_before_switch_parentheses = true
ij_php_space_before_try_left_brace = true
ij_php_space_before_unary_not = true
ij_php_space_before_while_keyword = true
ij_php_space_before_while_left_brace = true
ij_php_space_before_while_parentheses = true
ij_php_space_between_ternary_quest_and_colon = false
ij_php_spaces_around_additive_operators = true
ij_php_spaces_around_arrow = false
ij_php_spaces_around_assignment_in_declare = false
ij_php_spaces_around_assignment_operators = true
ij_php_spaces_around_bitwise_operators = true
ij_php_spaces_around_equality_operators = true
ij_php_spaces_around_logical_operators = true
ij_php_spaces_around_multiplicative_operators = true
ij_php_spaces_around_null_coalesce_operator = true
ij_php_spaces_around_relational_operators = true
ij_php_spaces_around_shift_operators = true
ij_php_spaces_around_unary_operator = true
ij_php_spaces_around_var_within_brackets = true
ij_php_spaces_within_array_initializer_braces = true
ij_php_spaces_within_brackets = false
ij_php_spaces_within_catch_parentheses = true
ij_php_spaces_within_for_parentheses = true
ij_php_spaces_within_if_parentheses = true
ij_php_spaces_within_method_call_parentheses = true
ij_php_spaces_within_method_parentheses = true
ij_php_spaces_within_parentheses = true
ij_php_spaces_within_short_echo_tags = true
ij_php_spaces_within_switch_parentheses = true
ij_php_spaces_within_while_parentheses = true
ij_php_special_else_if_treatment = true
ij_php_subpackage_weight = 28
ij_php_ternary_operation_signs_on_next_line = false
ij_php_ternary_operation_wrap = off
ij_php_throws_weight = 6
ij_php_todo_weight = 3
ij_php_unknown_tag_weight = 28
ij_php_upper_case_boolean_const = false
ij_php_upper_case_null_const = false
ij_php_uses_weight = 28
ij_php_var_weight = 28
ij_php_variable_naming_style = snake_case
ij_php_version_weight = 28
ij_php_while_brace_force = always
ij_php_while_on_new_line = false

[{*.ng,*.sht,*.html,*.shtm,*.shtml,*.htm}]
indent_style=tab
tab_width=2
Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ node_modules
build
*-ck.js
npm-debug.log

/vendor/
/php-scoper/vendor/
/dist/js/stats.json
1 change: 1 addition & 0 deletions .node-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
>=14.15.3
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
engine-strict=true
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
14
77 changes: 77 additions & 0 deletions .phpcs.xml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
<?xml version="1.0"?>
<ruleset name="Customify"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/squizlabs/php_codesniffer/phpcs.xsd">

<description>Custom ruleset for the Customify plugin.</description>

<!-- For help in understanding this file: https://github.com/squizlabs/PHP_CodeSniffer/wiki/Annotated-ruleset.xml -->
<!-- For help in using PHPCS: https://github.com/squizlabs/PHP_CodeSniffer/wiki/Usage -->

<!-- What to scan -->
<file>.</file>
<!-- Ignoring Files and Folders:
https://github.com/squizlabs/PHP_CodeSniffer/wiki/Advanced-Usage#ignoring-files-and-folders -->
<exclude-pattern>node_modules/</exclude-pattern>
<exclude-pattern>tests/</exclude-pattern>
<exclude-pattern>vendor/</exclude-pattern>
<exclude-pattern>vendor_prefixed/</exclude-pattern>

<!-- How to scan -->
<arg value="sp"/> <!-- Show sniff and progress -->
<arg name="colors"/> <!-- Show results with colors -->
<arg name="basepath" value="."/> <!-- Strip the file paths down to the relevant bit -->
<arg name="parallel" value="50"/> <!-- Enables parallel processing when available for faster results. -->
<arg name="extensions" value="php"/> <!-- Limit to PHP files -->

<!-- Rules: Check PHP version compatibility - see
https://github.com/PHPCompatibility/PHPCompatibilityWP -->
<rule ref="PHPCompatibilityWP"/>
<!-- For help in understanding this testVersion:
https://github.com/PHPCompatibility/PHPCompatibility#sniffing-your-code-for-compatibility-with-specific-php-versions -->
<config name="testVersion" value="7.0-"/>

<!-- Rules: WordPress Coding Standards - see
https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards -->
<rule ref="WordPress-Extra"/><!-- Includes WordPress-Core -->
<rule ref="WordPress-Docs"/>
<!-- For help in understanding these custom sniff properties:
https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/wiki/Customizable-sniff-properties -->
<config name="minimum_supported_wp_version" value="4.9"/>

<rule ref="WordPress.PHP.NoSilencedErrors">
<properties>
<property name="use_default_whitelist" value="true"/>
</properties>
</rule>

<rule ref="WordPress.Files.FileName">
<properties>
<property name="strict_class_file_names" value="false"/>
</properties>
<exclude name="WordPress.Files.FileName.NotHyphenatedLowercase"/>
</rule>

<rule ref="WordPress.NamingConventions.PrefixAllGlobals">
<properties>
<property name="prefixes" type="array">
<element value="pixelgradelt-records"/>
</property>
</properties>
<exclude-pattern>views/</exclude-pattern>
</rule>

<rule ref="WordPress.WP.I18n">
<properties>
<property name="text_domain" type="array">
<element value="pixelgradelt-records"/>
</property>
</properties>
</rule>

<rule ref="WordPress.WhiteSpace.ControlStructureSpacing">
<properties>
<property name="blank_line_check" value="true"/>
</properties>
</rule>
</ruleset>
Loading