Skip to content

Commit 86d2dec

Browse files
author
Martin Brecht-Precht
committed
Updated readme and contribution guide.
1 parent 108d82a commit 86d2dec

File tree

4 files changed

+19
-20
lines changed

4 files changed

+19
-20
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ script:
2525
- phpunit --coverage-clover build/logs/clover.xml
2626

2727
after_success:
28-
- sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then CODECLIMATE_REPO_TOKEN=435940c3d26dc3d073ed32f9daa083e5fed45f1fd4c10b0d14b30d93b9b0fcea ./vendor/bin/test-reporter; fi;'
28+
- sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then CODECLIMATE_REPO_TOKEN=3496c3863e75bb8133ff86315341099827436e5aa313e1424559ec5b81fdf2ba ./vendor/bin/test-reporter; fi;'

CONTRIBUTING.md

+5-6
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Contributing to PHP Simple String Builder
1+
# Contributing to PHP String Builder
22

33
## About
44

@@ -81,21 +81,21 @@ We’ve found that test-first development really helps make features better arch
8181

8282
## Full example
8383

84-
Here’s an example workflow for `php-simple-string-builder` hosted on Github, which is currently in version 1.0.2. Your username is `yourname` and you’re submitting a basic bugfix.
84+
Here’s an example workflow for `php-string-builder` hosted on Github, which is currently in version 1.0.2. Your username is `yourname` and you’re submitting a basic bugfix.
8585

8686
### Preparing your Fork
8787

88-
- Hit ‘fork’ on Github, creating e.g. `yourname/php-simple-string-builder`
88+
- Hit ‘fork’ on Github, creating e.g. `yourname/php-string-builder`
8989
- Clone your project
9090

9191
```
92-
git clone [email protected]:yourname/php-simple-string-builder
92+
git clone [email protected]:yourname/php-string-builder
9393
```
9494

9595
- Create a branch
9696

9797
```
98-
cd php-simple-string-builder
98+
cd php-string-builder
9999
git checkout -b fix-issue-269 1.0.0
100100
```
101101

@@ -121,4 +121,3 @@ git push origin HEAD
121121
- Visit Github, click handy “Pull request” button that it will make upon noticing your new branch.
122122
- In the description field, write down issue number (if submitting code fixing an existing issue) or describe the issue + your fix (if submitting a wholly new bugfix).
123123
- Hit ‘submit’! And please be patient - the maintainers will get to you when they can.
124-

README.md

+12-12
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
# PHP Simple String Builder
1+
# PHP String Builder
22

3-
[![Build Status](https://travis-ci.org/markenwerk/php-simple-string-builder.svg?branch=master)](https://travis-ci.org/markenwerk/php-simple-string-builder)
4-
[![Test Coverage](https://codeclimate.com/github/markenwerk/php-simple-string-builder/badges/coverage.svg)](https://codeclimate.com/github/markenwerk/php-simple-string-builder/coverage)
3+
[![Build Status](https://travis-ci.org/markenwerk/php-string-builder.svg?branch=master)](https://travis-ci.org/markenwerk/php-string-builder)
4+
[![Test Coverage](https://codeclimate.com/github/markenwerk/php-string-builder/badges/coverage.svg)](https://codeclimate.com/github/markenwerk/php-string-builder/coverage)
55
[![Dependency Status](https://www.versioneye.com/user/projects/578e8a2d88bf880039f7e56f/badge.svg)](https://www.versioneye.com/user/projects/578e8a2d88bf880039f7e56f)
66
[![SensioLabs Insight](https://img.shields.io/sensiolabs/i/925a6e2e-e131-4426-826e-2ed9a7f9213d.svg)](https://insight.sensiolabs.com/projects/925a6e2e-e131-4426-826e-2ed9a7f9213d)
7-
[![Code Climate](https://codeclimate.com/github/markenwerk/php-simple-string-builder/badges/gpa.svg)](https://codeclimate.com/github/markenwerk/php-simple-string-builder)
8-
[![Latest Stable Version](https://poser.pugx.org/markenwerk/simple-string-builder/v/stable)](https://packagist.org/packages/markenwerk/simple-string-builder)
9-
[![Total Downloads](https://poser.pugx.org/markenwerk/simple-string-builder/downloads)](https://packagist.org/packages/markenwerk/simple-string-builder)
10-
[![License](https://poser.pugx.org/markenwerk/simple-string-builder/license)](https://packagist.org/packages/markenwerk/simple-string-builder)
7+
[![Code Climate](https://codeclimate.com/github/markenwerk/php-string-builder/badges/gpa.svg)](https://codeclimate.com/github/markenwerk/php-string-builder)
8+
[![Latest Stable Version](https://poser.pugx.org/markenwerk/string-builder/v/stable)](https://packagist.org/packages/markenwerk/string-builder)
9+
[![Total Downloads](https://poser.pugx.org/markenwerk/string-builder/downloads)](https://packagist.org/packages/markenwerk/string-builder)
10+
[![License](https://poser.pugx.org/markenwerk/string-builder/license)](https://packagist.org/packages/markenwerk/string-builder)
1111

1212
A basic string builder library providing different string methods written in PHP.
1313

@@ -16,7 +16,7 @@ A basic string builder library providing different string methods written in PHP
1616
```{json}
1717
{
1818
"require": {
19-
"markenwerk/simple-string-builder": "~2.0"
19+
"markenwerk/string-builder": "~1.0"
2020
}
2121
}
2222
```
@@ -32,9 +32,9 @@ require_once('path/to/vendor/autoload.php');
3232
### Building a string
3333

3434
```{php}
35-
use Markenwerk\SimpleStringBuilder\SimpleStringBuilder;
35+
use Markenwerk\StringBuilder\StringBuilder;
3636
37-
$builder = new SimpleStringBuilder();
37+
$builder = new StringBuilder();
3838
$builder
3939
->append('a')
4040
->append(12)
@@ -75,8 +75,8 @@ Resulting string length is "5" characters
7575
## Contribution
7676

7777
Contributing to our projects is always very appreciated.
78-
**But: please follow the contribution guidelines written down in the [CONTRIBUTING.md](https://github.com/markenwerk/php-simple-string-builder/blob/master/CONTRIBUTING.md) document.**
78+
**But: please follow the contribution guidelines written down in the [CONTRIBUTING.md](https://github.com/markenwerk/php-string-builder/blob/master/CONTRIBUTING.md) document.**
7979

8080
## License
8181

82-
PHP Simple String Builder is under the MIT license.
82+
PHP String Builder is under the MIT license.

phpunit.xml.dist

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phpunit colors="true" bootstrap="vendor/autoload.php">
33
<testsuites>
4-
<testsuite name="Simple String Builder Testsuite">
4+
<testsuite name="String Builder Testsuite">
55
<directory>test</directory>
66
</testsuite>
77
</testsuites>

0 commit comments

Comments
 (0)