Skip to content

Commit

Permalink
Merge pull request #33 from chadicus/master
Browse files Browse the repository at this point in the history
Add missing composer scripts
  • Loading branch information
chadicus authored Dec 19, 2022
2 parents 2303035 + b1efff4 commit 435f149
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
8 changes: 1 addition & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
# SubjectivePHP\Spl\Exceptions

[![Build Status](https://travis-ci.org/subjective-php/spl-exceptions.svg?branch=master)](https://travis-ci.org/subjective-php/spl-exceptions)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/subjective-php/spl-exceptions/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/subjective-php/spl-exceptions/?branch=master)
[![Coverage Status](https://coveralls.io/repos/github/subjective-php/spl-exceptions/badge.svg)](https://coveralls.io/github/subjective-php/spl-exceptions)

[![Latest Stable Version](https://poser.pugx.org/subjective-php/spl-exceptions/v/stable)](https://packagist.org/packages/subjective-php/spl-exceptions)
[![Latest Unstable Version](https://poser.pugx.org/subjective-php/spl-exceptions/v/unstable)](https://packagist.org/packages/subjective-php/spl-exceptions)
[![License](https://poser.pugx.org/subjective-php/spl-exceptions/license)](https://packagist.org/packages/subjective-php/spl-exceptions)
Expand All @@ -12,13 +8,11 @@
[![Daily Downloads](https://poser.pugx.org/subjective-php/spl-exceptions/d/daily)](https://packagist.org/packages/subjective-php/spl-exceptions)
[![Monthly Downloads](https://poser.pugx.org/subjective-php/spl-exceptions/d/monthly)](https://packagist.org/packages/subjective-php/spl-exceptions)

[![Documentation](https://img.shields.io/badge/reference-phpdoc-blue.svg?style=flat)](http://www.pholiophp.org/subjective-php/spl-exceptions)

Collection of standard exception classes

## Requirements

Chadicus\Spl\Exceptions requires PHP 7.0 (or later).
SubjectivePHP\Spl\Exceptions requires PHP 7.0 (or later).

## Composer
To add the library as a local, per-project dependency use [Composer](http://getcomposer.org)! Simply add a dependency on`'subjective-php/spl-exceptions'`to your project's `composer.json` file such as:
Expand Down
6 changes: 5 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,14 @@
"subjective-php/util-exceptions": "Offers utilty classes for working with exceptions."
},
"require-dev": {
"phpunit/phpunit": "^6.5",
"phpunit/phpunit": ">=6.5",
"squizlabs/php_codesniffer": "^3.2"
},
"autoload": {
"psr-4": { "SubjectivePHP\\Spl\\Exceptions\\": "src" }
},
"scripts": {
"lint": "vendor/bin/phpcs",
"test": "vendor/bin/phpunit"
}
}
2 changes: 1 addition & 1 deletion src/NotImplementedException.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use RuntimeException;

/**
* Exception thrown when a requested method or operation is not implemented.
* Exception thrown when a requested method or operation is not implemented.
*/
class NotImplementedException extends RuntimeException
{
Expand Down

0 comments on commit 435f149

Please sign in to comment.