Skip to content

Commit dbacb48

Browse files
committed
wip
1 parent 83a78b4 commit dbacb48

File tree

5 files changed

+16
-36
lines changed

5 files changed

+16
-36
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
All notable changes to `laravel-dashboard-calendar-tile` will be documented in this file
44

5+
## 2.0.0 - 2020-09-09
6+
7+
- add support for Livewire 2
8+
59
## 1.0.0 - 202X-XX-XX
610

711
- initial release

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
[![GitHub Tests Action Status](https://img.shields.io/github/workflow/status/spatie/laravel-dashboard-calendar-tile/run-tests?label=tests)](https://github.com/spatie/laravel-dashboard-belgian-trains-tile/actions?query=workflow%3Arun-tests+branch%3Amaster)
55
[![Total Downloads](https://img.shields.io/packagist/dt/spatie/laravel-dashboard-calendar-tile.svg?style=flat-square)](https://packagist.org/packages/spatie/laravel-dashboard-belgian-trains-tile)
66

7-
This tile can used on the [Laravel Dashboard](https://docs.spatie.be/laravel-dashboard) to display the status of Velo, the Antwerp bike sharing system
7+
This tile can used on the [Laravel Dashboard](https://docs.spatie.be/laravel-dashboard) to display the status of trains
88

99
## Support us
1010

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,10 @@
1717
],
1818
"require": {
1919
"php": "^7.4",
20-
"spatie/laravel-dashboard": "^1.0"
20+
"spatie/laravel-dashboard": "^2.0"
2121
},
2222
"require-dev": {
23+
"friendsofphp/php-cs-fixer": "^2.16",
2324
"phpunit/phpunit": "^9.0"
2425
},
2526
"autoload": {

phpunit.xml.dist

Lines changed: 9 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,11 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit bootstrap="vendor/autoload.php"
3-
backupGlobals="false"
4-
backupStaticAttributes="false"
5-
colors="true"
6-
verbose="true"
7-
convertErrorsToExceptions="true"
8-
convertNoticesToExceptions="true"
9-
convertWarningsToExceptions="true"
10-
processIsolation="false"
11-
stopOnFailure="false">
12-
<testsuites>
13-
<testsuite name="Spatie Test Suite">
14-
<directory>tests</directory>
15-
</testsuite>
16-
</testsuites>
17-
<filter>
18-
<whitelist>
19-
<directory suffix=".php">src/</directory>
20-
</whitelist>
21-
</filter>
22-
<logging>
23-
<log type="junit" target="build/report.junit.xml"/>
24-
<log type="coverage-html" target="build/coverage"/>
25-
<log type="coverage-text" target="build/coverage.txt"/>
26-
<log type="coverage-clover" target="build/logs/clover.xml"/>
27-
</logging>
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="vendor/autoload.php" backupGlobals="false" backupStaticAttributes="false" colors="true" verbose="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" processIsolation="false" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
3+
<testsuites>
4+
<testsuite name="Spatie Test Suite">
5+
<directory>tests</directory>
6+
</testsuite>
7+
</testsuites>
8+
<logging>
9+
<junit outputFile="build/report.junit.xml"/>
10+
</logging>
2811
</phpunit>

src/BelgianTrainsTileComponent.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,6 @@ class BelgianTrainsTileComponent extends Component
88
{
99
protected static $showTile = null;
1010

11-
/** @var string */
12-
public $position;
13-
14-
public function mount(string $position)
15-
{
16-
$this->position = $position;
17-
}
18-
1911
public function render()
2012
{
2113
$showTile = isset(static::$showTile)

0 commit comments

Comments
 (0)