Skip to content

Commit

Permalink
Merge pull request #1 from streammachineio/rename-to-strm-privacy
Browse files Browse the repository at this point in the history
feat: rename to STRM Privacy
  • Loading branch information
trietsch authored Nov 11, 2021
2 parents 419d561 + 6f09c24 commit 66f37a1
Show file tree
Hide file tree
Showing 21 changed files with 52 additions and 52 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ jobs:
steps:
- name: Update Packagist
run: |
curl -XPOST -H'content-type:application/json' 'https://packagist.org/api/update-package?username=streammachineio&apiToken=${{secrets.PACKAGIST_API_TOKEN}}' -d'{"repository":{"url":"https://packagist.org/packages/streammachineio/php-driver"}}'
curl -XPOST -H'content-type:application/json' 'https://packagist.org/api/update-package?username=strmprivacy&apiToken=${{secrets.PACKAGIST_API_TOKEN}}' -d'{"repository":{"url":"https://packagist.org/packages/strmprivacy/php-driver"}}'
16 changes: 8 additions & 8 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
## [1.0.3](https://github.com/streammachineio/php-driver/compare/v1.0.2...v1.0.3) (2021-10-13)
## [1.0.3](https://github.com/strmprivacy/php-driver/compare/v1.0.2...v1.0.3) (2021-10-13)


### Bug Fixes

* call packagist webhook using curl ([61945cc](https://github.com/streammachineio/php-driver/commit/61945cc532d46180e0c476434767f80d498ddb0d))
* call packagist webhook using curl ([61945cc](https://github.com/strmprivacy/php-driver/commit/61945cc532d46180e0c476434767f80d498ddb0d))

## [1.0.2](https://github.com/streammachineio/php-driver/compare/v1.0.1...v1.0.2) (2021-10-13)
## [1.0.2](https://github.com/strmprivacy/php-driver/compare/v1.0.1...v1.0.2) (2021-10-13)


### Bug Fixes

* fixed publish gh workflow ([85bd297](https://github.com/streammachineio/php-driver/commit/85bd297d2c8b3878ca70a33378054f10fec390c6))
* fixed publish gh workflow ([85bd297](https://github.com/strmprivacy/php-driver/commit/85bd297d2c8b3878ca70a33378054f10fec390c6))

## [1.0.1](https://github.com/streammachineio/php-driver/compare/v1.0.0...v1.0.1) (2021-10-13)
## [1.0.1](https://github.com/strmprivacy/php-driver/compare/v1.0.0...v1.0.1) (2021-10-13)


### Bug Fixes

* removed examples, moved to another repo ([0af9787](https://github.com/streammachineio/php-driver/commit/0af9787b5b75b25cef08b4acbb3083ea895e49ec))
* removed examples, moved to another repo ([0af9787](https://github.com/strmprivacy/php-driver/commit/0af9787b5b75b25cef08b4acbb3083ea895e49ec))

# 1.0.0 (2021-10-13)


### Bug Fixes

* trailing comma's in function arguments not supported in php72 ([ee81934](https://github.com/streammachineio/php-driver/commit/ee819344f73180c91a4b964abc4cb3b5f7b56e9a))
* trailing comma's in function arguments not supported in php72 ([ee81934](https://github.com/strmprivacy/php-driver/commit/ee819344f73180c91a4b964abc4cb3b5f7b56e9a))


### Features

* add semantic release ([cdb8fba](https://github.com/streammachineio/php-driver/commit/cdb8fba60abc1b37605e724fefbf045f91dd8e87))
* add semantic release ([cdb8fba](https://github.com/strmprivacy/php-driver/commit/cdb8fba60abc1b37605e724fefbf045f91dd8e87))
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# PHP Driver for Stream Machine
# PHP Driver for STRM Privacy

See the matching [examples](https://github.com/streammachineio/php-examples) in order to use the PHP driver.
See the matching [examples](https://github.com/strmprivacy/php-examples) in order to use the PHP driver.

## Need help?

See our [documentation](https://docs.streammachine.io) or [reach out to us](https://docs.streammachine.io).
See our [documentation](https://docs.strmprivacy.io) or [reach out to us](https://docs.strmprivacy.io).

10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"name": "streammachineio/php-driver",
"description": "PHP driver for interacting with Stream Machine.",
"name": "strmprivacy/php-driver",
"description": "PHP driver for interacting with STRM Privacy.",
"type": "library",
"license": "Apache-2.0",
"authors": [
{
"name": "Lennart Hengstmengel",
"email": "[email protected]"
"name": "Stream Machine B.V.",
"email": "[email protected]"
}
],
"autoload": {
"psr-4": {
"Streammachine\\Driver\\": "src/",
"StrmPrivacy\\Driver\\": "src/",
"Tests\\": "tests/"
}
},
Expand Down
4 changes: 2 additions & 2 deletions src/AuthProvider.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

namespace Streammachine\Driver;
namespace StrmPrivacy\Driver;

use Streammachine\Driver\Exceptions\AuthenticationException;
use StrmPrivacy\Driver\Exceptions\AuthenticationException;

class AuthProvider
{
Expand Down
10 changes: 5 additions & 5 deletions src/Client.php
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<?php

namespace Streammachine\Driver;
namespace StrmPrivacy\Driver;

use GuzzleHttp\Client as HttpClient;
use GuzzleHttp\Exception\RequestException;
use Streammachine\Driver\Exceptions\AuthenticationException;
use Streammachine\Driver\Exceptions\RefreshException;
use StrmPrivacy\Driver\Exceptions\AuthenticationException;
use StrmPrivacy\Driver\Exceptions\RefreshException;

class Client
{
/** @var \Streammachine\Driver\AuthProvider $authProvider */
/** @var \StrmPrivacy\Driver\AuthProvider $authProvider */
protected $authProvider;

/** @var \GuzzleHttp\Client $httpClient */
Expand All @@ -24,7 +24,7 @@ class Client
/** @var string $clientSecret */
protected $clientSecret;

/** @var \Streammachine\Driver\Config $config */
/** @var \StrmPrivacy\Driver\Config $config */
protected $config;

public function __construct(
Expand Down
6 changes: 3 additions & 3 deletions src/Config.php
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<?php

namespace Streammachine\Driver;
namespace StrmPrivacy\Driver;

class Config
{
/** @var string $gatewayProtocol */
protected $gatewayProtocol = 'https';

/** @var string $gatewayHost */
protected $gatewayHost = 'in.strm.services';
protected $gatewayHost = 'events.strmprivacy.io';

/** @var string $gatewayEndpoint */
protected $gatewayEndpoint = '/event';
Expand All @@ -17,7 +17,7 @@ class Config
protected $stsProtocol = 'https';

/** @var string $stsHost */
protected $stsHost = 'auth.strm.services';
protected $stsHost = 'sts.strmprivacy.io';

/** @var string $stsAuthEndpoint */
protected $stsAuthEndpoint = '/auth';
Expand Down
2 changes: 1 addition & 1 deletion src/Contracts/Event.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Streammachine\Driver\Contracts;
namespace StrmPrivacy\Driver\Contracts;

use AvroSchema;

Expand Down
2 changes: 1 addition & 1 deletion src/Contracts/Serializer.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Streammachine\Driver\Contracts;
namespace StrmPrivacy\Driver\Contracts;

interface Serializer
{
Expand Down
2 changes: 1 addition & 1 deletion src/Enums/Enum.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Streammachine\Driver\Enums;
namespace StrmPrivacy\Driver\Enums;

use ReflectionClass;

Expand Down
2 changes: 1 addition & 1 deletion src/Enums/SerializationType.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Streammachine\Driver\Enums;
namespace StrmPrivacy\Driver\Enums;

class SerializationType extends Enum
{
Expand Down
2 changes: 1 addition & 1 deletion src/Exceptions/AuthenticationException.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Streammachine\Driver\Exceptions;
namespace StrmPrivacy\Driver\Exceptions;

class AuthenticationException extends Exception
{
Expand Down
2 changes: 1 addition & 1 deletion src/Exceptions/Exception.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Streammachine\Driver\Exceptions;
namespace StrmPrivacy\Driver\Exceptions;

use Exception as BaseException;

Expand Down
2 changes: 1 addition & 1 deletion src/Exceptions/RefreshException.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Streammachine\Driver\Exceptions;
namespace StrmPrivacy\Driver\Exceptions;

class RefreshException extends Exception
{
Expand Down
2 changes: 1 addition & 1 deletion src/Exceptions/SendingException.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Streammachine\Driver\Exceptions;
namespace StrmPrivacy\Driver\Exceptions;

class SendingException extends Exception
{
Expand Down
12 changes: 6 additions & 6 deletions src/Sender.php
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<?php

namespace Streammachine\Driver;
namespace StrmPrivacy\Driver;

use GuzzleHttp\Exception\RequestException;
use Streammachine\Driver\Contracts\Event;
use Streammachine\Driver\Contracts\Serializer;
use Streammachine\Driver\Exceptions\SendingException;
use Streammachine\Driver\Serializers\Factory;
use StrmPrivacy\Driver\Contracts\Event;
use StrmPrivacy\Driver\Contracts\Serializer;
use StrmPrivacy\Driver\Exceptions\SendingException;
use StrmPrivacy\Driver\Serializers\Factory;

class Sender extends Client
{
/** @var \Streammachine\Driver\Contracts\Serializer $serializer */
/** @var \StrmPrivacy\Driver\Contracts\Serializer $serializer */
protected $serializer;

public function send(Event $event, string $serializationType): void
Expand Down
6 changes: 3 additions & 3 deletions src/Serializers/AvroBinarySerializer.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?php

namespace Streammachine\Driver\Serializers;
namespace StrmPrivacy\Driver\Serializers;

use AvroIOBinaryEncoder;
use AvroIODatumWriter;
use AvroSchema;
use AvroStringIO;
use Streammachine\Driver\Contracts\Event;
use Streammachine\Driver\Contracts\Serializer;
use StrmPrivacy\Driver\Contracts\Event;
use StrmPrivacy\Driver\Contracts\Serializer;

class AvroBinarySerializer implements Serializer
{
Expand Down
6 changes: 3 additions & 3 deletions src/Serializers/Factory.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?php

namespace Streammachine\Driver\Serializers;
namespace StrmPrivacy\Driver\Serializers;

use InvalidArgumentException;
use Streammachine\Driver\Contracts\Serializer;
use Streammachine\Driver\Enums\SerializationType;
use StrmPrivacy\Driver\Contracts\Serializer;
use StrmPrivacy\Driver\Enums\SerializationType;

class Factory
{
Expand Down
6 changes: 3 additions & 3 deletions src/Serializers/JsonSerializer.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php

namespace Streammachine\Driver\Serializers;
namespace StrmPrivacy\Driver\Serializers;

use Streammachine\Driver\Contracts\Event;
use Streammachine\Driver\Contracts\Serializer;
use StrmPrivacy\Driver\Contracts\Event;
use StrmPrivacy\Driver\Contracts\Serializer;

class JsonSerializer implements Serializer
{
Expand Down
2 changes: 1 addition & 1 deletion tests/ClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
use GuzzleHttp\HandlerStack;
use GuzzleHttp\Psr7\Response;
use PHPUnit\Framework\TestCase;
use Streammachine\Driver\Client;
use StrmPrivacy\Driver\Client;

class ClientTest extends TestCase
{
Expand Down
2 changes: 1 addition & 1 deletion tests/ConfigTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace Tests;

use PHPUnit\Framework\TestCase;
use Streammachine\Driver\Config;
use StrmPrivacy\Driver\Config;

class ConfigTest extends TestCase
{
Expand Down

0 comments on commit 66f37a1

Please sign in to comment.