File tree Expand file tree Collapse file tree 6 files changed +1590
-825
lines changed
tests/ExceptionEnricher/Processor Expand file tree Collapse file tree 6 files changed +1590
-825
lines changed Original file line number Diff line number Diff line change 1212
1313 strategy :
1414 matrix :
15- php-version : [ '8.1 ' ]
15+ php-version : [ '8.2 ' ]
1616
1717 steps :
1818 - name : Checkout code
Original file line number Diff line number Diff line change 11<?php
22
3+ use PhpCsFixer \Runner \Parallel \ParallelConfigFactory ;
4+
35$ finder = PhpCsFixer \Finder::create ()
4- ->exclude (['vendor ' ])
6+ ->exclude (['node_modules ' , ' var ' , ' vendor ' ])
57 ->in (__DIR__ )
68 ->ignoreDotFiles (true )
79 ->ignoreVCS (true )
810 ->files ()
9- ->name ('*.php ' )
10- ;
11+ ->name ('*.php ' );
1112
1213$ config = new PhpCsFixer \Config ();
1314
1415return $ config
16+ ->setParallelConfig (ParallelConfigFactory::detect ())
1517 ->setRiskyAllowed (true )
1618 ->setRules ([
1719 '@Symfony ' => true ,
1820 '@Symfony:risky ' => true ,
1921 'combine_consecutive_issets ' => true ,
2022 'combine_consecutive_unsets ' => true ,
23+ 'global_namespace_import ' => [
24+ 'import_classes ' => true ,
25+ 'import_constants ' => false ,
26+ 'import_functions ' => false ,
27+ ],
2128 'heredoc_to_nowdoc ' => true ,
2229 'increment_style ' => false ,
2330 'mb_str_functions ' => true ,
3138 'strict_comparison ' => true ,
3239 'strict_param ' => true ,
3340 ])
34- ->setFinder ($ finder )
35- ;
41+ ->setFinder ($ finder );
Original file line number Diff line number Diff line change 1- | Version | Date | Comment |
2- | ---------| ------------| ----------------------------------------------------------------------|
3- | 2.0.0 | 2022-09-07 | Updated Monolog to version 3 (BC break) |
4- | 1.3.0 | 2022-03-01 | Updates dependencies and possible Symfony versions |
5- | 1.2.0 | 2021-08-31 | Updates dependencies |
6- | 1.1.0 | 2020-08-06 | Added service definition for dependency injection |
7- | 1.0.0 | 2020-08-06 | Initial release |
1+ | Version | Date | Comment |
2+ | ---------| ------------| ----------------------------------------------------|
3+ | 2.1.0 | 2024-07-04 | Added compatibility with Symfony 7 |
4+ | 2.0.0 | 2022-09-07 | Updated Monolog to version 3 (BC break) |
5+ | 1.3.0 | 2022-03-01 | Updates dependencies and possible Symfony versions |
6+ | 1.2.0 | 2021-08-31 | Updates dependencies |
7+ | 1.1.0 | 2020-08-06 | Added service definition for dependency injection |
8+ | 1.0.0 | 2020-08-06 | Initial release |
Original file line number Diff line number Diff line change 1717 },
1818 "prefer-stable" : true ,
1919 "require" : {
20- "php" : " >=8.1 " ,
20+ "php" : " >=8.2 " ,
2121 "monolog/monolog" : " ^3.0" ,
22- "symfony/config" : " ^6.0" ,
23- "symfony/dependency-injection" : " ^6.0" ,
24- "symfony/http-foundation" : " ^6.0" ,
25- "symfony/security-bundle" : " ^6.0"
22+ "symfony/config" : " ^6.0 || ^7.0 " ,
23+ "symfony/dependency-injection" : " ^6.0 || ^7.0 " ,
24+ "symfony/http-foundation" : " ^6.0 || ^7.0 " ,
25+ "symfony/security-bundle" : " ^6.0 || ^7.0 "
2626 },
2727 "require-dev" : {
2828 "friendsofphp/php-cs-fixer" : " ^v3.11" ,
29- "phpunit/phpunit" : " ^9.5 " ,
30- "symfony/phpunit-bridge" : " ^6.0"
29+ "phpunit/phpunit" : " ^9.6 " ,
30+ "symfony/phpunit-bridge" : " ^6.0 || ^7.0 "
3131 },
3232 "autoload" : {
3333 "psr-4" : {
You can’t perform that action at this time.
0 commit comments