Skip to content

Commit

Permalink
minor symfony#31655 Bump Symfony 5.0 to PHP 7.2 (nicolas-grekas)
Browse files Browse the repository at this point in the history
This PR was merged into the 5.0-dev branch.

Discussion
----------

Bump Symfony 5.0 to PHP 7.2

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

Not ready yet.

7.2 because it has all we need for the next two years (7.3 doesn't provide anything we absolutely need, and 7.4 is not even released so cannot be considered yet.)

7.2.9 because of https://tracker.debian.org/pkg/php7.2

Needs:
- [x] symfony/security-acl#48
- [x] doctrine/orm#7723
- [x] doctrine/DoctrineBundle#975
- [x] doctrine/DoctrineCacheBundle#158
- [x] symfony#31657

Commits
-------

d94d9d7 Bump Symfony 5.0 to PHP 7.2
  • Loading branch information
nicolas-grekas committed May 28, 2019
2 parents 66924db + d94d9d7 commit a5fb206
Show file tree
Hide file tree
Showing 81 changed files with 107 additions and 181 deletions.
10 changes: 5 additions & 5 deletions .appveyor.yml
Expand Up @@ -10,17 +10,17 @@ init:
- SET PATH=c:\php;%PATH%
- SET COMPOSER_NO_INTERACTION=1
- SET SYMFONY_DEPRECATIONS_HELPER=strict
- SET "SYMFONY_REQUIRE=>=4.2"
- SET "SYMFONY_REQUIRE=>=4.4"
- SET ANSICON=121x90 (121x90)
- REG ADD "HKEY_CURRENT_USER\Software\Microsoft\Command Processor" /v DelayedExpansion /t REG_DWORD /d 1 /f

install:
- mkdir c:\php && cd c:\php
- appveyor DownloadFile https://github.com/symfony/binary-utils/releases/download/v0.1/php-7.1.3-Win32-VC14-x86.zip
- 7z x php-7.1.3-Win32-VC14-x86.zip -y >nul
- appveyor DownloadFile https://github.com/symfony/binary-utils/releases/download/v0.1/php-7.2.9-Win32-VC15-x86.zip
- 7z x php-7.2.9-Win32-VC15-x86.zip -y >nul
- cd ext
- appveyor DownloadFile https://github.com/symfony/binary-utils/releases/download/v0.1/php_apcu-5.1.8-7.1-ts-vc14-x86.zip
- 7z x php_apcu-5.1.8-7.1-ts-vc14-x86.zip -y >nul
- appveyor DownloadFile https://github.com/symfony/binary-utils/releases/download/v0.1/php_apcu-5.1.17-7.2-ts-vc15-x86.zip
- 7z x php_apcu-5.1.17-7.2-ts-vc15-x86.zip -y >nul
- cd ..
- copy /Y php.ini-development php.ini-min
- echo memory_limit=-1 >> php.ini-min
Expand Down
6 changes: 3 additions & 3 deletions .travis.yml
Expand Up @@ -17,14 +17,14 @@ addons:

env:
global:
- MIN_PHP=7.1.3
- MIN_PHP=7.2.9
- SYMFONY_PROCESS_PHP_TEST_BINARY=~/.phpenv/shims/php
- MESSENGER_AMQP_DSN=amqp://localhost/%2f/messages
- MESSENGER_REDIS_DSN=redis://127.0.0.1:7001/messages

matrix:
include:
- php: 7.1
- php: 7.2
- php: 7.2
env: deps=high
- php: 7.3
Expand Down Expand Up @@ -215,7 +215,7 @@ install:
- |
# Install symfony/flex
if [[ $deps = low ]]; then
export SYMFONY_REQUIRE='>=2.3'
export SYMFONY_REQUIRE='>=3.4'
else
export SYMFONY_REQUIRE=">=$SYMFONY_VERSION"
fi
Expand Down
3 changes: 1 addition & 2 deletions composer.json
Expand Up @@ -16,7 +16,7 @@
}
],
"require": {
"php": "^7.1.3",
"php": "^7.2.9",
"ext-xml": "*",
"doctrine/event-manager": "~1.0",
"doctrine/persistence": "~1.0",
Expand All @@ -31,7 +31,6 @@
"symfony/polyfill-intl-icu": "~1.0",
"symfony/polyfill-intl-idn": "^1.10",
"symfony/polyfill-mbstring": "~1.0",
"symfony/polyfill-php72": "~1.5",
"symfony/polyfill-php73": "^1.11"
},
"replace": {
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Bridge/Doctrine/composer.json
Expand Up @@ -16,7 +16,7 @@
}
],
"require": {
"php": "^7.1.3",
"php": "^7.2.9",
"doctrine/event-manager": "~1.0",
"doctrine/persistence": "~1.0",
"symfony/polyfill-ctype": "~1.8",
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Bridge/Monolog/composer.json
Expand Up @@ -16,7 +16,7 @@
}
],
"require": {
"php": "^7.1.3",
"php": "^7.2.9",
"monolog/monolog": "~1.19",
"symfony/service-contracts": "^1.1",
"symfony/http-kernel": "^4.3|^5.0"
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Bridge/ProxyManager/composer.json
Expand Up @@ -16,7 +16,7 @@
}
],
"require": {
"php": "^7.1.3",
"php": "^7.2.9",
"symfony/dependency-injection": "^4.0|^5.0",
"ocramius/proxy-manager": "~2.1"
},
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Bridge/Twig/composer.json
Expand Up @@ -16,7 +16,7 @@
}
],
"require": {
"php": "^7.1.3",
"php": "^7.2.9",
"twig/twig": "^1.41|^2.10"
},
"require-dev": {
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Bundle/DebugBundle/composer.json
Expand Up @@ -16,7 +16,7 @@
}
],
"require": {
"php": "^7.1.3",
"php": "^7.2.9",
"ext-xml": "*",
"symfony/http-kernel": "^3.4|^4.0|^5.0",
"symfony/twig-bridge": "^3.4|^4.0|^5.0",
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Bundle/FrameworkBundle/composer.json
Expand Up @@ -16,7 +16,7 @@
}
],
"require": {
"php": "^7.1.3",
"php": "^7.2.9",
"ext-xml": "*",
"symfony/cache": "^4.3|^5.0",
"symfony/config": "^4.2|^5.0",
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Bundle/SecurityBundle/composer.json
Expand Up @@ -16,7 +16,7 @@
}
],
"require": {
"php": "^7.1.3",
"php": "^7.2.9",
"ext-xml": "*",
"symfony/config": "^4.2|^5.0",
"symfony/dependency-injection": "^4.2|^5.0",
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Bundle/TwigBundle/composer.json
Expand Up @@ -16,7 +16,7 @@
}
],
"require": {
"php": "^7.1.3",
"php": "^7.2.9",
"symfony/config": "^4.2|^5.0",
"symfony/twig-bridge": "^4.3|^5.0",
"symfony/http-foundation": "^4.3|^5.0",
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Bundle/WebProfilerBundle/composer.json
Expand Up @@ -16,7 +16,7 @@
}
],
"require": {
"php": "^7.1.3",
"php": "^7.2.9",
"symfony/config": "^4.2|^5.0",
"symfony/http-kernel": "^4.3|^5.0",
"symfony/routing": "^3.4|^4.0|^5.0",
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Bundle/WebServerBundle/composer.json
Expand Up @@ -16,7 +16,7 @@
}
],
"require": {
"php": "^7.1.3",
"php": "^7.2.9",
"symfony/config": "^3.4|^4.0|^5.0",
"symfony/console": "^3.4|^4.0|^5.0",
"symfony/dependency-injection": "^3.4|^4.0|^5.0",
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Component/Asset/composer.json
Expand Up @@ -16,7 +16,7 @@
}
],
"require": {
"php": "^7.1.3"
"php": "^7.2.9"
},
"suggest": {
"symfony/http-foundation": ""
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Component/BrowserKit/composer.json
Expand Up @@ -16,7 +16,7 @@
}
],
"require": {
"php": "^7.1.3",
"php": "^7.2.9",
"symfony/dom-crawler": "^3.4|^4.0|^5.0"
},
"require-dev": {
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Component/Cache/composer.json
Expand Up @@ -21,7 +21,7 @@
"symfony/cache-implementation": "1.0"
},
"require": {
"php": "^7.1.3",
"php": "^7.2.9",
"psr/cache": "~1.0",
"psr/log": "~1.0",
"symfony/cache-contracts": "^1.1",
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Component/Config/composer.json
Expand Up @@ -16,7 +16,7 @@
}
],
"require": {
"php": "^7.1.3",
"php": "^7.2.9",
"symfony/filesystem": "^3.4|^4.0|^5.0",
"symfony/polyfill-ctype": "~1.8"
},
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Component/Console/composer.json
Expand Up @@ -16,7 +16,7 @@
}
],
"require": {
"php": "^7.1.3",
"php": "^7.2.9",
"symfony/polyfill-mbstring": "~1.0",
"symfony/polyfill-php73": "^1.8",
"symfony/service-contracts": "^1.1"
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Component/CssSelector/composer.json
Expand Up @@ -20,7 +20,7 @@
}
],
"require": {
"php": "^7.1.3"
"php": "^7.2.9"
},
"autoload": {
"psr-4": { "Symfony\\Component\\CssSelector\\": "" },
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Component/Debug/composer.json
Expand Up @@ -16,7 +16,7 @@
}
],
"require": {
"php": "^7.1.3",
"php": "^7.2.9",
"psr/log": "~1.0"
},
"conflict": {
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Component/DependencyInjection/composer.json
Expand Up @@ -16,7 +16,7 @@
}
],
"require": {
"php": "^7.1.3",
"php": "^7.2.9",
"psr/container": "^1.0",
"symfony/service-contracts": "^1.1.2"
},
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Component/DomCrawler/composer.json
Expand Up @@ -16,7 +16,7 @@
}
],
"require": {
"php": "^7.1.3",
"php": "^7.2.9",
"symfony/polyfill-ctype": "~1.8",
"symfony/polyfill-mbstring": "~1.0"
},
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Component/Dotenv/composer.json
Expand Up @@ -16,7 +16,7 @@
}
],
"require": {
"php": "^7.1.3"
"php": "^7.2.9"
},
"require-dev": {
"symfony/process": "^3.4|^4.0|^5.0"
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Component/EventDispatcher/composer.json
Expand Up @@ -16,7 +16,7 @@
}
],
"require": {
"php": "^7.1.3",
"php": "^7.2.9",
"symfony/event-dispatcher-contracts": "^1.1"
},
"require-dev": {
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Component/ExpressionLanguage/composer.json
Expand Up @@ -16,7 +16,7 @@
}
],
"require": {
"php": "^7.1.3",
"php": "^7.2.9",
"symfony/cache": "^3.4|^4.0|^5.0",
"symfony/service-contracts": "^1.1"
},
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Component/Filesystem/composer.json
Expand Up @@ -16,7 +16,7 @@
}
],
"require": {
"php": "^7.1.3",
"php": "^7.2.9",
"symfony/polyfill-ctype": "~1.8"
},
"autoload": {
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Component/Finder/composer.json
Expand Up @@ -16,7 +16,7 @@
}
],
"require": {
"php": "^7.1.3"
"php": "^7.2.9"
},
"autoload": {
"psr-4": { "Symfony\\Component\\Finder\\": "" },
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Component/Form/composer.json
Expand Up @@ -16,7 +16,7 @@
}
],
"require": {
"php": "^7.1.3",
"php": "^7.2.9",
"symfony/event-dispatcher": "^4.3|^5.0",
"symfony/intl": "^4.3|^5.0",
"symfony/options-resolver": "~4.3|^5.0",
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Component/HttpClient/composer.json
Expand Up @@ -19,7 +19,7 @@
"symfony/http-client-implementation": "1.1"
},
"require": {
"php": "^7.1.3",
"php": "^7.2.9",
"psr/log": "^1.0",
"symfony/http-client-contracts": "^1.1",
"symfony/polyfill-php73": "^1.11"
Expand Down
Expand Up @@ -13,9 +13,6 @@

use PHPUnit\Framework\TestCase;

/**
* @requires PHP 7.0
*/
class ResponseFunctionalTest extends TestCase
{
private static $server;
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Component/HttpFoundation/composer.json
Expand Up @@ -16,7 +16,7 @@
}
],
"require": {
"php": "^7.1.3",
"php": "^7.2.9",
"symfony/mime": "^4.3|^5.0",
"symfony/polyfill-mbstring": "~1.1"
},
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Component/HttpKernel/composer.json
Expand Up @@ -16,7 +16,7 @@
}
],
"require": {
"php": "^7.1.3",
"php": "^7.2.9",
"symfony/event-dispatcher": "^4.3|^5.0",
"symfony/http-foundation": "^4.1.1|^5.0",
"symfony/debug": "^3.4|^4.0|^5.0",
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Component/Inflector/composer.json
Expand Up @@ -23,7 +23,7 @@
}
],
"require": {
"php": "^7.1.3",
"php": "^7.2.9",
"symfony/polyfill-ctype": "~1.8"
},
"autoload": {
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Component/Intl/composer.json
Expand Up @@ -24,7 +24,7 @@
}
],
"require": {
"php": "^7.1.3",
"php": "^7.2.9",
"symfony/polyfill-intl-icu": "~1.0"
},
"require-dev": {
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Component/Ldap/composer.json
Expand Up @@ -16,7 +16,7 @@
}
],
"require": {
"php": "^7.1.3",
"php": "^7.2.9",
"symfony/options-resolver": "^4.2|^5.0",
"ext-ldap": "*"
},
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Component/Lock/composer.json
Expand Up @@ -16,7 +16,7 @@
}
],
"require": {
"php": "^7.1.3",
"php": "^7.2.9",
"psr/log": "~1.0"
},
"require-dev": {
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Component/Mailer/Bridge/Amazon/composer.json
Expand Up @@ -16,7 +16,7 @@
}
],
"require": {
"php": "^7.1.3",
"php": "^7.2.9",
"symfony/mailer": "^4.3|^5.0"
},
"require-dev": {
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Component/Mailer/Bridge/Google/composer.json
Expand Up @@ -16,7 +16,7 @@
}
],
"require": {
"php": "^7.1.3",
"php": "^7.2.9",
"symfony/mailer": "^4.3|^5.0"
},
"require-dev": {
Expand Down
Expand Up @@ -16,7 +16,7 @@
}
],
"require": {
"php": "^7.1.3",
"php": "^7.2.9",
"symfony/mailer": "^4.3|^5.0"
},
"require-dev": {
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Component/Mailer/Bridge/Mailgun/composer.json
Expand Up @@ -16,7 +16,7 @@
}
],
"require": {
"php": "^7.1.3",
"php": "^7.2.9",
"symfony/mailer": "^4.3|^5.0"
},
"require-dev": {
Expand Down

0 comments on commit a5fb206

Please sign in to comment.