Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ A block to embed code like iFrames or Javascript on a page

## Requirements

* silverstripe/recipe-cms: ^5
* dnadesign/silverstripe-elemental: ^5
* silverstripe/recipe-cms: ^6
* dnadesign/silverstripe-elemental: ^6

Comment on lines +15 to 17
## Installation

Expand Down
3 changes: 1 addition & 2 deletions _config.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
<?php

define('SILVERSTRIPE_ELEMENTAL-EMBEDDED-CODE_PATH', __DIR__);
define('SILVERSTRIPE_ELEMENTAL-EMBEDDED-CODE_DIR', basename(__DIR__));
// no-op
9 changes: 5 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,12 @@
}
],
"require": {
"dnadesign/silverstripe-elemental": "^5",
"silverstripe/framework": "^5"
"dnadesign/silverstripe-elemental": "^6",
"silverstripe/framework": "^6",
"silverstripe/vendor-plugin": "^3"
},
Comment on lines 28 to 32
"require-dev": {
"silverstripe/recipe-testing": "^3"
"silverstripe/recipe-testing": "^4"
},
"minimum-stability": "dev",
"prefer-stable": true,
Expand All @@ -45,7 +46,7 @@
},
"extra": {
"branch-alias": {
"dev-master": "3.x-dev"
"dev-master": "4.x-dev"
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The default branch is master — confirmed via gh api repos/dynamic/silverstripe-elemental-embedded-code --jq .default_branch. The dev-master alias is correct for this repository.

}
},
"scripts": {
Expand Down
16 changes: 8 additions & 8 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="vendor/silverstripe/cms/tests/bootstrap.php" colors="true">
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
bootstrap="vendor/silverstripe/cms/tests/bootstrap.php"
colors="true">
<testsuites>
<testsuite name="elemental-embedded-code">
<directory>tests/</directory>
</testsuite>
</testsuites>
<filter>
<whitelist addUncoveredFilesFromWhitelist="true">
<source>
<include>
<directory suffix=".php">src/</directory>
<exclude>
<directory suffix=".php">tests/</directory>
</exclude>
</whitelist>
</filter>
</include>
</source>
</phpunit>
Loading