generated from roadrunner-php/package-skeleton
-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Up spiral/goridge version * update gh actions * Up phpunit, psalm version, add roadrunner-php/roadrunner-api-dto
- Loading branch information
Showing
15 changed files
with
213 additions
and
106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Code of Conduct | ||
|
||
The Spiral code of conduct is derived from the Ruby code of conduct. | ||
Any violations of the code of conduct may be reported by email `wolfy-j[at]spiralscout.com`. | ||
|
||
- Participants will be tolerant of opposing views. | ||
|
||
- Participants must ensure that their language and actions are free of personal attacks and disparaging personal remarks. | ||
|
||
- When interpreting the words and actions of others, participants should always assume good intentions. | ||
|
||
- Behavior which can be reasonably considered harassment will not be tolerated. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Contributing | ||
|
||
Feel free to contribute to the development of the Framework or its components. | ||
|
||
For more information on contributing rules you can find on the documentation | ||
page at https://spiral.dev/docs/about-contributing |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# These are supported funding model platforms | ||
|
||
github: roadrunner-server |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- | ||
name: 🐛 Bug Report | ||
about: Report errors and problems | ||
labels: Bug | ||
|
||
--- | ||
### Description | ||
|
||
<!-- A clear and concise description of the problem. --> | ||
|
||
### How To Reproduce | ||
|
||
<!-- Code and/or config needed to reproduce the problem. --> | ||
|
||
### Additional Info | ||
|
||
| Q | A | ||
|------------------| --- | ||
| Package Version | x.y.z <!-- Please set the package version --> | ||
| PHP version | x.y.z <!-- Please set the PHP version --> | ||
| Operating system | Linux <!-- Please set your OS --> | ||
|
||
<!-- Optional: any other context about the problem: log messages, screenshots, etc. --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
name: 🚀 Feature Request | ||
about: RFC and ideas for new features and improvements | ||
labels: Feature | ||
|
||
--- | ||
## Description | ||
|
||
<!-- A clear and concise description of the new feature. --> | ||
|
||
## Example | ||
|
||
<!-- 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. --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
name: ❓ Question | ||
about: Use if you have problems and don't know how to formulate them | ||
labels: Question | ||
|
||
--- | ||
|
||
<!-- | ||
We use GitHub issues only to discuss Spiral bugs and new features. In the | ||
case that you have a general question, please use the chat: | ||
- Discord: https://discord.gg/kmmfk7M | ||
Thanks! | ||
--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
| Q | A | ||
| ------------- | --- | ||
| Bugfix? | ✔️/❌ | ||
| Breaks BC? | ✔️/❌ | ||
| New feature? | ✔️/❌ | ||
| Issues | #... <!-- prefix each issue number with "#" symbol, no need to create an issue if none exist, explain below instead --> | ||
| Docs PR | spiral/docs#... <!-- prefix each issue number with "spiral/docs#", required only for new features --> | ||
|
||
<!-- Please, replace this notice by a short description of your feature/bugfix. | ||
This will help people understand your PR and can be used as a start for the documentation. --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
Security Policy | ||
=============== | ||
|
||
If you found something which shouldn't be there or a bug which opens a security | ||
hole, please let me know immediately by email `wolfy-j[at]spiralscout.com`. | ||
|
||
DO NOT PUBLISH SECURITY REPORTS PUBLICLY. | ||
|
||
The full [Security Policy][1] is described in the official documentation. | ||
|
||
[1]: https://spiral.dev/docs/about-contributing#critical-security-issues |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
on: | ||
pull_request: null | ||
push: | ||
branches: | ||
- master | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
on: | ||
pull_request: null | ||
push: | ||
branches: | ||
- master | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,76 @@ | ||
{ | ||
"name": "roadrunner-php/lock", | ||
"description": "This package provides a PHP integration package for the RoadRunner Lock plugin, which allows for easy management of distributed locks in PHP applications. The plugin provides a fast, lightweight, and reliable way to acquire, release, and manage locks in a distributed environment, making it ideal for use in high-traffic web applications and microservices.", | ||
"keywords": [ | ||
"roadrunner-php", | ||
"spiral", | ||
"lock" | ||
], | ||
"homepage": "https://github.com/roadrunner-php/lock", | ||
"license": "MIT", | ||
"authors": [ | ||
{ | ||
"name": "butschster", | ||
"email": "[email protected]", | ||
"role": "Developer" | ||
} | ||
], | ||
"require": { | ||
"php": "^8.1", | ||
"ramsey/uuid": "^4.7", | ||
"roadrunner-php/api": "^4.3.1", | ||
"spiral/goridge": "^3.1" | ||
}, | ||
"require-dev": { | ||
"mockery/mockery": "^1.5", | ||
"phpunit/phpunit": "^9.5", | ||
"vimeo/psalm": "^4.9" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"RoadRunner\\Lock\\": "src" | ||
} | ||
}, | ||
"autoload-dev": { | ||
"psr-4": { | ||
"RoadRunner\\Lock\\Tests\\": "tests/src" | ||
} | ||
}, | ||
"scripts": { | ||
"test": "vendor/bin/phpunit", | ||
"psalm": "vendor/bin/psalm --config=psalm.xml ./src --show-info=true" | ||
}, | ||
"config": { | ||
"sort-packages": true | ||
}, | ||
"minimum-stability": "dev", | ||
"prefer-stable": true | ||
"name": "roadrunner-php/lock", | ||
"type": "library", | ||
"description": "This package provides a PHP integration package for the RoadRunner Lock plugin, which allows for easy management of distributed locks in PHP applications. The plugin provides a fast, lightweight, and reliable way to acquire, release, and manage locks in a distributed environment, making it ideal for use in high-traffic web applications and microservices.", | ||
"keywords": [ | ||
"roadrunner-php", | ||
"spiral", | ||
"lock" | ||
], | ||
"homepage": "https://roadrunner.dev/", | ||
"support": { | ||
"docs": "https://roadrunner.dev/docs", | ||
"issues": "https://github.com/roadrunner-server/roadrunner/issues", | ||
"forum": "https://forum.roadrunner.dev/", | ||
"chat": "https://discord.gg/V6EK4he" | ||
}, | ||
"funding": [ | ||
{ | ||
"type": "github", | ||
"url": "https://github.com/sponsors/roadrunner-server" | ||
} | ||
], | ||
"license": "MIT", | ||
"authors": [ | ||
{ | ||
"name": "Anton Titov (wolfy-j)", | ||
"email": "[email protected]" | ||
}, | ||
{ | ||
"name": "Pavel Buchnev (butschster)", | ||
"email": "[email protected]" | ||
}, | ||
{ | ||
"name": "Aleksei Gagarin (roxblnfk)", | ||
"email": "[email protected]" | ||
}, | ||
{ | ||
"name": "Maksim Smakouz (msmakouz)", | ||
"email": "[email protected]" | ||
}, | ||
{ | ||
"name": "RoadRunner Community", | ||
"homepage": "https://github.com/spiral/roadrunner/graphs/contributors" | ||
} | ||
], | ||
"require": { | ||
"php": "^8.1", | ||
"ramsey/uuid": "^4.7", | ||
"roadrunner-php/roadrunner-api-dto": "^1.0", | ||
"spiral/goridge": "^4.0" | ||
}, | ||
"require-dev": { | ||
"mockery/mockery": "^1.5", | ||
"phpunit/phpunit": "^10.0", | ||
"vimeo/psalm": "^5.9" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"RoadRunner\\Lock\\": "src" | ||
} | ||
}, | ||
"autoload-dev": { | ||
"psr-4": { | ||
"RoadRunner\\Lock\\Tests\\": "tests/src" | ||
} | ||
}, | ||
"scripts": { | ||
"test": "vendor/bin/phpunit", | ||
"psalm": "vendor/bin/psalm --config=psalm.xml ./src --show-info=true" | ||
}, | ||
"config": { | ||
"sort-packages": true | ||
}, | ||
"minimum-stability": "dev", | ||
"prefer-stable": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,34 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<phpunit | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd" | ||
backupGlobals="false" | ||
backupStaticAttributes="false" | ||
bootstrap="vendor/autoload.php" | ||
colors="true" | ||
convertErrorsToExceptions="true" | ||
convertNoticesToExceptions="true" | ||
convertWarningsToExceptions="true" | ||
processIsolation="false" | ||
stopOnFailure="false" | ||
executionOrder="random" | ||
failOnWarning="true" | ||
failOnRisky="true" | ||
failOnEmptyTestSuite="true" | ||
beStrictAboutOutputDuringTests="true" | ||
verbose="true" | ||
> | ||
<testsuites> | ||
<testsuite name="Scheduler Test Suite"> | ||
<directory>tests</directory> | ||
</testsuite> | ||
</testsuites> | ||
<coverage> | ||
<include> | ||
<directory suffix=".php">./src</directory> | ||
</include> | ||
<report> | ||
<html outputDirectory="build/coverage"/> | ||
<text outputFile="build/coverage.txt"/> | ||
<clover outputFile="build/logs/clover.xml"/> | ||
</report> | ||
</coverage> | ||
<logging> | ||
<junit outputFile="build/report.junit.xml"/> | ||
</logging> | ||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.0/phpunit.xsd" | ||
backupGlobals="false" | ||
bootstrap="vendor/autoload.php" | ||
colors="true" | ||
processIsolation="false" | ||
stopOnFailure="false" | ||
executionOrder="random" | ||
failOnWarning="true" | ||
failOnRisky="true" | ||
failOnEmptyTestSuite="true" | ||
beStrictAboutOutputDuringTests="true" | ||
cacheDirectory=".phpunit.cache" | ||
backupStaticProperties="false"> | ||
<testsuites> | ||
<testsuite name="Lock Test Suite"> | ||
<directory>tests</directory> | ||
</testsuite> | ||
</testsuites> | ||
<coverage> | ||
<include> | ||
<directory suffix=".php">./src</directory> | ||
</include> | ||
<report> | ||
<html outputDirectory="build/coverage"/> | ||
<text outputFile="build/coverage.txt"/> | ||
<clover outputFile="build/logs/clover.xml"/> | ||
</report> | ||
</coverage> | ||
<logging> | ||
<junit outputFile="build/report.junit.xml"/> | ||
</logging> | ||
</phpunit> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters