Skip to content

Commit

Permalink
fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
IonBazan committed Aug 30, 2019
1 parent d50facf commit c93cf8a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions .styleci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
preset: symfony
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
language: php

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

php:
- "7.2"
- "7.3"
Expand Down
3 changes: 2 additions & 1 deletion src/QrPayment.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
class QrPayment
{
const DELIMITER = '|';

const DISALLOWED_CHARS = '/([^A-Za-z0-9 ,\.\/\\\\\-@#&\*\/¹æê³ñ󜟿¥ÆÊ£ÑŹÓŒąćęłńóśźżĄĆĘŁŃŚŻ¯_])/u';

/** @var string|null */
Expand Down Expand Up @@ -70,7 +71,7 @@ public function __construct(
$this->reserved = $reserved;
}

public static function fromQrString(string $qrString): QrPayment
public static function fromQrString(string $qrString): self
{
$parts = explode(self::DELIMITER, $qrString);

Expand Down

0 comments on commit c93cf8a

Please sign in to comment.