Skip to content

Commit

Permalink
Merge pull request #19 from alex-patterson-webdev/feature/3.0.0
Browse files Browse the repository at this point in the history
Feature/3.0.0
  • Loading branch information
alex-patterson-webdev committed May 8, 2023
2 parents a71bd7c + e5b33fb commit d6582d1
Show file tree
Hide file tree
Showing 40 changed files with 875 additions and 1,448 deletions.
30 changes: 12 additions & 18 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,14 @@
build:
nodes:
php74:
environment:
php: 7.4
analysis:
environment:
php: 7.4
project_setup:
override:
- 'true'
tests:
override:
- php-scrutinizer-run
- command: phpcs-run
- command: composer arp:unit-test-with-coverage
coverage:
file: test/coverage/clover.xml
format: clover
image: default-bionic
environment:
php: 8.1
project_setup:
override:
- 'true'
tests:
override:
- php-scrutinizer-run
- command: phpcs-run
checks:
php: true
coding_style:
Expand All @@ -26,6 +18,8 @@ coding_style:
linefeed_character: return-newline
before_parentheses:
closure_definition: true
around_operators:
concatenation: true
filter:
dependency_paths:
- "vendor/"
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Build Status](https://travis-ci.com/alex-patterson-webdev/event-dispatcher.svg?branch=master)](https://travis-ci.com/alex-patterson-webdev/event-dispatcher)
![github workflow](https://github.com/alex-patterson-webdev/event-dispatcher/actions/workflows/workflow.yml/badge.svg)
[![codecov](https://codecov.io/gh/alex-patterson-webdev/event-dispatcher/branch/master/graph/badge.svg)](https://codecov.io/gh/alex-patterson-webdev/event-dispatcher)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/alex-patterson-webdev/event-dispatcher/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/alex-patterson-webdev/event-dispatcher/?branch=master)

Expand All @@ -12,7 +12,7 @@ An implementation of the [PSR-14 Event Dispatcher](https://www.php-fig.org/psr/p

Installation via [composer](https://getcomposer.org).

require alex-patterson-webdev/event-dispatcher ^1
require alex-patterson-webdev/event-dispatcher ^3

## Usage

Expand Down
6 changes: 4 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,17 @@
}
],
"require": {
"php": ">=7.4 || >=8.0",
"php": ">=8.1",
"psr/event-dispatcher": "^1"
},
"require-dev": {
"phpspec/prophecy": "^1.15.0",
"phpunit/phpunit": "^9.5",
"squizlabs/php_codesniffer": "^3.6",
"phpstan/phpstan": "^1.4.8",
"friendsofphp/php-cs-fixer": "^3.6.0"
"friendsofphp/php-cs-fixer": "^3.6.0",
"mockery/mockery": "^1.5",
"phpstan/phpstan-mockery": "^1.1"
},
"provide": {
"psr/event-dispatcher-implementation": "1.0.0"
Expand Down
Loading

0 comments on commit d6582d1

Please sign in to comment.