File tree Expand file tree Collapse file tree 4 files changed +32
-1
lines changed
Expand file tree Collapse file tree 4 files changed +32
-1
lines changed Original file line number Diff line number Diff line change 1+ root = true
2+
3+ [* ]
4+ charset = utf-8
5+ end_of_line = lf
6+ indent_size = 4
7+ indent_style = space
8+ insert_final_newline = true
9+ trim_trailing_whitespace = true
Original file line number Diff line number Diff line change 1+ <?php
2+
3+ /*
4+ * In order to make it work, fabpot/php-cs-fixer and sllh/php-cs-fixer-styleci-bridge must be installed globally
5+ * with composer.
6+ *
7+ * @link https://github.com/Soullivaneuh/php-cs-fixer-styleci-bridge
8+ * @link https://github.com/FriendsOfPHP/PHP-CS-Fixer
9+ */
10+
11+ use SLLH \StyleCIBridge \ConfigBridge ;
12+
13+ return ConfigBridge::create ();
Original file line number Diff line number Diff line change 1+ preset : symfony
2+
3+ finder :
4+ path :
5+ - " src"
6+ - " tests"
7+
8+ enabled :
9+ - short_array_syntax
Original file line number Diff line number Diff line change @@ -214,7 +214,7 @@ public function testGeoIp2Encoding()
214214 $ reader = new Reader (__DIR__ . '/fixtures/GeoLite2-City.mmdb ' );
215215 $ adapter = new GeoIP2Adapter ($ reader );
216216 $ provider = new GeoIP2 ($ adapter );
217- $ locality = $ provider ->geocode ( '79.114.34.148 ' )->first ()->getLocality ();
217+ $ locality = $ provider ->geocodeQuery (GeocodeQuery:: create ( '79.114.34.148 ' ) )->first ()->getLocality ();
218218 $ this ->assertEquals ('Timișoara ' , $ locality );
219219 }
220220
You can’t perform that action at this time.
0 commit comments