Skip to content

Commit

Permalink
Updated deps
Browse files Browse the repository at this point in the history
  • Loading branch information
SmetDenis committed Nov 8, 2021
1 parent 1623fe6 commit 59f51a7
Show file tree
Hide file tree
Showing 13 changed files with 46 additions and 55 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,40 @@ jobs:
continue-on-error: ${{ matrix.experimental }}
run: make test --no-print-directory

- name: Uploading coverage to coveralls
env:
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: make report-coveralls --no-print-directory

- name: Upload Artifacts
uses: actions/upload-artifact@v2
with:
name: PHPUnit - ${{ matrix.php-version }} - ${{ matrix.coverage }}
path: build/


linters:
name: Linters
runs-on: ubuntu-latest
strategy:
matrix:
php-version: [ 7.2, 7.3, 7.4, 8.0 ]
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
extensions: ast
tools: composer

- name: Build the Project
run: make update --no-print-directory

- name: 👍 Code Quality
continue-on-error: ${{ matrix.experimental }}
run: make codestyle --no-print-directory
Expand Down
44 changes: 0 additions & 44 deletions .travis.yml

This file was deleted.

3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
--------------------------------------------------------------------------------
# JBZoo / SimpleTypes

[![Build Status](https://travis-ci.org/JBZoo/SimpleTypes.svg)](https://travis-ci.org/JBZoo/SimpleTypes) [![Coverage Status](https://coveralls.io/repos/JBZoo/SimpleTypes/badge.svg)](https://coveralls.io/github/JBZoo/SimpleTypes) [![Psalm Coverage](https://shepherd.dev/github/JBZoo/SimpleTypes/coverage.svg)](https://shepherd.dev/github/JBZoo/SimpleTypes) [![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)
[![Coverage Status](https://coveralls.io/repos/JBZoo/SimpleTypes/badge.svg)](https://coveralls.io/github/JBZoo/SimpleTypes) [![Psalm Coverage](https://shepherd.dev/github/JBZoo/SimpleTypes/coverage.svg)](https://shepherd.dev/github/JBZoo/SimpleTypes) [![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)
[![Stable Version](https://poser.pugx.org/jbzoo/simpletypes/version)](https://packagist.org/packages/jbzoo/simpletypes) [![Latest Unstable Version](https://poser.pugx.org/jbzoo/simpletypes/v/unstable)](https://packagist.org/packages/jbzoo/simpletypes) [![Dependents](https://poser.pugx.org/jbzoo/simpletypes/dependents)](https://packagist.org/packages/jbzoo/simpletypes/dependents?order_by=downloads) [![GitHub Issues](https://img.shields.io/github/issues/jbzoo/simpletypes)](https://github.com/JBZoo/SimpleTypes/issues) [![Total Downloads](https://poser.pugx.org/jbzoo/simpletypes/downloads)](https://packagist.org/packages/jbzoo/simpletypes/stats) [![GitHub License](https://img.shields.io/github/license/jbzoo/simpletypes)](https://github.com/JBZoo/SimpleTypes/blob/master/LICENSE)


Expand Down
3 changes: 1 addition & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@
},

"require-dev" : {
"jbzoo/toolbox-dev" : "^2.11.0",
"jbzoo/utils" : "^4.4.0"
"jbzoo/toolbox-dev" : "^3.1.0"
},

"autoload" : {
Expand Down
2 changes: 1 addition & 1 deletion tests/CalcTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
use JBZoo\SimpleTypes\Type\Weight;

/**
* Class calcTest
* Class CalcTest
* @package JBZoo\PHPUnit
*/
class CalcTest extends PHPUnit
Expand Down
2 changes: 1 addition & 1 deletion tests/ConfigTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
use JBZoo\SimpleTypes\Type\Weight;

/**
* Class configTest
* Class ConfigTest
* @package JBZoo\SimpleTypes
*/
class ConfigTest extends PHPUnit
Expand Down
2 changes: 1 addition & 1 deletion tests/RuleTest.php → tests/FormatterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
namespace JBZoo\PHPUnit;

/**
* Class formatterTest
* Class FormatterTest
* @package JBZoo\SimpleTypes
*/
class FormatterTest extends PHPUnit
Expand Down
2 changes: 1 addition & 1 deletion tests/MagicTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
namespace JBZoo\PHPUnit;

/**
* Class magicTest
* Class MagicTest
* @package JBZoo\SimpleTypes
*/
class MagicTest extends PHPUnit
Expand Down
2 changes: 1 addition & 1 deletion tests/OutputTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
namespace JBZoo\PHPUnit;

/**
* Class outputTest
* Class OutputTest
* @package JBZoo\SimpleTypes
*/
class OutputTest extends PHPUnit
Expand Down
2 changes: 1 addition & 1 deletion tests/ParserTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
namespace JBZoo\PHPUnit;

/**
* Class parserTest
* Class ParserTest
* @package JBZoo\SimpleTypes
*/
class ParserTest extends PHPUnit
Expand Down
2 changes: 1 addition & 1 deletion tests/RoundingTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
use JBZoo\SimpleTypes\Formatter;

/**
* Class roundTest
* Class RoundTest
* @package JBZoo\SimpleTypes
*/
class RoundTest extends PHPUnit
Expand Down
2 changes: 1 addition & 1 deletion tests/SimpleTypesCopyrightTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ class SimpleTypesCopyrightTest extends AbstractCopyrightTest
/**
* @var string
*/
protected $packageName = 'SimpleTypes';
protected $packageName = 'SimpleTypes';
protected $isPhpStrictType = true;
}
1 change: 1 addition & 0 deletions tests/SimpleTypesReadmeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,6 @@ protected function setUp(): void
{
parent::setUp();
$this->params['strict_types'] = true;
$this->params['travis'] = false;
}
}

0 comments on commit 59f51a7

Please sign in to comment.