Skip to content

Commit 0bb8c41

Browse files
authored
Merge pull request #4 from mesilov/feature/1-kick-off
Rename package and namespaces to bitrix24-php-lib
2 parents b4f0551 + f3aafe5 commit 0bb8c41

File tree

10 files changed

+86
-11
lines changed

10 files changed

+86
-11
lines changed
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: 🐛 Bug Report
2+
description: Bug report template
3+
labels: Bug
4+
5+
body:
6+
- type: input
7+
id: affected-versions
8+
attributes:
9+
label: version(s) affected
10+
placeholder: x.y.z
11+
validations:
12+
required: true
13+
- type: textarea
14+
id: description
15+
attributes:
16+
label: Description
17+
description: A clear and concise description of the problem
18+
validations:
19+
required: true
20+
- type: textarea
21+
id: how-to-reproduce
22+
attributes:
23+
label: How to reproduce
24+
description: |
25+
⚠️ This is the most important part of the report ⚠️
26+
Without a way to easily reproduce your issue, there is little chance we will be able to help you and work on a fix.
27+
Please, take the time to show us some code and/or config that is needed for others to reproduce the problem easily.
28+
validations:
29+
required: true
30+
- type: textarea
31+
id: possible-solution
32+
attributes:
33+
label: Possible Solution
34+
description: |
35+
Optional: only if you have suggestions on a fix/reason for the bug
36+
Don't hesitate to create a pull request with your solution, it helps get faster feedback.
37+
- type: textarea
38+
id: additional-context
39+
attributes:
40+
label: Additional Context
41+
description: "Optional: any other context about the problem: log messages, screenshots, etc."
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: 🚀 Feature Request
2+
description: Ideas for new features and improvements
3+
body:
4+
- type: textarea
5+
id: description
6+
attributes:
7+
label: Description
8+
description: A clear and concise description of the new feature
9+
validations:
10+
required: true
11+
- type: textarea
12+
id: example
13+
attributes:
14+
label: Example
15+
description: |
16+
A simple example of the new feature in action (include PHP code, YAML config, etc.)
17+
If the new feature changes an existing feature, include a simple before/after comparison.

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
blank_issues_enabled: false

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
| Q | A |
2+
|---------------|---------------------------------------------------------------------------------------------------------------------------|
3+
| Bug fix? | yes/no |
4+
| New feature? | yes/no <!-- please update CHANGELOG.md file --> |
5+
| Deprecations? | yes/no <!-- please update CHANGELOG.md file --> |
6+
| Issues | Fix #... <!-- prefix each issue number with "Fix #", no need to create an issue if none exists, explain below instead --> |
7+
| License | MIT |
8+
9+
<!--
10+
Replace this notice by a description of your feature/bugfix.
11+
This will help reviewers and should be a good start for the documentation.
12+
13+
Additionally:
14+
- Always add tests and ensure they pass.
15+
- For new features, provide some code snippets to help understand usage.
16+
-->

CHANGELOG.md

Whitespace-only changes.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# bitrix24-app-core
1+
# bitrix24-php-lib
22

3-
Bitrix24 application core
3+
PHP lib for Bitrix24 application development
44

55
## Область применения
66

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "mesilov/bitrix24-app-core",
2+
"name": "mesilov/bitrix24-php-lib",
33
"description": "A powerful PHP library for rapid Bitrix24 application development",
44
"keywords": [
55
"Bitrix24",
@@ -56,12 +56,12 @@
5656
},
5757
"autoload": {
5858
"psr-4": {
59-
"Bitrix24\\SDK\\ApplicationCore\\": "src"
59+
"Bitrix24\\SDK\\Lib\\": "src"
6060
}
6161
},
6262
"autoload-dev": {
6363
"psr-4": {
64-
"Bitrix24\\SDK\\ApplicationCore\\Tests\\": "tests",
64+
"Bitrix24\\SDK\\Lib\\Tests\\": "tests",
6565
"Bitrix24\\SDK\\Tests\\":"vendor/mesilov/bitrix24-php-sdk/tests"
6666
}
6767
}

src/Bitrix24Accounts/Entity/Bitrix24Account.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* This file is part of the bitrix24-app-core package.
3+
* This file is part of the bitrix24-php-lib package.
44
*
55
* © Maksim Mesilov <mesilov.maxim@gmail.com>
66
*
@@ -10,7 +10,7 @@
1010

1111
declare(strict_types=1);
1212

13-
namespace Bitrix24\SDK\ApplicationCore\Bitrix24Accounts\Entity;
13+
namespace Bitrix24\SDK\Lib\Bitrix24Accounts\Entity;
1414

1515
use Bitrix24\SDK\Application\Contracts\Bitrix24Accounts\Entity\Bitrix24AccountInterface;
1616
use Bitrix24\SDK\Application\Contracts\Bitrix24Accounts\Entity\Bitrix24AccountStatus;

tests/Unit/Bitrix24Accounts/Entity/Bitrix24AccountTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
/**
4-
* This file is part of the bitrix24-app-core package.
4+
* This file is part of the bitrix24-php-lib package.
55
*
66
* © Maksim Mesilov <mesilov.maxim@gmail.com>
77
*
@@ -11,11 +11,11 @@
1111

1212
declare(strict_types=1);
1313

14-
namespace Bitrix24\SDK\ApplicationCore\Tests\Unit\Bitrix24Accounts\Entity;
14+
namespace Bitrix24\SDK\Lib\Tests\Unit\Bitrix24Accounts\Entity;
1515

1616
use Bitrix24\SDK\Application\Contracts\Bitrix24Accounts\Entity\Bitrix24AccountInterface;
1717
use Bitrix24\SDK\Application\Contracts\Bitrix24Accounts\Entity\Bitrix24AccountStatus;
18-
use Bitrix24\SDK\ApplicationCore\Bitrix24Accounts\Entity\Bitrix24Account;
18+
use Bitrix24\SDK\Lib\Bitrix24Accounts\Entity\Bitrix24Account;
1919
use Bitrix24\SDK\Core\Credentials\AuthToken;
2020
use Bitrix24\SDK\Core\Credentials\Scope;
2121
use Bitrix24\SDK\Tests\Application\Contracts\Bitrix24Accounts\Entity\Bitrix24AccountInterfaceTest;

tests/bootstrap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
/**
4-
* This file is part of the bitrix24-app-core package.
4+
* This file is part of the bitrix24-php-lib package.
55
*
66
* © Maksim Mesilov <mesilov.maxim@gmail.com>
77
*

0 commit comments

Comments
 (0)