assemblee-virtuelle/wp-ldp

View on GitHub

Showing 378 of 379 total issues

Equals sign not aligned with surrounding assignments; expected 13 spaces but found 1 space
Open

            $ldp_rdf_type = isset( $term_meta['ldp_rdf_type'] ) ? $term_meta['ldp_rdf_type'] : '';
Severity: Minor
Found in class-container-taxonomy.php by phpcodesniffer

Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
Open

            $menu_id = $locations[ $menu_name ] ;
Severity: Minor
Found in wp-ldp.php by phpcodesniffer

Array double arrow not aligned correctly; expected 9 space(s) between "'place'" and double arrow, but found 1.
Open

                        'place' => array(
Severity: Minor
Found in class-settings.php by phpcodesniffer

Array double arrow not aligned correctly; expected 6 space(s) between "'hierarchical'" and double arrow, but found 15.
Open

                'hierarchical'               => true,
Severity: Minor
Found in class-site-taxonomy.php by phpcodesniffer

Array double arrow not aligned correctly; expected 1 space(s) between "'show_admin_column'" and double arrow, but found 10.
Open

                'show_admin_column'          => true,
Severity: Minor
Found in class-container-taxonomy.php by phpcodesniffer

Array double arrow not aligned correctly; expected 3 space(s) between "'label'" and double arrow, but found 1.
Open

                            'label' => __( 'Artwork', 'wpldp' ),
Severity: Minor
Found in class-settings.php by phpcodesniffer

Array double arrow not aligned correctly; expected 8 space(s) between "'person'" and double arrow, but found 1.
Open

                        'person' => array(
Severity: Minor
Found in class-settings.php by phpcodesniffer

Array double arrow not aligned correctly; expected 9 space(s) between "'slug'" and double arrow, but found 23.
Open

                'slug'                       => 'site',
Severity: Minor
Found in class-site-taxonomy.php by phpcodesniffer

Array double arrow not aligned correctly; expected 12 space(s) between "'labels'" and double arrow, but found 21.
Open

                'labels'                     => $labels,
Severity: Minor
Found in class-site-taxonomy.php by phpcodesniffer

Concat operator must be surrounded by a single space
Open

            echo "<p class='description'>" . __( 'WordPress site that you know and that the WP-LDP plugin is installed', 'wpldp' ). '</p>';
Severity: Minor
Found in class-site-taxonomy.php by phpcodesniffer

Array double arrow not aligned correctly; expected 31 space(s) between "'@id'" and double arrow, but found 6.
Open

                    '@id'      => get_site_url() . '/api/ldp/v1/sites/',
Severity: Minor
Found in class-site-taxonomy.php by phpcodesniffer

Each array item in a multi-line array declaration must end in a comma
Open

                    )
Severity: Minor
Found in class-site-taxonomy.php by phpcodesniffer

Processing form data without nonce verification.
Open

                if ( ( isset( $_GET['settings-updated'] ) && 'true' === $_GET['settings-updated'] ) ) {
Severity: Minor
Found in class-settings.php by phpcodesniffer

Array double arrow not aligned correctly; expected 1 space(s) between "'hierarchical'" and double arrow, but found 15.
Open

                'hierarchical'               => false,
Severity: Minor
Found in class-site-taxonomy.php by phpcodesniffer

Array double arrow not aligned correctly; expected 9 space(s) between "'slug'" and double arrow, but found 23.
Open

                'slug'                       => rtrim( \WpLdp\Api::LDP_API_URL, '/' ),
Severity: Minor
Found in class-container-taxonomy.php by phpcodesniffer

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '__'.
Open

            echo "<label for='ldp_model'>" . __( 'Model', 'wpldp' ) . '</label>';
Severity: Minor
Found in class-container-taxonomy.php by phpcodesniffer

Processing form data without nonce verification.
Open

            if ( isset( $_GET['settings-updated'] ) || $force ) {
Severity: Minor
Found in class-settings.php by phpcodesniffer

Array double arrow not aligned correctly; expected 8 space(s) between "'slug'" and double arrow, but found 1.
Open

                                    'slug' => $term,
Severity: Minor
Found in class-settings.php by phpcodesniffer

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '__'.
Open

            echo '<h2>' . __( 'WP-LDP Settings', 'wpldp' ) . '</h2>';
Severity: Minor
Found in class-settings.php by phpcodesniffer

Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
Open

            $term_id = $term->term_id;
Severity: Minor
Found in class-site-taxonomy.php by phpcodesniffer
Severity
Category
Status
Source
Language