forked from khartnett/address-normalization
-
Notifications
You must be signed in to change notification settings - Fork 7
fix regression with unit regex, update dependencies and tooling #4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
dec84fa
update phpunit tests so they run correctly
matthewmcvickar 7222fd2
migrate outdated XML configuration
matthewmcvickar 299497c
ignore phpunit cache directory
matthewmcvickar ac98229
update to latest version of PHPUnit
matthewmcvickar 54529fa
fix Unit regex to handle multi-word Places
matthewmcvickar 14f554c
write tests to support Unit regex updates
matthewmcvickar f95013b
fix erroneous usage of 'Place' instead of 'City'
matthewmcvickar dc82658
add tests for when the Unit has a number and not
matthewmcvickar 2d70080
expand test to cover and explain edge cases
matthewmcvickar 4d20ab1
consistent capitalization
matthewmcvickar 890831d
use DataProviders for PHPUnit tests
matthewmcvickar ad88d43
remove and ignore composer.lock file
matthewmcvickar c276f24
Merge branch 'main' of github.com:matthewmcvickar/address-normalization
matthewmcvickar 41db98c
update GitHub Action
matthewmcvickar 899da9a
remove unnecessary `composer update` flag
matthewmcvickar 3e328f9
improve comments
matthewmcvickar 789b69c
also remove `autoload-dev` from Composer config
matthewmcvickar 1c37060
more useful to _not_ fail fast
matthewmcvickar f53b1be
validate Composer configuration
matthewmcvickar 8e00e7c
user setup-php's `tools` support for Composer
matthewmcvickar a108af4
improve comments
matthewmcvickar 534e910
support PHP >=8.2
matthewmcvickar 62dcfe2
restore perfectly good existing code
matthewmcvickar c23724c
use `composer install`, not `composer update`
matthewmcvickar 116abf6
use assoc arrays for DataProviders
matthewmcvickar c0d838f
consistent code style
matthewmcvickar File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,7 @@ | ||
| .idea/* | ||
| .DS_Store | ||
| /nbproject/ | ||
| .idea/* | ||
| .phpunit.cache | ||
| .phpunit.result.cache | ||
| vendor | ||
| /nbproject/ | ||
| composer.lock | ||
| vendor |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,18 +1,8 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <phpunit | ||
| backupGlobals="false" | ||
| backupStaticAttributes="false" | ||
| bootstrap="vendor/autoload.php" | ||
| colors="true" | ||
| convertErrorsToExceptions="true" | ||
| convertNoticesToExceptions="true" | ||
| convertWarningsToExceptions="true" | ||
| convertDeprecationsToExceptions="true" | ||
| processIsolation="false" | ||
| stopOnFailure="false"> | ||
| <testsuites> | ||
| <testsuite name="Normalizer"> | ||
| <directory suffix="Test.php">./tests</directory> | ||
| </testsuite> | ||
| </testsuites> | ||
| <phpunit backupGlobals="false" bootstrap="vendor/autoload.php" colors="true" processIsolation="false" stopOnFailure="false" cacheDirectory=".phpunit.cache" backupStaticProperties="false"> | ||
| <testsuites> | ||
| <testsuite name="Normalizer"> | ||
| <directory suffix="Test.php">./tests</directory> | ||
| </testsuite> | ||
| </testsuites> | ||
| </phpunit> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.