Skip to content

Commit

Permalink
Merge branch 'release/v0.5.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
betterthanclay committed Oct 5, 2020
2 parents 7435563 + 55f1791 commit b7cc3f0
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 12 deletions.
4 changes: 3 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
.gitattributes export-ignore
.gitignore export-ignore
README.md export-ignore
.travis.yml export-ignore
CHANGELOG.md export-ignore
phpstan.neon export-ignore
phpunit.xml.dist export-ignore
README.md export-ignore
/docs export-ignore
/tests export-ignore
14 changes: 14 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
language: php
php:
- '7.2'
- '7.3'

cache:
directories:
- $HOME/.composer/cache/files

install:
- composer install --prefer-dist

script:
- vendor/bin/phpstan analyse --no-interaction --no-progress
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## v0.5.2 (2020-10-05)
* Updated readme
* Updated PHPStan

## v0.5.1 (2019-10-16)
* Added PHPStan support
* Bugfixes and updates from max level PHPStan scan
Expand Down
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
# Chirp

[![PHP from Packagist](https://img.shields.io/packagist/php-v/decodelabs/chirp?style=flat-square)](https://packagist.org/packages/decodelabs/chirp)
[![Latest Version](https://img.shields.io/packagist/v/decodelabs/chirp.svg?style=flat-square)](https://packagist.org/packages/decodelabs/chirp)
[![Total Downloads](https://img.shields.io/packagist/dt/decodelabs/chirp.svg?style=flat-square)](https://packagist.org/packages/decodelabs/chirp)
[![Build Status](https://img.shields.io/travis/com/decodelabs/chirp/master.svg?style=flat-square)](https://travis-ci.org/decodelabs/chirp)
[![PHPStan](https://img.shields.io/badge/PHPStan-enabled-44CC11.svg?longCache=true&style=flat-square)](https://github.com/phpstan/phpstan)
[![License](https://img.shields.io/packagist/l/decodelabs/chirp?style=flat-square)](https://packagist.org/packages/decodelabs/chirp)

Twitter tools for PHP


Expand All @@ -18,7 +26,7 @@ Parse a tweet into HTML:
use DecodeLabs\Chirp\Parser;

$parser = new Parser();
echo $parser->parser($myTweet);
echo $parser->parse($myTweet);
```


Expand Down
19 changes: 9 additions & 10 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,21 @@
{
"name": "decodelabs/chirp",
"description": "Twitter tools",
"description": "Tweet parser",
"type": "library",
"keywords": ["tweet", "twitter", "markup", "html"],
"license": "MIT",
"authors": [
{
"name": "Tom Wright",
"email": "tom@inflatablecookie.com"
}
],
"authors": [{
"name": "Tom Wright",
"email": "tom@inflatablecookie.com"
}],
"require": {
"php": "^7.2"
},
"require-dev": {
"phpstan/phpstan": "^0.11.16",
"phpunit/phpunit": "^8",
"phpstan/phpstan": "^0.12.45",
"phpstan/extension-installer": "^1.0",
"decodelabs/phpstan-decodelabs": "^0.1"
"decodelabs/phpstan-decodelabs": "^0.3.10"
},
"autoload": {
"psr-4": {
Expand All @@ -25,7 +24,7 @@
},
"extra": {
"branch-alias": {
"dev-develop": "0.x-dev"
"dev-develop": "0.5.x-dev"
}
}
}

0 comments on commit b7cc3f0

Please sign in to comment.