Skip to content

Commit

Permalink
FIX: phpcs
Browse files Browse the repository at this point in the history
  • Loading branch information
girafffee committed Feb 7, 2024
1 parent e273e83 commit 84c1764
Show file tree
Hide file tree
Showing 9 changed files with 3,595 additions and 11 deletions.
6 changes: 3 additions & 3 deletions includes/blocks/types/base.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ abstract class Base extends Base_Module implements Repository_Item_Instance_Trai
*/
protected $controls_manager;
protected $css_scheme;
public $style_attributes = array();
public $style_attributes = array();

/**
* Block attributes on render
Expand All @@ -67,7 +67,7 @@ abstract class Base extends Base_Module implements Repository_Item_Instance_Trai
*
* @var array
*/
public $attrs = array();
public $attrs = array();
protected $provides_context = array();
protected $uses_context = array();

Expand Down Expand Up @@ -774,7 +774,7 @@ public function set_attribute( string $key, $value ) {
$this->block_attrs[ $key ] = $value;

if ( is_array( \WP_Block_Supports::$block_to_render ) &&
! empty( \WP_Block_Supports::$block_to_render['attrs'] )
! empty( \WP_Block_Supports::$block_to_render['attrs'] )
) {
\WP_Block_Supports::$block_to_render['attrs'][ $key ] = $value;
}
Expand Down
8 changes: 4 additions & 4 deletions modules/captcha/module.php
Original file line number Diff line number Diff line change
Expand Up @@ -341,10 +341,10 @@ public function check_is_container_exist( array $blocks ): array {

$current->set_exist_container(
! empty(
Block_Helper::find_by_block_name(
$blocks,
'jet-forms/captcha-container'
)
Block_Helper::find_by_block_name(
$blocks,
'jet-forms/captcha-container'
)
)
);

Expand Down
1 change: 0 additions & 1 deletion modules/option-field/blocks/radio/block-render.php
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@ protected function render_custom_option(): string {
/**
* @return string
* @see \Jet_Form_Builder\Blocks\Render\Calculated_Field_Render::get_fields_label_tag
*
*/
protected function get_fields_label_tag(): string {
return 'div';
Expand Down
803 changes: 803 additions & 0 deletions vendor/composer/autoload_classmap.php

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions vendor/composer/autoload_namespaces.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,10 @@
$baseDir = dirname($vendorDir);

return array(
'cli' => array($vendorDir . '/wp-cli/php-cli-tools/lib'),
'WP_CLI\\' => array($vendorDir . '/wp-cli/wp-cli/php'),
'Oxymel' => array($vendorDir . '/nb/oxymel'),
'Mustache' => array($vendorDir . '/mustache/mustache/src'),
'Hautelook' => array($vendorDir . '/bordoni/phpass/src'),
'Behat\\Gherkin' => array($vendorDir . '/behat/gherkin/src'),
);
69 changes: 69 additions & 0 deletions vendor/composer/autoload_psr4.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,73 @@
$baseDir = dirname($vendorDir);

return array(
'voku\\' => array($vendorDir . '/voku/portable-ascii/src/voku'),
'tad\\' => array($vendorDir . '/lucatume/wp-browser/src/tad'),
'mikehaertl\\shellcommand\\' => array($vendorDir . '/mikehaertl/php-shellcommand/src'),
'lucatume\\WPBrowser\\' => array($vendorDir . '/lucatume/wp-browser/src'),
'eftec\\bladeone\\' => array($vendorDir . '/eftec/bladeone/lib'),
'WP_CLI\\MaintenanceMode\\' => array($vendorDir . '/wp-cli/maintenance-mode-command/src'),
'WP_CLI\\I18n\\' => array($vendorDir . '/wp-cli/i18n-command/src'),
'WP_CLI\\Embeds\\' => array($vendorDir . '/wp-cli/embed-command/src'),
'VRia\\Utils\\' => array($vendorDir . '/vria/nodiacritic/src'),
'Symfony\\Polyfill\\Php80\\' => array($vendorDir . '/symfony/polyfill-php80'),
'Symfony\\Polyfill\\Php73\\' => array($vendorDir . '/symfony/polyfill-php73'),
'Symfony\\Polyfill\\Mbstring\\' => array($vendorDir . '/symfony/polyfill-mbstring'),
'Symfony\\Polyfill\\Intl\\Normalizer\\' => array($vendorDir . '/symfony/polyfill-intl-normalizer'),
'Symfony\\Polyfill\\Intl\\Grapheme\\' => array($vendorDir . '/symfony/polyfill-intl-grapheme'),
'Symfony\\Polyfill\\Ctype\\' => array($vendorDir . '/symfony/polyfill-ctype'),
'Symfony\\Contracts\\Translation\\' => array($vendorDir . '/symfony/translation-contracts'),
'Symfony\\Contracts\\Service\\' => array($vendorDir . '/symfony/service-contracts'),
'Symfony\\Contracts\\EventDispatcher\\' => array($vendorDir . '/symfony/event-dispatcher-contracts'),
'Symfony\\Component\\Yaml\\' => array($vendorDir . '/symfony/yaml'),
'Symfony\\Component\\Translation\\' => array($vendorDir . '/symfony/translation'),
'Symfony\\Component\\String\\' => array($vendorDir . '/symfony/string'),
'Symfony\\Component\\Process\\' => array($vendorDir . '/symfony/process'),
'Symfony\\Component\\Finder\\' => array($vendorDir . '/symfony/finder'),
'Symfony\\Component\\Filesystem\\' => array($vendorDir . '/symfony/filesystem'),
'Symfony\\Component\\EventDispatcher\\' => array($vendorDir . '/symfony/event-dispatcher'),
'Symfony\\Component\\DomCrawler\\' => array($vendorDir . '/symfony/dom-crawler'),
'Symfony\\Component\\CssSelector\\' => array($vendorDir . '/symfony/css-selector'),
'Symfony\\Component\\Console\\' => array($vendorDir . '/symfony/console'),
'Symfony\\Component\\BrowserKit\\' => array($vendorDir . '/symfony/browser-kit'),
'Seld\\PharUtils\\' => array($vendorDir . '/seld/phar-utils/src'),
'Seld\\JsonLint\\' => array($vendorDir . '/seld/jsonlint/src/Seld/JsonLint'),
'React\\Promise\\' => array($vendorDir . '/react/promise/src'),
'Psr\\SimpleCache\\' => array($vendorDir . '/psr/simple-cache/src'),
'Psr\\Log\\' => array($vendorDir . '/psr/log/src'),
'Psr\\Http\\Message\\' => array($vendorDir . '/psr/http-message/src', $vendorDir . '/psr/http-factory/src'),
'Psr\\Http\\Client\\' => array($vendorDir . '/psr/http-client/src'),
'Psr\\EventDispatcher\\' => array($vendorDir . '/psr/event-dispatcher/src'),
'Psr\\Container\\' => array($vendorDir . '/psr/container/src'),
'Psr\\Clock\\' => array($vendorDir . '/psr/clock/src'),
'PhpParser\\' => array($vendorDir . '/nikic/php-parser/lib/PhpParser'),
'Peast\\' => array($vendorDir . '/mck89/peast/lib/Peast'),
'PHPCSStandards\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\' => array($vendorDir . '/dealerdirect/phpcodesniffer-composer-installer/src'),
'Mustangostang\\' => array($vendorDir . '/wp-cli/mustangostang-spyc/src'),
'MikeMcLin\\WpPassword\\' => array($vendorDir . '/mikemclin/laravel-wp-password/src'),
'LightnCandy\\' => array($vendorDir . '/zordius/lightncandy/src'),
'JsonSchema\\' => array($vendorDir . '/justinrainbow/json-schema/src/JsonSchema'),
'Illuminate\\Support\\' => array($vendorDir . '/illuminate/macroable', $vendorDir . '/illuminate/conditionable', $vendorDir . '/illuminate/collections', $vendorDir . '/illuminate/support'),
'Illuminate\\Contracts\\' => array($vendorDir . '/illuminate/contracts'),
'GuzzleHttp\\Psr7\\' => array($vendorDir . '/guzzlehttp/psr7/src'),
'GuzzleHttp\\Promise\\' => array($vendorDir . '/guzzlehttp/promises/src'),
'GuzzleHttp\\' => array($vendorDir . '/guzzlehttp/guzzle/src'),
'Gettext\\Languages\\' => array($vendorDir . '/gettext/languages/src'),
'Gettext\\' => array($vendorDir . '/gettext/gettext/src'),
'Flow\\JSONPath\\' => array($vendorDir . '/softcreatr/jsonpath/src'),
'Facebook\\WebDriver\\' => array($vendorDir . '/php-webdriver/webdriver/lib'),
'Doctrine\\Instantiator\\' => array($vendorDir . '/doctrine/instantiator/src/Doctrine/Instantiator'),
'Doctrine\\Inflector\\' => array($vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector'),
'DeepCopy\\' => array($vendorDir . '/myclabs/deep-copy/src/DeepCopy'),
'Composer\\XdebugHandler\\' => array($vendorDir . '/composer/xdebug-handler/src'),
'Composer\\Spdx\\' => array($vendorDir . '/composer/spdx-licenses/src'),
'Composer\\Semver\\' => array($vendorDir . '/composer/semver/src'),
'Composer\\Pcre\\' => array($vendorDir . '/composer/pcre/src'),
'Composer\\MetadataMinifier\\' => array($vendorDir . '/composer/metadata-minifier/src'),
'Composer\\CaBundle\\' => array($vendorDir . '/composer/ca-bundle/src'),
'Composer\\' => array($vendorDir . '/composer/composer/src/Composer'),
'Codeception\\PHPUnit\\' => array($vendorDir . '/codeception/phpunit-wrapper/src'),
'Codeception\\Extension\\' => array($vendorDir . '/codeception/codeception/ext'),
'Codeception\\' => array($vendorDir . '/codeception/stub/src', $vendorDir . '/codeception/codeception/src/Codeception', $vendorDir . '/lucatume/wp-browser/src/Codeception'),
'Carbon\\' => array($vendorDir . '/nesbot/carbon/src/Carbon'),
);
12 changes: 12 additions & 0 deletions vendor/composer/autoload_real.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,18 @@ public static function getLoader()

$loader->register(true);

$filesToLoad = \Composer\Autoload\ComposerStaticInit9517329c19492556059c15eed80ceb09::$files;
$requireFile = \Closure::bind(static function ($fileIdentifier, $file) {
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;

require $file;
}
}, null, null);
foreach ($filesToLoad as $fileIdentifier => $file) {
$requireFile($fileIdentifier, $file);
}

return $loader;
}
}
Loading

0 comments on commit 84c1764

Please sign in to comment.