Merge pull request #51 from studiopress/update/php-8.1-checks

Update `composer.json` to run linting for PHP `8.1`
This commit is contained in:
Ryan Kienstra
2022-04-28 12:37:49 -06:00
committed by GitHub
2 changed files with 126 additions and 57 deletions
+8 -4
View File
@@ -5,18 +5,22 @@
"homepage": "https://github.com/studiopress/genesis-simple-sidebars", "homepage": "https://github.com/studiopress/genesis-simple-sidebars",
"license": "GPL-2.0-or-later", "license": "GPL-2.0-or-later",
"require": { "require": {
"php": "^5.3 || ^7", "php": "^5.3 || ^7 || ^8",
"composer/installers": "^1" "composer/installers": "^1"
}, },
"require-dev": { "require-dev": {
"php": "^5.6 || ^7", "php": "^5.6 || ^7 || ^8",
"dealerdirect/phpcodesniffer-composer-installer": "*", "dealerdirect/phpcodesniffer-composer-installer": "*",
"squizlabs/php_codesniffer": "^3.3.1", "squizlabs/php_codesniffer": "^3.6.2",
"phpcompatibility/phpcompatibility-wp": "*", "phpcompatibility/phpcompatibility-wp": "*",
"wp-coding-standards/wpcs": "^1" "wp-coding-standards/wpcs": "^1"
}, },
"config": { "config": {
"sort-order": true "sort-order": true,
"allow-plugins": {
"composer/installers": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
}, },
"minimum-stability": "dev", "minimum-stability": "dev",
"prefer-stable": true, "prefer-stable": true,
Generated
+118 -53
View File
@@ -4,38 +4,42 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "a8300ed9bb532b9d84d4cb8a37879f11", "content-hash": "60bdbed78b63458c8decfc4af93cae8a",
"packages": [ "packages": [
{ {
"name": "composer/installers", "name": "composer/installers",
"version": "v1.6.0", "version": "v1.12.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/composer/installers.git", "url": "https://github.com/composer/installers.git",
"reference": "cfcca6b1b60bc4974324efb5783c13dca6932b5b" "reference": "d20a64ed3c94748397ff5973488761b22f6d3f19"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/composer/installers/zipball/cfcca6b1b60bc4974324efb5783c13dca6932b5b", "url": "https://api.github.com/repos/composer/installers/zipball/d20a64ed3c94748397ff5973488761b22f6d3f19",
"reference": "cfcca6b1b60bc4974324efb5783c13dca6932b5b", "reference": "d20a64ed3c94748397ff5973488761b22f6d3f19",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"composer-plugin-api": "^1.0" "composer-plugin-api": "^1.0 || ^2.0"
}, },
"replace": { "replace": {
"roundcube/plugin-installer": "*", "roundcube/plugin-installer": "*",
"shama/baton": "*" "shama/baton": "*"
}, },
"require-dev": { "require-dev": {
"composer/composer": "1.0.*@dev", "composer/composer": "1.6.* || ^2.0",
"phpunit/phpunit": "^4.8.36" "composer/semver": "^1 || ^3",
"phpstan/phpstan": "^0.12.55",
"phpstan/phpstan-phpunit": "^0.12.16",
"symfony/phpunit-bridge": "^4.2 || ^5",
"symfony/process": "^2.3"
}, },
"type": "composer-plugin", "type": "composer-plugin",
"extra": { "extra": {
"class": "Composer\\Installers\\Plugin", "class": "Composer\\Installers\\Plugin",
"branch-alias": { "branch-alias": {
"dev-master": "1.0-dev" "dev-main": "1.x-dev"
} }
}, },
"autoload": { "autoload": {
@@ -65,6 +69,7 @@
"Kanboard", "Kanboard",
"Lan Management System", "Lan Management System",
"MODX Evo", "MODX Evo",
"MantisBT",
"Mautic", "Mautic",
"Maya", "Maya",
"OXID", "OXID",
@@ -72,7 +77,9 @@
"Porto", "Porto",
"RadPHP", "RadPHP",
"SMF", "SMF",
"Starbug",
"Thelia", "Thelia",
"Whmcs",
"WolfCMS", "WolfCMS",
"agl", "agl",
"aimeos", "aimeos",
@@ -95,6 +102,7 @@
"installer", "installer",
"itop", "itop",
"joomla", "joomla",
"known",
"kohana", "kohana",
"laravel", "laravel",
"lavalite", "lavalite",
@@ -103,13 +111,16 @@
"majima", "majima",
"mako", "mako",
"mediawiki", "mediawiki",
"miaoxing",
"modulework", "modulework",
"modx", "modx",
"moodle", "moodle",
"osclass", "osclass",
"pantheon",
"phpbb", "phpbb",
"piwik", "piwik",
"ppi", "ppi",
"processwire",
"puppet", "puppet",
"pxcms", "pxcms",
"reindex", "reindex",
@@ -117,40 +128,60 @@
"shopware", "shopware",
"silverstripe", "silverstripe",
"sydes", "sydes",
"sylius",
"symfony", "symfony",
"tastyigniter",
"typo3", "typo3",
"wordpress", "wordpress",
"yawik", "yawik",
"zend", "zend",
"zikula" "zikula"
], ],
"time": "2018-08-27T06:10:37+00:00" "support": {
"issues": "https://github.com/composer/installers/issues",
"source": "https://github.com/composer/installers/tree/v1.12.0"
},
"funding": [
{
"url": "https://packagist.com",
"type": "custom"
},
{
"url": "https://github.com/composer",
"type": "github"
},
{
"url": "https://tidelift.com/funding/github/packagist/composer/composer",
"type": "tidelift"
}
],
"time": "2021-09-13T08:19:44+00:00"
} }
], ],
"packages-dev": [ "packages-dev": [
{ {
"name": "dealerdirect/phpcodesniffer-composer-installer", "name": "dealerdirect/phpcodesniffer-composer-installer",
"version": "v0.5.0", "version": "v0.7.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/Dealerdirect/phpcodesniffer-composer-installer.git", "url": "https://github.com/Dealerdirect/phpcodesniffer-composer-installer.git",
"reference": "e749410375ff6fb7a040a68878c656c2e610b132" "reference": "1c968e542d8843d7cd71de3c5c9c3ff3ad71a1db"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/Dealerdirect/phpcodesniffer-composer-installer/zipball/e749410375ff6fb7a040a68878c656c2e610b132", "url": "https://api.github.com/repos/Dealerdirect/phpcodesniffer-composer-installer/zipball/1c968e542d8843d7cd71de3c5c9c3ff3ad71a1db",
"reference": "e749410375ff6fb7a040a68878c656c2e610b132", "reference": "1c968e542d8843d7cd71de3c5c9c3ff3ad71a1db",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"composer-plugin-api": "^1.0", "composer-plugin-api": "^1.0 || ^2.0",
"php": "^5.3|^7", "php": ">=5.3",
"squizlabs/php_codesniffer": "^2|^3" "squizlabs/php_codesniffer": "^2.0 || ^3.1.0 || ^4.0"
}, },
"require-dev": { "require-dev": {
"composer/composer": "*", "composer/composer": "*",
"phpcompatibility/php-compatibility": "^9.0", "php-parallel-lint/php-parallel-lint": "^1.3.1",
"sensiolabs/security-checker": "^4.1.0" "phpcompatibility/php-compatibility": "^9.0"
}, },
"type": "composer-plugin", "type": "composer-plugin",
"extra": { "extra": {
@@ -171,6 +202,10 @@
"email": "franck.nijhof@dealerdirect.com", "email": "franck.nijhof@dealerdirect.com",
"homepage": "http://www.frenck.nl", "homepage": "http://www.frenck.nl",
"role": "Developer / IT Manager" "role": "Developer / IT Manager"
},
{
"name": "Contributors",
"homepage": "https://github.com/Dealerdirect/phpcodesniffer-composer-installer/graphs/contributors"
} }
], ],
"description": "PHP_CodeSniffer Standards Composer Installer Plugin", "description": "PHP_CodeSniffer Standards Composer Installer Plugin",
@@ -182,6 +217,7 @@
"codesniffer", "codesniffer",
"composer", "composer",
"installer", "installer",
"phpcbf",
"phpcs", "phpcs",
"plugin", "plugin",
"qa", "qa",
@@ -192,20 +228,24 @@
"stylecheck", "stylecheck",
"tests" "tests"
], ],
"time": "2018-10-26T13:21:45+00:00" "support": {
"issues": "https://github.com/dealerdirect/phpcodesniffer-composer-installer/issues",
"source": "https://github.com/dealerdirect/phpcodesniffer-composer-installer"
},
"time": "2022-02-04T12:51:07+00:00"
}, },
{ {
"name": "phpcompatibility/php-compatibility", "name": "phpcompatibility/php-compatibility",
"version": "9.1.1", "version": "9.3.5",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/PHPCompatibility/PHPCompatibility.git", "url": "https://github.com/PHPCompatibility/PHPCompatibility.git",
"reference": "2b63c5d284ab8857f7b1d5c240ddb507a6b2293c" "reference": "9fb324479acf6f39452e0655d2429cc0d3914243"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/PHPCompatibility/PHPCompatibility/zipball/2b63c5d284ab8857f7b1d5c240ddb507a6b2293c", "url": "https://api.github.com/repos/PHPCompatibility/PHPCompatibility/zipball/9fb324479acf6f39452e0655d2429cc0d3914243",
"reference": "2b63c5d284ab8857f7b1d5c240ddb507a6b2293c", "reference": "9fb324479acf6f39452e0655d2429cc0d3914243",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -219,7 +259,7 @@
"phpunit/phpunit": "~4.5 || ^5.0 || ^6.0 || ^7.0" "phpunit/phpunit": "~4.5 || ^5.0 || ^6.0 || ^7.0"
}, },
"suggest": { "suggest": {
"dealerdirect/phpcodesniffer-composer-installer": "^0.4.3 || This Composer plugin will sort out the PHPCS 'installed_paths' automatically.", "dealerdirect/phpcodesniffer-composer-installer": "^0.5 || This Composer plugin will sort out the PHPCS 'installed_paths' automatically.",
"roave/security-advisories": "dev-master || Helps prevent installing dependencies with known security issues." "roave/security-advisories": "dev-master || Helps prevent installing dependencies with known security issues."
}, },
"type": "phpcodesniffer-standard", "type": "phpcodesniffer-standard",
@@ -228,10 +268,6 @@
"LGPL-3.0-or-later" "LGPL-3.0-or-later"
], ],
"authors": [ "authors": [
{
"name": "Contributors",
"homepage": "https://github.com/PHPCompatibility/PHPCompatibility/graphs/contributors"
},
{ {
"name": "Wim Godden", "name": "Wim Godden",
"homepage": "https://github.com/wimg", "homepage": "https://github.com/wimg",
@@ -241,6 +277,10 @@
"name": "Juliette Reinders Folmer", "name": "Juliette Reinders Folmer",
"homepage": "https://github.com/jrfnl", "homepage": "https://github.com/jrfnl",
"role": "lead" "role": "lead"
},
{
"name": "Contributors",
"homepage": "https://github.com/PHPCompatibility/PHPCompatibility/graphs/contributors"
} }
], ],
"description": "A set of sniffs for PHP_CodeSniffer that checks for PHP cross-version compatibility.", "description": "A set of sniffs for PHP_CodeSniffer that checks for PHP cross-version compatibility.",
@@ -250,30 +290,36 @@
"phpcs", "phpcs",
"standards" "standards"
], ],
"time": "2018-12-30T23:16:27+00:00" "support": {
"issues": "https://github.com/PHPCompatibility/PHPCompatibility/issues",
"source": "https://github.com/PHPCompatibility/PHPCompatibility"
},
"time": "2019-12-27T09:44:58+00:00"
}, },
{ {
"name": "phpcompatibility/phpcompatibility-paragonie", "name": "phpcompatibility/phpcompatibility-paragonie",
"version": "1.0.1", "version": "1.3.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/PHPCompatibility/PHPCompatibilityParagonie.git", "url": "https://github.com/PHPCompatibility/PHPCompatibilityParagonie.git",
"reference": "9160de79fcd683b5c99e9c4133728d91529753ea" "reference": "ddabec839cc003651f2ce695c938686d1086cf43"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/PHPCompatibility/PHPCompatibilityParagonie/zipball/9160de79fcd683b5c99e9c4133728d91529753ea", "url": "https://api.github.com/repos/PHPCompatibility/PHPCompatibilityParagonie/zipball/ddabec839cc003651f2ce695c938686d1086cf43",
"reference": "9160de79fcd683b5c99e9c4133728d91529753ea", "reference": "ddabec839cc003651f2ce695c938686d1086cf43",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"phpcompatibility/php-compatibility": "^9.0" "phpcompatibility/php-compatibility": "^9.0"
}, },
"require-dev": { "require-dev": {
"dealerdirect/phpcodesniffer-composer-installer": "^0.4.4" "dealerdirect/phpcodesniffer-composer-installer": "^0.7",
"paragonie/random_compat": "dev-master",
"paragonie/sodium_compat": "dev-master"
}, },
"suggest": { "suggest": {
"dealerdirect/phpcodesniffer-composer-installer": "^0.4.4 || This Composer plugin will sort out the PHP_CodeSniffer 'installed_paths' automatically.", "dealerdirect/phpcodesniffer-composer-installer": "^0.7 || This Composer plugin will sort out the PHP_CodeSniffer 'installed_paths' automatically.",
"roave/security-advisories": "dev-master || Helps prevent installing dependencies with known security issues." "roave/security-advisories": "dev-master || Helps prevent installing dependencies with known security issues."
}, },
"type": "phpcodesniffer-standard", "type": "phpcodesniffer-standard",
@@ -300,20 +346,24 @@
"polyfill", "polyfill",
"standards" "standards"
], ],
"time": "2018-12-16T19:10:44+00:00" "support": {
"issues": "https://github.com/PHPCompatibility/PHPCompatibilityParagonie/issues",
"source": "https://github.com/PHPCompatibility/PHPCompatibilityParagonie"
},
"time": "2021-02-15T10:24:51+00:00"
}, },
{ {
"name": "phpcompatibility/phpcompatibility-wp", "name": "phpcompatibility/phpcompatibility-wp",
"version": "2.0.0", "version": "2.1.3",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/PHPCompatibility/PHPCompatibilityWP.git", "url": "https://github.com/PHPCompatibility/PHPCompatibilityWP.git",
"reference": "cb303f0067cd5b366a41d4fb0e254fb40ff02efd" "reference": "d55de55f88697b9cdb94bccf04f14eb3b11cf308"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/PHPCompatibility/PHPCompatibilityWP/zipball/cb303f0067cd5b366a41d4fb0e254fb40ff02efd", "url": "https://api.github.com/repos/PHPCompatibility/PHPCompatibilityWP/zipball/d55de55f88697b9cdb94bccf04f14eb3b11cf308",
"reference": "cb303f0067cd5b366a41d4fb0e254fb40ff02efd", "reference": "d55de55f88697b9cdb94bccf04f14eb3b11cf308",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -321,10 +371,10 @@
"phpcompatibility/phpcompatibility-paragonie": "^1.0" "phpcompatibility/phpcompatibility-paragonie": "^1.0"
}, },
"require-dev": { "require-dev": {
"dealerdirect/phpcodesniffer-composer-installer": "^0.4.3" "dealerdirect/phpcodesniffer-composer-installer": "^0.7"
}, },
"suggest": { "suggest": {
"dealerdirect/phpcodesniffer-composer-installer": "^0.4.3 || This Composer plugin will sort out the PHP_CodeSniffer 'installed_paths' automatically.", "dealerdirect/phpcodesniffer-composer-installer": "^0.7 || This Composer plugin will sort out the PHP_CodeSniffer 'installed_paths' automatically.",
"roave/security-advisories": "dev-master || Helps prevent installing dependencies with known security issues." "roave/security-advisories": "dev-master || Helps prevent installing dependencies with known security issues."
}, },
"type": "phpcodesniffer-standard", "type": "phpcodesniffer-standard",
@@ -350,20 +400,24 @@
"standards", "standards",
"wordpress" "wordpress"
], ],
"time": "2018-10-07T18:31:37+00:00" "support": {
"issues": "https://github.com/PHPCompatibility/PHPCompatibilityWP/issues",
"source": "https://github.com/PHPCompatibility/PHPCompatibilityWP"
},
"time": "2021-12-30T16:37:40+00:00"
}, },
{ {
"name": "squizlabs/php_codesniffer", "name": "squizlabs/php_codesniffer",
"version": "3.4.2", "version": "3.6.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/squizlabs/PHP_CodeSniffer.git", "url": "https://github.com/squizlabs/PHP_CodeSniffer.git",
"reference": "b8a7362af1cc1aadb5bd36c3defc4dda2cf5f0a8" "reference": "5e4e71592f69da17871dba6e80dd51bce74a351a"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/b8a7362af1cc1aadb5bd36c3defc4dda2cf5f0a8", "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/5e4e71592f69da17871dba6e80dd51bce74a351a",
"reference": "b8a7362af1cc1aadb5bd36c3defc4dda2cf5f0a8", "reference": "5e4e71592f69da17871dba6e80dd51bce74a351a",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -401,19 +455,24 @@
"phpcs", "phpcs",
"standards" "standards"
], ],
"time": "2019-04-10T23:49:02+00:00" "support": {
"issues": "https://github.com/squizlabs/PHP_CodeSniffer/issues",
"source": "https://github.com/squizlabs/PHP_CodeSniffer",
"wiki": "https://github.com/squizlabs/PHP_CodeSniffer/wiki"
},
"time": "2021-12-12T21:44:58+00:00"
}, },
{ {
"name": "wp-coding-standards/wpcs", "name": "wp-coding-standards/wpcs",
"version": "1.2.1", "version": "1.2.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards.git", "url": "https://github.com/WordPress/WordPress-Coding-Standards.git",
"reference": "f328bcafd97377e8e5e5d7b244d5ddbf301a3a5c" "reference": "f328bcafd97377e8e5e5d7b244d5ddbf301a3a5c"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/zipball/f328bcafd97377e8e5e5d7b244d5ddbf301a3a5c", "url": "https://api.github.com/repos/WordPress/WordPress-Coding-Standards/zipball/f328bcafd97377e8e5e5d7b244d5ddbf301a3a5c",
"reference": "f328bcafd97377e8e5e5d7b244d5ddbf301a3a5c", "reference": "f328bcafd97377e8e5e5d7b244d5ddbf301a3a5c",
"shasum": "" "shasum": ""
}, },
@@ -444,6 +503,11 @@
"standards", "standards",
"wordpress" "wordpress"
], ],
"support": {
"issues": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/issues",
"source": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards",
"wiki": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/wiki"
},
"time": "2018-12-18T09:43:51+00:00" "time": "2018-12-18T09:43:51+00:00"
} }
], ],
@@ -453,9 +517,10 @@
"prefer-stable": true, "prefer-stable": true,
"prefer-lowest": false, "prefer-lowest": false,
"platform": { "platform": {
"php": "^5.3 || ^7" "php": "^5.3 || ^7 || ^8"
}, },
"platform-dev": { "platform-dev": {
"php": "^5.6 || ^7" "php": "^5.6 || ^7"
} },
"plugin-api-version": "2.2.0"
} }