-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
Version 2.0 #25
Merged
Version 2.0 #25
Changes from 23 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
6d9a4d3
Make VIN calc functions private
pelmered f10c5b7
Import InvalidArgumentException
pelmered d11634d
Merge main into 2.0
pelmered 639a109
Merge main into 2.0
pelmered 586ce5d
Replace old array syntax in data provider
pelmered 7446ab1
Require PHP 8.0+
pelmered 84831c4
Refactor everything and move data generation to a pluggable data prov…
pelmered 197026c
Add DD package
pelmered 5462404
Fake Car 2.0
pelmered 169b8fb
Remove PHP 7:* from test matrix
pelmered 730289b
Require phpunit 10.1+
pelmered 169881d
Require phpunit 10+
pelmered 94f58a0
Require PHP 8.1+
pelmered a50c91e
Require phpunit 10.1+
pelmered 1bc5919
Update GitHub action to lastest version
pelmered 52849d4
Update GitHub action to lastest version
pelmered 9be318c
Add MacOS to test matrix
pelmered bb69520
Fix code style
pelmered a3d5239
Update required PHP version in readme
pelmered f9c311b
Code cleanup
pelmered 3ce2f99
Rename and set constants to protected
pelmered 898eed8
Add PHP 8.3 to test matrix
pelmered 2167f23
Run Scrutinizer on PHP 8.3
pelmered 13619d6
Test code cleanup
pelmered acbb8f1
Add some notes on upgrading from 1:* to 2.* in readme
pelmered 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 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 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 |
---|---|---|
|
@@ -11,3 +11,6 @@ coverage.clover | |
.php-cs-fixer.cache | ||
ocular.phar | ||
reports | ||
outdated.txt | ||
.phpunit.cache/ | ||
coverage/ |
This file contains 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 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 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 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,17 +1,33 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="./vendor/phpunit/phpunit/phpunit.xsd" | ||
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.1/phpunit.xsd" | ||
bootstrap="vendor/autoload.php" | ||
colors="true" | ||
> | ||
cacheDirectory=".phpunit.cache" | ||
executionOrder="depends,defects" | ||
beStrictAboutCoverageMetadata="true" | ||
beStrictAboutOutputDuringTests="true" | ||
failOnRisky="true" | ||
failOnWarning="true"> | ||
<testsuites> | ||
<testsuite name="tests"> | ||
<testsuite name="default"> | ||
<directory>tests</directory> | ||
</testsuite> | ||
</testsuites> | ||
<coverage processUncoveredFiles="true"> | ||
|
||
<source restrictDeprecations="true" restrictNotices="true" restrictWarnings="true"> | ||
<include> | ||
<directory suffix=".php">src</directory> | ||
<directory>src</directory> | ||
</include> | ||
</coverage> | ||
</source> | ||
<coverage includeUncoveredFiles="true" | ||
pathCoverage="false" | ||
ignoreDeprecatedCodeUnits="true" | ||
disableCodeCoverageIgnore="true"> | ||
<report> | ||
<clover outputFile="coverage/clover.xml"/> | ||
<html outputDirectory="coverage/html" lowUpperBound="50" highLowerBound="90"/> | ||
<text outputFile="coverage/coverage.txt" showUncoveredFiles="false" /> | ||
<xml outputDirectory="coverage/xml"/> | ||
</report> | ||
</coverage> | ||
</phpunit> |
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add all BCs