OXIESEC PANEL
- Current Dir:
/
/
opt
/
.wp-cli
/
packages
/
vendor
/
wp-cli
/
language-command
Server IP: 2a02:4780:11:1084:0:327f:3464:10
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
03/20/2024 11:17:28 AM
rwxr-xr-x
📄
.actrc
129 bytes
03/20/2024 11:17:26 AM
rw-r--r--
📄
.distignore
157 bytes
03/20/2024 11:17:26 AM
rw-r--r--
📄
.editorconfig
591 bytes
03/20/2024 11:17:26 AM
rw-r--r--
📁
.git
-
09/06/2025 12:29:47 PM
rwxr-xr-x
📁
.github
-
03/20/2024 11:17:26 AM
rwxr-xr-x
📄
.gitignore
117 bytes
03/20/2024 11:17:26 AM
rw-r--r--
📄
CONTRIBUTING.md
538 bytes
03/20/2024 11:17:26 AM
rw-r--r--
📄
LICENSE
1.13 KB
03/20/2024 11:17:26 AM
rw-r--r--
📄
README.md
21.46 KB
02/24/2025 12:05:13 PM
rw-r--r--
📄
behat.yml
126 bytes
03/20/2024 11:17:26 AM
rw-r--r--
📄
composer.json
2.62 KB
09/06/2025 12:29:47 PM
rw-r--r--
📁
features
-
09/06/2025 12:29:47 PM
rwxr-xr-x
📄
language-command.php
1.04 KB
03/20/2024 11:17:26 AM
rw-r--r--
📄
phpcs.xml.dist
3.46 KB
09/06/2025 12:29:47 PM
rw-r--r--
📄
phpstan.neon.dist
627 bytes
09/06/2025 12:29:47 PM
rw-r--r--
📁
src
-
09/06/2025 12:29:47 PM
rwxr-xr-x
📄
wp-cli.yml
34 bytes
03/20/2024 11:17:26 AM
rw-r--r--
Editing: phpcs.xml.dist
Close
<?xml version="1.0"?> <ruleset name="WP-CLI-language"> <description>Custom ruleset for WP-CLI language-command</description> <!-- ############################################################################# COMMAND LINE ARGUMENTS For help understanding this file: https://github.com/squizlabs/PHP_CodeSniffer/wiki/Annotated-ruleset.xml For help using PHPCS: https://github.com/squizlabs/PHP_CodeSniffer/wiki/Usage ############################################################################# --> <!-- What to scan. --> <file>.</file> <!-- Show progress. --> <arg value="p"/> <!-- Strip the filepaths down to the relevant bit. --> <arg name="basepath" value="./"/> <!-- Check up to 8 files simultaneously. --> <arg name="parallel" value="8"/> <!-- ############################################################################# USE THE WP_CLI_CS RULESET ############################################################################# --> <rule ref="WP_CLI_CS"/> <!-- ############################################################################# PROJECT SPECIFIC CONFIGURATION FOR SNIFFS ############################################################################# --> <!-- For help understanding the `testVersion` configuration setting: https://github.com/PHPCompatibility/PHPCompatibility#sniffing-your-code-for-compatibility-with-specific-php-versions --> <config name="testVersion" value="7.2-"/> <!-- Verify that everything in the global namespace is either namespaced or prefixed. See: https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/wiki/Customizable-sniff-properties#naming-conventions-prefix-everything-in-the-global-namespace --> <rule ref="WordPress.NamingConventions.PrefixAllGlobals"> <properties> <property name="prefixes" type="array"> <element value="WP_CLI\Language"/><!-- Namespaces. --> <element value="wpcli_language"/><!-- Global variables and such. --> </property> </properties> </rule> <!-- ############################################################################# SELECTIVE EXCLUSIONS ############################################################################# --> <!-- The objects containing these properties come from the wordpress.org API, so cannot be renamed. Used in file: CommandWithTranslation.php. See: https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/wiki/Customizable-sniff-properties#mixed-case-property-name-exceptions Related: https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/1623 --> <rule ref="WordPress.NamingConventions.ValidVariableName"> <properties> <property name="allowed_custom_properties" type="array"> <element value="Language"/> <element value="Name"/> <element value="Type"/> <element value="Version"/> </property> </properties> </rule> <!-- Exclude existing namespaces from the prefix rule as it would break BC to prefix them now. --> <rule ref="WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedNamespaceFound"> <exclude-pattern>*/src/WP_CLI/(CommandWithTranslation|LanguagePackUpgrader)\.php$</exclude-pattern> </rule> <!-- Exclude existing classes from the prefix rule as it would break BC to prefix them now. --> <rule ref="WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedClassFound"> <exclude-pattern>*/src/(Core|Plugin|Site_Switch|Theme)_Language_Command\.php$</exclude-pattern> <exclude-pattern>*/src/Language_Namespace\.php$</exclude-pattern> </rule> </ruleset>