Skip to content

Commit

Permalink
Merge branch 'master' into feature/composer-update-for-wpcs-3
Browse files Browse the repository at this point in the history
  • Loading branch information
swissspidy authored Oct 1, 2024
2 parents 6de1c35 + ee9fe18 commit 285896c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"lock": false
}
}
2 changes: 1 addition & 1 deletion phpunit/tests/parser.php
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ public function test_blank_lines_in_content() {
$result = $parser->parse( $file );

// Check the number of new lines characters
$this->assertSame( 3, substr_count( $result['posts'][0]['post_content'], PHP_EOL ), $message );
$this->assertSame( 3, substr_count( $result['posts'][0]['post_content'], "\n" ), $message );
}
}

Expand Down

0 comments on commit 285896c

Please sign in to comment.