Skip to content

Commit

Permalink
Various improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
uuf6429 committed Jul 21, 2021
1 parent d7c6f06 commit 3aad39f
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: CI
on:
push:
branches:
- master
- main
pull_request:

jobs:
Expand Down
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
5 changes: 5 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
14 changes: 14 additions & 0 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.5/phpunit.xsd">
<testsuites>
<testsuite name="All Tests">
<directory>./test</directory>
</testsuite>
</testsuites>
<coverage>
<include>
<directory>../src</directory>
</include>
</coverage>
</phpunit>

0 comments on commit 3aad39f

Please sign in to comment.