Composer update + PHP8.2 standards

This commit is contained in:
idanoo 2023-02-07 15:30:52 +13:00
parent 710ddef064
commit 2ad52b8633
Signed by: idanoo
GPG key ID: 387387CDBC02F132
3 changed files with 441 additions and 194 deletions

View file

@ -6,7 +6,7 @@
}, },
"description": "Wrapper for idanoo/php-resque (Laravel/Lumen ^5.2.0)", "description": "Wrapper for idanoo/php-resque (Laravel/Lumen ^5.2.0)",
"keywords": ["job", "background", "redis", "resque", "php"], "keywords": ["job", "background", "redis", "resque", "php"],
"homepage": "https://tinker.nz/idanoo/laravel-resque/", "homepage": "https://gitlab.com/idanoo/laravel-resque/",
"license": "MIT", "license": "MIT",
"authors": [ "authors": [
{ {
@ -17,14 +17,21 @@
"require": { "require": {
"illuminate/console": "^8.0", "illuminate/console": "^8.0",
"illuminate/config": "^8.0", "illuminate/config": "^8.0",
"idanoo/php-resque": "^2.0" "idanoo/php-resque": "^2.1"
}, },
"require-dev": { "require-dev": {
"phpunit/phpunit": "^9" "phpunit/phpunit": "^9",
"phpcompatibility/php-compatibility": "^9.3",
"dealerdirect/phpcodesniffer-composer-installer": "^1.0"
}, },
"autoload": { "autoload": {
"psr-4": { "psr-4": {
"Idanoo\\Resque\\": "src/" "Idanoo\\Resque\\": "src/"
} }
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
} }
} }

591
composer.lock generated

File diff suppressed because it is too large Load diff

29
ruleset.xml Normal file
View file

@ -0,0 +1,29 @@
<?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>