File tree Expand file tree Collapse file tree 8 files changed +70
-45
lines changed
Expand file tree Collapse file tree 8 files changed +70
-45
lines changed Original file line number Diff line number Diff line change 1- FROM php:8.4 -fpm-alpine
1+ FROM php:8.5 -fpm-alpine
22
33ARG UID
44ARG GID
@@ -13,8 +13,7 @@ RUN apk update && apk add \
1313 bash \
1414 icu-dev \
1515 && docker-php-ext-configure intl \
16- && docker-php-ext-install intl opcache \
17- && docker-php-ext-enable opcache
16+ && docker-php-ext-install intl
1817
1918RUN ln -s /usr/share/zoneinfo/Europe/Paris /etc/localtime \
2019 && sed -i "s/^;date.timezone =.*/date.timezone = Europe\/ Paris/" $PHP_INI_DIR/php.ini
Original file line number Diff line number Diff line change @@ -15,11 +15,11 @@ jobs:
1515 runs-on : ubuntu-latest
1616 steps :
1717 - name : Checkout
18- uses : actions/checkout@v4
18+ uses : actions/checkout@v6
1919 - name : Install PHP with extensions
2020 uses : shivammathur/setup-php@v2
2121 with :
22- php-version : ' 8.4 '
22+ php-version : ' 8.5 '
2323 coverage : none
2424 tools : composer:v2
2525 - name : Install Composer dependencies (locked)
@@ -32,11 +32,11 @@ jobs:
3232 runs-on : ubuntu-latest
3333 steps :
3434 - name : Checkout
35- uses : actions/checkout@v4
35+ uses : actions/checkout@v6
3636 - name : Install PHP with extensions
3737 uses : shivammathur/setup-php@v2
3838 with :
39- php-version : ' 8.4 '
39+ php-version : ' 8.5 '
4040 coverage : none
4141 tools : composer:v2
4242 - name : Install Composer dependencies (locked)
@@ -49,11 +49,11 @@ jobs:
4949 runs-on : ubuntu-latest
5050 steps :
5151 - name : Checkout code
52- uses : actions/checkout@v4
52+ uses : actions/checkout@v6
5353 - name : Install PHP with extensions
5454 uses : shivammathur/setup-php@v2
5555 with :
56- php-version : ' 8.4 '
56+ php-version : ' 8.5 '
5757 coverage : none
5858 tools : composer:v2
5959 - name : Install Composer dependencies (locked)
Original file line number Diff line number Diff line change @@ -23,16 +23,12 @@ jobs:
2323 - ' 8.2'
2424 - ' 8.3'
2525 - ' 8.4'
26+ - ' 8.5'
2627 dependencies : [highest]
2728 allowed-to-fail : [false]
2829 symfony-require : ['']
2930 variant : [normal]
3031 include :
31- - php-version : ' 8.1'
32- dependencies : highest
33- allowed-to-fail : false
34- symfony-require : 6.4.*
35- variant : symfony/symfony:"6.4.*"
3632 - php-version : ' 8.2'
3733 dependencies : highest
3834 allowed-to-fail : false
4137 - php-version : ' 8.2'
4238 dependencies : highest
4339 allowed-to-fail : false
44- symfony-require : 7.3 .*
45- variant : symfony/symfony:"7.3 .*"
40+ symfony-require : 7.4 .*
41+ variant : symfony/symfony:"7.4 .*"
4642 - php-version : ' 8.3'
4743 dependencies : highest
4844 allowed-to-fail : false
5147 - php-version : ' 8.3'
5248 dependencies : highest
5349 allowed-to-fail : false
54- symfony-require : 7.3 .*
55- variant : symfony/symfony:"7.3 .*"
50+ symfony-require : 7.4 .*
51+ variant : symfony/symfony:"7.4 .*"
5652 - php-version : ' 8.4'
5753 dependencies : highest
5854 allowed-to-fail : false
@@ -61,12 +57,31 @@ jobs:
6157 - php-version : ' 8.4'
6258 dependencies : highest
6359 allowed-to-fail : false
64- symfony-require : 7.3.*
65- variant : symfony/symfony:"7.3.*"
66-
60+ symfony-require : 7.4.*
61+ variant : symfony/symfony:"7.4.*"
62+ - php-version : ' 8.4'
63+ dependencies : highest
64+ allowed-to-fail : false
65+ symfony-require : 8.*
66+ variant : symfony/symfony:"8.*"
67+ - php-version : ' 8.5'
68+ dependencies : highest
69+ allowed-to-fail : false
70+ symfony-require : 6.4.*
71+ variant : symfony/symfony:"6.4.*"
72+ - php-version : ' 8.5'
73+ dependencies : highest
74+ allowed-to-fail : false
75+ symfony-require : 7.4.*
76+ variant : symfony/symfony:"7.4.*"
77+ - php-version : ' 8.5'
78+ dependencies : highest
79+ allowed-to-fail : false
80+ symfony-require : 8.*
81+ variant : symfony/symfony:"8.*"
6782 steps :
6883 - name : Checkout
69- uses : actions/checkout@v4
84+ uses : actions/checkout@v6
7085 - name : Install PHP with extensions
7186 uses : shivammathur/setup-php@v2
7287 with :
Original file line number Diff line number Diff line change 2424
2525return (new PhpCsFixer \Config ())
2626 ->setRules ([
27- '@PHP71Migration ' => true ,
28- '@PHP82Migration ' => true ,
29- '@PHPUnit75Migration:risky ' => true ,
27+ '@PHP8x2Migration ' => true ,
28+ '@PHPUnit7x5Migration:risky ' => true ,
3029 '@Symfony ' => true ,
3130 '@Symfony:risky ' => true ,
3231 'protected_to_private ' => false ,
Original file line number Diff line number Diff line change 1+ v3.0
2+ ------
3+
4+ ### Changes
5+ * [ #22 ] ( https://github.com/cleverage/rest-process-bundle/issues/22 ) Add support for PHP 8.5 and Symfony 8.* Update phpunit/phpunit to version >10.0 Bump version to cleverage/process-bundle ^5.0
6+
7+ ### BC breaks
8+ * [ #22 ] ( https://github.com/cleverage/rest-process-bundle/issues/22 ) Remove support for PHP 8.1 and Symfony 7.3
9+
110v2.3
211------
312
Original file line number Diff line number Diff line change 30303131 "homepage" : " https://github.com/mveyrenc" ,
3232 "role" : " Developer"
33+ },
34+ {
35+ "name" : " Xavier Marchegay" ,
36+ 37+ "homepage" : " https://github.com/xmarchegay" ,
38+ "role" : " Lead Developer"
3339 }
3440 ],
3541 "autoload" : {
4349 }
4450 },
4551 "require" : {
46- "php" : " >=8.1 " ,
47- "cleverage/process-bundle" : " ^4 .0" ,
48- "symfony/http-client" : " ^6.4| ^7.3 "
52+ "php" : " >=8.2 " ,
53+ "cleverage/process-bundle" : " ^5 .0" ,
54+ "symfony/http-client" : " ^6.4 || ^7.4 || ^8 "
4955 },
5056 "require-dev" : {
5157 "friendsofphp/php-cs-fixer" : " *" ,
5258 "phpstan/extension-installer" : " *" ,
5359 "phpstan/phpstan" : " *" ,
5460 "phpstan/phpstan-symfony" : " *" ,
55- "phpunit/phpunit" : " <10.0 " ,
61+ "phpunit/phpunit" : " * " ,
5662 "rector/rector" : " *" ,
5763 "roave/security-advisories" : " dev-latest" ,
5864 "symfony/test-pack" : " ^1.1"
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
22<phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3- xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/9.6 /phpunit.xsd"
3+ xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/12.0 /phpunit.xsd"
44 bootstrap =" vendor/autoload.php"
5- cacheResultFile =" .phpunit.cache/test-results "
5+ cacheDirectory =" .phpunit.cache"
66 executionOrder =" depends,defects"
7- forceCoversAnnotation =" true"
8- beStrictAboutCoversAnnotation =" true"
7+ requireCoverageMetadata =" true"
8+ beStrictAboutCoverageMetadata =" true"
99 beStrictAboutOutputDuringTests =" true"
10- beStrictAboutTodoAnnotatedTests =" true"
11- convertDeprecationsToExceptions =" true"
1210 failOnRisky =" true"
13- failOnWarning =" true"
14- verbose =" true" >
11+ failOnWarning =" true" >
1512 <testsuites >
1613 <testsuite name =" default" >
1714 <directory >tests</directory >
1815 </testsuite >
1916 </testsuites >
20-
21- <coverage cacheDirectory =" .phpunit.cache/code-coverage"
22- processUncoveredFiles =" true" >
17+ <source >
2318 <include >
2419 <directory suffix =" .php" >src</directory >
2520 </include >
26- </coverage >
27- </phpunit >
21+ </source >
22+ </phpunit >
Original file line number Diff line number Diff line change 33declare (strict_types=1 );
44
55use Rector \Config \RectorConfig ;
6+ use Rector \PHPUnit \Set \PHPUnitSetList ;
67use Rector \Set \ValueObject \LevelSetList ;
78use Rector \Symfony \Set \SymfonySetList ;
89use Rector \ValueObject \PhpVersion ;
910
1011return RectorConfig::configure ()
11- ->withPhpVersion (PhpVersion::PHP_84 )
12+ ->withPhpVersion (PhpVersion::PHP_85 )
1213 ->withPaths ([
1314 __DIR__ .'/src ' ,
1415 __DIR__ .'/tests ' ,
1516 ])
16- ->withPhpSets (php81 : true )
17+ ->withPhpSets (php82 : true )
1718 // here we can define, what prepared sets of rules will be applied
1819 ->withPreparedSets (deadCode: true , codeQuality: true , symfonyCodeQuality: true )
1920 ->withAttributesSets (symfony: true )
2021 ->withSets ([
21- LevelSetList::UP_TO_PHP_81 ,
22+ LevelSetList::UP_TO_PHP_82 ,
23+ PHPUnitSetList::PHPUNIT_100 ,
2224 SymfonySetList::SYMFONY_64 ,
2325 SymfonySetList::SYMFONY_CODE_QUALITY ,
2426 SymfonySetList::SYMFONY_CONSTRUCTOR_INJECTION ,
You can’t perform that action at this time.
0 commit comments