File tree 3 files changed +5
-5
lines changed
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
- $ finder = PhpCsFixer \Finder:: create ( )
3
+ $ finder = ( new PhpCsFixer \Finder () )
4
4
->in (__DIR__ )
5
5
->exclude (__DIR__ .'/vendor ' )
6
6
;
7
- return PhpCsFixer \Config::create ()
7
+
8
+ return (new PhpCsFixer \Config ())
8
9
->setRules ([
9
10
'@Symfony ' => true ,
10
- 'array_syntax ' => ['syntax ' => 'short ' ],
11
11
])
12
12
->setFinder ($ finder )
13
13
;
Original file line number Diff line number Diff line change 22
22
*/
23
23
class Address extends Constraint
24
24
{
25
- const INVALID_ADDRESS_ERROR = '2243aa07-2ea7-4eb7-962c-6a9586593f2c ' ;
25
+ public const INVALID_ADDRESS_ERROR = '2243aa07-2ea7-4eb7-962c-6a9586593f2c ' ;
26
26
27
27
protected static $ errorNames = [
28
28
self ::INVALID_ADDRESS_ERROR => 'INVALID_ADDRESS_ERROR ' ,
Original file line number Diff line number Diff line change 23
23
"doctrine/cache" : " ~1.3" ,
24
24
"doctrine/orm" : " ~2.8" ,
25
25
"fakerphp/faker" : " ^1.9" ,
26
- "friendsofphp/php-cs-fixer" : " ^2.18 " ,
26
+ "friendsofphp/php-cs-fixer" : " ^3.0 " ,
27
27
"geocoder-php/algolia-places-provider" : " ^0.3" ,
28
28
"geocoder-php/arcgis-online-provider" : " ^4.3" ,
29
29
"geocoder-php/bing-maps-provider" : " ^4.2" ,
You can’t perform that action at this time.
0 commit comments