Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename package and namespaces to bitrix24-php-lib #4

Merged
merged 3 commits into from
Sep 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions .github/ISSUE_TEMPLATE/1_Bug_report.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: 🐛 Bug Report
description: Bug report template
labels: Bug

body:
- type: input
id: affected-versions
attributes:
label: version(s) affected
placeholder: x.y.z
validations:
required: true
- type: textarea
id: description
attributes:
label: Description
description: A clear and concise description of the problem
validations:
required: true
- type: textarea
id: how-to-reproduce
attributes:
label: How to reproduce
description: |
⚠️ This is the most important part of the report ⚠️
Without a way to easily reproduce your issue, there is little chance we will be able to help you and work on a fix.
Please, take the time to show us some code and/or config that is needed for others to reproduce the problem easily.
validations:
required: true
- type: textarea
id: possible-solution
attributes:
label: Possible Solution
description: |
Optional: only if you have suggestions on a fix/reason for the bug
Don't hesitate to create a pull request with your solution, it helps get faster feedback.
- type: textarea
id: additional-context
attributes:
label: Additional Context
description: "Optional: any other context about the problem: log messages, screenshots, etc."
17 changes: 17 additions & 0 deletions .github/ISSUE_TEMPLATE/2_Feature_request.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: 🚀 Feature Request
description: Ideas for new features and improvements
body:
- type: textarea
id: description
attributes:
label: Description
description: A clear and concise description of the new feature
validations:
required: true
- type: textarea
id: example
attributes:
label: Example
description: |
A simple example of the new feature in action (include PHP code, YAML config, etc.)
If the new feature changes an existing feature, include a simple before/after comparison.
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
blank_issues_enabled: false
16 changes: 16 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
| Q | A |
|---------------|---------------------------------------------------------------------------------------------------------------------------|
| Bug fix? | yes/no |
| New feature? | yes/no <!-- please update CHANGELOG.md file --> |
| Deprecations? | yes/no <!-- please update CHANGELOG.md file --> |
| Issues | Fix #... <!-- prefix each issue number with "Fix #", no need to create an issue if none exists, explain below instead --> |
| License | MIT |

<!--
Replace this notice by a description of your feature/bugfix.
This will help reviewers and should be a good start for the documentation.

Additionally:
- Always add tests and ensure they pass.
- For new features, provide some code snippets to help understand usage.
-->
Empty file added CHANGELOG.md
Empty file.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# bitrix24-app-core
# bitrix24-php-lib

Bitrix24 application core
PHP lib for Bitrix24 application development

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

Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "mesilov/bitrix24-app-core",
"name": "mesilov/bitrix24-php-lib",
"description": "A powerful PHP library for rapid Bitrix24 application development",
"keywords": [
"Bitrix24",
Expand Down Expand Up @@ -56,12 +56,12 @@
},
"autoload": {
"psr-4": {
"Bitrix24\\SDK\\ApplicationCore\\": "src"
"Bitrix24\\SDK\\Lib\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"Bitrix24\\SDK\\ApplicationCore\\Tests\\": "tests",
"Bitrix24\\SDK\\Lib\\Tests\\": "tests",
"Bitrix24\\SDK\\Tests\\":"vendor/mesilov/bitrix24-php-sdk/tests"
}
}
Expand Down
4 changes: 2 additions & 2 deletions src/Bitrix24Accounts/Entity/Bitrix24Account.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* This file is part of the bitrix24-app-core package.
* This file is part of the bitrix24-php-lib package.
*
* © Maksim Mesilov <[email protected]>
*
Expand All @@ -10,7 +10,7 @@

declare(strict_types=1);

namespace Bitrix24\SDK\ApplicationCore\Bitrix24Accounts\Entity;
namespace Bitrix24\SDK\Lib\Bitrix24Accounts\Entity;

use Bitrix24\SDK\Application\Contracts\Bitrix24Accounts\Entity\Bitrix24AccountInterface;
use Bitrix24\SDK\Application\Contracts\Bitrix24Accounts\Entity\Bitrix24AccountStatus;
Expand Down
6 changes: 3 additions & 3 deletions tests/Unit/Bitrix24Accounts/Entity/Bitrix24AccountTest.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/**
* This file is part of the bitrix24-app-core package.
* This file is part of the bitrix24-php-lib package.
*
* © Maksim Mesilov <[email protected]>
*
Expand All @@ -11,11 +11,11 @@

declare(strict_types=1);

namespace Bitrix24\SDK\ApplicationCore\Tests\Unit\Bitrix24Accounts\Entity;
namespace Bitrix24\SDK\Lib\Tests\Unit\Bitrix24Accounts\Entity;

use Bitrix24\SDK\Application\Contracts\Bitrix24Accounts\Entity\Bitrix24AccountInterface;
use Bitrix24\SDK\Application\Contracts\Bitrix24Accounts\Entity\Bitrix24AccountStatus;
use Bitrix24\SDK\ApplicationCore\Bitrix24Accounts\Entity\Bitrix24Account;
use Bitrix24\SDK\Lib\Bitrix24Accounts\Entity\Bitrix24Account;
use Bitrix24\SDK\Core\Credentials\AuthToken;
use Bitrix24\SDK\Core\Credentials\Scope;
use Bitrix24\SDK\Tests\Application\Contracts\Bitrix24Accounts\Entity\Bitrix24AccountInterfaceTest;
Expand Down
2 changes: 1 addition & 1 deletion tests/bootstrap.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/**
* This file is part of the bitrix24-app-core package.
* This file is part of the bitrix24-php-lib package.
*
* © Maksim Mesilov <[email protected]>
*
Expand Down
Loading