Skip to content

Commit

Permalink
Add set_url(), separate block attributes management from URL updating
Browse files Browse the repository at this point in the history
  • Loading branch information
adamziel committed Jun 24, 2024
1 parent 5beed41 commit a212515
Show file tree
Hide file tree
Showing 10 changed files with 1,059 additions and 476 deletions.
2 changes: 1 addition & 1 deletion transfer-protocol/.phpunit.result.cache

Large diffs are not rendered by default.

14 changes: 13 additions & 1 deletion transfer-protocol/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,17 @@

require_once __DIR__ . '/src/WP_Block_Markup_Processor.php';
require_once __DIR__ . '/src/WP_Block_Markup_Url_Processor.php';
require_once __DIR__ . '/src/WP_URL_In_Text_Processor.php';
require_once __DIR__ . '/src/WP_Migration_URL_In_Text_Processor.php';
require_once __DIR__ . '/vendor/autoload.php';

function _doing_it_wrong() {

}

function __($input) {
return $input;
}

function esc_attr($input) {
return htmlspecialchars($input);
}
4 changes: 3 additions & 1 deletion transfer-protocol/run-tests.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/bin/bash
COMMAND="phpunit tests/WP_URL_In_Text_Processor*"
#COMMAND="phpunit tests/WP_Migration_*"
#COMMAND="phpunit tests/WP_Block_Markup_P*"
COMMAND="phpunit tests/WP_Block_Markup_Url*"
$COMMAND
fswatch -o ./**/*.php | xargs -n1 -I{} $COMMAND
Loading

0 comments on commit a212515

Please sign in to comment.