Skip to content

Commit 501b762

Browse files
authored
Merge pull request #1747 from Crown-Commercial-Service/WEB-2823-PHP8-Frontend
update to php 8 Frontend
2 parents f0ef10a + 15b46a5 commit 501b762

31 files changed

+2414
-1402
lines changed

.travis.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,14 @@ language: php
1818
matrix:
1919
fast_finish: true
2020
include:
21-
- php: '7.4'
21+
- php: '8.2'
2222
env: SNIFF=1
23-
- php: '7.4'
23+
- php: '8.2'
24+
25+
addons:
26+
apt:
27+
packages:
28+
- libonig-dev
2429

2530
before_install:
2631
- composer self-update;

bin/phpunit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ if (!file_exists(dirname(__DIR__).'/vendor/symfony/phpunit-bridge/bin/simple-php
77
}
88

99
if (false === getenv('SYMFONY_PHPUNIT_VERSION')) {
10-
putenv('SYMFONY_PHPUNIT_VERSION=6.5');
10+
putenv('SYMFONY_PHPUNIT_VERSION=11.5');
1111
}
1212
if (false === getenv('SYMFONY_PHPUNIT_REMOVE')) {
1313
putenv('SYMFONY_PHPUNIT_REMOVE=');

composer.json

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,12 @@
44
"type": "project",
55
"license": "proprietary",
66
"require": {
7-
"php": "^7.4.0",
7+
"php": "^8.2.0",
88
"ext-ctype": "*",
99
"ext-iconv": "*",
1010
"aws/aws-sdk-php": "^3.272",
11-
"ccs/strata-frontend": "^0.7",
11+
"ccs/strata-frontend": "2.0.x-dev",
1212
"rollbar/rollbar-php-symfony-bundle": "4.0.0",
13-
"studio24/http-cache-clear": "^0.2",
1413
"symfony/apache-pack": "^1.0",
1514
"symfony/browser-kit": "^5.4.0",
1615
"symfony/config": "^5.4.0",
@@ -22,7 +21,8 @@
2221
"symfony/http-kernel": "^5.4.0",
2322
"symfony/mime": "^5.4",
2423
"symfony/twig-bundle": "^5.4.0",
25-
"symfony/yaml": "^5.4.0"
24+
"symfony/yaml": "^5.4.0",
25+
"toflar/psr6-symfony-http-cache-store": "^3.0"
2626
},
2727
"config": {
2828
"preferred-install": {
@@ -76,12 +76,13 @@
7676
"behat/mink": "^1.10",
7777
"behat/mink-zombie-driver": "^1.6",
7878
"friends-of-behat/mink-extension": "^2.7",
79-
"overtrue/phplint": "3.2.0",
79+
"overtrue/phplint": "5.4.0",
80+
"rector/rector": "^2.1",
8081
"roave/security-advisories": "dev-master",
8182
"squizlabs/php_codesniffer": "3.*",
8283
"symfony/debug-bundle": "^4.4",
8384
"symfony/monolog-bundle": "^3.0",
84-
"symfony/phpunit-bridge": "^4.4",
85+
"symfony/phpunit-bridge": "7.3",
8586
"symfony/stopwatch": "^4.4",
8687
"symfony/web-profiler-bundle": "^5.4.0"
8788
}

0 commit comments

Comments
 (0)