Skip to content

Commit

Permalink
new version
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarotero committed Apr 25, 2021
1 parent c338b52 commit 9a6ec77
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 34 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [7.5.1] - 2021-04-25
### Fixed
- Some phpstan errors [#42], [#43]

## [7.5.0] - 2021-04-24
### Changed
- `isset($row->fieldname)` returns `true` in the following cases:
Expand Down Expand Up @@ -125,7 +129,10 @@ This library was rewritten and a lot of breaking changes were included.
[#36]: https://github.com/oscarotero/simple-crud/issues/36
[#37]: https://github.com/oscarotero/simple-crud/issues/37
[#41]: https://github.com/oscarotero/simple-crud/issues/41
[#42]: https://github.com/oscarotero/simple-crud/issues/42
[#43]: https://github.com/oscarotero/simple-crud/issues/43

[7.5.1]: https://github.com/oscarotero/simple-crud/compare/v7.5.0...v7.5.1
[7.5.0]: https://github.com/oscarotero/simple-crud/compare/v7.4.2...v7.5.0
[7.4.2]: https://github.com/oscarotero/simple-crud/compare/v7.4.1...v7.4.2
[7.4.1]: https://github.com/oscarotero/simple-crud/compare/v7.4.0...v7.4.1
Expand Down
10 changes: 7 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,16 @@
}
},
"require-dev": {
"phpunit/phpunit": "^8.0",
"phpunit/phpunit": "^8.0|^9.0",
"friendsofphp/php-cs-fixer": "^2.11",
"oscarotero/php-cs-fixer-config": "^1.0"
"oscarotero/php-cs-fixer-config": "^1.0",
"phpstan/phpstan": "^0.12.84"
},
"scripts": {
"test": "phpunit",
"test": [
"phpunit",
"phpstan analyse src tests"
],
"cs-fix": "php-cs-fixer fix ."
}
}
47 changes: 16 additions & 31 deletions phpunit.xml
Original file line number Diff line number Diff line change
@@ -1,32 +1,17 @@
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
backupGlobals="false"
backupStaticAttributes="false"
beStrictAboutOutputDuringTests="true"
beStrictAboutTestsThatDoNotTestAnything="true"
beStrictAboutTodoAnnotatedTests="true"
colors="true"
verbose="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
bootstrap="./vendor/autoload.php"
failOnWarning="true">
<testsuites>
<testsuite name="All tests">
<directory>./tests/</directory>
</testsuite>
</testsuites>

<filter>
<whitelist addUncoveredFilesFromWhitelist="true" processUncoveredFilesFromWhitelist="true">
<directory>./src</directory>
<exclude>
<directory>./tests</directory>
<directory>./vendor</directory>
</exclude>
</whitelist>
</filter>
<?xml version="1.0"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd" backupGlobals="false" backupStaticAttributes="false" beStrictAboutOutputDuringTests="true" beStrictAboutTestsThatDoNotTestAnything="true" beStrictAboutTodoAnnotatedTests="true" colors="true" verbose="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" processIsolation="false" stopOnFailure="false" bootstrap="./vendor/autoload.php" failOnWarning="true">
<coverage includeUncoveredFiles="true" processUncoveredFiles="true">
<include>
<directory>./src</directory>
</include>
<exclude>
<directory>./tests</directory>
<directory>./vendor</directory>
</exclude>
</coverage>
<testsuites>
<testsuite name="All tests">
<directory>./tests/</directory>
</testsuite>
</testsuites>
</phpunit>

0 comments on commit 9a6ec77

Please sign in to comment.