Skip to content

Commit 54902d5

Browse files
ondrakubMilan Felix Šulc
authored and
Milan Felix Šulc
committed
Removed Nette\Object (#69)
1 parent a706393 commit 54902d5

File tree

4 files changed

+11
-6
lines changed

4 files changed

+11
-6
lines changed

.travis.yml

+5
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ php:
33
- 5.6
44
- 7.0
55
- 7.1
6+
- 7.2
67
- hhvm
78
- hhvm-nightly
89

@@ -26,6 +27,10 @@ matrix:
2627
env: COMPOSER_FLAG=--prefer-lowest
2728
- php: 7.1
2829
env: COMPOSER_FLAG=--prefer-stable
30+
- php: 7.2
31+
env: COMPOSER_FLAG=--prefer-lowest
32+
- php: 7.2
33+
env: COMPOSER_FLAG=--prefer-stable
2934

3035
before_script:
3136
# Composer

src/Gopay/Entity/BasePayment.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
use Markette\Gopay\Exception\InvalidArgumentException;
66
use Markette\Gopay\Gopay;
7-
use Nette\Object;
87
use stdClass;
98

109
/**
@@ -18,7 +17,7 @@
1817
* @property string $productName
1918
* @property stdClass $customer
2019
*/
21-
abstract class BasePayment extends Object
20+
abstract class BasePayment
2221
{
2322

2423
/** @var float */

src/Gopay/Gopay.php

+4-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
use Markette\Gopay\Api\GopayHelper;
66
use Markette\Gopay\Api\GopaySoap;
7-
use Nette\Object;
7+
use Nette\SmartObject;
88

99
/**
1010
* Base Gopay class
@@ -13,9 +13,11 @@
1313
* @property-read GopaySoap $soap
1414
* @property-read GopayHelper $helper
1515
*/
16-
class Gopay extends Object
16+
class Gopay
1717
{
1818

19+
use SmartObject;
20+
1921
// METHODS =================================================================
2022

2123
/** @const Platba kartou - Komerční banka, a.s. - Global Payments */

src/Gopay/Service/AbstractService.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,11 @@
44

55
use Markette\Gopay\Exception\InvalidArgumentException;
66
use Markette\Gopay\Gopay;
7-
use Nette\Object;
87

98
/**
109
* Abstract Service
1110
*/
12-
abstract class AbstractService extends Object
11+
abstract class AbstractService
1312
{
1413

1514
/** @var bool */

0 commit comments

Comments
 (0)