File tree Expand file tree Collapse file tree 5 files changed +11
-11
lines changed Expand file tree Collapse file tree 5 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 1- .php_cs .cache
1+ .php-cs-fixer .cache
22.phpunit.result.cache
33composer.lock
44composer.phar
Original file line number Diff line number Diff line change 77 ])
88;
99
10- return PhpCsFixer \Config:: create ()
11- ->setRules ([
10+ $ config = new PhpCsFixer \Config ();
11+ return $ config ->setRules ([
1212 '@Symfony ' => true ,
1313
1414 'array_syntax ' => ['syntax ' => 'short ' ],
Original file line number Diff line number Diff line change 2424 "psr/http-factory" : " ^1.0"
2525 },
2626 "require-dev" : {
27- "friendsofphp/php-cs-fixer" : " ^2 .0" ,
27+ "friendsofphp/php-cs-fixer" : " ^3 .0" ,
2828 "phpunit/phpunit" : " ^9.5" ,
2929 "guzzlehttp/psr7" : " ^2.0" ,
3030 "php-mock/php-mock-phpunit" : " ^2.6"
Original file line number Diff line number Diff line change 1111 */
1212class Issue extends AbstractApi
1313{
14- const PRIO_LOW = 1 ;
15- const PRIO_NORMAL = 2 ;
16- const PRIO_HIGH = 3 ;
17- const PRIO_URGENT = 4 ;
18- const PRIO_IMMEDIATE = 5 ;
14+ public const PRIO_LOW = 1 ;
15+ public const PRIO_NORMAL = 2 ;
16+ public const PRIO_HIGH = 3 ;
17+ public const PRIO_URGENT = 4 ;
18+ public const PRIO_IMMEDIATE = 5 ;
1919
2020 /**
2121 * List issues.
Original file line number Diff line number Diff line change @@ -16,9 +16,9 @@ class NativeCurlClientTest extends TestCase
1616{
1717 use PHPMock;
1818
19- const __NAMESPACE__ = 'Redmine\Client ' ;
19+ public const __NAMESPACE__ = 'Redmine\Client ' ;
2020
21- const DEFAULT_CURL_OPTIONS = [
21+ public const DEFAULT_CURL_OPTIONS = [
2222 CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1 ,
2323 CURLOPT_PORT => 80 ,
2424 CURLOPT_URL => 'http://test.local/path ' ,
You can’t perform that action at this time.
0 commit comments