From 3aad39fa38f00a1d3578957c359fd2ed8afc7576 Mon Sep 17 00:00:00 2001 From: Christian Sciberras Date: Wed, 21 Jul 2021 21:28:41 +0200 Subject: [PATCH] Various improvements --- .github/workflows/ci.yml | 2 +- README.md | 7 ++++--- composer.json | 5 +++++ phpunit.xml.dist | 14 ++++++++++++++ 4 files changed, 24 insertions(+), 4 deletions(-) create mode 100644 phpunit.xml.dist diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 387ae7b..1e32081 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,7 +3,7 @@ name: CI on: push: branches: - - master + - main pull_request: jobs: diff --git a/README.md b/README.md index 4fe513c..0b71bca 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,10 @@ # State Engine (PHP) -[![CI](https://github.com/uuf6429/state-engine-php/workflows/CI/badge.svg)](https://github.com/uuf6429/state-engine-php/actions/workflows/ci.yml) +[![CI](https://github.com/uuf6429/state-engine-php/actions/workflows/ci.yml/badge.svg)](https://github.com/uuf6429/state-engine-php/actions/workflows/ci.yml) [![Minimum PHP Version](https://img.shields.io/badge/php-%5E7.4%20%7C%20%5E8-8892BF.svg)](https://php.net/) -[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/uuf6429/state-engine-php/main/LICENSE) -[![Packagist](https://img.shields.io/packagist/v/uuf6429/state-engine.svg)](https://packagist.org/packages/uuf6429/state-engine) +[![License](http://poser.pugx.org/uuf6429/state-engine/license)](https://packagist.org/packages/uuf6429/state-engine) +[![Latest Stable Version](http://poser.pugx.org/uuf6429/state-engine/v)](https://packagist.org/packages/uuf6429/state-engine) +[![Latest Unstable Version](http://poser.pugx.org/uuf6429/state-engine/v/unstable)](https://packagist.org/packages/uuf6429/state-engine) This library provides some interfaces and a basic implementation of a State Engine. diff --git a/composer.json b/composer.json index 04142af..cd40c52 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,11 @@ { "name": "uuf6429/state-engine", "type": "library", + "homepage": "https://github.com/uuf6429/state-engine-php", + "readme": "README.md", + "license": "MIT", + "description": "A library providing interfaces and basic implementation of a State Engine", + "keywords": ["state", "engine", "state-engine", "uuf6429"], "authors": [ { "name": "Christian Sciberras", diff --git a/phpunit.xml.dist b/phpunit.xml.dist new file mode 100644 index 0000000..e2e1323 --- /dev/null +++ b/phpunit.xml.dist @@ -0,0 +1,14 @@ + + + + + ./test + + + + + ../src + + +