Skip to content

Commit

Permalink
Merge pull request #72 from SiMDE-Projects/cr/updateDeps
Browse files Browse the repository at this point in the history
Updated dependencies
  • Loading branch information
cesar-richard authored Mar 25, 2023
2 parents 49e8acb + c9f519a commit f91c35a
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 37 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ build/
vendor/
.idea/
.phpunit.result.cache
.phpunit.cache
composer.phar

!tmp/
Expand Down
41 changes: 24 additions & 17 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 15 additions & 17 deletions phpunit.xml
Original file line number Diff line number Diff line change
@@ -1,19 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="vendor/autoload.php" colors="true"
backupGlobals="true" backupStaticAttributes="true"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
<coverage processUncoveredFiles="false">
<include>
<directory suffix=".php">src</directory>
</include>
<exclude>
<directory>vendor</directory>
<directory>build</directory>
</exclude>
</coverage>
<testsuites>
<testsuite name="Tests">
<directory suffix="Test.php">tests</directory>
</testsuite>
</testsuites>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="vendor/autoload.php" colors="true" backupGlobals="true" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.0/phpunit.xsd" cacheDirectory=".phpunit.cache" backupStaticProperties="true">
<coverage>
<include>
<directory suffix=".php">src</directory>
</include>
<exclude>
<directory>vendor</directory>
<directory>build</directory>
</exclude>
</coverage>
<testsuites>
<testsuite name="Tests">
<directory suffix="Test.php">tests</directory>
</testsuite>
</testsuites>
</phpunit>
2 changes: 1 addition & 1 deletion tests/Action/UserReadActionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ public function testExtUserAccessByCard(): void
$this->db->exec("DELETE FROM `users` WHERE `login` = 'extlogin'");
}

public function dsiProfileDataProvider(): array
public static function dsiProfileDataProvider(): array
{
return [
["sejournant", "SEJOURNANT"],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public function testIsAllowed($permissions, $expected): void
$this->assertEquals($expected, $applicationReaderService->isAllowed($application, Permission::LOGIN_CAN_READ));
}

private function providerPermissionsData(): array
public static function providerPermissionsData(): array
{
return [
[[], false],
Expand All @@ -67,7 +67,7 @@ private function providerPermissionsData(): array
];
}

private function providerPermissionsListData(): array
public static function providerPermissionsListData(): array
{
return [
[[], true, false],
Expand Down

0 comments on commit f91c35a

Please sign in to comment.