Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
dmsnell committed Dec 12, 2023
1 parent d92c4f6 commit 7d95983
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/wp-includes/class-wp-block-parser.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ public function __construct( $post ) {
trait WP_Parsed_Block__ArrayAccess {

Check failure on line 52 in src/wp-includes/class-wp-block-parser.php

View workflow job for this annotation

GitHub Actions / PHP coding standards

Trait name is not valid; consider WP_Parsed_Block_ArrayAccess instead
public $parsed_attrs = null;

#[ReturnTypeWillChange]
public function offsetGet( $offset ) {

Check failure on line 56 in src/wp-includes/class-wp-block-parser.php

View workflow job for this annotation

GitHub Actions / PHP coding standards

Method name "offsetGet" in class WP_Parsed_Block__ArrayAccess is not in snake case format, try "offset_get"
switch ( $offset ) {
case 'blockName':
Expand Down Expand Up @@ -107,6 +108,7 @@ public function offsetGet( $offset ) {
}
}

#[ReturnTypeWillChange]
public function offsetExists( $offset ) {

Check failure on line 112 in src/wp-includes/class-wp-block-parser.php

View workflow job for this annotation

GitHub Actions / PHP coding standards

Method name "offsetExists" in class WP_Parsed_Block__ArrayAccess is not in snake case format, try "offset_exists"
// TODO: Implement offsetExists() method.
return (
Expand All @@ -118,10 +120,12 @@ public function offsetExists( $offset ) {
);
}

#[ReturnTypeWillChange]
public function offsetSet( $offset, $value ) {
// TODO: Implement offsetSet() method.
}

#[ReturnTypeWillChange]
public function offsetUnset( $offset ) {
// TODO: Implement offsetUnset() method.
}
Expand Down

0 comments on commit 7d95983

Please sign in to comment.