File tree Expand file tree Collapse file tree 6 files changed +28
-40
lines changed Expand file tree Collapse file tree 6 files changed +28
-40
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on :
4
+ push :
5
+ pull_request :
6
+ workflow_dispatch :
7
+
8
+ jobs :
9
+ ci :
10
+ name : CI
11
+ uses : silverstripe/gha-ci/.github/workflows/ci.yml@v1
Original file line number Diff line number Diff line change 1
- .DS_Store
1
+ .DS_Store
2
+ /vendor /
3
+ /public /
4
+ /composer.lock
5
+ /.phpunit.result.cache
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
# AddressFinder for Silverstripe
2
2
3
3
[ ![ Scrutinizer Code Quality] ( https://scrutinizer-ci.com/g/fullscreeninteractive/silverstripe-addressfinder/badges/quality-score.png?b=master )] ( https://scrutinizer-ci.com/g/fullscreeninteractive/silverstripe-addressfinder/?branch=master )
4
- [ ![ Build Status] ( https://travis-ci.org/fullscreeninteractive/silverstripe-addressfinder.svg?branch=master )] ( https://travis-ci.org/fullscreeninteractive/silverstripe-addressfinder )
5
4
[ ![ Latest Stable Version] ( https://poser.pugx.org/fullscreeninteractive/silverstripe-addressfinder/v/stable )] ( https://packagist.org/packages/fullscreeninteractive/silverstripe-addressfinder )
6
5
7
6
## Maintainer Contact
8
7
* Will Rossiter
9
8
<will (at) fullscreen (dot) io>
10
9
11
- ## Requirements
12
- * SilverStripe 4.0 or higher
13
-
14
10
## Overview
15
11
16
12
This module provides a custom Silverstripe ` AddressFinderField ` which implements the
@@ -19,7 +15,7 @@ javascript AddressFinder widget ([1](http://addressfinder.co.nz/docs/widget_docs
19
15
## Getting Started
20
16
21
17
```
22
- composer require fullscreeninteractive/silverstripe-addressfinder ^1
18
+ composer require fullscreeninteractive/silverstripe-addressfinder
23
19
```
24
20
25
21
* Sign up for an NZ account at [ addressfinder.nz/plans/] ( https://www.addressfinder.nz/plans/ ) , or an Australia plan at [ addressfinder.com.au/plans/] ( https://www.addressfinder.com.au/plans/ )
@@ -95,7 +91,7 @@ class AddressObject extends DataObject
95
91
}
96
92
```
97
93
98
- To prefix these fields, call ` setFieldPrefix($prefix) ` on your ` AddressFinderField `
94
+ To prefix these fields, call ` setFieldPrefix($prefix) ` on your ` AddressFinderField `
99
95
instance.
100
96
101
97
``` php
Original file line number Diff line number Diff line change 11
11
"homepage" : " https://www.fullscreen.io"
12
12
}],
13
13
"require" : {
14
- "silverstripe/framework" : " ^4 "
14
+ "silverstripe/framework" : " ^5 "
15
15
},
16
16
"require-dev" : {
17
- "phpunit/phpunit" : " ^5.7 "
17
+ "phpunit/phpunit" : " ^9.6 "
18
18
},
19
19
"autoload" : {
20
20
"psr-4" : {
31
31
"lint-clean" : " phpcbf src/ tests/"
32
32
},
33
33
"minimum-stability" : " dev" ,
34
- "prefer-stable" : true
34
+ "prefer-stable" : true ,
35
+ "config" : {
36
+ "allow-plugins" : {
37
+ "composer/installers" : true ,
38
+ "silverstripe/vendor-plugin" : true
39
+ }
40
+ }
35
41
}
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ public function testSetRequireLatLngManual()
23
23
24
24
$ fieldHolder = $ field ->FieldHolder ();
25
25
26
- $ this ->assertContains ('input type="text" name="name[Longitude]" ' , $ fieldHolder );
26
+ $ this ->assertStringContainsString ('input type="text" name="name[Longitude]" ' , $ fieldHolder );
27
27
}
28
28
29
29
public function testValidator ()
You can’t perform that action at this time.
0 commit comments