Skip to content

Commit

Permalink
Refactor/allow ss5 (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsirish committed Jun 13, 2023
1 parent 4393de5 commit 68d26fd
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 14 deletions.
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 display a group of promos - a small card with an image, headline, sho

## Requirements

* dnadesign/silverstripe-elemental: ^4.8
* dynamic/silverstripe-elemental-baseobject: ^3.0
* dnadesign/silverstripe-elemental: ^5.0
* dynamic/silverstripe-elemental-baseobject: ^4.0

## Installation

Expand Down
19 changes: 16 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,25 @@
}
],
"require": {
"dnadesign/silverstripe-elemental": "^4.8",
"dynamic/silverstripe-elemental-baseobject": "^3.0"
"dnadesign/silverstripe-elemental": "^5",
"dynamic/silverstripe-elemental-baseobject": "^4",
"gorriecoe/silverstripe-link": "dev-refactor/allowSS5 as 1.4.1",
"gorriecoe/silverstripe-linkfield": "dev-refactor/gridfieldextensions4 as 1.0.3",
"silverstripe/framework": "^5"
},
"require-dev": {
"silverstripe/recipe-testing": "^2"
"silverstripe/recipe-testing": "^3"
},
"repositories": [
{
"type": "vcs",
"url": "git@github.com:jsirish/silverstripe-link.git"
},
{
"type": "vcs",
"url": "git@github.com:jsirish/silverstripe-linkfield.git"
}
],
"minimum-stability": "dev",
"prefer-stable": true,
"autoload": {
Expand Down
18 changes: 9 additions & 9 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" bootstrap="vendor/silverstripe/cms/tests/bootstrap.php" colors="true" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
<coverage includeUncoveredFiles="true">
<include>
<directory suffix=".php">src/</directory>
</include>
<exclude>
<directory suffix=".php">tests/</directory>
</exclude>
</coverage>
<testsuites>
<testsuite name="elemental-promos">
<directory>tests/</directory>
</testsuite>
</testsuites>
<filter>
<whitelist addUncoveredFilesFromWhitelist="true">
<directory suffix=".php">src/</directory>
<exclude>
<directory suffix=".php">tests/</directory>
</exclude>
</whitelist>
</filter>
</phpunit>

0 comments on commit 68d26fd

Please sign in to comment.