8000 Merge remote-tracking branch 'upstream/main' · artmxra7/nativephp-laravel@92dbfe2 · GitHub
[go: up one dir, main page]

10000
Skip to content

Commit 92dbfe2

Browse files
committed
Merge remote-tracking branch 'upstream/main'
2 parents 33da1b6 + 740d756 commit 92dbfe2

13 files changed

+112
-0
lines changed

CONTRIBUTING.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# Contributing to NativePHP
2+
3+
Thank you for considering contributing to NativePHP! We appreciate your interest in making this project better and welcome your contributions.
4+
5+
## How to Contribute
6+
7+
We believe that open collaboration leads to the best results. To contribute to the project, follow these steps:
8+
9+
1. **Fork the repository**: Fork the NativePHP repository to your own GitHub account. This will create a copy of the project under your account.
10+
11+
2. **Clone the repository**: Clone the forked repository to your local machine using `git clone`. This allows you to work on the project locally.
12+
13+
3. **Create a branch**: Before making any changes, create a new branch in the repository. The branch name should be descriptive and reflect the changes you plan to make.
14+
15+
4. **Make changes**: Make your desired changes and improvements to the project. Please ensure that your changes adhere to the coding guidelines and best practices of the project.
16+
17+
5. **Test your changes**: Test your changes thoroughly to ensure they work as intended and do not introduce any new issues.
18+
19+
6. **Commit your changes**: Once you are satisfied with your changes, commit them with clear and concise commit messages that explain the purpose of the changes.
20+
21+
7. **Pull Request**: Push your changes to your forked repository and create a Pull Request (PR) to the `main` branch of the original NativePHP repository. Provide a detailed description of the changes you made, the problem you solved, and any other relevant information.
22+
23+
8. **Code Review**: The project maintainers will review your Pull Request. Be prepared to make changes or address any feedback you receive during the review process.
24+
25+
9. **Merge**: Once your Pull Request has been approved and any necessary changes have been made, it will be merged into the main project. Congratulations on your successful contribution!
26+
27+
## Code Style and Guidelines
28+
29+
Please follow the coding style and guidelines of the project. If the project uses a specific coding style (e.g., Python's PEP 8), make sure your contributions comply with it.
30+
31+
## Reporting Issues
32+
33+
If you encounter any bugs, have questions, or want to suggest improvements, please create an issue in the GitHub repository. Clearly, describe the problem or suggestion, providing steps to reproduce the issue if applicable.
34+
35+
## Code of Conduct
36+
37+
We expect all contributors to adhere to our Code of Conduct. Be respectful, inclusive, and considerate of others when participating in this project. Any unacceptable behavior will not be tolerated.
38+
39+
## License
40+
41+
By contributing to NativePHP, you agree that your contributions will be licensed under the same license as the project (if applicable). Make sure you understand and comply with the licensing terms before submitting your contributions.
42+
43+
## Acknowledgments
44+
45+
Contributors play a vital role in the success of this project. Your efforts will be acknowledged in the project's documentation and release notes, and your GitHub profile will be listed as a contributor.
46+
47+
Thank you for your interest in contributing to NativePHP. Together, we can build an amazing open-source community and make the project even better!

src/Facades/App.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@
44

55
use Illuminate\Support\Facades\Facade;
66

7+
/**
8+
* @method static void focus()
9+
* @method static void hide()
10+
* @method static bool isHidden()
11+
* @method static string version()
12+
* @method static int badgeCount($count = null)
13+
* @method static void addRecentDocument(string $path)
14+
* @method static array recentDocuments()
15+
* @method static void clearRecentDocuments()
16+
*/
717
class App extends Facade
818
{
919
protected static function getFacadeAccessor()

src/Facades/Clipboard.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@
44

55
use Illuminate\Support\Facades\Facade;
66

7+
/**
8+
* @method static void clear()
9+
* @method static string text($text = null)
10+
* @method static string html($html = null)
11+
* @method static string image($image = null)
12+
*/
713
class Clipboard extends Facade
814
{
915
protected static function getFacadeAccessor()

src/Facades/ContextMenu.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,12 @@
33
namespace Native\Laravel\Facades;
44

55
use Illuminate\Support\Facades\Facade;
6+
use Native\Laravel\Menu\Menu;
67

8+
/**
9+
* @method static void register(Menu $menu)
10+
* @method static void remove()
11+
*/
712
class ContextMenu extends Facade
813
{
914
protected static function getFacadeAccessor()

src/Facades/Dock.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@
33
namespace Native\Laravel\Facades;
44

55
use Illuminate\Support\Facades\Facade;
6+
use Native\Laravel\Menu\Menu;
67

8+
/**
9+
* @method static void menu(Menu $menu)
10+
*/
711
class Dock extends Facade
812
{
913
protected static function getFacadeAccessor()

src/Facades/GlobalShortcut.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@
44

55
use Illuminate\Support\Facades\Facade;
66

7+
/**
8+
* @method static \Native\Laravel\GlobalShortcut key(string $key)
9+
* @method static \Native\Laravel\GlobalShortcut event(string $event)
10+
* @method static void register()
11+
* @method static void unregister()
12+
*/
713
class GlobalShortcut extends Facade
814
{
915
protected static function getFacadeAccessor()

src/Facades/MenuBar.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@
44

55
use Illuminate\Support\Facades\Facade;
66

7+
/**
8+
* @method static \Native\Laravel\MenuBar\PendingCreateMenuBar create()
9+
* @method static void show()
10+
* @method static void hide()
11+
* @method static void label(string $label)
12+
*/
713
class MenuBar extends Facade
814
{
915
protected static function getFacadeAccessor()

src/Facades/Process.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@
44

55
use Illuminate\Support\Facades\Facade;
66

7+
/**
8+
* @method static string arch()
9+
* @method static string platform()
10+
* @method static float uptime()
11+
* @method static object fresh()
12+
*/
713
class Process extends Facade
814
{
915
protected static function getFacadeAccessor()

src/Facades/Screen.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44

55
use Illuminate\Support\Facades\Facade;
66

7+
/**
8+
* @method static object cursorPosition()
9+
* @method static array displays()
10+
*/
711
class Screen extends Facade
812
{
913
protected static function getFacadeAccessor()

src/Facades/Settings.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44

55
use Illuminate\Support\Facades\Facade;
66

7+
/**
8+
* @method static void set($key, $value)
9+
* @method static void mixed($key, $default = null)
10+
*/
711
class Settings extends Facade
812
{
913
protected static function getFacadeAccessor()

0 commit comments

Comments
 (0)
0