Compare commits

..

No commits in common. "main" and "2.0.0" have entirely different histories.
main ... 2.0.0

9 changed files with 22 additions and 3949 deletions

View file

@ -1,16 +0,0 @@
name: CI
on: [push]
jobs:
Linter:
runs-on: ubuntu-latest
container: php:8.2
steps:
- uses: actions/checkout@v3
- name: Install composer
run: apt-get update -yq && apt-get install git wget procps unzip -y && pecl install -o -f redis && rm -rf /tmp/pear && docker-php-ext-enable redis && wget https://getcomposer.org/composer.phar && php composer.phar install --dev
- name: Validate composer.json and composer.lock
run: php composer.phar validate --strict
- name: Install dependencies
run: php composer.phar install --dev --prefer-dist --no-progress
- name: Run PHPCS Linter
run: php -d memory_limit=256M vendor/bin/phpcs -s --standard=ruleset.xml

3
.gitignore vendored
View file

@ -1,2 +1,3 @@
.idea/
vendor/
vendor/
composer.lock

View file

@ -1,9 +0,0 @@
# Codestandards
lint:
image: php:8.2
allow_failure: true
script:
- apt update && apt install -y wget unzip git
- wget https://getcomposer.org/composer.phar
- php composer.phar install --dev
- php -d memory_limit=256M vendor/bin/phpcs -s --standard=ruleset.xml

View file

@ -21,7 +21,7 @@ Additionally a default redis connection needs to be configured in ```config/redi
``` php
'providers' => [
Idanoo\Resque\ResqueServiceProvider::class
Hlgrrnhrdt\Resque\ResqueServiceProvider::class
]
```
@ -30,7 +30,7 @@ Additionally a default redis connection needs to be configured in ```config/redi
Open ```bootstrap/app.php``` and register the required service provider
``` php
$app->register(Idanoo\Resque\ResqueServiceProvider::class);
$app->register(Hlgrrnhrdt\Resque\ResqueServiceProvider::class);
```
and load the config with

View file

@ -1,41 +1,30 @@
{
"name": "idanoo/laravel-resque",
"type": "library",
"replace": {
"hlgrrnhrdt/laravel-resque": "*"
"name": "idanoo/laravel-resque",
"type": "library",
"replace": {
"hlgrrnhrdt/laravel-resque": "*"
},
"description": "Wrapper for idanoo/php-resque (Laravel/Lumen ^5.2.0)",
"keywords": ["job", "background", "redis", "resque", "php"],
"homepage": "https://github.com/idanoo/laravel-resque",
"license": "MIT",
"authors": [
{
"name": "Daniel Mason",
"email": "daniel@m2.nz"
}
],
"description": "Wrapper for idanoo/php-resque (Laravel/Lumen ^5.2.0)",
"keywords": ["job", "background", "redis", "resque", "php"],
"homepage": "https://www.gitlab.com/idanoo/laravel-resque/",
"license": "MIT",
"authors": [
{
"name": "Daniel Mason",
"email": "daniel@m2.nz"
}
],
"require": {
"illuminate/console": "^8.0",
"illuminate/config": "^8.0",
"idanoo/php-resque": "^2.1"
"illuminate/console": "^5.2",
"illuminate/config": "^5.2",
"idanoo/php-resque": "^2.0"
},
"require-dev": {
"phpunit/phpunit": "^9",
"phpcompatibility/php-compatibility": "^9.3",
"dealerdirect/phpcodesniffer-composer-installer": "^1.0"
"phpunit/phpunit": "^9"
},
"autoload": {
"psr-4": {
"Idanoo\\Resque\\": "src/"
}
},
"support": {
"issues": "https://github.com/idanoo/php-resque/issues",
"source": "https://github.com/idanoo/php-resque"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}

3861
composer.lock generated

File diff suppressed because it is too large Load diff

View file

@ -1,29 +0,0 @@
<?xml version="1.0"?>
<ruleset name="PHP82" namespace="ezyVet\PHPCS">
<description>PHP8.2 Ruleset</description>
<file>.</file>
<exclude-pattern>vendor</exclude-pattern>
<exclude-pattern>tests/</exclude-pattern>
<arg name="extensions" value="php" />
<arg name="colors"/>
<arg value="sp"/>
<arg name="parallel" value="16"/>
<arg name="report-width" value="140" />
<arg name="error-severity" value="1" />
<!-- Setting warning-severity here overrides both the '-n' CLI option and 'config-set show_warnings 0', so we
can't use it. -->
<ini name="memory_limit" value="256M"/>
<!-- Check for version support for PHP 8.2 and higher. -->
<config name="testVersion" value="8.2-"/>
<rule ref="PSR12">
</rule>
<rule ref="PHPCompatibility">
</rule>
</ruleset>

View file

@ -1,5 +1,4 @@
<?php
namespace Idanoo\Resque\Console;
use Idanoo\Resque\Resque;

View file

@ -1,5 +1,4 @@
<?php
namespace Idanoo\Resque;
/**