Skip to content

Commit

Permalink
Rename Piwik -> Matomo (#8)
Browse files Browse the repository at this point in the history
* Rename Piwik -> Matomo

* fix coveralls
  • Loading branch information
sgiehl authored Feb 14, 2018
1 parent f1b9662 commit ac25c89
Show file tree
Hide file tree
Showing 12 changed files with 41 additions and 41 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ matrix:
before_script:
- '[[ "$TRAVIS_PHP_VERSION" == 5.3* ]] && composer config -g -- disable-tls true || true'
- '[[ "$TRAVIS_PHP_VERSION" == 5.3* ]] && composer config -g -- secure-http false || true'
- if [[ $(phpenv version-name) == '5.6' ]]; then composer require satooshi/php-coveralls:dev-master -n ; fi
- if [[ $(phpenv version-name) == '5.6' ]]; then composer require satooshi/php-coveralls:2.0.x-dev -n ; fi
- if [[ $(phpenv version-name) != '5.6' ]]; then composer install -n ; fi

script:
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# Piwik/Ini
# Matomo/Ini

Read and write INI configurations.

[![Build Status](https://img.shields.io/travis/piwik/component-ini.svg?style=flat-square)](https://travis-ci.org/piwik/component-ini)
[![Coverage Status](https://img.shields.io/coveralls/piwik/component-ini/master.svg?style=flat-square)](https://coveralls.io/r/piwik/component-ini?branch=master)
[![Latest Version](https://img.shields.io/github/release/piwik/component-ini.svg?style=flat-square)](https://packagist.org/packages/piwik/component-ini)
[![](https://img.shields.io/packagist/dm/piwik/ini.svg?style=flat-square)](https://packagist.org/packages/piwik/ini)
[![Build Status](https://img.shields.io/travis/matomo-org/component-ini.svg?style=flat-square)](https://travis-ci.org/matomo-org/component-ini)
[![Coverage Status](https://img.shields.io/coveralls/matomo-org/component-ini/master.svg?style=flat-square)](https://coveralls.io/r/matomo-org/component-ini?branch=master)
[![Latest Version](https://img.shields.io/github/release/matomo-org/component-ini.svg?style=flat-square)](https://packagist.org/packages/matomo/component-ini)
[![](https://img.shields.io/packagist/dm/matomo/ini.svg?style=flat-square)](https://packagist.org/packages/matomo/ini)

## Installation

```json
composer require piwik/ini
composer require matomo/ini
```

## Why?
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"name": "piwik/ini",
"name": "matomo/ini",
"type": "library",
"license": "LGPL-3.0",
"autoload": {
"psr-4": {
"Piwik\\Ini\\": "src/"
"Matomo\\Ini\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Piwik\\Tests\\Ini\\": "tests/"
"Matomo\\Tests\\Ini\\": "tests/"
}
},
"require": {
Expand Down
6 changes: 3 additions & 3 deletions src/IniReader.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<?php
/**
* Piwik - free/libre analytics platform
* Matomo - free/libre analytics platform
*
* @link http://piwik.org
* @link https://matomo.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*/

namespace Piwik\Ini;
namespace Matomo\Ini;

/**
* Reads INI configuration.
Expand Down
6 changes: 3 additions & 3 deletions src/IniReadingException.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<?php
/**
* Piwik - free/libre analytics platform
* Matomo - free/libre analytics platform
*
* @link http://piwik.org
* @link https://matomo.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*/

namespace Piwik\Ini;
namespace Matomo\Ini;

/**
* Exception when reading a INI configuration.
Expand Down
6 changes: 3 additions & 3 deletions src/IniWriter.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<?php
/**
* Piwik - free/libre analytics platform
* Matomo - free/libre analytics platform
*
* @link http://piwik.org
* @link https://matomo.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*/

namespace Piwik\Ini;
namespace Matomo\Ini;

/**
* Writes INI configuration.
Expand Down
6 changes: 3 additions & 3 deletions src/IniWritingException.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<?php
/**
* Piwik - free/libre analytics platform
* Matomo - free/libre analytics platform
*
* @link http://piwik.org
* @link https://matomo.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*/

namespace Piwik\Ini;
namespace Matomo\Ini;

/**
* Exception when writing a INI configuration.
Expand Down
10 changes: 5 additions & 5 deletions tests/BaseIniReaderTest.php
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<?php
/**
* Piwik - free/libre analytics platform
* Matomo - free/libre analytics platform
*
* @link http://piwik.org
* @link https://matomo.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*/

namespace Piwik\Tests\Ini;
namespace Matomo\Tests\Ini;

use Piwik\Ini\IniReader;
use Matomo\Ini\IniReader;

abstract class BaseIniReaderTest extends \PHPUnit_Framework_TestCase
{
Expand Down Expand Up @@ -244,7 +244,7 @@ public function test_readString_shouldCastToIntOnlyIfNoDataIsLost()
}

/**
* @expectedException \Piwik\Ini\IniReadingException
* @expectedException \Matomo\Ini\IniReadingException
* @expectedExceptionMessage The file /foobar doesn't exist or is not readable
*/
public function test_readFile_shouldThrow_withInvalidFile()
Expand Down
6 changes: 3 additions & 3 deletions tests/IniReaderDisabledFunctionTest.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<?php
/**
* Piwik - free/libre analytics platform
* Matomo - free/libre analytics platform
*
* @link http://piwik.org
* @link https://matomo.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*/

namespace Piwik\Tests\Ini;
namespace Matomo\Tests\Ini;

/**
* Tests the IniReader when the `parse_ini_string()` function is disabled.
Expand Down
8 changes: 4 additions & 4 deletions tests/IniReaderEnabledFunctionTest.php
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
<?php
/**
* Piwik - free/libre analytics platform
* Matomo - free/libre analytics platform
*
* @link http://piwik.org
* @link https://matomo.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*/

namespace Piwik\Tests\Ini;
namespace Matomo\Tests\Ini;

class IniReaderEnabledFunctionTest extends BaseIniReaderTest
{
/**
* @expectedException \Piwik\Ini\IniReadingException
* @expectedException \Matomo\Ini\IniReadingException
* @expectedExceptionMessage Syntax error in INI configuration
*/
public function test_readString_shouldThrowException_ifInvalidIni()
Expand Down
10 changes: 5 additions & 5 deletions tests/IniWriterTest.php
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<?php
/**
* Piwik - free/libre analytics platform
* Matomo - free/libre analytics platform
*
* @link http://piwik.org
* @link https://matomo.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*/

namespace Piwik\Tests\Ini;
namespace Matomo\Tests\Ini;

use Piwik\Ini\IniWriter;
use Matomo\Ini\IniWriter;

class IniWriterTest extends \PHPUnit_Framework_TestCase
{
Expand Down Expand Up @@ -60,7 +60,7 @@ public function test_writeToString_withEmptyConfig()
}

/**
* @expectedException \Piwik\Ini\IniWritingException
* @expectedException \Matomo\Ini\IniWritingException
* @expectedExceptionMessage Section "Section 1" doesn't contain an array of values
*/
public function test_writeToString_shouldThrowException_withInvalidConfig()
Expand Down
4 changes: 2 additions & 2 deletions tests/PerformanceTest/IniReadingEvent.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php

namespace Piwik\Tests\Ini\PerformanceTest;
namespace Matomo\Tests\Ini\PerformanceTest;

use Athletic\AthleticEvent;
use Piwik\Ini\IniReader;
use Matomo\Ini\IniReader;

class IniReadingEvent extends AthleticEvent
{
Expand Down

0 comments on commit ac25c89

Please sign in to comment.