File tree Expand file tree Collapse file tree 8 files changed +61
-44
lines changed
Expand file tree Collapse file tree 8 files changed +61
-44
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 ,
2827 '@PHP82Migration ' => true ,
2928 '@PHPUnit75Migration:risky ' => true ,
3029 '@Symfony ' => true ,
Original file line number Diff line number Diff line change 1+ v2.0
2+ ------
3+
4+ ### Changes
5+ * [ #10 ] ( https://github.com/cleverage/cache-process-bundle/issues/10 ) 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+ * [ #10 ] ( https://github.com/cleverage/cache-process-bundle/issues/10 ) Remove support for PHP 8.1 and Symfony 7.3
9+
110v1.1
211------
312
Original file line number Diff line number Diff line change 3131 }
3232 },
3333 "require" : {
34- "php" : " >=8.1 " ,
35- "cleverage/process-bundle" : " ^4 .0" ,
36- "symfony/cache" : " ^6.4| ^7.3 "
34+ "php" : " >=8.2 " ,
35+ "cleverage/process-bundle" : " ^5 .0" ,
36+ "symfony/cache" : " ^6.4 || ^7.4 || ^8 "
3737 },
3838 "require-dev" : {
3939 "friendsofphp/php-cs-fixer" : " *" ,
4040 "phpstan/extension-installer" : " *" ,
4141 "phpstan/phpstan" : " *" ,
4242 "phpstan/phpstan-symfony" : " *" ,
43- "phpunit/phpunit" : " <10.0 " ,
43+ "phpunit/phpunit" : " * " ,
4444 "rector/rector" : " *" ,
4545 "roave/security-advisories" : " dev-latest" ,
4646 "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 88use Rector \ValueObject \PhpVersion ;
99
1010return RectorConfig::configure ()
11- ->withPhpVersion (PhpVersion::PHP_84 )
11+ ->withPhpVersion (PhpVersion::PHP_85 )
1212 ->withPaths ([
1313 __DIR__ .'/src ' ,
1414 __DIR__ .'/tests ' ,
1515 ])
16- ->withPhpSets (php81 : true )
17- // here we can define, what prepared sets of rules will be applied
16+ ->withPhpSets (php82 : true )
17+ // here we can define what prepared sets of rules will be applied
1818 ->withPreparedSets (deadCode: true , codeQuality: true , symfonyCodeQuality: true )
1919 ->withAttributesSets (symfony: true )
2020 ->withSets ([
21- LevelSetList::UP_TO_PHP_81 ,
21+ LevelSetList::UP_TO_PHP_82 ,
2222 SymfonySetList::SYMFONY_64 ,
2323 SymfonySetList::SYMFONY_CODE_QUALITY ,
2424 SymfonySetList::SYMFONY_CONSTRUCTOR_INJECTION ,
You can’t perform that action at this time.
0 commit comments