Skip to content

Commit a14cab1

Browse files
committed
schedule fix + CreditChecker (#2) + generics improve
1 parent 04a795f commit a14cab1

File tree

89 files changed

+436
-283
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

89 files changed

+436
-283
lines changed

.gitattributes

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
.gitattributes export-ignore
2+
.gitignore export-ignore
3+
.github export-ignore
4+
phpstan.neon export-ignore
5+
tests/ export-ignore
6+
docs/ export-ignore
7+
examples/ export-ignore

.gitignore

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
.idea/
22
vendor/
33
composer.lock
4-
test.php
5-
src/Connection/ConnectionMock.php
64
coverage.html
5+
tests/**/output/*.actual
6+
tests/**/output/*.expected
7+
test.php
8+
example.php

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
BSD 3-Clause License
22

3-
Copyright (c) 2021, BulkGate
3+
Copyright (c) 2022, BulkGate
44
All rights reserved.
55

66
Redistribution and use in source and binary forms, with or without

composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"authors": [
88
{
99
"name": "TOPefekt s.r.o.",
10-
"homepage": "http://www.topefekt.com"
10+
"homepage": "https://www.bulkgate.com"
1111
},
1212
{
1313
"name": "Lukáš Piják",
@@ -22,15 +22,15 @@
2222
},
2323
"require-dev": {
2424
"nette/tester": "~2.0",
25-
"tracy/tracy": "^2.4",
26-
"phpstan/phpstan": "^1.2",
27-
"mockery/mockery": "^1.4",
25+
"tracy/tracy": "^2.9",
26+
"phpstan/phpstan": "^1.9",
27+
"mockery/mockery": "^1.5",
2828
"nette/di": "^3.0"
2929
},
3030
"autoload": {
3131
"classmap": ["src/"]
3232
},
33-
"minimum-stability": "dev",
33+
"minimum-stability": "RC",
3434
"scripts": {
3535
"tester": "tester tests -s -C",
3636
"coverage": "tester -C tests --coverage=coverage.html --coverage-src=src",

examples/nette/DIContainerFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php declare(strict_types=1);
22

33
/**
4-
* @author Lukáš Piják 2021 TOPefekt s.r.o.
4+
* @author Lukáš Piják 2022 TOPefekt s.r.o.
55
* @link https://www.bulkgate.com/
66
*/
77

examples/nette/promotional.php

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,11 @@
11
<?php declare(strict_types=1);
22

33
/**
4-
* @author Lukáš Piják 2021 TOPefekt s.r.o.
4+
* @author Lukáš Piják 2022 TOPefekt s.r.o.
55
* @link https://www.bulkgate.com/
66
*/
77

8-
use BulkGate\Sdk\{
9-
Message\Bulk,
10-
Message\Component\Button,
11-
Message\Component\Image,
12-
Message\Component\SimpleText,
13-
Message\MultiChannel,
14-
Message\Sms,
15-
Message\Viber,
16-
Sender
17-
};
8+
use BulkGate\{Sdk\Message\Bulk, Sdk\Message\Component\Button, Sdk\Message\Component\Image, Sdk\Message\Component\SimpleText, Sdk\Message\MultiChannel, Sdk\Message\Sms, Sdk\Message\Viber, Sdk\Sender};
189

1910
require_once __DIR__ . '/../../vendor/autoload.php';
2011
require __DIR__ . '/DIContainerFactory.php';

examples/nette/transactional.sms.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php declare(strict_types=1);
22

33
/**
4-
* @author Lukáš Piják 2021 TOPefekt s.r.o.
4+
* @author Lukáš Piják 2022 TOPefekt s.r.o.
55
* @link https://www.bulkgate.com/
66
*/
77

examples/nette/transactional.viber.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php declare(strict_types=1);
22

33
/**
4-
* @author Lukáš Piják 2021 TOPefekt s.r.o.
4+
* @author Lukáš Piják 2022 TOPefekt s.r.o.
55
* @link https://www.bulkgate.com/
66
*/
77

phpstan.neon

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,3 @@ parameters:
22
level: 8
33
paths:
44
- src
5-
ignoreErrors:
6-
-
7-
message: '~Class ReturnTypeWillChange is not an Attribute class\.~'
8-
path: src/Utils/Iterator.php
9-
reportUnmatchedIgnoredErrors: false

src/Configurator/Configurator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace BulkGate\Sdk\Configurator;
44

55
/**
6-
* @author Lukáš Piják 2021 TOPefekt s.r.o.
6+
* @author Lukáš Piják 2022 TOPefekt s.r.o.
77
* @link https://www.bulkgate.com/
88
*/
99

0 commit comments

Comments
 (0)