8000 Update deps · JBZoo/Mermaid-PHP@3930b1e · GitHub
[go: up one dir, main page]

Skip to content

Commit 3930b1e

Browse files
committed
Update deps
1 parent 5adad51 commit 3930b1e

File tree

7 files changed

+12
-88
lines changed

7 files changed

+12
-88
lines changed

.github/workflows/main.yml

+5
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,11 @@ jobs:
5656
- name: 🧪 PHPUnit Tests
5757
run: make test --no-print-directory
5858

59+
- name: Uploading coverage to coveralls
60+
env:
61+
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
62+
run: make report-coveralls --no-print-directory
63+
5964
- name: Upload Artifacts
6065
uses: actions/upload-artifact@v2
6166
with:

.travis.yml

-40
This file was deleted.

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# JBZoo / Mermaid-PHP
22

3-
[![Build Status](https://travis-ci.org/JBZoo/Mermaid-PHP.svg?branch=master)](https://travis-ci.org/JBZoo/Mermaid-PHP) [![Coverage Status](https://coveralls.io/repos/JBZoo/Mermaid-PHP/badge.svg)](https://coveralls.io/github/JBZoo/Mermaid-PHP) [![Psalm Coverage](https://shepherd.dev/github/JBZoo/Mermaid-PHP/coverage.svg)](https://shepherd.dev/github/JBZoo/Mermaid-PHP) [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/jbzoo/mermaid-php/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/jbzoo/mermaid-php/?branch=master) [![CodeFactor](https://www.codefactor.io/repository/github/jbzoo/mermaid-php/badge)](https://www.codefactor.io/repository/github/jbzoo/mermaid-php/issues) [![PHP Strict Types](https://img.shields.io/badge/strict__types-%3D1-brightgreen)](https://www.php.net/manual/en/language.types.declarations.php#language.types.declarations.strict)
3+
[![Coverage Status](https://coveralls.io/repos/JBZoo/Mermaid-PHP/badge.svg)](https://coveralls.io/github/JBZoo/Mermaid-PHP) [![Psalm Coverage](https://shepherd.dev/github/JBZoo/Mermaid-PHP/coverage.svg)](https://shepherd.dev/github/JBZoo/Mermaid-PHP) [![CodeFactor](https://www.codefactor.io/repository/github/jbzoo/mermaid-php/badge)](https://www.codefactor.io/repository/github/jbzoo/mermaid-php/issues) [![PHP Strict Types](https://img.shields.io/badge/strict__types-%3D1-brightgreen)](https://www.php.net/manual/en/language.types.declarations.php#language.types.declarations.strict)
44
[![Stable Version](https://poser.pugx.org/jbzoo/mermaid-php/version)](https://packagist.org/packages/jbzoo/mermaid-php) [![Latest Unstable Version](https://poser.pugx.org/jbzoo/mermaid-php/v/unstable)](https://packagist.org/packages/jbzoo/mermaid-php) [![Dependents](https://poser.pugx.org/jbzoo/mermaid-php/dependents)](https://packagist.org/packages/jbzoo/mermaid-php/dependents?order_by=downloads) [![GitHub Issues](https://img.shields.io/github/issues/jbzoo/mermaid-php)](https://github.com/JBZoo/Mermaid-PHP/issues) [![Total Downloads](https://poser.pugx.org/jbzoo/mermaid-php/downloads)](https://packagist.org/packages/jbzoo/mermaid-php/stats) [![GitHub License](https://img.shields.io/github/license/jbzoo/mermaid-php)](https://github.com/JBZoo/Mermaid-PHP/blob/master/LICENSE)
55

66

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
},
1818

1919
"require-dev" : {
20-
"jbzoo/toolbox-dev" : "^2.13.1"
20+
"jbzoo/toolbox-dev" : "^3.1.0"
2121
},
2222

2323
"autoload" : {

psalm.xml

-29
This file was deleted.

src/Node.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -75,15 +75,15 @@ public function __construct(string $identifier, string $title = '', string $form
7575
*/
7676
public static function safeMode(bool $safeMode): void
7777
{
78-
static::$safeMode = $safeMode;
78+
self::$safeMode = $safeMode;
7979
}
8080

8181
/**
8282
* @return bool
8383
*/
8484
public static function isSafeMode(): bool
8585
{
86-
return static::$safeMode;
86+
return self::$safeMode;
8787
}
8888

8989
/**

tests/MermaidReadmeTest.php

+3-15
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@
1818
namespace JBZoo\PHPUnit;
1919

2020
/**
21-
* Class MermaidPhpReadmeTest
21+
* Class MermaidReadmeTest
2222
*
2323
* @package JBZoo\PHPUnit
2424
*/
25-
class MermaidPhpReadmeTest extends AbstractReadmeTest
25+
class MermaidReadmeTest extends AbstractReadmeTest
2626
{
2727
protected $packageName = 'Mermaid-PHP';
2828

@@ -33,20 +33,8 @@ protected function setUp(): void
3333
{
3434
parent::setUp();
3535

36-
$this->params['scrutinizer'] = true;
3736
$this->params['codefactor'] = true;
3837
$this->params['strict_types'] = true;
39-
}
40-
41-
/**
42-
* @return string|null
43-
*/
44-
protected function checkBadgeTravis(): ?string
45-
{
46-
return $this->getPreparedBadge($this->getBadge(
47-
'Build Status',
48-
'https://travis-ci.org/__VENDOR_ORIG__/__PACKAGE_ORIG__.svg?branch=master',
49-
'https://travis-ci.org/__VENDOR_ORIG__/__PACKAGE_ORIG__'
50-
));
38+
$this->params['travis'] = false;
5139
}
5240
}

0 commit comments

Comments
 (0)
0