File tree Expand file tree Collapse file tree 5 files changed +16
-36
lines changed Expand file tree Collapse file tree 5 files changed +16
-36
lines changed Original file line number Diff line number Diff line change 2
2
3
3
All notable changes to ` laravel-dashboard-calendar-tile ` will be documented in this file
4
4
5
+ ## 2.0.0 - 2020-09-09
6
+
7
+ - add support for Livewire 2
8
+
5
9
## 1.0.0 - 202X-XX-XX
6
10
7
11
- initial release
Original file line number Diff line number Diff line change 4
4
[ ![ 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 )
5
5
[ ![ 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 )
6
6
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
8
8
9
9
## Support us
10
10
Original file line number Diff line number Diff line change 17
17
],
18
18
"require" : {
19
19
"php" : " ^7.4" ,
20
- "spatie/laravel-dashboard" : " ^1 .0"
20
+ "spatie/laravel-dashboard" : " ^2 .0"
21
21
},
22
22
"require-dev" : {
23
+ "friendsofphp/php-cs-fixer" : " ^2.16" ,
23
24
"phpunit/phpunit" : " ^9.0"
24
25
},
25
26
"autoload" : {
Original file line number Diff line number Diff line change 1
1
<?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 >
28
11
</phpunit >
Original file line number Diff line number Diff line change @@ -8,14 +8,6 @@ class BelgianTrainsTileComponent extends Component
8
8
{
9
9
protected static $ showTile = null ;
10
10
11
- /** @var string */
12
- public $ position ;
13
-
14
- public function mount (string $ position )
15
- {
16
- $ this ->position = $ position ;
17
- }
18
-
19
11
public function render ()
20
12
{
21
13
$ showTile = isset (static ::$ showTile )
You can’t perform that action at this time.
0 commit comments