src/i18n/Languages.php
Showing 10 of 10 total issues
A file should declare new symbols (classes, functions, constants, etc.) and cause no other side effects, or it should execute logic with side effects, but should not do both. The first symbol is defined on line 4 and the first side effect is on line 17. Open
Open
<?php
- Exclude checks
Opening brace of a class must be on the line after the definition Open
Open
class VindiLanguages {
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 6 Open
Open
load_plugin_textdomain( 'vindi-payment-gateway', false, plugin_dir_path( __FILE__ ) . '/languages/' );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
load_plugin_textdomain( 'vindi-payment-gateway', false, plugin_dir_path( __FILE__ ) . '/languages/' );
- Exclude checks
Opening brace should be on a new line Open
Open
public function load_plugin_textdomain() {
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
load_plugin_textdomain( 'vindi-payment-gateway', false, plugin_dir_path( __FILE__ ) . '/languages/' );
- Exclude checks
Line indented incorrectly; expected 0 spaces, found 2 Open
Open
class VindiLanguages {
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
load_plugin_textdomain( 'vindi-payment-gateway', false, plugin_dir_path( __FILE__ ) . '/languages/' );
- Exclude checks
Line indented incorrectly; expected 0 spaces, found 2 Open
Open
}
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
load_plugin_textdomain( 'vindi-payment-gateway', false, plugin_dir_path( __FILE__ ) . '/languages/' );
- Exclude checks