Skip to content

Commit

Permalink
Merge pull request #3 from maximecolin/fix-autoload
Browse files Browse the repository at this point in the history
Upgrade
  • Loading branch information
maximecolin committed Mar 30, 2020
2 parents 01b4872 + 60efe06 commit faa4a9f
Show file tree
Hide file tree
Showing 7 changed files with 1,107 additions and 350 deletions.
3 changes: 2 additions & 1 deletion .gitignore
@@ -1,2 +1,3 @@
vendor
phpunit.xml
phpunit.xml
/.phpunit.result.cache
9 changes: 4 additions & 5 deletions .travis.yml
@@ -1,9 +1,8 @@
language: php

php:
- 5.3
- 5.4
- 5.5
- hhvm
- 7.2
- 7.3
- 7.4

before_script: composer install --dev
before_script: composer install --dev
2 changes: 2 additions & 0 deletions README.md
Expand Up @@ -31,6 +31,8 @@ class Article
My specification :

```php
use Satisfaction\CompositeSpecification;

class PublishedArticle extends CompositeSpecification
{
public function isSatisfiedBy($article)
Expand Down
6 changes: 3 additions & 3 deletions composer.json
@@ -1,7 +1,7 @@
{
"name": "maximecolin/satisfaction",
"type": "library",
"version": "1.0.1",
"version": "2.0.0",
"description": "A PHP implementation of the specification pattern for DDD",
"keywords": ["ddd", "specification", "pattern"],
"homepage": "http://www.maximecolin.fr",
Expand All @@ -13,10 +13,10 @@
}
],
"require": {
"php": ">=5.3.0"
"php": ">=7.2.0"
},
"require-dev": {
"phpunit/phpunit": "4.3.*"
"phpunit/phpunit": "^8.3"
},
"autoload": {
"psr-0": { "Satisfaction": "src/" }
Expand Down

0 comments on commit faa4a9f

Please sign in to comment.