Skip to content

Commit f69c4fe

Browse files
author
Martin Brecht-Precht
committed
Changed the root namespace and vendor prefix.
1 parent b2fa479 commit f69c4fe

File tree

6 files changed

+24
-22
lines changed

6 files changed

+24
-22
lines changed

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2016 Martin Brecht-Precht, Markenwerk GmbH
3+
Copyright (c) 2016 Martin Brecht-Precht, Chroma Expereience GmbH
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# PHP Stack Util
22

3-
[![Build Status](https://travis-ci.org/markenwerk/php-stack-util.svg?branch=master)](https://travis-ci.org/markenwerk/php-stack-util)
4-
[![Test Coverage](https://codeclimate.com/github/markenwerk/php-stack-util/badges/coverage.svg)](https://codeclimate.com/github/markenwerk/php-stack-util/coverage)
3+
[![Build Status](https://travis-ci.org/chroma-x/php-stack-util.svg?branch=master)](https://travis-ci.org/chroma-x/php-stack-util)
4+
[![Test Coverage](https://codeclimate.com/github/chroma-x/php-stack-util/badges/coverage.svg)](https://codeclimate.com/github/chroma-x/php-stack-util/coverage)
55
[![Dependency Status](https://www.versioneye.com/user/projects/577d62ac91aab50027c6ca4d/badge.svg)](https://www.versioneye.com/user/projects/577d62ac91aab50027c6ca4d)
66
[![SensioLabs Insight](https://img.shields.io/sensiolabs/i/70322433-e801-41e3-bfd1-c6bd13484fdf.svg)](https://insight.sensiolabs.com/projects/70322433-e801-41e3-bfd1-c6bd13484fdf)
7-
[![Code Climate](https://codeclimate.com/github/markenwerk/php-stack-util/badges/gpa.svg)](https://codeclimate.com/github/markenwerk/php-stack-util)
8-
[![Latest Stable Version](https://poser.pugx.org/markenwerk/stack-util/v/stable)](https://packagist.org/packages/markenwerk/stack-util)
9-
[![Total Downloads](https://poser.pugx.org/markenwerk/stack-util/downloads)](https://packagist.org/packages/markenwerk/stack-util)
10-
[![License](https://poser.pugx.org/markenwerk/stack-util/license)](https://packagist.org/packages/markenwerk/stack-util)
7+
[![Code Climate](https://codeclimate.com/github/chroma-x/php-stack-util/badges/gpa.svg)](https://codeclimate.com/github/chroma-x/php-stack-util)
8+
[![Latest Stable Version](https://poser.pugx.org/chroma-x/stack-util/v/stable)](https://packagist.org/packages/chroma-x/stack-util)
9+
[![Total Downloads](https://poser.pugx.org/chroma-x/stack-util/downloads)](https://packagist.org/packages/chroma-x/stack-util)
10+
[![License](https://poser.pugx.org/chroma-x/stack-util/license)](https://packagist.org/packages/chroma-x/stack-util)
1111

1212
A PHP library providing common Stack implementation.
1313

@@ -16,7 +16,7 @@ A PHP library providing common Stack implementation.
1616
```{json}
1717
{
1818
"require": {
19-
"markenwerk/stack-util": "~1.0"
19+
"chroma-x/stack-util": "~1.0"
2020
}
2121
}
2222
```
@@ -34,7 +34,7 @@ require_once('path/to/vendor/autoload.php');
3434
#### Pushing to the stack
3535

3636
```{php}
37-
use Markenwerk\StackUtil\Stack;
37+
use ChromaX\StackUtil\Stack;
3838
3939
$stack = new Stack();
4040
@@ -188,7 +188,7 @@ Stack index 2: 9.12
188188
## Contribution
189189

190190
Contributing to our projects is always very appreciated.
191-
**But: please follow the contribution guidelines written down in the [CONTRIBUTING.md](https://github.com/markenwerk/php-stack-util/blob/master/CONTRIBUTING.md) document.**
191+
**But: please follow the contribution guidelines written down in the [CONTRIBUTING.md](https://github.com/chroma-x/php-stack-util/blob/master/CONTRIBUTING.md) document.**
192192

193193
## License
194194

composer.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
{
2-
"name": "markenwerk/stack-util",
2+
"name": "chroma-x/stack-util",
33
"type": "library",
44
"description": "A PHP library providing common stack implementation.",
55
"keywords": [
66
"stack"
77
],
8-
"homepage": "http://markenwerk.net/",
8+
"homepage": "http://chroma-x.de/",
99
"license": "MIT",
1010
"authors": [
1111
{
1212
"name": "Martin Brecht-Precht",
13-
"email": "mb@markenwerk.net",
14-
"homepage": "http://markenwerk.net"
13+
"email": "mb@chroma-x.de",
14+
"homepage": "http://chroma-x.de"
1515
}
1616
],
1717
"autoload": {
1818
"psr-4": {
19-
"Markenwerk\\StackUtil\\": "src/"
19+
"ChromaX\\StackUtil\\": "src/"
2020
}
2121
},
2222
"require": {

src/Stack.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<?php
22

3-
namespace Markenwerk\StackUtil;
3+
namespace ChromaX\StackUtil;
44

55
/**
66
* Class Stack
77
*
8-
* @package Markenwerk\StackUtil
8+
* @package ChromaX\StackUtil
99
*/
1010
class Stack implements StackInterface
1111
{

src/StackInterface.php

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
<?php
22

3-
namespace Markenwerk\StackUtil;
3+
namespace ChromaX\StackUtil;
4+
5+
use Iterator;
46

57
/**
68
* Interface StackInterface
79
*
8-
* @package Markenwerk\StackUtil
10+
* @package ChromaX\StackUtil
911
*/
10-
interface StackInterface extends \Iterator
12+
interface StackInterface extends Iterator
1113
{
1214

1315
/**

test/StackTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<?php
22

3-
namespace Markenwerk\StackUtil;
3+
namespace ChromaX\StackUtil;
44

55
/**
66
* Class StackTest
77
*
8-
* @package Markenwerk\StackUtil
8+
* @package ChromaX\StackUtil
99
*/
1010
class StackTest extends \PHPUnit_Framework_TestCase
1111
{

0 commit comments

Comments
 (0)