Skip to content

Commit

Permalink
update phpunit/phpunit (9.6.13 => 10.4.1)
Browse files Browse the repository at this point in the history
  • Loading branch information
WengerK committed Oct 21, 2023
1 parent 8b37144 commit 5755fb8
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 13 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,13 @@
/test.php
/phpspec.yml
.php-cs-fixer.cache
.phpunit.result.cache

# Ignore file generated by MacOS
*.DS_Store

# Ignore files generated by PhpStorm
/.idea/

# Ignore PHPUnit cache.
.phpunit.result.cache
.phpunit.cache/
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Removed
- remove NewlineAfterLastCommaInArrayFixer now that a similar rule has been included in PHP CS Fixer

### Security
- update phpunit/phpunit (9.6.13 => 10.4.1)

## [2.0.1] - 2021-05-12
### Fixed
- fix removal of inheritdoc
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"php-cs-fixer/phpunit-constraint-isidenticalstring": "^1.3",
"php-parallel-lint/php-parallel-lint": "^1.3",
"phpro/grumphp": "^1.0 || ^2.0",
"phpunit/phpunit": "^9.0."
"phpunit/phpunit": "^10"
},
"autoload": {
"psr-4": {
Expand Down
16 changes: 6 additions & 10 deletions phpunit.xml
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" backupStaticAttributes="false" colors="true" failOnRisky="true" failOnWarning="true" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">src</directory>
</include>
<report>
<clover outputFile="./build/logs/clover.xml"/>
<html outputDirectory="./build/logs/coverage-html"/>
</report>
</coverage>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" colors="true" failOnRisky="true" failOnWarning="true" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.4/phpunit.xsd" cacheDirectory=".phpunit.cache" backupStaticProperties="false">
<testsuites>
<testsuite name="PHP CS Fixer configurations for Drupal - Test Suite">
<directory suffix="Test.php">./tests/</directory>
</testsuite>
</testsuites>
<logging/>
<source>
<include>
<directory suffix=".php">src</directory>
</include>
</source>
</phpunit>
2 changes: 1 addition & 1 deletion tests/Unit/Fixer/BlankLineAfterStartOfClassFixerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
*
* @covers \drupol\PhpCsFixerConfigsDrupal\Fixer\BlankLineAfterStartOfClass
*/
final class BlankLineAfterStartOfClassTest extends FixerTestCase
final class BlankLineAfterStartOfClassFixerTest extends FixerTestCase
{
protected function setUp(): void
{
Expand Down

0 comments on commit 5755fb8

Please sign in to comment.