Define the target PHP platform (7.3) in composer.json

This commit is contained in:
Chris Kankiewicz
2021-11-17 10:52:24 -07:00
parent 3c12a52035
commit 246adca8e1
2 changed files with 150 additions and 56 deletions

View File

@@ -22,7 +22,6 @@
"phlak/splat": "^4.0",
"php-di/php-di": "^6.0",
"php-di/slim-bridge": "^3.0",
"psr/cache": "^1.0",
"psr/http-message": "^1.0.1",
"slim/psr7": "^1.0",
"slim/slim": "^4.3",
@@ -59,6 +58,9 @@
}
},
"config": {
"platform": {
"php": "7.3"
},
"sort-packages": true,
"optimize-autoloader": true,
"vendor-dir": "app/vendor"

202
composer.lock generated
View File

@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "411f3570ca59cd8ac537c73834816d9c",
"content-hash": "5ce26cb09d799884f4a1c3f326f61eb4",
"packages": [
{
"name": "erusev/parsedown",
@@ -805,20 +805,20 @@
},
{
"name": "psr/container",
"version": "1.1.2",
"version": "1.1.1",
"source": {
"type": "git",
"url": "https://github.com/php-fig/container.git",
"reference": "513e0666f7216c7459170d56df27dfcefe1689ea"
"reference": "8622567409010282b7aeebe4bb841fe98b58dcaf"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/php-fig/container/zipball/513e0666f7216c7459170d56df27dfcefe1689ea",
"reference": "513e0666f7216c7459170d56df27dfcefe1689ea",
"url": "https://api.github.com/repos/php-fig/container/zipball/8622567409010282b7aeebe4bb841fe98b58dcaf",
"reference": "8622567409010282b7aeebe4bb841fe98b58dcaf",
"shasum": ""
},
"require": {
"php": ">=7.4.0"
"php": ">=7.2.0"
},
"type": "library",
"autoload": {
@@ -847,9 +847,9 @@
],
"support": {
"issues": "https://github.com/php-fig/container/issues",
"source": "https://github.com/php-fig/container/tree/1.1.2"
"source": "https://github.com/php-fig/container/tree/1.1.1"
},
"time": "2021-11-05T16:50:12+00:00"
"time": "2021-03-05T17:36:06+00:00"
},
{
"name": "psr/http-factory",
@@ -1075,30 +1075,30 @@
},
{
"name": "psr/log",
"version": "3.0.0",
"version": "1.1.4",
"source": {
"type": "git",
"url": "https://github.com/php-fig/log.git",
"reference": "fe5ea303b0887d5caefd3d431c3e61ad47037001"
"reference": "d49695b909c3b7628b6289db5479a1c204601f11"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/php-fig/log/zipball/fe5ea303b0887d5caefd3d431c3e61ad47037001",
"reference": "fe5ea303b0887d5caefd3d431c3e61ad47037001",
"url": "https://api.github.com/repos/php-fig/log/zipball/d49695b909c3b7628b6289db5479a1c204601f11",
"reference": "d49695b909c3b7628b6289db5479a1c204601f11",
"shasum": ""
},
"require": {
"php": ">=8.0.0"
"php": ">=5.3.0"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "3.x-dev"
"dev-master": "1.1.x-dev"
}
},
"autoload": {
"psr-4": {
"Psr\\Log\\": "src"
"Psr\\Log\\": "Psr/Log/"
}
},
"notification-url": "https://packagist.org/downloads/",
@@ -1119,9 +1119,9 @@
"psr-3"
],
"support": {
"source": "https://github.com/php-fig/log/tree/3.0.0"
"source": "https://github.com/php-fig/log/tree/1.1.4"
},
"time": "2021-07-14T16:46:02+00:00"
"time": "2021-05-03T11:20:27+00:00"
},
{
"name": "ralouphie/getallheaders",
@@ -2831,6 +2831,82 @@
},
"time": "2021-06-23T13:34:45+00:00"
},
{
"name": "composer/ca-bundle",
"version": "1.3.1",
"source": {
"type": "git",
"url": "https://github.com/composer/ca-bundle.git",
"reference": "4c679186f2aca4ab6a0f1b0b9cf9252decb44d0b"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/composer/ca-bundle/zipball/4c679186f2aca4ab6a0f1b0b9cf9252decb44d0b",
"reference": "4c679186f2aca4ab6a0f1b0b9cf9252decb44d0b",
"shasum": ""
},
"require": {
"ext-openssl": "*",
"ext-pcre": "*",
"php": "^5.3.2 || ^7.0 || ^8.0"
},
"require-dev": {
"phpstan/phpstan": "^0.12.55",
"psr/log": "^1.0",
"symfony/phpunit-bridge": "^4.2 || ^5",
"symfony/process": "^2.5 || ^3.0 || ^4.0 || ^5.0 || ^6.0"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-main": "1.x-dev"
}
},
"autoload": {
"psr-4": {
"Composer\\CaBundle\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Jordi Boggiano",
"email": "j.boggiano@seld.be",
"homepage": "http://seld.be"
}
],
"description": "Lets you find a path to the system CA bundle, and includes a fallback to the Mozilla CA bundle.",
"keywords": [
"cabundle",
"cacert",
"certificate",
"ssl",
"tls"
],
"support": {
"irc": "irc://irc.freenode.org/composer",
"issues": "https://github.com/composer/ca-bundle/issues",
"source": "https://github.com/composer/ca-bundle/tree/1.3.1"
},
"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-10-28T20:44:15+00:00"
},
{
"name": "composer/semver",
"version": "3.2.6",
@@ -3199,16 +3275,16 @@
},
{
"name": "friendsofphp/php-cs-fixer",
"version": "v3.2.1",
"version": "v3.3.2",
"source": {
"type": "git",
"url": "https://github.com/FriendsOfPHP/PHP-CS-Fixer.git",
"reference": "13ae36a76b6e329e44ca3cafaa784ea02db9ff14"
"reference": "06bdbdfcd619183dd7a1a6948360f8af73b9ecec"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/zipball/13ae36a76b6e329e44ca3cafaa784ea02db9ff14",
"reference": "13ae36a76b6e329e44ca3cafaa784ea02db9ff14",
"url": "https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/zipball/06bdbdfcd619183dd7a1a6948360f8af73b9ecec",
"reference": "06bdbdfcd619183dd7a1a6948360f8af73b9ecec",
"shasum": ""
},
"require": {
@@ -3217,18 +3293,19 @@
"doctrine/annotations": "^1.12",
"ext-json": "*",
"ext-tokenizer": "*",
"php": "^7.2 || ^8.0",
"php": "^7.2.5 || ^8.0",
"php-cs-fixer/diff": "^2.0",
"symfony/console": "^4.4.20 || ^5.1.3",
"symfony/event-dispatcher": "^4.4.20 || ^5.0",
"symfony/filesystem": "^4.4.20 || ^5.0",
"symfony/finder": "^4.4.20 || ^5.0",
"symfony/options-resolver": "^4.4.20 || ^5.0",
"symfony/console": "^5.1.3",
"symfony/event-dispatcher": "^5.0",
"symfony/filesystem": "^5.0",
"symfony/finder": "^5.0",
"symfony/options-resolver": "^5.0",
"symfony/polyfill-mbstring": "^1.23",
"symfony/polyfill-php72": "^1.23",
"symfony/polyfill-php80": "^1.23",
"symfony/polyfill-php81": "^1.23",
"symfony/process": "^4.4.20 || ^5.0",
"symfony/stopwatch": "^4.4.20 || ^5.0"
"symfony/process": "^5.0",
"symfony/stopwatch": "^5.0"
},
"require-dev": {
"justinrainbow/json-schema": "^5.2",
@@ -3244,12 +3321,11 @@
"phpunitgoodpractices/polyfill": "^1.5",
"phpunitgoodpractices/traits": "^1.9.1",
"symfony/phpunit-bridge": "^5.2.4",
"symfony/yaml": "^4.4.20 || ^5.0"
"symfony/yaml": "^5.0"
},
"suggest": {
"ext-dom": "For handling output formats in XML",
"ext-mbstring": "For handling non-UTF8 characters.",
"symfony/polyfill-mbstring": "When enabling `ext-mbstring` is not possible."
"ext-mbstring": "For handling non-UTF8 characters."
},
"bin": [
"php-cs-fixer"
@@ -3277,7 +3353,7 @@
"description": "A tool to automatically fix PHP code style",
"support": {
"issues": "https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues",
"source": "https://github.com/FriendsOfPHP/PHP-CS-Fixer/tree/v3.2.1"
"source": "https://github.com/FriendsOfPHP/PHP-CS-Fixer/tree/v3.3.2"
},
"funding": [
{
@@ -3285,7 +3361,7 @@
"type": "github"
}
],
"time": "2021-10-05T08:12:17+00:00"
"time": "2021-11-15T18:06:47+00:00"
},
{
"name": "johnkary/phpunit-speedtrap",
@@ -3455,36 +3531,44 @@
},
{
"name": "padraic/humbug_get_contents",
"version": "1.0.4",
"version": "1.1.2",
"source": {
"type": "git",
"url": "https://github.com/humbug/file_get_contents.git",
"reference": "66797199019d0cb4529cb8d29c6f0b4c5085b53a"
"reference": "dcb086060c9dd6b2f51d8f7a895500307110b7a7"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/humbug/file_get_contents/zipball/66797199019d0cb4529cb8d29c6f0b4c5085b53a",
"reference": "66797199019d0cb4529cb8d29c6f0b4c5085b53a",
"url": "https://api.github.com/repos/humbug/file_get_contents/zipball/dcb086060c9dd6b2f51d8f7a895500307110b7a7",
"reference": "dcb086060c9dd6b2f51d8f7a895500307110b7a7",
"shasum": ""
},
"require": {
"php": ">=5.3"
"composer/ca-bundle": "^1.0",
"ext-openssl": "*",
"php": "^5.3 || ^7.0 || ^7.1 || ^7.2"
},
"require-dev": {
"phpunit/phpunit": "~4.0"
"bamarni/composer-bin-plugin": "^1.1",
"mikey179/vfsstream": "^1.6",
"phpunit/phpunit": "^4.8 || ^5.7 || ^6.5"
},
"type": "library",
"extra": {
"bamarni-bin": {
"bin-links": false
},
"branch-alias": {
"dev-master": "1.0-dev"
"dev-master": "2.0-dev"
}
},
"autoload": {
"psr-4": {
"Humbug\\": "src/Humbug/"
"Humbug\\": "src/"
},
"files": [
"src/function.php"
"src/function.php",
"src/functions.php"
]
},
"notification-url": "https://packagist.org/downloads/",
@@ -3496,6 +3580,10 @@
"name": "Pádraic Brady",
"email": "padraic.brady@gmail.com",
"homepage": "http://blog.astrumfutura.com"
},
{
"name": "Théo Fidry",
"email": "theo.fidry@gmail.com"
}
],
"description": "Secure wrapper for accessing HTTPS resources with file_get_contents for PHP 5.3+",
@@ -3509,10 +3597,10 @@
"tls"
],
"support": {
"issues": "https://github.com/padraic/file_get_contents/issues",
"source": "https://github.com/humbug/file_get_contents/tree/1.0.4"
"issues": "https://github.com/humbug/file_get_contents/issues",
"source": "https://github.com/humbug/file_get_contents/tree/master"
},
"time": "2015-04-22T18:45:00+00:00"
"time": "2018-02-12T18:47:17+00:00"
},
{
"name": "padraic/phar-updater",
@@ -5597,16 +5685,16 @@
},
{
"name": "symfony/console",
"version": "v5.3.2",
"version": "v5.3.10",
"source": {
"type": "git",
"url": "https://github.com/symfony/console.git",
"reference": "649730483885ff2ca99ca0560ef0e5f6b03f2ac1"
"reference": "d4e409d9fbcfbf71af0e5a940abb7b0b4bad0bd3"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/console/zipball/649730483885ff2ca99ca0560ef0e5f6b03f2ac1",
"reference": "649730483885ff2ca99ca0560ef0e5f6b03f2ac1",
"url": "https://api.github.com/repos/symfony/console/zipball/d4e409d9fbcfbf71af0e5a940abb7b0b4bad0bd3",
"reference": "d4e409d9fbcfbf71af0e5a940abb7b0b4bad0bd3",
"shasum": ""
},
"require": {
@@ -5614,11 +5702,12 @@
"symfony/deprecation-contracts": "^2.1",
"symfony/polyfill-mbstring": "~1.0",
"symfony/polyfill-php73": "^1.8",
"symfony/polyfill-php80": "^1.15",
"symfony/polyfill-php80": "^1.16",
"symfony/service-contracts": "^1.1|^2",
"symfony/string": "^5.1"
},
"conflict": {
"psr/log": ">=3",
"symfony/dependency-injection": "<4.4",
"symfony/dotenv": "<5.1",
"symfony/event-dispatcher": "<4.4",
@@ -5626,10 +5715,10 @@
"symfony/process": "<4.4"
},
"provide": {
"psr/log-implementation": "1.0"
"psr/log-implementation": "1.0|2.0"
},
"require-dev": {
"psr/log": "~1.0",
"psr/log": "^1|^2",
"symfony/config": "^4.4|^5.0",
"symfony/dependency-injection": "^4.4|^5.0",
"symfony/event-dispatcher": "^4.4|^5.0",
@@ -5675,7 +5764,7 @@
"terminal"
],
"support": {
"source": "https://github.com/symfony/console/tree/v5.3.2"
"source": "https://github.com/symfony/console/tree/v5.3.10"
},
"funding": [
{
@@ -5691,7 +5780,7 @@
"type": "tidelift"
}
],
"time": "2021-06-12T09:42:48+00:00"
"time": "2021-10-26T09:30:15+00:00"
},
{
"name": "symfony/event-dispatcher",
@@ -6698,5 +6787,8 @@
"ext-zip": "*"
},
"platform-dev": [],
"platform-overrides": {
"php": "7.3"
},
"plugin-api-version": "2.1.0"
}